Skip to content

feat: persist auth credentials in sessionStorage#82

Merged
rsbh merged 2 commits into
mainfrom
feat/persist-auth-session
May 18, 2026
Merged

feat: persist auth credentials in sessionStorage#82
rsbh merged 2 commits into
mainfrom
feat/persist-auth-session

Conversation

@rsbh
Copy link
Copy Markdown
Member

@rsbh rsbh commented May 18, 2026

Summary

  • Save auth scheme, token, and basic auth credentials to sessionStorage keyed by spec name (chronicle:auth:{specName})
  • Pre-fill auth fields when opening playground dialog for the same API spec
  • Reset button clears stored credentials

Test plan

  • Open playground, enter auth token, close dialog
  • Re-open playground for same spec — auth token pre-filled
  • Switch to different API spec — auth fields empty (or pre-filled with that spec's saved values)
  • Click reset — auth cleared, sessionStorage entry removed
  • Refresh page — sessionStorage cleared (tab-scoped)

🤖 Generated with Claude Code

rsbh and others added 2 commits May 18, 2026 12:02
Read/write auth scheme, token, and basic auth credentials to
sessionStorage keyed by spec name. Pre-fills auth fields when
opening playground dialog for the same API spec.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
chronicle Ready Ready Preview, Comment May 18, 2026 6:33am

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@rsbh has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 12 minutes and 11 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c2f3fb21-fc3d-4bf1-9e84-3bc02100e98b

📥 Commits

Reviewing files that changed from the base of the PR and between 08f2641 and df02569.

📒 Files selected for processing (1)
  • packages/chronicle/src/components/api/playground-dialog.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/persist-auth-session

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@rsbh rsbh merged commit 872b936 into main May 18, 2026
4 checks passed
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