* hide dropdown when clicking outside it
* cleaner code
* cleaned up code
removed uneccessary div
changed to focus:ring-inset on buttons
* revert focus-ring-inset change
will handle this for the entire app in a separate branch
* changed to using headlessui
* added transition to the dropdown
* feat: add export JSON to Discord button
The Discord button exports the filter data in JSON format,
but with Discord-specific formatting.
as requested on Discord
* initial commit
* import working
* some more changes
* import is working
* added text field for import
* made exported json look pretty
* use filter name as title in export
takes the name of the exported filter and add it as title to the json
wont be used for anything on import
* snake case for title
* visual improvements
* added export function to filter dropdown
* added import to filter list
* include empty values on export
this is needed for the import to work
* styled the add button
* reduced needed values for const defaultFilter
this is the minimum required for successful import
* reduced defaultFilter to bits
* Made export and import require minimum values
added "version": "1.0", to export json
* changed filter name
* made the import textfield dynamic
* incremental numbering for imported filter names
Updated the filter import logic to check for existing filter names and
appending incremental number to the filter name if a conflict is found
* reverted changes in details.tsx
* Improved code comments a bit
* add icon and tooltip to filter.actions_count === 0
* changed the 0-action icon to a red animate-ping
- made the tooltip trigger on both the name and the animate-ping hover
- improved colors a bit
* fixed bg color for textarea
made the focus ring less intrusive
* fix(filters): remove requirement for logScore.
* default to zero on numberfield clear
* code comment for parseInt
---------
Co-authored-by: soup <soup@r4tio.dev>
* fix(tags): fixed `24bit Lossless` being tagged as `Lossless`
added negation to the Lossless regex to prevent it from matching 24bit Lossless
* fix(tests): modified test to reflect changes in regex
* feat(releases): support magnet links
* feat(feeds): support magnet links
* feat(actions): log messages
* fix: component warning
* fix: check hasprefix instead of hassuffix for magnet
* feat(release): resolve magnet uri from link
* fix(actions): deluge use magnet uri
* fix(macros): add `MagnetURI` var
* fix(actions): run magnet resolving before macros
* feat(feeds): set download type on creation
* feat(logs): show and download log files
* feat(logs): make logs settings dropdown
* feat(logs): minor cosmetic changes
* fix(logs): send empty response when lohpath not configured
* fix(logs): remove unused imports
* feat(logs): check if logs dir exists
* feat(logs): list log files in settings
* failed to compile locally without trailing slash
* matching tooltip color with subtitles/descriptions
* reverted docs icon
* fixed freeleech tooltip text
* corrected colors for tooltip icon on login page