Skip to content

fix(dev-keys): remove dev key creation and add deprecation notice#3138

Merged
atharvadeosthale merged 2 commits into
mainfrom
fix-remove-dev-key-creation
Jul 22, 2026
Merged

fix(dev-keys): remove dev key creation and add deprecation notice#3138
atharvadeosthale merged 2 commits into
mainfrom
fix-remove-dev-key-creation

Conversation

@atharvadeosthale

@atharvadeosthale atharvadeosthale commented Jul 22, 2026

Copy link
Copy Markdown
Member

What does this PR do?

Dev key creation is paused as of July 22, 2026 (changelog); existing dev keys keep working until September 1, 2026. This PR removes every dev-key creation entry point in the console and adds a deprecation notice on the Dev keys tab.

  • Removes the "Create dev key" header button and its creation modal (dev-keys/action.svelte deleted)
  • Replaces the empty-state create action with a Documentation-only empty state titled "No dev keys"
  • Removes the "Create Dev Key" command palette entry
  • Adds a warning alert above the dev keys list stating the deprecation dates and linking the changelog entry
  • setOverviewAction now accepts null so the tab renders no header action

Test Plan

  • Open Project → Overview → Integrations → Dev keys
  • Header shows no "Create dev key" button; deprecation alert with the July 22 / September 1, 2026 dates shows above the list/empty state
  • Empty state offers only the Documentation link
  • Command palette no longer offers "Create Dev Key"
  • API keys tab unchanged (create button and empty-state action still work)

Related PRs and Issues

Checklist

Dev key creation is no longer allowed. Removes the create button,
create modal, empty-state create action, and command palette entry,
and adds a deprecation alert linking the changelog:
https://appwrite.io/changelog/entry/2026-07-22
@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR removes Dev key creation from the console and adds a deprecation notice. The main changes are:

  • Removes the Dev key creation modal and related store.
  • Removes Dev key creation from the header, empty state, and command palette.
  • Adds a deprecation warning and documentation-only empty state.
  • Allows the overview header action to be cleared with null.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.
  • Removed creation state and components have no remaining references.
  • The shared table preserves the API-key creation path.
  • The layout checks for a non-null action before rendering it.

Important Files Changed

Filename Overview
src/routes/(console)/project-[region]-[project]/overview/(components)/table.svelte Keeps API-key creation unchanged while replacing the Dev-key empty state with a documentation link.
src/routes/(console)/project-[region]-[project]/overview/+layout.svelte Removes the Create Dev Key command-palette entry.
src/routes/(console)/project-[region]-[project]/overview/context.ts Allows overview pages to clear the header action by setting it to null.
src/routes/(console)/project-[region]-[project]/overview/dev-keys/+page.svelte Removes the header action and adds the Dev-key deprecation warning.
src/routes/(console)/project-[region]-[project]/overview/dev-keys/action.svelte Deletes the Dev-key creation modal and its SDK mutation.
src/routes/(console)/project-[region]-[project]/overview/store.ts Removes the writable state used only by the deleted creation modal.

Reviews (1): Last reviewed commit: "fix(dev-keys): state deprecation dates i..." | Re-trigger Greptile

@atharvadeosthale
atharvadeosthale merged commit 84eb30d into main Jul 22, 2026
3 of 4 checks passed
@atharvadeosthale
atharvadeosthale deleted the fix-remove-dev-key-creation branch July 22, 2026 13:50
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