Commit Graph

40 Commits

Author SHA1 Message Date
Wolfsblvt 81503b7bd5 Tag Filters: Fix the debounce redrawing again 2024-03-13 02:18:25 +01:00
Wolfsblvt 9aadc7c32b Tag Folders: Fix tag sortable being stuck while drawing
- When drag&dropping tags, the tag was stuck until the character list was stuck. Make it a debounced call now.
2024-03-12 23:39:54 +01:00
Cohee 73fdcbad44 Fix some bugs (see below):
1. Remove yellow highlights in hotswaps list.
2. Decrease font size of group members list, make it respect the block limits (1 row for small avatars, 3 rows for big avatars).
3. Fix autoload loading the first character if the latest selected entity was a group.
4. Fix tag key potentially skipping the first character.
5. Fix being unable to open groups from the hotswaps panel.
6. Fix left alignment of hotswaps panel, now centered.
7. Fix rounding of missing group avatars (most noticeable when favorited).
2024-03-09 21:58:13 +02:00
Wolfsblvt 5ac7826fec Tag Folders: Additional Fixes
- Refactored to one general printTagList method
- Made a robust getTagKeyForEntity function
- Fixed group not displaying tags if autoloaded
- Fixed added tags on character/groups not being auto sorted
- Fixed autoload of group/character that I killed
- Fixed typo
2024-03-07 23:48:50 +01:00
Wolfsblvt 9f42cafc39 Tag Folders: Clear all filters button
- Add "clear all filters" button for tag and search filters
- Resize back button to take less space
- Fix char grid display
2024-03-07 04:26:33 +01:00
Wolfsblvt fb97f563b7 Tag Folders: show hidden numbers
- Show hidden counts for folders, and total
- Rework resizing of character names to shrink additional data first
- Better placement for group numbers
2024-03-07 02:15:41 +01:00
Wolfsblvt 18379ec602 Tag Folders: Improve global tag filters
- Update global tag filters to three-state filters
- Add filter for folders (showing empty folders or no folders)
- Final fix of filtering (should be correct now)
2024-03-06 23:13:22 +01:00
Wolfsblvt fc6146fa00 Tag Folders: Rework favorites display
- Favorites display uses same method than inline avatars
- Favorites now respect avatar style
2024-03-06 04:59:39 +01:00
Wolfsblvt 4ab45330c4 Tag Folders: Refactor tag code into tag.js 2024-03-06 01:05:08 +01:00
Wolfsblvt e578d3dbb6 Tag Folders: hidden/closed folders
- Implement folder types: Open, Closed, None
- Closed folders hide characters from most places
- "character(s)" singular wording on entity list
- small refactoring for that code
2024-03-06 00:28:14 +01:00
Wolfsblvt c0e112d195 Tag Folders: inline info for groups and avatars
- Add list of character avatars to folders (overflow hidden)
- Add and/or move count of characters for both groups and folders in overview
- Add name list of all chars for groups, above tags
- Replace alt texts of all avatar images with the entity name
- Made title/mouseover tooltip more useful with separation between types and their names
- refactored CSS usage of avatar sizes to global variables
- grid view alignment changes
2024-03-03 02:12:18 +01:00
Wolfsblvt 1faf8b7ee2 Tag Folders: Sync tag filters and bogus drilldown
- When you select or unselect a filter that is also a folder, the folder gets put into the drilldown
- When you click a folder or go back, the tag selection is synced accordingly
- Do not throw away bogus/tag filter on redraw/refresh of the list
2024-03-03 02:12:18 +01:00
Wolfsblvt 3e44dddfda Tag Folders: Drilldown for select and improved filter
- drilldown visible for bogus folder selections
- drilldown can be changed and refreshed
- enhanced filters (remove empty folders/tags from list by default)
2024-03-03 02:12:17 +01:00
Wolfsblvt 25a0ea0cb6 Tag Folders: tag filters indicator and show settings
- Add an indicator if any tag filters are applied, so you can see if there are any filters even if the list is collapsed
- Save collapse state of the tag list
- Fix folders vanishing if tag filters are applied (now really)
2024-03-03 02:12:17 +01:00
Wolfsblvt 25b528ee4f Tag Folders: add tag folder sorting and enabling
- make tags sortable per drag&drop (then sorted everywhere)
- each tag can individually be enabled as folder
- fix redraw of tags/entity list on tag changes
2024-03-03 02:11:35 +01:00
Cohee 91811f63b5 lint: Fix JSdocs 2023-12-03 14:23:20 +02:00
Cohee 64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive 518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive 0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
Cohee 3c3594c52f Add backup/restore for Personas 2023-11-15 02:09:40 +02:00
Cohee 3143356523 Skill issue 2023-11-15 01:16:31 +02:00
Cohee 5b5e42361a Fix chat backups saving with incorrect file extension 2023-11-15 01:06:27 +02:00
Cohee 22161c2264 Add backup/restore for tags 2023-11-15 00:59:44 +02:00
Cohee 303026e01f Nested bogus folders + back button 2023-11-11 14:53:08 +02:00
Cohee cb1e254cb9 Add tags as folders display mode 2023-11-10 21:56:25 +02:00
Cohee e6fcefd4d1 Fix adding duplicate tags via bulk menu 2023-11-09 23:41:26 +02:00
artisticMink c3ff146dd2 Add bulk tagging 2023-11-06 16:13:34 +01:00
RossAscends 49c26f3810 keep input focus while adding tags 2023-09-21 17:17:15 +09:00
RossAscends 2d774f32b2 custom colors for tag text 2023-09-16 18:37:19 +09:00
Cohee f5beae517e Case-independent tags dropdown view 2023-09-06 01:47:55 +03:00
Cohee 2481d9b29c [Feature Request] Make sortorder of tags independent of case #1034 2023-08-28 01:50:32 +03:00
kingbri 990bf63d59 Tags: Fix exclusion on load
The new filter system wasn't applying when tags are loaded. Fix this
by adding an extra step in the for loop.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-25 00:33:03 -04:00
Cohee e2bac7ec5f Add type checking and JSDoc comments to some utils 2023-08-22 13:07:24 +03:00
Cohee aef78c6d99 Fix group candidates search. Fix tag exclusion filter display 2023-08-19 21:08:35 +03:00
Cohee 602c5cd791 Add pagination for characters list view 2023-08-18 23:13:15 +03:00
Cohee 928c8e544f Better random Ids for tags 2023-08-17 14:19:20 +03:00
Cohee 72213add56 #833 Sort tags list alphabetically 2023-08-01 12:26:28 +03:00
Cohee edd41989fd Initial commit 2023-07-20 20:32:15 +03:00