Code Monkey home page Code Monkey logo

chronozoom's People

Contributors

alterm4nn avatar ashsam82 avatar charuch avatar davidaparicio avatar djraimondi avatar dvoits avatar giorgiylutidze avatar gitter-badger avatar javierluraschi avatar jaybeavers avatar jilarson avatar joeryh avatar ldebruijn avatar mirounga avatar mkalygin avatar neilcresswell avatar nikitaskoblov avatar sergey-berezin avatar wahib avatar wwahammy avatar xanthics avatar yuzhay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chronozoom's Issues

Timescale: infinity of zoom

Repro steps:

  1. Zoom to current day by top of cosmos timeline
  2. Move mouse cursor to right-top position (as in screenshot)
    top-right mouse position
  3. Mouse scroll up (zoom)

Actual result:
Infinity of zoom

Expected result:
Stop zoom if display day and month

Authoring: User cannot exit from a tiny timeline

  1. Open Chronozoom (http://test.chronozoomproject.org/cz2.html)
  2. Navigate to Humanity
  3. Navigate to range = 1 day
  4. Create timeline width 1 day
  5. Navigate to this timeline
  6. Create time line into current timeline. Width ~ 0.1 from parent timeline
  7. Navigate to this timeline
    If navigation is not working try return to parent timeline
  8. Create timeline into current timeline
  9. Navigate to timeline
  10. Try return to back

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

Timescale: Animation does not work

Repro steps:

  1. Move to consmos timeline as in screenshot (max to left and bottom position)
    cz_left-bottom_position
  2. Move cursor to right-top position (as in screenshot)
    cz_left-bottom_mouse_position
  3. Scroll up on mouse (zoom timelines)

Actual result:
Animation of zoom is not working

Expected result:
Animation of zoom is not working

Upload data from file: Default content after site navigation

  1. Navigate to cz-jluraschi.azurewebsites.net/cz.htm#dataurl=responsedump.txt/t657
  2. Select Life timeline
  3. Refresh page

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

Misc: Some values are hardcoded in Chronozoom.svc.cs

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);
    

Authoring: Incorrect behavior of timeline in small range

Repro steps:

  1. Open site
  2. Maximum zoom in on current time (In timescale should be only one day or less)
  3. Create timeline (50% of screen, for example - start:-0.002355771421224749, end:-0.0003708473683901878)
  4. Click on created timeline
  5. Try to scroll up/down or drag timeline

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

Timescale: 1 year BCE is shown like Zero

  1. Open chronozoom
  2. Magnify to 1 BCE year in timescale
  3. Magnify to "Month_Weeks" regime (You can see Date and Months scale)
    //or open link

**Observed result:**Date is shown as [Date Month, 0]
Expected result: Date is shown as [Date Month, -1]

2013-03-04_1807

2013-03-04_1809

Search engine results for ChronoZoom have no description

Search results in Bing and Google for ChronoZoom return:

  • Bing: Empty
  • Google: A description for this result is not available because of this site's robots.txt

robots.txt is blocking everything, including cz.html. We should add, at least:
Allow: /cz.htm

search is not working for cz2

  1. Open http://test.chronozoomproject.org/cz2
  2. Activate search text box
  3. Type something (life for example)

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>

Timeline: getDateFrom() in common.js calculate zero year

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}

Timescale: end date marker shows incorrect data

  1. Open chronozoom
  2. Navigate to Humanity
  3. Navigate to Roman History (or another timeline)

Observed result: Right marker shows 1485
Expected result: Right marker shows 1496. check by cursor marker

2013-03-13_1528

Timescale: Sparse ticks in scale

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

2013-03-04_1819
2013-03-04_1820

2013-03-04_1821

Timescale: rounding is not correct

  1. Open chronozoom
  2. Navigate to Humanity

Observed result: Humanity starts from 3001 BCE
Expected result: Humanity starts from 3000 BCE

(i) If magnify to Month regime than timeline starts from 3000 BCE

2013-03-13_1520

Authoring: Navigation under Authoring mode

  1. Open chronozoom
  2. Activate Authoring mode (Click on Create timeline)
  3. Fast double click on a timeline (may be, need click several time)

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

Avoid using Eval() in CZ

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.

Server: Revisit Search API

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[].

Upload data from file: Exception if use '*' in file name

  1. Navigate to cz-jluraschi.azurewebsites.net/cz.htm#dataurl=*.txt

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.

AutomaticDataLossException when running with a new schema against an old database

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(IEnumerable1 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__DisplayClass21.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(Action1 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.InternalSet1.get_InternalContext()
at System.Data.Entity.Internal.Linq.InternalSet1.Find(Object[] keyValues) at System.Data.Entity.DbSet1.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:

Can't retrieve data from CZ

The master timeline is being retrieved by a fixed GUID which does not match the one created through the entity framework initializer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.