Skip to content

feat: add support for inline tab renaming#5

Open
fabaguirre wants to merge 2 commits intofelipetodev:mainfrom
fabaguirre:feature/rename-tabs
Open

feat: add support for inline tab renaming#5
fabaguirre wants to merge 2 commits intofelipetodev:mainfrom
fabaguirre:feature/rename-tabs

Conversation

@fabaguirre
Copy link
Copy Markdown

Summary

This Pull Request introduces functionality to rename tabs directly from the Tab component, improving the user experience by allowing seamless updates to tab names.

Changes

  • Implemented inline renaming in the Tab component with a user-friendly editing flow.
  • Added updateTab to the store for persisting tab name changes.
  • Enhanced UI with transitions and focus management for a smoother interaction.

How it works

  1. Click on a tab name to activate an input field for editing.
  2. Press Enter or blur the input field to save changes.
  3. Changes are persisted to the store and immediately reflected in the UI.

Related Issue

Closes #4

- Enabled renaming of tabs directly in the `Tab` component.
- Added `updateTab` to the store for persisting name changes.
- Integrated renaming functionality with a seamless user experience.
@vercel
Copy link
Copy Markdown

vercel bot commented Dec 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
lab-js ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 2:30am

@felipetodev
Copy link
Copy Markdown
Owner

Wow @fabaguirre I like it! 🚀
I will review it carefully tomorrow night so we can merge it asap! ✨

Thank you for your contribution <3

@felipetodev felipetodev requested review from felipetodev and removed request for felipetodev December 6, 2024 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add inline tab renaming functionality

2 participants