You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the new CBA UI, we need to introduce new cba-actions component as shown in the image below:
For the project it might be wise to reuse already implemented cba-table component and ideally migrate to using <ul> instead of <table>, to be consistent with other elements and simplicity(can be done separately).
What to change
Implement new cba-actions by extending the existing cba-table component.
Additional info
The new cba-actions component should mostly be WCAG compliant.
Keyboard naviations, reordering, dragNdrop and other similar implementation details are covered already by cba-table, so when in doubt about implementation, please refer to it first and ensure no regression is provided regarding existing functionality.
Delete - deletes current action and trigger change event on the cba-actions component.
Hitting Delete button on selected action should delete action trigger change event.
Hitting Enter button on selected action should open cba-popup.
Hitting tab on selected item should first focus on cba-select -> edit button -> add button -> kebab -> navigate out of the component.
Ignore target icon that is in between of edit and add in the screenshot - we don't have yet functionality for that
Tests
Ensure to create smoke test with information about how to use the component.
Ensure that the functionality explained above are covered by puppeteer where possible(i.e. custom methods, parameters, keyboard and mouse navigation and etc.).
The text was updated successfully, but these errors were encountered:
Manvel
changed the title
Using buttons on cba-table row
buttons and kebab menu support for cba-table row
Mar 26, 2021
Background
For the new CBA UI, we need to introduce new
cba-actions
component as shown in the image below:For the project it might be wise to reuse already implemented cba-table component and ideally migrate to using
<ul>
instead of<table>
, to be consistent with other elements and simplicity(can be done separately).What to change
Implement new
cba-actions
by extending the existingcba-table
component.Additional info
cba-actions
component should mostly be WCAG compliant.change
event update event type for the item the change was fired for.input1
(data in old version) andinput2
(value in old version).cba-actions
component.+
icon)cba-actions
component.cba-actions
component.Delete
button on selected action should delete action trigger change event.Enter
button on selected action should open cba-popup.cba-select
-> edit button -> add button -> kebab -> navigate out of the component.Tests
The text was updated successfully, but these errors were encountered: