Commit Graph
80 Commits
Author SHA1 Message Date
koloml 37a8e77f97 Sonar: Replacing regular for with for..of 2026-10-17 05:48:50 +02:00
koloml 05349feafc Sonar: Check for undefined without typeof 2026-10-17 05:47:22 +02:00
koloml 304c824045 Sonar: Explicitly marking some members as readonly 2026-10-17 05:47:22 +02:00
koloml 0eafa074f5 Sonar: Accessing/removing data attributes only through dataset 2026-10-17 05:47:22 +02:00
koloml ace783afc3 Sonar: Removed useless void 2026-10-17 05:47:22 +02:00
koloml c34c650005 Adding general guard to prevent duplicates altogether 2026-10-17 05:15:44 +02:00
koloml af348621df Only reveal invalid blacklisted tags that actually present 2026-10-17 05:15:11 +02:00
koloml 5578e64306 Allow toggling tags in fullscreen on/off, fixing long tags lists 2026-10-14 02:43:13 +02:00
koloml 7fd5a20b2f Merge remote-tracking branch 'origin/release/0.8.0' into feature/fullscreen-tagging-profile 2026-10-14 01:46:05 +02:00
koloml c7e1a95172 Fixed image container not being initialized properly causing errors 2026-10-14 01:40:14 +02:00
koloml ecd95d3b4f Merge remote-tracking branch 'origin/release/0.8.0' into feature/fullscreen-tagging-profile
# Conflicts:
#	src/content/components/philomena/MediaBox.ts
2026-10-14 01:31:14 +02:00
koloml bdac2692ce Fixed dupe reports rows detection accidentally trying to use diff rows 2026-10-14 01:25:51 +02:00
koloml d150d87d89 Fixed tags not synced to the profile toggler 2026-10-14 00:44:19 +02:00
koloml 690faa854f Added tags list and active profile tags into fullscreen viewer
Images now can be toggled with tagging profiles using fullscreen viewer
and not just with the popup over the small media box.

Submission of tag changes is still processed by the popup inside
original media box. Fullscreen viewer is just sending these changes
there and then, once it's closed, tag changes will be sent.
2026-10-14 00:42:51 +02:00
koloml a2452a5fea Extracted tags list toggler from profile popup to reuse it later 2026-10-13 22:09:45 +02:00
koloml b1c85efe03 Support updated duplicate reports table from latest Philomena update 2026-10-01 07:23:20 +02:00
koloml f4e92e313a Filling mapping of FA icons to different domains
Partially ported this list from the Philomena source code.
2026-08-30 07:13:21 +02:00
koloml b87a8a43e0 Display ratings when duplicate reports have different ratings 2026-08-30 06:23:58 +02:00
koloml d19764699f Find and modify duplicate reports, show source url icons in the diff 2026-08-30 05:44:26 +02:00
koloml c23c871337 Extracted image container into separate class for dupes
It uses the same element, and it's probably just better to extract this
logic into separate class instead of doing work in different classes.
2026-08-30 04:26:13 +02:00
koloml 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
koloml 4f52906123 Extracted CLS compensation logic into separate method 2026-04-05 19:46:34 +04:00
koloml 7d41524b4a Fixed scroll jump when preset becomes hidden 2026-04-05 19:21:09 +04:00
koloml 81b3d61a20 Fixed content layout shift caused by exclusive tags warning 2026-04-05 19:15:39 +04:00
koloml 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
koloml 66fd093e5a Marking unchanged properties as readonly 2026-04-05 18:29:47 +04:00
koloml 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
koloml 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
koloml 399e75809b Display presets when tag is found or hide it otherwise 2026-04-05 17:52:35 +04:00
koloml e8b0afc81f And even more renaming of popup across multiple files 2026-03-29 04:17:12 +04:00
koloml daceb9ad59 Cancel the planned submission when pending changes canceled 2026-03-29 03:57:06 +04:00
koloml c36929b824 Renaming the file with events as well 2026-03-29 03:49:22 +04:00
koloml 9b262393fa Fixed event & underlying type not updated 2026-03-29 03:48:12 +04:00
koloml 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
koloml b973947070 Fixed presets not refreshing after tag loading/clearing 2026-03-14 20:06:12 +04:00
koloml 71fb565247 Sort list of presets and their tags more consistently 2026-03-14 19:15:59 +04:00
koloml 939b5fec20 Properly refresh the tag category colors after preset changes applied 2026-03-12 01:33:14 +04:00
koloml d7b7aa5b98 Compensating for possible layout shift after toggling tags from preset 2026-03-12 01:22:03 +04:00
koloml 7f41a7e6f0 Fixed tag removal stopping on the first encountered missing tag
Syntax of `-tagname` we rely upon here will stop execution of suggested
tags when first tag which is not present in the editor is encountered.
Just a Philomena's specific quirk, nothing more.
2026-03-12 01:07:37 +04:00
koloml 2a2a488592 Added presets and tag editor handling to the image upload page 2026-03-12 00:57:23 +04:00
koloml 74866949bb Added Tag Presets, popup editor for them, implemented presets image edit 2026-03-12 00:17:45 +04:00
koloml 58b620ef09 Renaming Philomena and scraping-related classes directory 2026-03-07 17:35:38 +04:00
koloml 9445b1e862 Restructuring and renaming content components and their initialization 2026-03-07 17:22:13 +04:00
koloml 9024883949 Refactoring how preferences classes provide access to fields inside
Instead of constantly implementing these weird methods to read or update
values, there will be fields inside the preferences which contain
methods to read or update them.
2026-03-07 06:41:28 +04:00
koloml dc29c6ca69 Renaming for tagging profiles and preferences classes 2026-02-28 22:49:57 +04:00
koloml 9031055ec9 Replace the tag link text to resolved tag name when possible 2026-02-26 03:30:10 +04:00
koloml 2bdb789777 Support links to /search?q= when detecting tag links to replace 2026-02-25 20:47:22 +04:00
koloml bf81b7111f Tagging Popup: Automatically color tags by their tag namespaces 2026-02-23 18:38:07 +04:00
koloml dfdab180ee Added option to decorate tag links in forum posts 2026-02-23 17:51:27 +04:00
koloml 2ecd37512f Moving all content_scripts-related components under $content directory
Having $lib/component with just $component was a bit confusing,
especially since $lib is also used in Svelte components all over the
place. This move will hopefully make it less confusing for me.
2026-01-09 07:06:58 +04:00