Skip to content

fix(web): revalidate Cap pages after mobile password changes - #2901

Merged
richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-api-parity
Oct 22, 2026
Merged

richiemcilroy merged 2 commits into
CapSoftware:mainfrom
yashranaway:fix/web-api-parity

Conversation

@yashranaway

@yashranaway yashranaway commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

setting or removing a cap's password from the mobile app updated the database but didn't revalidate anything, so the dashboard lists and the share page kept showing the old protection state until something else refreshed them. the web password action already revalidates those three paths.

now the mobile handler revalidates the same ones (caps, shared caps and the share page) right after the update, like the web action and the mobile title handler do. the test calls the real handler and checks the paths, plus that a wrong owner still can't change it.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no actionable issues were found.

Summary

Mobile password changes now revalidate the dashboard lists and share page after the database update.

  • Mobile password changes refresh the affected Cap pages.

Reviews (1) · Last reviewed commit: "fix(web): revalidate Cap pages after mob..." · Reviewed by Greptile

@yashranaway

Copy link
Copy Markdown
Contributor Author

@greptileai review

@vercel

vercel Bot commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

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

1 Skipped Deployment
Project Deployment Actions Updated
cap-status Skipped Skipped Oct 22, 2026 12:20pm UTC

@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 08:01 Inactive
@vercel
vercel Bot temporarily deployed to Preview – cap-status October 22, 2026 12:20 Inactive
@richiemcilroy
richiemcilroy merged commit 2bd4f40 into CapSoftware:main Oct 22, 2026
29 of 30 checks passed

This branch was previously deployed

1 inactive deployment
Preview – cap-status — 2926652b Deployed Oct 22, 2026 by vercel[bot]
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