summaryrefslogtreecommitdiffstatshomepage
path: root/frontend/src (unfollow)
Commit message (Collapse)AuthorLines
3 daysfrontend: Rework and improve acceleratorsWolfgang Müller-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.
3 daysfrontend: Remove "Exclude" expanderWolfgang Müller-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.
3 daysfrontend: Allow filtering for orphaned associationsWolfgang Müller-8/+122
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).
3 daysAdd remaining association count sort optionsWolfgang Müller-1/+23
Now that we have all association counts mapped to their respective models we can easily allow sorting on them as well.
3 daysfrontend: Use matching classes for enum labelsWolfgang Müller-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.
3 daysAdd filter for association countsWolfgang Müller-8/+49
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.
4 daysfrontend: Add fullscreen toggle in the readerWolfgang Müller-6/+49
4 daysfrontend: Migrate ComicDetails to Svelte 5Wolfgang Müller-1/+1
4 daysfrontend: Rename floating utility to btn-transparentWolfgang Müller-6/+6
This more clearly describes what the utility is for.
4 daysfrontend: Implement a better page indicatorWolfgang Müller-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.
5 daysfrontend: Fix page rendering in PageView for mismatched image sizesWolfgang Müller-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.
5 daysfrontend: Migrate PageView to Svelte 5Wolfgang Müller-86/+77
9 daysfrontend: Remove obsolete filter-container classWolfgang Müller-1/+1
This class was recently removed in commit 1421152 (frontend: Migrate to Tailwind 4.0, 2025-02-14).
9 daysfrontend: Add URL filter for comicsWolfgang Müller-0/+11
9 daysfrontend: Further improve highlight focusWolfgang Müller-37/+19
9 daysfrontend: Add missing semicolon to @reference directiveWolfgang Müller-1/+1
This sneaky bug caused the next .pink rule to never end up in the generated CSS.
9 daysfrontend: Remove superfluous btn class in UpdateModeSelectorWolfgang Müller-1/+1
10 daysfrontend: Bind PageView to form input instead of ComicWolfgang Müller-1/+1
Commit dc4db40 (frontend: Migrate to Svelte 5, 2025-02-13) accidentally regressed reader behaviour where updates to the page layout and page direction where no longer shown immediately. Make sure to bind PageView to the comic form input to fix this.
10 daysfrontend: Show statistics spinner in the middle of the pageWolfgang Müller-6/+6
10 daysfrontend: Migrate to Tailwind 4.0Wolfgang Müller-234/+210
10 daysfrontend: Use current date to seed frontpage resultsWolfgang Müller-6/+20
Use the current date (year, month, and day) instead of generating a new seed every time and potentially making the user unable to go back to see results that were displayed a moment ago. This essentially makes the frontpage display daily favourites and bookmarks. Additionally make sure to set the seed in the filter when navigating to the respective category.
10 daysfrontend: Always fetch statistics from the networkWolfgang Müller-1/+5
Since the data fetched in the statistics query will be invalidated by basically any mutation and tracking the dependencies manually like we do with other queries is not feasible, simply have it load from network always.
10 daysfrontend: Add missing loading indicator for statistics pageWolfgang Müller-0/+3
10 daysfrontend: Improve styling for BadgeWolfgang Müller-1/+1
This makes the badge indicator pop a bit better.
10 daysfrontend: Expand toolbar automatically with filters presentWolfgang Müller-3/+5
10 daysfrontend: Allow control-clicking to open the quick filterWolfgang Müller-43/+72
This makes hircine's behaviour more consistent with standard browser behaviour (that would also open a new tab when control-clicking).
10 daysfrontend: Increase lookaround when preloading page imagesWolfgang Müller-6/+11
Instead of preloading one image in next and previous direction, preload two.
10 daysfrontend: Remove ellipsis prop in CardWolfgang Müller-13/+2
This makes Archive card styling consistent with Comic cards.
10 daysfrontend: Migrate to Svelte 5Wolfgang Müller-2292/+2375
2025-01-27frontend/lint: Fix miscellaneous lint issuesWolfgang Müller-8/+4
2025-01-25frontend/reader: Revert "Show loading indicators"Wolfgang Müller-33/+4
This reverts commit d297c6310a6a4db8dd7cc3efe6ff59620deadcc0. It seems that on slower systems it's actually better without this.
2025-01-19frontend: Add basic statistics pageWolfgang Müller-0/+127
2024-11-22frontend: Improve highlighting of current focusWolfgang Müller-11/+45
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.
2024-11-22frontend: Ignore tabindex for container divsWolfgang Müller-2/+2
These two break the tabbing flow, instead focus the next item within the container.
2024-07-22frontend/reader: Allow switching to first or last pageWolfgang Müller-1/+3
2024-07-22frontend/reader: Add simple page indicatorWolfgang Müller-0/+13
2024-07-22frontend/reader: Preload the next set of imagesWolfgang Müller-0/+22
2024-07-22frontend/reader: Show loading indicatorsWolfgang Müller-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.
2024-07-22build/deps: Update Svelecte to 4.2.2Wolfgang Müller-43/+31
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.
2024-03-31frontend: Have optionsPlaceholder use actual value passedWolfgang Müller-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.
2024-03-31frontend: Simplify types in Select.svelteWolfgang Müller-1/+2
Use an intermediary Item type that we can put in a union.
2024-03-31frontend: Use @ts-expect error instead of @ts-ignoreWolfgang Müller-2/+1
2024-03-25backend: Report Archive size as floatWolfgang Müller-2/+2
GraphQL integers are 32-bit as per spec [1] [2]. Implementations may therefore error on large numbers. Since an archive's size can reasonably exceed this value, make sure to report it as a float instead. [1] https://graphql.org/learn/schema/ [2] https://github.com/graphql/graphql-js/issues/292#issuecomment-186702763