Comments (12)
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 :
I don't know what sort of things are important to your project though
from micro.
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.
from micro.
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, [email protected] 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)
from micro.
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.
from micro.
@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.
from micro.
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.
from micro.
I am using it. +1 from me.
On Fri, 3 Jun 2016, 00:21 Asim Aslam, [email protected] 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
.
from micro.
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, [email protected] wrote:
I am using it. +1 from me.
On Fri, 3 Jun 2016, 00:21 Asim Aslam, [email protected] 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
.
from micro.
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, [email protected] 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, [email protected] wrote:
I am using it. +1 from me.
On Fri, 3 Jun 2016, 00:21 Asim Aslam, [email protected] 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
.
from micro.
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?
from micro.
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.
from micro.
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.
from micro.
Related Issues (20)
- grpc error "transport is closing" HOT 5
- Documentation
- Failed to connect to micro server at 127.0.0.1:10012 HOT 2
- Unable to login on a remote server HOT 2
- How to run in production? HOT 6
- Kubernetes Deployment HOT 2
- Context deadline exceeded HOT 2
- server.NewServer use http2 some bug
- 'micro' is not recognized as an internal or external command, operable program or batch file.
- Problems connecting with Windows
- Could not import opentelemetry HOT 2
- How to write KV to a table. HOT 4
- How to update and delete - tables/databases HOT 1
- Postgres Database Connectivity HOT 2
- micro.dev/v4 - module declares its path as: github.com/micro/micro HOT 8
- Releaser build with CGO_ENABLED=0 doesn't run on Mac M1 HOT 1
- ..\..\go\pkg\mod\github.com\!proton!mail\[email protected]\openpgp\ecdh\x25519.go:16:2: //go:build comment without // +build comment HOT 3
- list of bugs i know
- run micro server command error HOT 6
- go: micro.dev/v4/cmd/protoc-gen-micro@latest: version constraints conflict: HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from micro.