Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename tabs #2544

Open
seanbirchall opened this issue Jul 25, 2024 · 2 comments
Open

rename tabs #2544

seanbirchall opened this issue Jul 25, 2024 · 2 comments

Comments

@seanbirchall
Copy link

seanbirchall commented Jul 25, 2024

Describe the problem your feature will solve.
Add ability rename tabs. Renaming nodes already works great!

Describe the solution you'd like
Copy some of the code from renaming nodes to tabs... I'll give it a shot!

Describe alternatives you've considered
None should be doable maybe weird when sorting is enabled. Right now I just send a js alert to rename tabs, but would be great if I could just double click in to rename. I also disabled sorting as my current implementation can be buggy if I sort and double click at the same time. Probably do to some of the css I'm using, but haven't looked into it enough.

Additional context
I'm making an open source IDE to the R programming language similar to RStudio and compiled to WASM / shinylive. I've been really enjoying w2ui. In fact it has many other components I'll likely start replacing in my existing app. Right now I'm only using tabs, but I plan to use sidebar nodes for a file browser, and might make the switch to use resizable layout for everything... right now I'm just using split.js.

You can check it out here

Thank you for creating this, it's great.

@vitmalina
Copy link
Owner

The link you provided is not working for me. :(

As for tab renaming, I do not have free time to do it right now, but if you can implement it, submit PR and I will merge it.

@seanbirchall
Copy link
Author

@vitmalina ya I'm going to be slow to get to it, but planning on working on it.

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

No branches or pull requests

2 participants