Skip to content

💄 (expo): Refresh server cards - #1335

Merged
aaronleopold merged 26 commits into
nightlyfrom
refresh-server-cards
Aug 19, 2026
Merged

💄 (expo): Refresh server cards#1335
aaronleopold merged 26 commits into
nightlyfrom
refresh-server-cards

Conversation

@aaronleopold

@aaronleopold aaronleopold commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

Description

This PR refreshes the look of the servers screen in the mobile app.

Server:

  • Generate color data for uploaded avatars
  • Add timestamp for uploaded avatars
  • Add cache_friendly_url mostly for cache invalidation of uploaded/managed images (e.g., media thumbs, user avatars, etc). Only avatars using it now

App:

  • Add authless auth mode to support servers which have no auth requirements or for scenarios where auth is baked into the URL (e.g., an api key scoped route)
  • Support downloading user avatar and resizing for mobile automatically
  • Add logos for a few known servers (Kavita, Komga, Codex)
  • Support basic identification for known servers
    • Inspect Server header
    • Inspect OPDS feed author metadata
  • Unify server cards to be in grid, not split by type
  • Redesign server cards:
    • Smaller, since in grid
    • User avatar or server logo in top-right
    • Use average color of avatar/logo for radial gradient
    • Type of server annotated at bottom of card (e.g., Stump, OPDS v1.2, etc)
  • Add OPDS-specific links for Stump servers in context menu
  • Remove a few now kinda pointless settings:
    • Global Stump enablement (if you don't want Stump features, don't add a Stump server)
    • Mask URLs, originally added since the servers showed the URL in the card but now that they don't it feels unneeded

Screenshots

Examples Screenshot 2026-08-17 at 4 15 06 PM Screenshot 2026-08-17 at 4 27 53 PM

Stump Contributor License Agreement

By contributing to Stump, you agree that your contributions will be licensed under the following licenses (where applicable):

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 37.75510% with 61 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
crates/graphql/src/object/user.rs 0.00% 17 Missing ⚠️
crates/models/src/entity/user.rs 48.27% 15 Missing ⚠️
apps/server/src/routers/api/v2/oidc.rs 0.00% 14 Missing ⚠️
crates/graphql/src/mutation/user.rs 0.00% 10 Missing ⚠️
crates/graphql/src/data.rs 81.81% 2 Missing ⚠️
crates/graphql/src/object/library.rs 0.00% 1 Missing ⚠️
crates/graphql/src/object/media.rs 0.00% 1 Missing ⚠️
crates/graphql/src/object/series.rs 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
apps/server/src/middleware/auth.rs 87.86% <100.00%> (+0.78%) ⬆️
apps/server/src/routers/api/v2/auth.rs 57.68% <100.00%> (+1.03%) ⬆️
crates/models/src/shared/image.rs 100.00% <ø> (ø)
crates/graphql/src/object/library.rs 5.08% <0.00%> (-0.02%) ⬇️
crates/graphql/src/object/media.rs 14.28% <0.00%> (-0.06%) ⬇️
crates/graphql/src/object/series.rs 9.32% <0.00%> (-0.04%) ⬇️
crates/graphql/src/data.rs 70.83% <81.81%> (+15.09%) ⬆️
crates/graphql/src/mutation/user.rs 0.00% <0.00%> (-24.32%) ⬇️
apps/server/src/routers/api/v2/oidc.rs 2.88% <0.00%> (-0.16%) ⬇️
crates/models/src/entity/user.rs 39.89% <48.27%> (-1.22%) ⬇️
... and 1 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@aaronleopold
aaronleopold marked this pull request as ready for review August 18, 2026 02:11
@aaronleopold

aaronleopold commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator Author

In testing this yesterday evening, I realized that OPDS v1.2 is broken for Stump (in the mobile app, to be clear). I've figured out the problem, it was mostly a few small things here and there that never got found because up until this PR OPDS v1.2 was not accessible for Stump servers (only OPDS v2.0).

I don't see it as a priority, so will keep the fixes in the child branch I already have running to add support for #884

aaronleopold and others added 6 commits August 18, 2026 17:05
i can tell this will be a nightmare to test everything lol need to look into that immediately
mostly a hunch and needs proper testing
missed this in my re-review lol but i actually had a todo comment for me to handle it
@aaronleopold
aaronleopold merged commit 2a728c8 into nightly Aug 19, 2026
7 checks passed
@aaronleopold
aaronleopold deleted the refresh-server-cards branch August 19, 2026 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants