* First iteration on the new PieChart component
* #128 Adds new admin home page
* Fixes code after merging conflicts
* Removes empty file
* Uses real data for admin home page, and improves style
* Reverts debugging code
* Defines missing variable
* Caches user stats data for admin home page
* Typo
* Styles improvements
* Invalidates cache on signup/signin
* Implements top 5 biggest games
* Improves styling
* Improves style
* Using generateManifest to get the proper size
* Reading data from cache
* Removes unnecessary import
* Improves caching mechanism for game sizes
* Removes lint errors
* Replaces piechart tooltip with colors in legend
* Fixes caching
* Fixes caching and slight improvement on pie chart colours
* Fixes a few bugs related to caching
* Fixes bug where app signin didn't refresh cache
* feat: style improvements
* fix: lint
---------
Co-authored-by: DecDuck <declanahofmeyr@gmail.com>
* improve igdb metadata fetching
* Make sure to get images with reasonable resolution.
By default the url igdb returns is in "t_thumb" size,
an image of size 90x90, which is good only for the icon,
but bad for pretty much else. This commit will make sure
covers will be of size "t_cover_big", artworks of 1080p
height (i.e. "t_1080p") and logos will have their original
size ("t_original"). Maybe "t_logo_med" is more appropriate?
* Fetch screenshots as well.
* Use a separate image for icon and for cover.
icon needs to be a square, and can be of low
resolution, so the "t_thmb" size is more appropriate
for him.
* If there is a storyline for a game use it as a short
description.
* IDGB -> IGDB
* use the longer text between storyline and description for description
---------
Co-authored-by: udifogiel <udifogiel@proton.me>
* chore: Major refactoring
Still needs a massive go-over because there shouldn't be anything referencing tauri in any of the workspaces except the original one. Process manager has been refactored as an example
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Remote tauri dependency from process
Signed-off-by: quexeky <git@quexeky.dev>
* refactor: Improvements to src-tauri
Signed-off-by: quexeky <git@quexeky.dev>
* refactor: Builds, but some logic still left to move back
Signed-off-by: quexeky <git@quexeky.dev>
* refactor: Finish refactor
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Run cargo clippy && cargo fmt
Signed-off-by: quexeky <git@quexeky.dev>
* refactor: Move everything into src-tauri
Signed-off-by: quexeky <git@quexeky.dev>
---------
Signed-off-by: quexeky <git@quexeky.dev>
* make carousel pagination clickable
* make carousel in game pages wrap around
* make items in store fit the row when the filter menu is visible
---------
Co-authored-by: udifogiel <udifogiel@proton.me>
* fix: Add lint and remove all unwraps from lib.rs
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove all unwraps from util.rs and add state_lock macro
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Add CacheError and remove unwraps from fetch_object
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove unwraps from fetch_object and server_proto
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove unwraps from auth.rs
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove unwraps from process_handlers
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Clippy unwrap linting
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Remove lint
Because not everything is actually resolved yet: will be resolved with a restructure of the library
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Make the rest of clippy happy
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Send download signal instead of triggering self.on_error
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Corrupted state should panic
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Use debug instead of display for specific errors
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Settings now log error instead of panicking
Signed-off-by: quexeky <git@quexeky.dev>
---------
Signed-off-by: quexeky <git@quexeky.dev>
* feat: different local path in dev #73
* feat: better error output for downloads
* feat: collections in library view
* feat: improve download manager reliability
* feat: new download UI, more stable downloads
* fix: clippy
* fix: only show admin link if user is admin
* feat: check for libs before building
* fix: Fix native_model from requirements and add version requirements for models
Signed-off-by: quexeky <git@quexeky.dev>
* fix: Use Drop-OSS/native_model
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Bump version to include logging
(Albeit, logging occurs before we initialise the logger, but oh well)
Signed-off-by: quexeky <git@quexeky.dev>
* chore: Make clippy happy
Signed-off-by: quexeky <git@quexeky.dev>
---------
Signed-off-by: quexeky <git@quexeky.dev>