Commit Graph

32 Commits

Author SHA1 Message Date
91df117072 Remove onOpenChange 2024-03-05 09:34:36 +08:00
e6b76bf463 Remove callback funcs 2024-03-04 21:42:05 +08:00
36e62f2984 Add some debug 2024-03-04 21:22:57 +08:00
678de05e3d Add some debugging 2024-03-04 13:34:07 +08:00
b719a8aa74 Attempt to wrap modal root onopenchange to handle pointer events 2024-03-04 13:02:18 +08:00
fbae77d3c6 Stop propogation of escape event to prevent going back from the reader 2023-10-04 16:49:21 +08:00
aab893584e MOre work on notebook side pane 2023-06-27 15:46:50 +08:00
2293cc0256 Add support for multi select labels 2023-06-21 13:55:20 +08:00
be8ce8167c Merge pull request #2395 from omnivore-app/fix/web-home-notebooks
Allow opening notebooks from the library
2023-06-20 18:25:34 +08:00
5f5d3ca164 Remove focus when dropdown closed, fix light theme border colours for label picker 2023-06-20 17:24:52 +08:00
783dc0b1f1 Close the labels modal on escape key 2023-06-20 15:06:13 +08:00
e270d4acf9 Warnings clean up 2023-06-20 13:36:36 +08:00
9dd2a43017 Dont watch all props for save operation 2023-06-20 10:35:40 +08:00
103e676c7d Clear last focused state on the labels in the selector 2023-06-20 10:28:15 +08:00
074efe3b43 Show error messages in labels modal 2023-06-20 10:19:40 +08:00
a730a4cb85 Push props down so we can manipulate at the top level 2023-06-19 21:42:18 +08:00
0b7cd80c85 Set selected labels after creating 2023-06-19 21:42:18 +08:00
1547dd7583 Improved labels picker for the web 2023-06-19 21:41:25 +08:00
066766d980 Remove unused code 2023-02-27 11:12:29 +08:00
c3084d668e Why didnt i use const here? 2022-12-30 11:22:49 +08:00
194d93912c Use let instead of var 2022-12-30 11:21:41 +08:00
dba672a9d5 Set labels on toggle 2022-12-30 11:20:05 +08:00
e03da2475d Update setlabels to save on close, always use the modal 2022-12-29 17:37:52 +08:00
2c6b6ef3cc Set labels before making API call 2022-12-29 16:42:22 +08:00
49bca60e2b More debugging 2022-12-29 15:55:54 +08:00
f13fc9c35a Only save labels from the modal when the user finishes selection
This prevents creating issues by calling the setlabels mutation
too frequently if a user is rapidly changing labels, if that
happens a failure in the API could cause the user's changes
to be overwritten.
2022-12-21 12:29:34 +08:00
009cd59628 Allow setting labels on highlights via the highlight dropdown 2022-12-02 16:16:48 +08:00
16654bafef Refactor the SetLabels components to allow them to take a highlight or article 2022-12-02 15:30:27 +08:00
ab869a79bd Mutate the labels on links when setting them so they are reflected in UI 2022-04-19 15:54:38 -07:00
0203347c4a Set tab index on the modals close button so it doesnt autofocus 2022-04-19 11:59:48 -07:00
73af8ada81 Allow editing labels from the library view 2022-04-19 11:10:36 -07:00
4e4dae89d7 Consistent naming on label controls
- Edit Labels: Edit all of a user's labels
- Set Labels: Set the labels assigned to a link
2022-04-13 10:52:00 -07:00