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

Create a tabbed interface for the admin #343

Closed
manaswisaha opened this issue Oct 13, 2016 · 19 comments
Closed

Create a tabbed interface for the admin #343

manaswisaha opened this issue Oct 13, 2016 · 19 comments

Comments

@manaswisaha
Copy link
Member

Currently, the page is really slow since it loads all the data for the tables on page load.

Creating a tabbed (top or sidebar) interface, each part of the page being on its own tab, will let us have a cleaner looking interface where the data is requested based on the user's selected tab.

@jonfroehlich
Copy link
Member

We should (rapidly) sketch out some ideas before implementing. :)

@manaswisaha
Copy link
Member Author

manaswisaha commented Oct 18, 2016

I really like the tabbed interface of waffle board view (see here). This is what I had in mind for the admin interface. And as we add more metrics, it will be even more important to have such an interface.

@tongning
Copy link
Collaborator

tongning commented Nov 2, 2016

Here's what a basic implementation with tabs across the top could look like. Any comments on this?
tabs-basic

For a waffle-like view perhaps a fixed left-side navbar like this one would work:
http://bootsnipp.com/snippets/z4Q2r

@manaswisaha
Copy link
Member Author

Yeah, this looks good. Although, I would like to see the left sidebar one too. :)

Few updates to the tab labels:
Graphs --> Analytics
Labels --> Contributions

Rest looks good. Has the speed decreased by doing this view and is everything working as it should?

@tongning
Copy link
Collaborator

tongning commented Nov 2, 2016

I'm still moving the content into the tabs so I can't comment on speed yet, but hopefully I'll be able to test it soon :)

@jonfroehlich
Copy link
Member

I think the left sidebar is probably a better fit for this and more scalable. We'll likely have more verification pixels than horizontal pixels for menu items. Thoughts?

I'd specifically be curious to hear from Soheil.

Sent from my iPhone

On Nov 2, 2016, at 1:50 PM, Anthony Li notifications@github.com wrote:

I'm still moving the content into the tabs so I can't comment on speed yet, but hopefully I'll be able to test it soon :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@jonfroehlich
Copy link
Member

Can't be sure about this until I see the mock

Sent from my iPhone

On Nov 2, 2016, at 2:08 PM, Jon Froehlich jonfroehlich@gmail.com wrote:

I think the left sidebar is probably a better fit for this and more scalable. We'll likely have more verification pixels than horizontal pixels for menu items. Thoughts?

I'd specifically be curious to hear from Soheil.

Sent from my iPhone

On Nov 2, 2016, at 1:50 PM, Anthony Li notifications@github.com wrote:

I'm still moving the content into the tabs so I can't comment on speed yet, but hopefully I'll be able to test it soon :)


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@Soben713
Copy link
Collaborator

Soben713 commented Nov 2, 2016

I agree that having the tabs in the sidebar is better. I think the first step should be brainstorming what the categories (and possibly sub-categories) must be.

This is a dashboard I designed for another project. Thought it might be a good source of inspiration.

image
image

@tongning
Copy link
Collaborator

tongning commented Nov 2, 2016

With the content split into separate pages it should be fairly easy to change the design now. I'll work on the sidebar prototype next.

@jonfroehlich
Copy link
Member

Great!

@Soben713
Copy link
Collaborator

Soben713 commented Nov 4, 2016

This link might also be useful for inspiration: https://colorlib.com/wp/free-bootstrap-admin-dashboard-templates/

I like this particular library:
https://almsaeedstudio.com/themes/AdminLTE/index2.html

Update: I used this library for my quality control project's dashboard and it is so cool. It provides a lot of useful widgets/icons.

image

@m-furman
Copy link
Collaborator

I've been trying to think of various ways to split up the content, and so far the only two ideas I have are (1) the one that was previously mentioned (grouping by type/kind of data being displayed) and (2) grouping based on the display format (for instance, all tables in one tab with subsections dedicated to the specific data that each table is displaying). And since that sounded super confusing here are some quick prototypes that I created:

(1)

(2)

I don't really like how the black tab bar (which obviously needs to extend down the page rather than ending halfway..oops!) looks in the second one, but I was playing around to see if something like that would work at all. I'm also not sure if something along the lines of the first one would require any subsections (it personally doesn't seem to me like it would).

I was originally thinking that it might also be nice to have icons on each tab in addition to labels, but after creating these two prototypes it seems somewhat unnecessary.

Any ideas/suggestions?

@jonfroehlich
Copy link
Member

jonfroehlich commented Jan 13, 2017 via email

@m-furman
Copy link
Collaborator

I have the basic tabs implemented:

I haven't worked on styling them properly or ensuring that only the necessary information is loaded for each tab, but I'll try to have that up and working soon so that I can compare the current load time with that of this new tabbed implementation.

@jonfroehlich
Copy link
Member

Great. Thank you. Are you using Twitter Bootstrap for this? Looking forward to seeing new iterations.

@m-furman
Copy link
Collaborator

I was actually just using the jQuery UI tabs, but I just reimplemented it using Twitter Bootstrap (haven't worked with it before so using it didn't come to mind at first!). It looks a lot cleaner now:

@jonfroehlich
Copy link
Member

Nice progress. Can you do sub-sections in the tabs like you showed in your mockups?

@m-furman
Copy link
Collaborator

I don't think that creating subsections should be too difficult, but I'm not too clear on what exactly the subsections should be...

@jonfroehlich
Copy link
Member

jonfroehlich commented Jan 18, 2017 via email

manaswisaha pushed a commit that referenced this issue Apr 4, 2017
…nterface

Implements #343 - Creating a tabbed admin interface
@ghost ghost removed the pull-request-submitted label Apr 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants