-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Budget change phases automatically #2304
Comments
+1 Desde Castellón! https://github.com/AjuntamentdeCastello/consul Aquí también nos vendría bien esta funcionalidad, aquí en Castellón los cambios de fase suelen ser a medianoche, si no son automáticos, alguien tiene que conectarse al portal para realizar el cambio a mano. Gracias. |
If it were possible it will be nice that not only the day but the time/hour could be introduced too. This is because some times the next phase starts after a public presentation. |
@rzido we've contemplated that requirement while planning this and its possible at a technical level, but the performance of the app would decrease a bit as it would imply an extra query to the database for each time a page related with budgets would be requested. Initially the plan is to implement this feature with a fixed hour at the file https://github.com/consul/consul/blob/master/config/schedule.rb#L26 (that will launch the phase changing code) as both Madrid and Castello are okey with that solution, as normally only 2-3 phases have a newsconference (initial & final and maybe results) at a variable time, and the rest of the 9 phases just ends at night. On a technical level, the variable hour solution implementation I imagined is to look for the current Budget's phase dynamically by overriding So I would carefully evaluate if its really important to allow a non-technical person to be able to change through admin panel the time of the phase changes (variable hour), compared to having to change the schedule.rb file time (fixed hour) if needed, and deploy it to server as soon as the presentation time is known. That is obviously in the scenario that your fork has dedicated/hired/maintenance developers that can do that task on request. Do you still think it would be neccessary for your fork? |
@bertocq It will be ok if we could change it in a configuration file (schedurle.rb) and deploy it to server, as you propose. |
Background
Now to change the phase of a budget it's necessary to do it manually on admin panel.
What we need
Change automatically of phase using
star_date
andend_date
defined for each phase on admin panel.00:00h
to change between phases.The text was updated successfully, but these errors were encountered: