Skip to content

Scoped PAT: remove unused code - #48002

Closed
djhi wants to merge 1 commit into
scopedpat/scoped-token-creation-testsfrom
scopedpat/dead-code-cleanup
Closed

djhi wants to merge 1 commit into
scopedpat/scoped-token-creation-testsfrom
scopedpat/dead-code-cleanup

Conversation

@djhi

@djhi djhi commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

Fifth stacked PR for scoped PAT extracted from the prototype #47783 to ease reviewing.
Previous stacked PR is #47999.
Next stacked PR is #48182

This PR removes the old UI code which is now unused

@djhi
djhi requested a review from a team as a code owner July 16, 2026 12:39
@supabase

supabase Bot commented Jul 16, 2026

Copy link
Copy Markdown

This pull request has been ignored for the connected project xguihxuzqibwxjnimxev because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@vercel

vercel Bot commented Jul 16, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
studio-self-hosted Ready Ready Preview, Comment Jul 16, 2026 12:42pm
studio-staging Ready Ready Preview, Comment Jul 16, 2026 12:42pm
5 Skipped Deployments
Project Deployment Actions Updated (UTC)
studio Ignored Ignored Jul 16, 2026 12:42pm
design-system Skipped Skipped Jul 16, 2026 12:42pm
docs Skipped Skipped Open in v0 Jul 16, 2026 12:42pm
ui-library Skipped Skipped Jul 16, 2026 12:42pm
zone-www-dot-com Skipped Skipped Open in v0 Jul 16, 2026 12:42pm

Request Review

@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: fce9374a-6dc1-400f-abfb-f2736dde0a2c

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch scopedpat/dead-code-cleanup

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.

@github-actions

github-actions Bot commented Jul 16, 2026 •

Copy link
Copy Markdown
Contributor

🎭 Playwright Test Results (tanstack)

passed  238 passed
skipped  5 skipped

Details

stats  243 tests across 28 suites
duration  5 minutes, 7 seconds
commit  cdeba36

Skipped tests

Features › auth-users.spec.ts › should show web3 users as enabled when the matching web3 provider is enabled
Features › sql-editor.spec.ts › SQL Editor › snippet favourite works as expected
Features › sql-editor.spec.ts › SQL Editor › share with team works as expected
Features › sql-editor.spec.ts › SQL Editor › folders works as expected
Features › sql-editor.spec.ts › SQL Editor › other SQL snippets actions work as expected

@djhi

djhi commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

We actually want to keep the old UI for now. Closing

@djhi djhi closed this Jul 27, 2026
djhi added a commit that referenced this pull request Jul 29, 2026
Fourth stacked PR for scoped PAT extracted from the prototype #47783 to
ease reviewing.
Previous stacked PR is #48003
Next stacked PR is #48002

This PR:
- fix some accessibility issues
- add unit tests

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Tests**
* Added coverage for creating scoped access tokens at the project,
organization, and account levels.
* Verified validation for required fields, successful token creation,
clipboard copying, and completion flow.

* **Chores**
* Added temporary browser console logging when viewing a scoped access
token.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
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