data-curator
data-curator copied to clipboard
Add Select All menu item
Expected Behaviour (for problems)
When using the menu command: https://relishapp.com/odi-australia/data-curator/docs/edit/select-all When using the menu command, I expected it to select everything in the table as it does when using the ctrl+a keyboard shortcut.
Current Behaviour
When using the menu command, select all literally selects EVERYTHING including menu labels and the tab names. The ctrl+a keyboard shortcut works as expected.
Your Environment
- Data Curator version 0.2.3
- Windows 7
See 1.2 at https://blog.avocode.com/blog/4-must-know-tips-for-building-cross-platform-electron-apps for a potential resolution
I have temporarily disabled the menu item in https://github.com/ODIQueensland/data-curator/commit/f6eb0fb8d8ba8eb3821cadf3f76f7bc3defcb6e4 so it's not a problem in the Beta. Will fix in future release.
This behaviour seems to be due to using
role: 'selectall'
when you use
label: 'Select All',
accelerator: 'CmdOrCtrl+A'
the selecting of ui components doesn't occur https://github.com/ODIQueensland/data-curator/commit/71cae21df3a27a5a6f09fb6517a434b282c2a0a4
Command + A works to select all in 0.5.4. Menu item removed. Should put back and get working at some stage.
Updated acceptance test