Skip to content

fix: persist server preference#54

Merged
justinhartman merged 8 commits intodevelopfrom
feat/add-server-selection-persistence-mechanism
Oct 20, 2025
Merged

fix: persist server preference#54
justinhartman merged 8 commits intodevelopfrom
feat/add-server-selection-persistence-mechanism

Conversation

@justinhartman
Copy link
Owner

@justinhartman justinhartman commented Oct 18, 2025

Summary

  • remember the viewer's chosen server in cookies/local storage and thread the preference through the controller response
  • allow buildSources to honour a preferred server and expand the unit coverage around the new option
  • update the view templates to carry the preference key and add a smarter footer script that restores the saved server on load

Testing

  • yarn test
  • npx yarn@1.22.22 test:coverage

@vercel
Copy link

vercel bot commented Oct 18, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
imdb-app Ready Ready Preview Comment Oct 20, 2025 3:16pm

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@codecov
Copy link

codecov bot commented Oct 18, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e7e8bc6) to head (25e9483).
⚠️ Report is 9 commits behind head on develop.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop       #54   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           18        18           
  Lines         1627      1650   +23     
  Branches       130       135    +5     
=========================================
+ Hits          1627      1650   +23     
Flag Coverage Δ
tests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@justinhartman justinhartman merged commit e8a60e1 into develop Oct 20, 2025
5 checks passed
@justinhartman justinhartman deleted the feat/add-server-selection-persistence-mechanism branch October 20, 2025 15:17
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.

1 participant