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

Reskin Dashboard #49

Closed
asim opened this issue May 9, 2016 · 12 comments
Closed

Reskin Dashboard #49

asim opened this issue May 9, 2016 · 12 comments

Comments

@asim
Copy link
Member

asim commented May 9, 2016

Need to reskin the dashboard. It's a bit.... yea. My web skills aren't all that. Help welcome.

There's also all the platform dashboards that need a similar rework with a unified theme if anyone is looking for other stuff to do.

@joeblew99
Copy link

I had to build a dashboard on the last project. I needed super simple and used one that needed zero JavaScript. It did what I needed but was very very limited in the ability to customise.

The other one I used is this :

https://www.muicss.com

I don't know what sort of things are important to your project though

@asim
Copy link
Member Author

asim commented May 22, 2016

That looks interesting. My friend pointed towards http://www.material-ui.com/#/ as being the defacto material design solution.

I don't mind the use of javascript. Just looking for something thats going to provide a good design and solution long term.

@joeblew99
Copy link

I have used that one also. Had lots of bugs when I used it 8 months ago.
I used more simple material UI libs and had more luck.

On Mon, 23 May 2016, 00:26 Asim Aslam, notifications@github.com wrote:

That looks interesting. My friend pointed towards
http://www.material-ui.com/#/ as being the defacto material design
solution.

I don't mind the use of javascript. Just looking for something thats going
to provide a good design and solution long term.


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#49 (comment)

@iflamed
Copy link

iflamed commented May 27, 2016

It's interesting, may be I can wirte a new dashboard, using vue.js and the keenui https://github.com/JosephusPaye/Keen-UI.

I know much about php, javascript, css, vue.js. I learnd golang a few months ago, but now I think I have forgot most of it.

@cgabbadon
Copy link

@asim My brother is actually a core contributor on the Material-UI project you mentioned, so I am also biased towards it. Perhaps we could give it a stab.

@asim
Copy link
Member Author

asim commented Jun 2, 2016

Thanks Craig, appreciate it. Any existing examples of how you guys structure projects with material-ui? I want to get an idea of how its built, what the dependencies are, etc. Right now as you can see it's all using go templates so from a user perspective nothing has to be done to build it when you check it out.

@joeblew99
Copy link

I am using it. +1 from me.

On Fri, 3 Jun 2016, 00:21 Asim Aslam, notifications@github.com wrote:

Thanks Craig, appreciate it. Any existing examples of how you guys
structure projects with material-ui? I want to get an idea of how its
built, what the dependencies are, etc. Right now as you can see it's all
using go templates so from a user perspective nothing has to be done to
build it when you check it out.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#49 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ALcacxTKYBo__A0KVpMlBkE6_GXUaMDNks5qH1dVgaJpZM4IafCr
.

@joeblew99
Copy link

Also there is a gopherjs project for react. It is a binding, so it can talk
to material UI.

This means that there is nothing to do but do a gopherjs build and the
front runs.

It also has a react router integrated.

The http endpoints, or whatever we want to call then can easily be produced
from golang so that the proxy service is produced from the actual service
interface.
So everything joins up at compile time.

It works surprisingly well. I can grab the github link tomorrow if your
interested.

On Fri, 3 Jun 2016, 00:22 Joe Blue, joeblew99@gmail.com wrote:

I am using it. +1 from me.

On Fri, 3 Jun 2016, 00:21 Asim Aslam, notifications@github.com wrote:

Thanks Craig, appreciate it. Any existing examples of how you guys
structure projects with material-ui? I want to get an idea of how its
built, what the dependencies are, etc. Right now as you can see it's all
using go templates so from a user perspective nothing has to be done to
build it when you check it out.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#49 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ALcacxTKYBo__A0KVpMlBkE6_GXUaMDNks5qH1dVgaJpZM4IafCr
.

@joeblew99
Copy link

Found it:
https://github.com/bep/gr

Also this is worth reading:
https://groups.google.com/forum/m/#!topic/golang-nuts/2xhqPFpzEos

On Fri, 3 Jun 2016, 00:29 Joe Blue, joeblew99@gmail.com wrote:

Also there is a gopherjs project for react. It is a binding, so it can
talk to material UI.

This means that there is nothing to do but do a gopherjs build and the
front runs.

It also has a react router integrated.

The http endpoints, or whatever we want to call then can easily be
produced from golang so that the proxy service is produced from the actual
service interface.
So everything joins up at compile time.

It works surprisingly well. I can grab the github link tomorrow if your
interested.

On Fri, 3 Jun 2016, 00:22 Joe Blue, joeblew99@gmail.com wrote:

I am using it. +1 from me.

On Fri, 3 Jun 2016, 00:21 Asim Aslam, notifications@github.com wrote:

Thanks Craig, appreciate it. Any existing examples of how you guys
structure projects with material-ui? I want to get an idea of how its
built, what the dependencies are, etc. Right now as you can see it's all
using go templates so from a user perspective nothing has to be done to
build it when you check it out.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#49 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/ALcacxTKYBo__A0KVpMlBkE6_GXUaMDNks5qH1dVgaJpZM4IafCr
.

@cgabbadon
Copy link

Hey @asim, we have typically used npm and webpack to build the projects. Ultimately, the only dependency that would be needed to build would be npm. npm install to download the necessary dependencies and and npm run build to build the distribution.

I am not 100% sure the best way to bundle it with the Micro source code, however. One example of a React/Go project I saw was Mattermost. They have a webapp folder within the project that contains the React app. Part of the build process in the Makefile was to also run the npm run build to build the app for distribution there (in the webapp directory).

Could it be worthwhile to keep the UI in a separate service altogether to keep the Micro core lean?

@asim
Copy link
Member Author

asim commented Jun 2, 2016

Ok interesting. Let me have a think. The idea with the micro dashboard is basically a small skeleton that provides an entry point and some CLI equivalent features without introducing any further dependencies.

The more feature rich dashboards are indeed separate. An example would be what one of my friends @Margatroid built https://github.com/Margatroid/micro-dashboard. If you ran this behind the web proxy it would be available under the /dashboard path.

Here's the current dashboard http://web.micro.pm. It definitely needs some work but given what I achieved with templates I feel like the same could be done going one step further. If not then having a precompiled version might not be a bad idea.

@asim
Copy link
Member Author

asim commented Jun 6, 2016

I want to revisit this at a later date and will open a new issue with its relevant. I don't think it makes sense to reskin at the moment.

@asim asim closed this as completed Jun 6, 2016
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

4 participants