Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[Feat]: Duplicate editor tab from the tab context menu

Open
#857 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
76/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
react, typescript
Domain
frontend

Research direction

Start in src/pages/Editor.tsx: inspect the tab context menu and how addTab handles tab ordering and state. Add the duplicate action and its translation key in every locale under src/i18n/locales/; run pnpm test, pnpm lint and pnpm typecheck. Done means console and table tabs duplicate as active tabs immediately after the source, without copying results or file links, and notebooks do not show the action.

Written by the indexing model from the issue text.

Description

feature request good first issue
🚀 Feature Proposal

Add Duplicate tab to the editor tab context menu. It opens a new tab right after the source one with the same SQL and query parameters.

Motivation

When tweaking a query it is handy to fork it and try a variation without losing the original.

Where to start
  • src/pages/Editor.tsx: the tab context menu. Add an item that calls the existing addTab with the source tab's type, query, queryParams, activeTable and schema/database, and a title suffixed with " (copy)".
  • Do not copy results, sourceFilePath or notebook ids.
  • New i18n key, e.g. editor.duplicateTab.
Acceptance criteria
  • The duplicate opens as the active tab, placed right after the source tab, with identical SQL and parameters.
  • Results are not copied, and the copy is not linked to the source .sql file.
  • Works for console and table tabs; hidden or disabled for notebooks.
Contributor notes
  • Follow the repo rules in .rules/ (TypeScript, React, design tokens, accessibility, testing).
  • Any new UI string needs a key in every locale under src/i18n/locales/.
  • Run pnpm lint, pnpm typecheck and pnpm test before opening the PR.
  • Questions? Ask here or on Discord.
Dominant language
TypeScript
Stars
5.1k
Forks
335
Avg merge
2d 8h
Merged PRs (30d)
62

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from TabularisDB/tabularis

All issues in TabularisDB/tabularis

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.