alterm4nn / chronozoom Goto Github PK
View Code? Open in Web Editor NEWChronoZoom is an interactive timeline for all of history.
Home Page: http://www.chronozoom.com
ChronoZoom is an interactive timeline for all of history.
Home Page: http://www.chronozoom.com
Observed result: Timeline is not created
Expected result: Timeline is created
Link to trello card: https://trello.com/c/lhCGFll1
Need to move to cdn hosted updated version of jquery and remove the embedded versions.
Link to trello card: https://trello.com/c/ZDN1nmeG
Observed result: User cannot exit from a tiny timeline
Expected result: User can exit
There are error in console log
Uncaught TypeError: Cannot read property 'position' of undefined timescale.js:1294
[GET] http://test.chronozoomproject.org/api/Structure?lca=f24d5561-b0de-47c2-a306โฆ-0.5466998570417376&end=-0.5460789468325499&minspan=0.00004979231829893406 viewportController.js:272
[POST]http://test.chronozoomproject.org/api/Data viewportController.js:294
POST http://test.chronozoomproject.org/api/Data 400 (Bad Request) jquery-1.7.2.min.js:4
Error connecting to service:
http://test.chronozoomproject.org/api/Data
Observed result: Title goes beyond the bounds of Timeline
Expected result: Title fits to timeline
Observed result: Timeline is created
Expected result: Timeline is not created. Error message is appeared
Link to trello card: https://trello.com/c/lhCGFll1
Tours missing are missing in latest build.
Defect: Bookmarks property in tours JSON response changed and broke compatibility with client.
Fix: Preserve Bookmarks property casing.
Observed result: Humanity timeline looks shift down
Expected result: Humanity timeline locates to center
Zoom to transition from "BCE" to "CE"
Expected result: 1 CE, 5 CE, 10 CE, etc
Actual result: 1 AD, 5 AD, 10 AD, etc.
P.S. Roland Saekow approve this abbreviations (see: https://trello.com/card/the-new-axis-timescale-without-decoration/510a91105420848638003cda/45)
Observed result: Default content is uploaded
Expected result: Content is loaded from responsedump.txt
URL looks like cz-jluraschi.azurewebsites.net/cz.htm#dataurl=responsedump.txt/t657
Quite a bit of data that is normally set and applied using CSS is being carried around in javascript from the cz.settings.js file. Should move this into css styles instead.
Create any timeline.
Type some text or special symbols to 'start' or 'end' fields.
Expected result: Show error "incorrect values" or message from validator is present.
Actual result: timeline created.
Link to trello card: https://trello.com/c/lhCGFll1
Some values are hardcoded in Chronozoom.svc.cs
when they could be defined as const. Code follows:
// initialize filters
decimal startTime = string.IsNullOrWhiteSpace(start) ? -20000000000 : decimal.Parse(start);
decimal endTime = string.IsNullOrWhiteSpace(end) ? 9999 : decimal.Parse(end);
decimal span = string.IsNullOrWhiteSpace(timespan) ? 0 : decimal.Parse(timespan);
Repro steps:
Repro: Load ChronoZoom project, right-click on solution, "Run code analysis on solution".
Actual: 30+ warnings.
Expected: No warnings.
Please move over to the console.log functionality so the js debugging tools are more useful in figuring out what is going wrong where.
For example,
http://cz-july2013-javierluraschi-fixes.azurewebsites.net/chronozoom.svc/get?start=1000ASDF
returns HTTP 500 with exception stack trace
Repro steps:
Expected result:
Timeline behavior is normal.
Actual result:
Not work: scroll up/down (zoom), drag timeline, edit timeline
Link to trello card: https://trello.com/c/lhCGFll1
Change czDataSource in cz.settings.js into "dump"
Actual: ChronoZoom does not work
Expected: ChronoZoom to work (This was blocking RIN)
Observed result: endtime is not "Now time"
Expected result: endtime is "Now time"
(i) If end time must not be "Now time" user should see error message.
Link to trello card: https://trello.com/c/lhCGFll1
Obs: Tours are not available
Exp: Tours are available
The fix for Bug22 is missing a change in cz.settings.js to point to the Empty.Guid.
Observed result: script run (alert appear)
Expected result: script doesnt run
Loading data from SQL into the CZ website takes too long, several calls are being triggered to SQL to construct the nested timelines which seem to be the bottleneck.
Observed result: script run (alert appear)
Expected result: script doesnt run
**Observed result:**Date is shown as [Date Month, 0]
Expected result: Date is shown as [Date Month, -1]
Observed result: Cosmos is opened
Expected result: Humanity is opened
For Lifenavigation works fine
Search results in Bing and Google for ChronoZoom return:
robots.txt is blocking everything, including cz.html. We should add, at least:
Allow: /cz.htm
Observed result: Exception message
Expected result: No exception. LIfe is appeared in search result
-------------- Exception text-------------
Error connecting to service:
<title>Service</title>
<style>BODY { color: #000000; background-color: white; font-family: Verdana; margin-left: 0px; margin-top: 0px; } #content { margin-left: 30px; font-size: .70em; padding-bottom: 2em; } A:link { color: #336699; font-weight: bold; text-decoration: underline; } A:visited { color: #6699cc; font-weight: bold; text-decoration: underline; } A:active { color: #336699; font-weight: bold; text-decoration: underline; } .heading1 { background-color: #003366; border-bottom: #336699 6px solid; color: #ffffff; font-family: Tahoma; font-size: 26px; font-weight: normal;margin: 0em 0em 10px -20px; padding-bottom: 8px; padding-left: 30px;padding-top: 16px;} pre { font-size:small; background-color: #e5e5cc; padding: 5px; font-family: Courier New; margin-top: 0px; border: 1px #f0f0e0 solid; white-space: pre-wrap; white-space: -pre-wrap; word-wrap: break-word; } table { border-collapse: collapse; border-spacing: 0px; font-family: Verdana;} table th { border-right: 2px white solid; border-bottom: 2px white solid; font-weight: bold; background-color: #cecf9c;} table td { border-right: 2px white solid; border-bottom: 2px white solid; background-color: #e5e5cc;}</style>
<div id="content">
<p class="heading1">Service</p>
<p>Endpoint not found.</p>
</div>
Actual:
getDateFrom(-2,0,0,2)
Object {year: 0, month: 0, day: 0}
Expected:
getDateFrom(-2,0,0,2)
Object {year: 1, month: 0, day: 0}
Additional:
getDateFrom(10,0,0,10)
-> Object {year: 20, month: 0, day: 0}
getDateFrom(10,0,0,-20)
-> Object {year: -11, month: 0, day: 0}
getDateFrom(-10,0,0,20)
-> Object {year: 10, month: 0, day: 0}
getDateFrom(-10,0,0,-20)
-> Object {year: -30, month: 0, day: 0}
Observed result: 29 February of leap year is not shown
Expected result: 29 February of leap year is shown
Link to trello card: https://trello.com/c/P4QjkuQJ
Observer result: Error is not appear and content is not uploaded
Expected result: Error about incorrect file is appear
Install http://visualstudiogallery.msdn.microsoft.com/1a417c37-4d6f-43ca-b753-6ea6eb5041fd
Build
Uh-oh.
1.Open chronozoom
2. Navigate to 1BCE year (by time scale)
//Or open link
Observed result: Ticks is sparse (1 per screen)
Expected result: Ticks is not sparse. Add quarters
This has already been fixed by Jay and pulled in by @alterm4nn.
Test load can be performed against: http://cz-test.azurewebsites.net
Observed result: User navigate to timeline
Expected result: User doesnt navigate to timeline
(i) User can navigate by bread crumbs and regime rect
Trello card https://trello.com/c/lhCGFll1
Observed result: Log has errors.
Expected result: Log doesnt has errors
Uncaught TypeError: Cannot read property 'position' of undefined
There is only one instance in Bibliography.js that is using Eval(). We should be able to replace this with a more secure approach, say JSON.Parse() or JQuery.
Chronozoom.svc.cs : 135
public BaseJsonResult<IEnumerable>โ Search(string supercollection, string collection, string searchTerm)
D1055: Strange specifying both supercollection and collection. I would implement this as 'search supercollection' and then internally map supercollection to collectionid[] and then filter on collectionid[].
Observed: Exception
Expected: Error
Error connecting to service: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Create any timeline with empty title.
Expected result: Show error "Title is empty".
Actual result: timeline created.
System.Data.Entity.Migrations.Infrastructure.AutomaticDataLossException was unhandled by user code
HResult=-2146233088
Message=Automatic migration was not applied because it would result in data loss.
Source=EntityFramework
StackTrace:
at System.Data.Entity.Migrations.DbMigrator.AutoMigrate(String migrationId, XDocument sourceModel, XDocument targetModel, Boolean downgrading)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.AutoMigrate(String migrationId, XDocument sourceModel, XDocument targetModel, Boolean downgrading)
at System.Data.Entity.Migrations.DbMigrator.Upgrade(IEnumerable1 pendingMigrations, String targetMigrationId, String lastMigrationId) at System.Data.Entity.Migrations.Infrastructure.MigratorBase.Upgrade(IEnumerable
1 pendingMigrations, String targetMigrationId, String lastMigrationId)
at System.Data.Entity.Migrations.DbMigrator.Update(String targetMigration)
at System.Data.Entity.Migrations.Infrastructure.MigratorBase.Update()
at System.Data.Entity.MigrateDatabaseToLatestVersion2.InitializeDatabase(TContext context) at System.Data.Entity.Database.<>c__DisplayClass2
1.b__0(DbContext c)
at System.Data.Entity.Internal.InternalContext.<>c__DisplayClass8.b__6()
at System.Data.Entity.Internal.InternalContext.PerformInitializationAction(Action action)
at System.Data.Entity.Internal.InternalContext.PerformDatabaseInitialization()
at System.Data.Entity.Internal.LazyInternalContext.b__4(InternalContext c)
at System.Data.Entity.Internal.RetryAction1.PerformAction(TInput input) at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabaseAction(Action
1 action)
at System.Data.Entity.Internal.LazyInternalContext.InitializeDatabase()
at System.Data.Entity.Internal.InternalContext.Initialize()
at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
at System.Data.Entity.Internal.Linq.InternalSet1.Initialize() at System.Data.Entity.Internal.Linq.InternalSet
1.get_InternalContext()
at System.Data.Entity.Internal.Linq.InternalSet1.Find(Object[] keyValues) at System.Data.Entity.DbSet
1.Find(Object[] keyValues)
at UI.ChronozoomSVC.Get() in c:\Data\ChronoZoom\Source\Chronozoom.UI\Chronozoom.svc.cs:line 44
at SyncInvokeGet(Object , Object[] , Object[] )
at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
InnerException:
The master timeline is being retrieved by a fixed GUID which does not match the one created through the entity framework initializer.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.