publiclab / plots2

a collaborative knowledge-exchange platform in Rails; we welcome first-time contributors! :balloon:
https://publiclab.org
GNU General Public License v3.0
958 stars 1.83k forks source link

Date range selector for stats ranges #4297

Closed cesswairimu closed 5 years ago

cesswairimu commented 5 years ago

Date range selector for stats ranges (calendar or draggable date ranges like https://github.com/publiclab/plots2/graphs/contributors?from=2013-11-07&to=2016-11-18&type=c

jywarren commented 5 years ago

This is an awesome idea!!!

On Thu, Dec 13, 2018, 2:52 PM Cess <notifications@github.com wrote:

Currently events are set for a specific date, and do not recur. It's been suggested that people might like to put repeating events in the system similar to the functionality that we have in AgileVentures events on WebSiteOne. Ticket link https://www.pivotaltracker.com/n/projects/742821/stories/151086152

I am breaking this to be able to measure progress and submit bits by bits until its done. Anyone interested is welcome to help. 😃 SubTasks

  • Add gem recurrring-select/ ice cube and add recurrence rules on the model.
  • Display recurring events on the browser + the non-recurring events.
  • [ ]Add another event-like model(with a horizon)---events instances table.
  • Rake task to update the "event-like" model every time an event is created/changed. Basically clears them all and recreates them.
  • Tests for the recurring events functionality
  • Optimize the events instances query (maybe consider caching)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/4297, or mute the thread https://github.com/notifications/unsubscribe-auth/AABfJ-a_j890-Zp1-KmgDYcyAO43pbRUks5u4q_sgaJpZM4ZSTyA .