FailedChanges

Summary

  1. Fix time period filter where date would change when focused (#58) (commit: f58dce4) (details)
  2. Force size of the autoperiod arrow button. (commit: acde20c) (details)
  3. Makes time picker more readable (commit: 178b35a) (details)
  4. adds title on previous/next button as user hint (commit: 8cc061e) (details)
  5. little cleanup in Period class by using the enum more. (commit: c14983c) (details)
  6. Automatically refresh graphs when updating time or day. (commit: 9d01dae) (details)
  7. when setting the time constraints, add or remove a minute to prevent setting the exact same time. (commit: 006c1dd) (details)
  8. Better prev/next period and try for better handling of date/time form constraints. (commit: a7cfe0b) (details)
  9. When updating the date, make sure the begin time is not greater or equal to the end time (commit: 2753775) (details)
  10. remove visibleRange (does nothing..) and hide invalid values. (commit: 51633fe) (details)
  11. fileForm also update date constraints (commit: df71e3e) (details)
Commit f58dce404f2fcebdbce4d02f2aefd1677f485c57 by Anthony Pessy
Fix time period filter where date would change when focused (#58)

When focusing a date or time input, we automatically set the  autoperiod to '0' (meaning manual) but the comparison in 'onChange' callback would always fails and always update the input to the latest value.

The comparison fails because 'value' is a string and '!==' means a strict equality of both value and type.
(commit: f58dce4)
The file was modifiedweb/lib/jrds.js (diff)
Commit acde20c3b22aea389ab7a1e9094defd176f35ba5 by Anthony Pessy
Force size of the autoperiod arrow button.

Otherwise it would vary depending on the value chosen and it's ugly
(commit: acde20c)
The file was modifiedweb/lib/jrds.css (diff)
Commit 178b35a31d7357b0ddf4055bf07ee8402bd8bae2 by Anthony Pessy
Makes time picker more readable

The disabled time have a lighter color and does not have the "pointer" cursor since they cannot be selected.
(commit: 178b35a)
The file was modifiedweb/lib/jrds.css (diff)
Commit 8cc061e038be9a88a3b9d0d7f8eece5048cb08c5 by Anthony Pessy
adds title on previous/next button as user hint
(commit: 8cc061e)
The file was modifiedweb/index.html (diff)
Commit c14983cfda330e21c45dde43ead8d7f982d7e0c8 by Anthony Pessy
little cleanup in Period class by using the enum more.
(commit: c14983c)
The file was modifiedsrc/jrds/Period.java (diff)
Commit 9d01dae84d0b2a8c805636739fc567c73b3e3227 by Anthony Pessy
Automatically refresh graphs when updating time or day.
(commit: 9d01dae)
The file was modifiedweb/lib/jrds.js (diff)
Commit 006c1dd12fcb277b37748a4ef2dc56d0da33f7f6 by Anthony Pessy
when setting the time constraints, add or remove a minute to prevent setting the exact same time.
(commit: 006c1dd)
The file was modifiedweb/lib/jrds.js (diff)
Commit a7cfe0bf2d9a80796ca4a6f9c5c1ab7f14596426 by Anthony Pessy
Better prev/next period and try for better handling of date/time form constraints.

Now prev/next period will keep a more "human friendly" period (09:00 -> 09:30, 09:30 -> 10:00, etc..) instead of (09:00 -> 09:30, 09:31 -> 10:01, etc..)

There is now a real separation between handling of value set pragmatically for date/time and when the value is updated by the user through the form:

  - If the value is set in javascript, we pass 'false' to the set('value') method so it does not call the 'onChange' method to avoid re-updating the graph for nothing because it is already handled by another component (autoperiod, next/prev period, etc..)

  - disable/enable all constraints before updating  the form to avoid trigger constraints error when updating all the inputs concurrently (when you go to next period, the begin value is invalid while the end value as not been updated, if you go to the previous period this is the other way around, etc..)
(commit: a7cfe0b)
The file was modifiedweb/lib/jrds.js (diff)
The file was modifiedsrc/jrds/Period.java (diff)
Commit 27537757175aceed41278cd76cbc18b5cd57b89d by Anthony Pessy
When updating the date, make sure the begin time is not greater or equal to the end time
(commit: 2753775)
The file was modifiedweb/lib/jrds.js (diff)
Commit 51633fe5680c611ff420e61416eebe1fad65b108 by Anthony Pessy
remove visibleRange (does nothing..) and hide invalid values.

No use to display a huge list of unclickable item after all...
(commit: 51633fe)
The file was modifiedweb/lib/jrds.css (diff)
The file was modifiedweb/lib/jrds.js (diff)
Commit df71e3e3fa239dfb545861faa8e2adbcd32023aa by Anthony Pessy
fileForm also update date constraints
(commit: df71e3e)
The file was modifiedweb/lib/jrds.js (diff)