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

DevTools UI improvement #430

Open
8 of 14 tasks
arashsheyda opened this issue Sep 23, 2023 · 2 comments
Open
8 of 14 tasks

DevTools UI improvement #430

arashsheyda opened this issue Sep 23, 2023 · 2 comments

Comments

@arashsheyda
Copy link
Member

arashsheyda commented Sep 23, 2023

while developing modules for DevTools, It feels like some components are missing or some can be refactored to have more features. here is a list:

  • NTable: unavailable
  • NPagination: unavailable
  • NTabs: unavailable
  • NDialog or NModal: we have Dialog component in @nuxt/devtools, we can refactor and move it to ui.
  • NDrawer: we have DrawerRight & DrawerBottom component in @nuxt/devtools, we can refactor and move it to ui.
  • NNotification: we have Notification component in nuxt-devtools, we can refactor and move it to ui.
  • NNavbar: we have Navbar component in @nuxt/devtools, we can refactor and move it to ui because it's often use.
  • NSplitPane: we have PanelLeftRight component in @nuxt/devtools, we can refactor and move it to ui.
  • NTooltip: we are using floating-vue for tooltips too in @nuxt/devtools, but I think we can add tooltip with only css
  • NCommandPalette: we have CommandPalette component in @nuxt/devtools, we can refactor and move it to ui
  • NAlert: there is already NTip but I think NAlert is more common for use
  • NBadge: we have Badge component in @nuxt/devtools, we can refactor and move it to ui
  • NLink & NTextExternalLink: can refactored to one component
  • NButton & NIconButton: can refactored to one component (with support for group-buttons)

also there is this thought that maybe user wants to use @nuxt/devtools-ui for any other project so it would be neat if we add some other components too (e.g. NAvatar, NProgress ...)

If there are any additional components or improvements that have been overlooked, please feel free to add them to the list. let me know what you think, thanks

@antfu
Copy link
Member

antfu commented Sep 23, 2023

I am not sure if NCommandPalette should be moved to UI kit, modules should contribute to the main commands instead of bundling another one.

Others sound great! 👍

@arashsheyda
Copy link
Member Author

I am not sure if NCommandPalette should be moved to UI kit, modules should contribute to the main commands instead of bundling another one.

Others sound great! 👍

Yes I forgot about that :)

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