Skip to content

refactor: improve edit filename ui #178

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

Merged
merged 3 commits into from
Dec 13, 2023
Merged

Conversation

pdanpdan
Copy link
Contributor

  • remove the ugly black on white input not respecting the theme
  • position the editing on top of the original title
  • autogrow the size of the tab while editing

- remove the ugly black on white input not respecting the theme
- position the editing on top of the original title
- autogrow the size of the tab while editing
Copy link

vercel bot commented Dec 12, 2023

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

Name Status Preview Comments Updated (UTC)
repl ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 13, 2023 7:53am

Copy link
Member

@sxzz sxzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be a little confusing when there is one active file and an editing file.

image

…in the editor below

When adding new files the old selected file is still displayed in the editor, so the active marker should stay only on that tab.

ref: vuejs#178 (review)
@sxzz
Copy link
Member

sxzz commented Dec 13, 2023

Another bug: background is dislocation when the input is empty.
image

pdanpdan added a commit to pdanpdan/vue-repl that referenced this pull request Dec 13, 2023
…in the editor below

When adding new files the old selected file is still displayed in the editor, so the active marker should stay only on that tab.

ref: vuejs#178 (review)
@pdanpdan
Copy link
Contributor Author

Good points, fixed.

pdanpdan added a commit to pdanpdan/vue-repl that referenced this pull request Dec 13, 2023
@sxzz sxzz merged commit 3027021 into vuejs:main Dec 13, 2023
@sxzz sxzz changed the title feat(FileSelector): improve aspect of file tabs when editing file name refactor: improve edit filename ui Dec 13, 2023
@pdanpdan pdanpdan deleted the feature/file_name_edit branch December 13, 2023 08:08
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