Commit Graph

13 Commits

Author SHA1 Message Date
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