tomdyson / wagalytics

A Google Analytics dashboard in your Wagtail admin
MIT License
217 stars 42 forks source link

Add date range selectors and file exporting #27

Closed alexgleason closed 6 years ago

alexgleason commented 6 years ago

screenshot-2018-6-18 wagtail - analytics

This lets you select a date range and then export it to a .ods file.

alexgleason commented 6 years ago

Before merging this I'm going to go back and see if I can improve some of the code, which is a little messy compared to the previous work done on it.

I'm wondering if @JamesRamm is still interested in this project at all. I modified your code to introduce date selectors instead of predefined buttons, but am afraid it's not as organized as yours. Would appreciate if you're willing to give it a look.

JamesRamm commented 6 years ago

If possible, I would separate the commits into 2 PR's - one for 'Add Date Range Selectors' and one for 'Exporting'.

alexgleason commented 6 years ago

I'm going to go ahead and merge it. It works in my browser on my machine, without any bugs.

I think we can just increment it a major version. @tomdyson would you be willing to deploy this? Or to add me to the package on PyPi (alexgleason).

alexgleason commented 6 years ago

What I ended up doing actually is creating a 0.7 release (v0.7 tag) which is the old version, but patched to work with newer Wagtail, then a 1.0rc1 release (v1.0rc1 tag) which is this version.

I've also created stable/0.x and stable/1.x branches mirroring Wagtail.

So, I think we should release v0.7 and 1.0rc1 on PyPi as two separate releases.

tomdyson commented 6 years ago

Thanks @alexgleason! I've added you as a maintainer on PyPI: https://pypi.org/project/wagalytics/

alexgleason commented 6 years ago

Cool, I've uploaded 0.8 and 1.0rc1 to PyPi.