summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src/lib (follow)
Commit message (Collapse)AuthorAgeLines
* frontend: Use transition to expand ToolbarWolfgang Müller34 hours-2/+4
| | | | Also, whilst here, shorten the prop definition.
* frontend: Remove unnecessary flex classWolfgang Müller34 hours-4/+4
|
* frontend: Rename 'press' to 'unclick' in GalleryPageWolfgang Müller34 hours-3/+3
| | | | | This makes prop passing nicer and is in line with how the rest of the app formats this kind of thing.
* frontend: Inline select method in UpdateModeSelectorWolfgang Müller34 hours-5/+1
|
* frontend: Use CSS selector instead of ternary conditional in DeleteButtonWolfgang Müller34 hours-1/+2
|
* frontend: Use better type for onclick handler in AddButtonWolfgang Müller34 hours-1/+8
|
* frontend: Introduce ComicCard and ArchiveCardWolfgang Müller34 hours-70/+150
| | | | | | | | | | | Instead of repeatedly supplying Card content in all the places it is required, it makes more sense to create dedicated ComicCard and ArchiveCard components. These wrap around Card itself and can be used in a more straightforward and consistent fashion. Whilst we are here, simplify and streamline the display of Comic and Archive metadata by introducing a Card footer. The footer is used for information on page count, release date, and archive size.
* frontend: Use explicit placeholder for filter fieldsWolfgang Müller34 hours-1/+2
| | | | | Instead of showing the generic "Select..." placeholder, use a more specific "Include..." or "Exclude..." placeholder.
* frontend: Rework and improve acceleratorsWolfgang Müller34 hours-26/+39
| | | | | | This commit switches around a couple of existing accelerators to make them easier to activate with just the left hand on the keyboard and more easily allow the addition of accelerators for all filter fields.
* frontend: Remove "Exclude" expanderWolfgang Müller2 days-38/+9
| | | | | | | The following commit will introduce accelerators for each filter field, creating the need to have all fields visible (since otherwise the accelerators cannot be bound right away). Therefore, do away with the "Exclude" expander and show all filters right away.
* frontend: Allow filtering for orphaned associationsWolfgang Müller2 days-5/+107
| | | | | | With the association count filters in place we may now also allow the user to filter for associations that do not have a matching counterparts (artists without a comic, for example).
* Add remaining association count sort optionsWolfgang Müller2 days-0/+11
| | | | | Now that we have all association counts mapped to their respective models we can easily allow sorting on them as well.
* frontend: Use matching classes for enum labelsWolfgang Müller2 days-6/+6
| | | | | | These were mismatched, probably by copy-and-paste. This happened to still work because we pass the enum as a string, and the name happens to match for all of them.
* Add filter for association countsWolfgang Müller2 days-6/+26
| | | | | | | | | | | | | | | This will replace the old 'empty' filter on comic associations and introduce a generic way of matching against association counts, along with support for different operators like 'greater than' or 'lower than'. Models that did not previously have a way of matching against their associates (like filtering for Artists that have N comics associated with them) now gain that functionality. For now the frontend keeps the simpler approach of allowing the user to only filter for empty associations, but we nonetheless need to adjust the 'empty' field to instead be linked to the new 'count' field.
* frontend: Add fullscreen toggle in the readerWolfgang Müller3 days-6/+49
|
* frontend: Migrate ComicDetails to Svelte 5Wolfgang Müller3 days-1/+1
|
* frontend: Rename floating utility to btn-transparentWolfgang Müller3 days-2/+2
| | | | This more clearly describes what the utility is for.
* frontend: Implement a better page indicatorWolfgang Müller3 days-18/+79
| | | | | | | This replaces the very simplistic x/y page indicator with a visual bar at the bottom of the reader that allows the user quick access to any arbitrary page. At the margins it shows the current page number(s) and the total amount of pages.
* frontend: Fix page rendering in PageView for mismatched image sizesWolfgang Müller4 days-1/+1
| | | | | | | If we display two images next to each other whose dimensions do not line up nicely, 'grow' will for some reason cause the smaller image's div to grow less wide. Use 'w-full' instead to force the div to have full width.
* frontend: Migrate PageView to Svelte 5Wolfgang Müller4 days-84/+73
|
* frontend: Remove obsolete filter-container classWolfgang Müller8 days-1/+1
| | | | | This class was recently removed in commit 1421152 (frontend: Migrate to Tailwind 4.0, 2025-02-14).
* frontend: Add URL filter for comicsWolfgang Müller8 days-0/+11
|
* frontend: Further improve highlight focusWolfgang Müller8 days-6/+12
|
* frontend: Add missing semicolon to @reference directiveWolfgang Müller8 days-1/+1
| | | | | This sneaky bug caused the next .pink rule to never end up in the generated CSS.
* frontend: Remove superfluous btn class in UpdateModeSelectorWolfgang Müller8 days-1/+1
|
* frontend: Migrate to Tailwind 4.0Wolfgang Müller8 days-106/+53
|
* frontend: Improve styling for BadgeWolfgang Müller9 days-1/+1
| | | | This makes the badge indicator pop a bit better.
* frontend: Expand toolbar automatically with filters presentWolfgang Müller9 days-2/+3
|
* frontend: Allow control-clicking to open the quick filterWolfgang Müller9 days-25/+36
| | | | | This makes hircine's behaviour more consistent with standard browser behaviour (that would also open a new tab when control-clicking).
* frontend: Increase lookaround when preloading page imagesWolfgang Müller9 days-6/+11
| | | | | Instead of preloading one image in next and previous direction, preload two.
* frontend: Remove ellipsis prop in CardWolfgang Müller9 days-7/+1
| | | | This makes Archive card styling consistent with Comic cards.
* frontend: Migrate to Svelte 5Wolfgang Müller9 days-1669/+1829
|
* frontend/lint: Fix miscellaneous lint issuesWolfgang Müller2025-01-27-8/+4
|
* frontend/reader: Revert "Show loading indicators"Wolfgang Müller2025-01-25-33/+4
| | | | | This reverts commit d297c6310a6a4db8dd7cc3efe6ff59620deadcc0. It seems that on slower systems it's actually better without this.
* frontend: Add basic statistics pageWolfgang Müller2025-01-19-0/+39
|
* frontend: Improve highlighting of current focusWolfgang Müller2024-11-22-8/+8
| | | | | | Elements now have a consistent style applied to them when in focus. Additionally, select elements will now have an outline when focused, making it easier to notice the currently selected element.
* frontend: Ignore tabindex for container divsWolfgang Müller2024-11-22-1/+1
| | | | | These two break the tabbing flow, instead focus the next item within the container.
* frontend/reader: Allow switching to first or last pageWolfgang Müller2024-07-22-1/+3
|
* frontend/reader: Add simple page indicatorWolfgang Müller2024-07-22-0/+13
|
* frontend/reader: Preload the next set of imagesWolfgang Müller2024-07-22-0/+22
|
* frontend/reader: Show loading indicatorsWolfgang Müller2024-07-22-4/+33
| | | | | | Sometimes images may not load fast enough, resulting in the app being seemingly stuck displaying the same sets of images. Use a timeout to detect when images take too long to load and show a spinner instead.
* build/deps: Update Svelecte to 4.2.2Wolfgang Müller2024-07-22-21/+1
| | | | | | | | | | This includes changes to CSS in order to bring the look & feel in line with the previous version as much as possible. We can now remove the warning about TypeScript types (Svelecte 4 now includes them) and retire the clunky handling of pending options. Additionally, the focus issue has been fixed, allowing users to tab through controls without getting stuck.
* frontend: Have optionsPlaceholder use actual value passedWolfgang Müller2024-03-31-2/+2
| | | | | | A simple oversight that happened to still work. optionsPlaceholder was using 'value' from global scope which can lead to type errors because the check for undefined or null does not limit its type.
* frontend: Simplify types in Select.svelteWolfgang Müller2024-03-31-1/+2
| | | | Use an intermediary Item type that we can put in a union.
* frontend: Use @ts-expect error instead of @ts-ignoreWolfgang Müller2024-03-31-2/+1
|
* Initial commit0.1.0Wolfgang Müller2024-03-05-0/+5252