Commit Graph

29 Commits

Author SHA1 Message Date
ad63f0c102 Trim label names when creating on web 2023-08-11 10:42:58 +08:00
c1448d510d Make sure articleId is updated when setting labels 2023-06-29 15:32:11 -07:00
aed6f75f63 Set labels control escaping 2023-06-21 21:50:33 +08:00
eda533ed50 Removed the Edit Labels from the set labels modal 2023-06-21 20:45:09 +08:00
82e4ecd524 Improve keyboard control messaging in the label selector 2023-06-21 20:22:47 +08:00
edaeef0c7f Remove debug line 2023-06-21 14:39:07 +08:00
2293cc0256 Add support for multi select labels 2023-06-21 13:55:20 +08:00
5f5d3ca164 Remove focus when dropdown closed, fix light theme border colours for label picker 2023-06-20 17:24:52 +08:00
e270d4acf9 Warnings clean up 2023-06-20 13:36:36 +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
4a4bccb6a3 Remove the Edit Labels button 2023-06-19 21:42:18 +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
c1f0b2b4fe Better handle overflow on windows so uneeded scrollbars are not shown 2023-06-06 13:28:06 +08:00
066766d980 Remove unused code 2023-02-27 11:12:29 +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
f060a0d4df Add some debugging for set labels on highlights 2022-12-29 15:37:50 +08:00
cbfecca505 Sort labels alphabetically on the labels popup 2022-12-22 10:14:40 +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
77c0f7f6be Set the initial height for the labels view so it doesn't resize after load 2022-12-18 19:00:30 +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
1afa24d12a Keyboard shortcut for editing labels from the library 2022-04-19 11:41:29 -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