Skip to content

feat(web): add duplicate action to the T3 Code default theme - #6013

Merged
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
UtkarshUsername:feat/web/duplicate-default-theme
Aug 10, 2026
Merged

feat(web): add duplicate action to the T3 Code default theme#6013
juliusmarminge merged 3 commits into
pingdotgg:mainfrom
UtkarshUsername:feat/web/duplicate-default-theme

Conversation

@UtkarshUsername

@UtkarshUsername UtkarshUsername commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

What Changed

The default T3 Code theme was the only theme without the option to copy, so customizing from the built-in look required Create theme plus a rename. Duplicate now opens the editor seeded from the default palette, named "T3 Code copy", matching the other built-in cards.

Why

The T3 Code card was the only theme card without the copy icon, even though it ships with the app like Grove, Ocean, Ember, Iris, and T3 Chat. The default look isn't backed by a theme definition, so a duplicate had nothing to seed from, but the editor already starts new themes from the standard palette, which is that exact look. So wiring the copy icon there was a one-line-shaped change that made the library uniform. Saving the duplicate creates an installed custom theme and activates it, same as duplicating any other card.

UI Changes

Before:
It was not possible to duplicate the default theme.
image

After:
It is possible to duplicate the default theme.

default.theme.mp4

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Small Theme Settings UI change reusing the existing theme editor flow; no auth, persistence, or security impact.

Overview
Standard built-in theme cards (including T3 Code) now show the same Duplicate control as maintainer and custom themes.

Duplicating opens the theme editor as a new theme (editingThemeId: null) with the standard palette (seedThemeId: null) and a prefilled name like T3 Code copy, so users can fork the default look without using Create theme and renaming manually.

Reviewed by Cursor Bugbot for commit 139446a. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add duplicate action to standard theme cards in the T3 Code default theme

Adds an onDuplicate handler to ThemeLibraryCard instances in ThemeSettings.tsx for standard themes. Clicking duplicate opens the theme editor with a pre-populated name in the format '<theme> copy', creating a new custom theme based on the selected standard theme.

Macroscope summarized 139446a.

The T3 Code card was the only theme card without a copy icon, so customizing
from the built-in look required Create theme plus a rename. Duplicate now
opens the editor seeded from the default palette, named "T3 Code copy",
matching the other built-in cards.
@coderabbitai

coderabbitai Bot commented Aug 10, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. 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: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f557cfe9-bf3a-4a1c-8b39-b9331740b13c

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

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 added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Aug 10, 2026
@macroscopeapp

macroscopeapp Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved 270e0ae

This adds a duplicate action for standard theme cards, following the identical pattern already used for maintainer themes. Simple, self-contained UI enhancement with no runtime behavior concerns.

You can customize Macroscope's approvability policy. Learn more.

@juliusmarminge
juliusmarminge merged commit b91a000 into pingdotgg:main Aug 10, 2026
16 checks passed
@UtkarshUsername
UtkarshUsername deleted the feat/web/duplicate-default-theme branch August 10, 2026 18:52
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Aug 10, 2026
## What's Changed
* feat: multi-provider pull requests page with in-app reviews by @Bil0000 in pingdotgg/t3code#4849
* perf(desktop): probe the Windows shell environment concurrently by @tsouth89 in pingdotgg/t3code#5878
* feat(web): add duplicate action to the T3 Code default theme by @UtkarshUsername in pingdotgg/t3code#6013
* fix(web): improve built-in theme contrast by @chrisdeeming in pingdotgg/t3code#6000


**Full Changelog**: pingdotgg/t3code@v0.0.34-nightly.20260810.1059...v0.0.34-nightly.20260810.1061

Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.34-nightly.20260810.1061
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants