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

new UI #79

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mariusz-jachimowicz-83
Copy link
Contributor

@mariusz-jachimowicz-83 mariusz-jachimowicz-83 commented Jan 9, 2017

implement #78
implement #80

nl1

nl2

@lbradstreet
Copy link
Member

This PR isn't working for me at the moment, as select-deployment doesn't exist (only select-deployment2 exists).

ANALYSIS ERROR: Invalid :refer, var var onyx-dashboard.components.deployment/select-deployment does not exist in file src/cljs/onyx_dashboard/components/main.cljs on file null, line null, column null
Successfully compiled "resources/public/js/app.js" in 37.835 seconds.

Once you fix that, I'll continue the review. Cheers!

@mariusz-jachimowicz-83
Copy link
Contributor Author

Fixed

@mariusz-jachimowicz-83
Copy link
Contributor Author

I hope you will be satisfied with this redesign.

@lbradstreet
Copy link
Member

lbradstreet commented Jan 24, 2017 via email

@lbradstreet
Copy link
Member

I've tried to get this going in the repl via the instructions in the readme (i.e. repl reset, figwheel), but it's still loading the old interface.

Could you please give me some instructions to try it out in the repl?

Thanks!

@mariusz-jachimowicz-83
Copy link
Contributor Author

Strange. I will check it.

@lbradstreet
Copy link
Member

lbradstreet commented Jan 26, 2017 via email

@mariusz-jachimowicz-83
Copy link
Contributor Author

mariusz-jachimowicz-83 commented Jan 26, 2017

I did

git clone [email protected]:mariusz-jachimowicz-83/onyx-dashboard.git onyx-new-ui
cd onyx-new-ui
git fetch origin new_layout
git checkout -t origin/new_layout

lein run -m onyx.peer.dag-test

;;open second terminal window
lein repl
(onyx-dashboard.dev/start-figwheel)
(user/stop) (clojure.tools.namespace.repl/refresh) (user/go "127.0.0.1:2188")

It's working. I see new UI.

@lbradstreet
Copy link
Member

lbradstreet commented Jan 26, 2017 via email

@lbradstreet
Copy link
Member

lbradstreet commented Feb 3, 2017

Thanks. I got it working via your instructions.

It definitely looks nice, but there are some elements that I find confusing due to the way that views are switched between, since each selection is making the view more specific, but this isn't being conveyed by the left bar. I don't think the changes required will be too major but I need to think about it a bit.

I think if the left bar was more of a tree view then it would be less confusing.

e.g.

Tenancy
----- tenancy XXX
------- job X (selected)
----------- job x view
----------- job x log

Find me on clojurians and we'll chat about it some more.

Thanks!

@mariusz-jachimowicz-83
Copy link
Contributor Author

One issue with this is that tenancy and jobs have very long ids.

My intention was to do simplest layout close to most common layouts for analytics apps. So common pattern is to have sections and display it on top or left side.
My current solution is similar to Apache Flink dashboard I think. It should be ok for now. We can change/improve it in the future when we add more functions.

@mariusz-jachimowicz-83
Copy link
Contributor Author

But of course I don't mind if you want different layout style.

@lbradstreet
Copy link
Member

That's a very good point that the job-ids and tenancy-ids are quite long. I'll give it some more thought.

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

Successfully merging this pull request may close these issues.

2 participants