Javi Martín
4e9ed4dfa6
Extract component to render links to event stats
2024-05-09 14:28:31 +02:00
Javi Martín
646dccca0a
Rename event_types variable to event_names
...
This is consistent with the `name` column in `ahoy_events`.
2024-05-09 14:28:31 +02:00
Javi Martín
772be11525
Fix budget investments chart in admin stats
...
The JavaScript required to display the chart wasn't loaded on the admin
stats page.
We're not adding a test because we're going to move the budgets graph to
a different page on the pull request containing this commit.
Note we're changing the "Go back" link, since using a turbolinks refresh
broke this link when using the Chromium browser. Besides, there was an
inconsistency where some of the "Go back" links in admin stats pointed
to the admin stats page but other links pointed to `:back`.
2024-05-09 14:28:31 +02:00
Javi Martín
1d11fa93d1
Remove unnecessary paddings in admin stats links
...
These elements were not aligned with the rest of the page due to their
paddings, caused by the `column` class.
2024-05-09 14:28:31 +02:00
Javi Martín
629e208e9d
Add and apply ArgumentAlignment rubocop rule
...
We're choosing the default `with_first_argument` style because it's the
one we use the most.
2023-08-18 14:56:16 +02:00
Senén Rodero Rodríguez
9b2d349e21
Create SDG stats page
2021-01-23 12:23:29 +01:00
Javi Martín
c62da726b8
Apply SpaceAroundErbTag ERB Lint rule
2019-09-10 20:02:15 +02:00
voodoorai2000
d0b8fef6b3
Delete spending proposals
2019-05-31 18:22:59 +02:00
voodoorai2000
a932737881
Delete ballots
2019-05-31 15:43:06 +02:00
Juanjo Bazán
5be54b57da
reduces current admin budget stats as supporting phase
2019-05-16 14:45:45 +02:00
rgarcia
11437a1d40
add budget investment stats
2019-05-16 13:41:49 +02:00
rgarcia
be757f79d0
cleans up
2019-05-16 13:37:47 +02:00
rgarcia
73d35e2c19
removes chart js from stats summary
2019-05-16 13:37:47 +02:00
rgarcia
cfe3f95f5c
moves graphs to individual views
2019-05-16 13:37:47 +02:00
Julian Herrero
0bb2633c7a
Use double quotes in app/views/admin
2019-03-19 12:16:50 +01:00
iagirre
5a3e701e8d
Polls' stats migrated from Madrid's fork and sortable functions added for tables
2017-10-23 13:19:22 +02:00
Juanjo Bazán
0209875516
fixes flaky specs in admin stats
2017-05-24 12:08:29 +02:00
Alberto Garcia Cabeza
f151337080
corrects feature polls to budgets
2017-04-26 13:12:20 +02:00
Alberto Garcia Cabeza
45af9ce5aa
adds budget investments numbers and chart on admin stats
2017-04-25 16:46:20 +02:00
Alberto Garcia Cabeza
7056487f3d
improves styles for admin menu
2016-11-30 18:46:35 +01:00
Alberto Garcia Cabeza
352f3fa2f9
Resolves conflicts and improves styles for stats
2016-06-16 18:07:13 +02:00
rgarcia
0abc9c8376
adds stats for direct messages and proposal notifications
2016-06-16 17:42:16 +02:00
palomahnhp
bf5d253e12
Merge branch 'master' into tracking_user_verifications_and_others
...
Conflicts:
app/controllers/admin/stats_controller.rb
db/dev_seeds.rb
2016-04-20 11:44:33 +02:00
rgarcia
0648c7f38d
removes duplicate graphs
2016-04-19 20:26:14 +02:00
inobcr
e2610e15e7
Add_stats_for_Investment_Proyect_#918
2016-03-21 18:18:18 +01:00
palomahnhp
7d4936b577
track user verification and add statistics of verified users who did not vote proposals
2016-03-13 21:38:05 +01:00
Alberto Garcia Cabeza
3752f3a53b
Adds foundation 6 🎉
2016-02-26 19:33:33 +01:00
rgarcia
36aee45908
removes unused combined stats
2016-02-04 12:36:14 +01:00
palomahnhp
f84265e7d8
improved display of statistics
2016-02-02 09:31:52 +01:00
Juanjo Bazán
5a8ad83240
fixes right titles in stats graphs
2015-09-29 22:40:19 +02:00
Alberto Garcia Cabeza
636121977d
Adds styles for admin stats
2015-09-28 15:40:11 +02:00
rgarcia
dc52271881
displays stats summary
2015-09-26 13:07:21 +02:00
Juanjo Bazán
8c99c6a5f0
refactors stats and optimizes js
...
JS libraries for stats (d3, c3, etc.) only load now when needed (stats/show)
2015-09-23 19:37:24 +02:00