Releases: bindable-ui/bindable
v1.0.24
Problems
- When a new Aurelia project is started and Bindable is installed, it will fail to start due to some issues with a jQuery plugin trying to install itself before it has scope to the jQuery variable.
- When changing a timezone, the times update properly, but the entries will show the original time.
- When on the highest zoom on timeline, the seconds are not showing on an entry.
Solutions
- Moved the logic for the jQuery plugin to where it has scope.
- Fixed timeline issues.
Remove containerless from layout components
Problem
using the containerless
option on components can cause problems in that the rendered html does not have the original tag of the component. Placing if.bind
and other computations on that tag is then impossible. The layout components were using containerless
for some css reasons.
Solution
Refactor a few things to remove containerless
from all layout components.
v1.0.22
Problem
- Each timeline block had a click listener. This caused several issues:
- On Chrome you could lock up the browser pretty easily by clicking a lot)
- No way to debounce click event listener
- Potential for literally tons of event listeners just for this. On the highest zoom level, could have potentially 1440 blocks * N number of days. Gets ugly quick.
Solution
- Moved event listener to the
c-timeline
component. Now only 1 click event listener per day. Simplifies the logic and bindings for timeline blocks.
Other
- Added Async Binding Behavior. This allows you to have a promise in a Value Converter.
- Changed the way the
preventCreate
binding works onc-timeline
. Now allows for either a callback function or just a boolean. - Added support for the
authState
decorator on thec-timeline
component. Will prevent users from creating new entries if they don't have permission.
Table Row Now Allowed
Problem
If a table row needs to be seen but the user isn't allowed to click on it there is no visual indication of that.
Solution
Add a notAllowed option to be passed to the table row to show the user on hover that it can't be interacted with.
v1.0.20
v1.0.19
Timeline updates
- Now displaying time when creating a new entry on timeline.
- Fixed issue where you could click before an entry actually showed a popover.
- Added new bindable attribute to scroll to a custom time on command.
- Added loading indicator when changing the date.
- Fixed issue where zoom level 5 wasn't getting data properly for adding new entries.
c-p and c-form-toggle update
Added Features
c-form-text
This component can now have buttons attached with text in the button instead of just icons
c-p
Added bold support to paragraphs
flush-top prop added to paragraphs
negative time support for SecondsToHms Value Converter
Merge pull request #30 from bindable-ui/negative-duration-support Updates to allow negative duration
v1.0.16
Problems
- Entries on timeline not showing in the correct spot due to some older logic
- There was no
peerDependencies
section meaning you had to manually add all the packages yourself in addition to Bindable
Solution
- Remove old logic on entries
- Add
peerDependencies
section
Additions
- Added new mode in Timeline:
three-day
which allows you to see a leading and trailing days from the selected date.
timeline & l-cluster updates
Problem
Timeline
Issue with calculation of where to place entries was off in some cases.
No accent color to the popover for entries
Icons can be covered up sometimes with expandable entries
l-cluster
when using right/left-spacing and when viewing on a small screen vertical spacing wouldn't be flush
Solution
Timeline
make sure entries are placed correctly
Add accent colors in entry popovers
Move icons to the left some if they are being covered by a expandable entry
l-cluster
adjust spacing on small screens to keep items in a cluster properly spaced out