1
0
mirror of https://github.com/koloml/philomena-tagging-assistant.git synced 2026-09-22 20:09:39 +00:00
Commit Graph

410 Commits

Author SHA1 Message Date
34c0a11b4e Added separate class for syncing multiple preference fields with stores
This will make the sync code less boilerplate-y. Instead of manually
subscribing back and forth, this will be done inside the class in
correct order and in any amount.

Types are a bit wonky though.
2026-08-30 11:52:07 +02:00
38d84d0830 Merge pull request #178 from koloml/feature/test-storage-entities
Covering base entity and entities controller classes into tests
2026-08-29 21:39:46 -04:00
c268eb564d Show warning for profiles when user is not logged in 2026-06-21 21:54:20 +04:00
cfb4c71f58 Capture and store last seen user flags from the booru
Main use case for these flags is to notify when something they're trying
to use will not be usable due to authorization or their role on the
site. Specifically, it will be also used later to detect when user
is a part of staff and show them staff-specific features.
2026-06-21 21:53:50 +04:00
a6eae657c7 Added comment for the storage helper instance in EntitiesController 2026-06-21 15:36:14 +04:00
3e5266ca7b Expose storage in EntitiesController for testing purposes
- Storage can now be mocked
- Class can be loaded even if chrome storage is not present globally
- It will not throw an error if storage not found in runtime
2026-06-21 15:29:42 +04:00
f311676097 Merge pull request #177 from koloml/feature/test-preferences-api
Testing behavior of internal preferences class
2026-06-20 14:16:06 -04:00
a0e52955e6 Sonar: Added readonly to private members 2026-06-20 22:10:51 +04:00
74554bc9f6 Covering cacheable preferences into tests 2026-06-20 22:03:11 +04:00
c1c774f4bb Merge pull request #175 from koloml/feature/footer-author-head
Added avali head into the footer near the author name
2026-06-13 19:58:13 -04:00
2f5c37d21f Merge pull request #172 from koloml/bugfix/tags-in-forums-with-encoded-text
Fixed wrong parsing of tag links inside forum posts
2026-06-13 19:55:32 -04:00
3404877091 Sonar: Replacing string.match(regexp) with regexp.exec(string) 2026-06-14 03:19:54 +04:00
ed3db1240c Signaling to TypeScript that match is present when function returns true 2026-06-14 03:15:51 +04:00
9a6274c815 Sonar: Marked special characters and RegExps as readonly 2026-06-14 03:13:45 +04:00
a909180798 Fixed terms not trimming out the whitespaces 2026-06-14 01:29:17 +04:00
40aa02ff70 Fixed quoted term not processing starting & ending quotes 2026-06-14 00:32:47 +04:00
de57432594 Fixed wrong index used when checking for ) character 2026-06-13 22:46:08 +04:00
74f113412e Fixed space being mandatory before ) and ^ 2026-06-13 22:44:57 +04:00
3e0495a529 Moved parentheses check to run before dirty text content extraction 2026-06-13 22:42:57 +04:00
736c0917c0 Reversed + conversion with dash-encoded characters conversion
This way encoded `+` character will properly decode after other `+` were
dealt with
2026-06-13 22:01:14 +04:00
f01bfe8ae0 Removed erroneous - conversion for tag links 2026-06-13 22:00:20 +04:00
726c4dfe58 Added tests for tag name extraction from tag links & search queries 2026-06-13 21:56:31 +04:00
4142c1053b Updated links to the repository 2026-04-15 16:46:13 +04:00
7559f0a802 Added avali head into the footer near the author name 2026-04-05 22:26:58 +04:00
4f52906123 Extracted CLS compensation logic into separate method 2026-04-05 19:46:34 +04:00
7d41524b4a Fixed scroll jump when preset becomes hidden 2026-04-05 19:21:09 +04:00
81b3d61a20 Fixed content layout shift caused by exclusive tags warning 2026-04-05 19:15:39 +04:00
dc78b2fe84 Merge pull request #169 from koloml/feature/conditional-presets
Presets: Added option to make presets conditional
2026-04-05 10:45:49 -04:00
c12b00817b Compare value to undefined instead of calling typeof 2026-04-05 18:35:26 +04:00
b4419b5de3 Validate exclusive and conditional as optional booleans 2026-04-05 18:33:34 +04:00
66fd093e5a Marking unchanged properties as readonly 2026-04-05 18:29:47 +04:00
bc7f85eaf9 Merge pull request #168 from koloml/feature/tag-profile-popup-cancel
Tagging Profiles: Cancel pending submission in popup if user decides to cancel their changes
2026-04-05 10:27:17 -04:00
3f9412b02d A bit more concrete wording for checkbox 2026-04-05 18:27:02 +04:00
a75dd098dc Show when preset is conditional in the viewer block 2026-04-05 18:18:52 +04:00
a45248cebf Fixed crashing build due to missing trailing comma 2026-04-05 18:02:54 +04:00
c777b57efb Merge remote-tracking branch 'origin/release/0.7.1' into feature/conditional-presets
# Conflicts:
#	src/content/components/extension/presets/PresetTableRow.ts
#	src/lib/extension/entities/TagEditorPreset.ts
#	src/lib/extension/transporting/exporters.ts
#	src/routes/features/presets/[id]/edit/+page.svelte
2026-04-05 18:01:33 +04:00
b031b88512 Fixed tags being user-selectable 2026-04-05 17:52:46 +04:00
399e75809b Display presets when tag is found or hide it otherwise 2026-04-05 17:52:35 +04:00
f581f84065 Presets: Added conditional presets option
Now presets can be configured to show up only when specific tag is
provided.
2026-04-05 17:52:15 +04:00
e8b0afc81f And even more renaming of popup across multiple files 2026-03-29 04:17:12 +04:00
daceb9ad59 Cancel the planned submission when pending changes canceled 2026-03-29 03:57:06 +04:00
c36929b824 Renaming the file with events as well 2026-03-29 03:49:22 +04:00
9b262393fa Fixed event & underlying type not updated 2026-03-29 03:48:12 +04:00
83c7608e99 Presets: Added flag for making it "exclusive"
This will make it so only one tag will be active from marked preset.
This can be useful for some tags that cannot be together in the editor,
for example, rating tags.
2026-03-22 04:09:18 +04:00
8889c300a0 Merge pull request #163 from koloml/feature/tag-presets
Added Tag Presets for the image upload & edit pages
2026-03-14 20:10:52 +04:00
1a542e0fb7 Merge pull request #162 from koloml/feature/different-icons
Updated icons for different extensions versions
2026-03-14 20:07:54 +04:00
b973947070 Fixed presets not refreshing after tag loading/clearing 2026-03-14 20:06:12 +04:00
7821cebb1b Added missed deletion interface for the presets 2026-03-14 19:37:10 +04:00
71fb565247 Sort list of presets and their tags more consistently 2026-03-14 19:15:59 +04:00
0ba81b1509 Separate icons for extensions, support replacing icons on build 2026-03-14 18:59:03 +04:00