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

[WIP] Add support for Mozaik v2 #3

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

[WIP] Add support for Mozaik v2 #3

wants to merge 18 commits into from

Conversation

plouc
Copy link

@plouc plouc commented Dec 14, 2016

Migrate for Mozaïk v2 + new widgets and improvements

  • move the cli to bin
  • use sub commands for cli
  • add profiles sub command to cli
  • add browser sub command to cli
  • add top-pages sub command to cli
  • add page-views sub command to cli
  • use json account key file instead of pem
  • use inline styles instead of CSS
  • use nivo instead of c3 as it integrates better with React
  • remove gulp and use simple npm scripts
  • rewrite existing components for Mozaïk v2
  • update documentation
  • add Browser widget
  • add PageViewsLines widget
  • add TopPagesAvgTimeBars widget
  • add TopPagesViewsBars widget
  • add TopPagesViewsLines widget
  • use Mozaïk logger instead of console.log
  • upgrade dependencies

@juhamust
Copy link
Contributor

Excellent work, @plouc. As for the charts, I was also thinking the change to something else. Nivo looks nice - one alternative could have been http://recharts.org/ which also looks good and seems active enough.

All in all, just let me know when you've done with the PR and I'll review and merge it 👍

@plouc
Copy link
Author

plouc commented Dec 18, 2016

@juhamust, it will probably take some time before it's stable as I'm changing a lot of things in the core.

Adding components for easily craft widgets such as WidgetHeader, WidgetBody, list related components…

The release process is also different, extensions must now be compiled to be used, Mozaïk will no more be responsible for transpilation.

All those change allow to run Mozaïk with create-react-app, which vastly improve installation and development.

@plouc
Copy link
Author

plouc commented Aug 16, 2017

@juhamust, I've deployed a live demo on heroku => https://mozaik-ext-analytics.herokuapp.com/

@juhamust
Copy link
Contributor

Looking good, @plouc! Do you consider this branch ready to be merged (or will you make PR once you've happy with the branch)?

@plouc
Copy link
Author

plouc commented Aug 16, 2017

@juhamust, not yet, I want to improve some of the widgets & restore tests using jest, I'll remove the WIP flag as soon as it's done.

@plouc
Copy link
Author

plouc commented Aug 16, 2017

Also, when it's done, I can transfer you heroku demo project ownership if you wish. The deploy is automated, watching the demo-v2 branch.

@dillan-p
Copy link

dillan-p commented Nov 1, 2017

@plouc, @juhamust hey guys, is this going to be merged any time soon? I'd be interested in using it with a dashboard i'm making. thanks

@space87
Copy link

space87 commented Apr 17, 2018

@plouc hey man is this ready for us to use on v2 ?

@juhamust
Copy link
Contributor

@space87 while I've written the 1.x version, this change (or I'd dare to say, rewrite) is totally done by @plouc. Perhaps one thing preventing the release is also the missing Mozaik 2.x release (plouc/mozaik#112)?

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.

4 participants