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

Admin UI #60

Closed
jchris opened this issue May 2, 2013 · 8 comments
Closed

Admin UI #60

jchris opened this issue May 2, 2013 · 8 comments

Comments

@jchris
Copy link
Contributor

jchris commented May 2, 2013

the admin port :4985 should have an Admin UI for editing the sync function, browsing users, inspecting channels, etc.

@snej
Copy link
Contributor

snej commented May 2, 2013

That's an awesome idea. What do you think is the best way to implement it? It could be like Futon, which (IIRC) is mostly a static set of resources that run client-side JS and talk to the server with XHR. Or it could be more built into the gateway itself, using a Go web framework (I think there are a few out there already.)

In the former case, we'd need to add more functionality to the admin REST API — for example, it doesn't yet have any way to get the list of users or roles.

@jchris
Copy link
Contributor Author

jchris commented May 2, 2013

I think this should be implemented like Futon, so it's all rest calls against the :4985 port. This means we need to add user and role listing apis, channel listing apis, as well as make sure :4985 is a superset of :4984

@jchris
Copy link
Contributor Author

jchris commented Dec 9, 2013

The big valuable views here:

  • sync function editor with preview where you can see which channels it would populate / access it would grant, based on some test data (existing docs?)
  • browse existing channels
  • see which documents are in a channel
  • see which users have access to a channel
  • browse existing users
  • which channels can a given user access

@ghost ghost assigned jchris Dec 31, 2013
@jessliu
Copy link

jessliu commented Dec 31, 2013

Chris has been making progress on some initial feature work for the Admin UI, specifically the Sync Function Editor previewer. Further scope and brainstorm needed.

@jessliu
Copy link

jessliu commented Aug 1, 2014

After further review, it looks like this may actually be more "dev" UI. Breaking it down, hoping we can get something like the following:

Dev dashboard:

  • Sync Function editor
  • Live debug log view

Admin dashboard:

  • Configuration panel
  • Authentication manager
  • Health metrics (such as: # requests queued, rate of requests being pushed, etc.)

@ajres ajres added the epic label Aug 15, 2014
@jessliu jessliu added icebox and removed backlog labels Aug 29, 2014
@jessliu jessliu modified the milestones: Future, 1.2.0 Aug 29, 2014
@kvaillant
Copy link

It such a good idea. I currently use some nodejs script to print out user roles and user channels.
I would add in the Admin dashboard :

  • User roles
  • User channels

@jchris
Copy link
Contributor Author

jchris commented Aug 19, 2015

BTW the code for this lives here https://github.com/couchbaselabs/sync_gateway_admin_ui

@zgramana zgramana modified the milestone: 1.2.0 Oct 2, 2015
@adamcfraser
Copy link
Collaborator

Actively being worked on here: https://github.com/couchbaselabs/sync_gateway_admin_ui - tracking ongoing development in that repo.

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

7 participants