1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-10 05:46:46 +01:00
immich/web/src/lib/stores
Ben b71aa4473b
feat(web): keyboard accessible context menus (#10017)
* feat(web,a11y): context menu keyboard navigation

* wip: all context menus visible

* wip: more migrations to the ButtonContextMenu, usability improvements

* wip: migrate Administration, PeopleCard

* wip: refocus the button on click, docs

* fix: more intuitive RightClickContextMenu

- configurable title
- focus management: tab keys, clicks, closing the menu
- automatically closing when an option is selected

* fix: refining the little details

- adjust the aria attributes
- intuitive escape key propagation
- extract context into its own file

* fix: dropdown options not clickable in a <Portal>

* wip: small fixes

- export selectedColor to prevent unexpected styling
- better context function naming

* chore: revert changes to list navigation, to reduce scope of the PR

* fix: remove topBorder prop

* feat: automatically select the first option on enter or space keypress

* fix: use Svelte store instead to handle selecting menu options

- better prop naming for ButtonContextMenu

* feat: hovering the mouse can change the active element

* fix: remove Portal, more predictable open/close behavior

* feat: make selected item visible using a scroll

- also: minor cleanup of the context-menu-navigation Svelte action

* feat: maintain context menu position on resize

* fix: use the whole padding class as better tailwind convention

* fix: options not announcing with screen reader for ButtonContextMenu

* fix: screen reader announcing right click context menu options

* fix: handle focus out scenario

---------

Co-authored-by: Alex <alex.tran1502@gmail.com>
2024-06-17 20:52:38 -07:00
..
activity.store.ts feat(server, web): Album's options (#4870) 2023-11-07 04:37:21 +00:00
album-asset-selection.store.ts chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
asset-interaction.store.ts feat(web): add ctrl+a / ctrl+d shortcuts to select / deselect all assets (#8105) 2024-03-21 07:14:13 -05:00
asset-viewing.store.ts fix(web): prevent fetching asset info twice (#8486) 2024-04-03 21:20:54 -04:00
asset.store.spec.ts fix(web): prevent new uploads from temporarily showing in trash (#10348) 2024-06-15 13:44:18 -04:00
assets.store.ts fix(web): prevent new uploads from temporarily showing in trash (#10348) 2024-06-15 13:44:18 -04:00
context-menu.store.ts feat(web): keyboard accessible context menus (#10017) 2024-06-17 20:52:38 -07:00
download.ts chore(server,cli,web): housekeeping and stricter code style (#6751) 2024-02-01 22:18:00 -05:00
drag-and-drop-files.store.ts chore(web): prettier (#2821) 2023-06-30 23:50:47 -05:00
memory.store.ts chore: enum support for new API (#7110) 2024-02-14 06:38:57 -08:00
people.store.ts feat(web): re-assign person faces (2) (#4949) 2023-12-05 09:43:15 -06:00
preferences.store.ts fix(web): language setting (#10024) 2024-06-07 11:35:05 -05:00
search.store.ts feat(web): search improvements and refactor (#7291) 2024-02-21 09:50:50 -06:00
server-config.store.ts feat(server): near-duplicate detection (#8228) 2024-05-16 18:08:37 +01:00
server-info.store.ts refactor: deprecate /server-info and replace with /server-info/storage (#9645) 2024-05-22 10:25:55 +01:00
slideshow.store.ts feat(web): new look option for slideshow (#8924) 2024-04-20 23:06:49 -05:00
stacked-asset.store.ts chore: enum support for new API (#7110) 2024-02-14 06:38:57 -08:00
upload.ts feat(web): determine duplication of upload on client (#8825) 2024-05-02 17:26:13 -04:00
user.store.ts feat(server): user preferences (#9736) 2024-05-28 09:16:53 +07:00
websocket.ts refactor(server): new version check (#9555) 2024-05-17 12:22:39 -04:00
zoom-image.store.ts feat: photo-viewer; use <img> instead of blob urls, simplify/refactor, avoid window.events (#9883) 2024-06-07 13:22:46 -05:00