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

Extracting main UI elements to cerebro-ui package #282

Closed
KELiON opened this issue Apr 11, 2017 · 3 comments
Closed

Extracting main UI elements to cerebro-ui package #282

KELiON opened this issue Apr 11, 2017 · 3 comments

Comments

@KELiON
Copy link
Collaborator

KELiON commented Apr 11, 2017

I started discussion in #277 and most of the plugin contributors agreed in #280 that it is important to have common UI components as a standalone package for easy reusability.

I've already create repository for that: https://github.com/KELiON/cerebro-ui

Here I'd like to track the progress and discussion.

As I see now, this package should include:

  • Form elements (checkbox, text input, radio button, dropdown, labels)
  • Loader
  • List with keyboard navigation (like in google preview now)
  • (ideas what else?)
@ocReaper
Copy link

A grid or layout system would be nice, since many plugin use 2 column layout with an image and a description. Also a card-like element could be useful like the one in the brainmaestro/cerebro-stackoverflow plugin.

@lubien
Copy link
Member

lubien commented Apr 11, 2017

I think we should learn from mature UI frameworks like Quasar.

Let's take a look at Quasar's list view.

Pretty much covers a lot of common cases in list views like simple lists, lists with icons (at left, right or both sides), lists with dropdown buttons, lists with images...

The Card element is always useful.

Tabs would be great, specially in contexts like settings.

And other minor UI components like form inputs or labels would make the plugin development experience easier :)

@KELiON
Copy link
Collaborator Author

KELiON commented May 10, 2017

We can move this conversation to cerebro-ui repo. Currently I didn't add new components, just moved what was already implemented.

@KELiON KELiON closed this as completed May 10, 2017
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

3 participants