Commit Graph

9641 Commits

Author SHA1 Message Date
Alberto
5bb9225c52 Merge pull request #2979 from consul/dashboard-clean
Dashboard clean
2018-10-18 23:26:45 +02:00
decabeza
4db54092e6 Removes unrelated dashboard changes 2018-10-18 01:26:07 +02:00
Alberto
938494aef5 Merge pull request #2972 from consul/dashboard-pdf
Dashboard PDF
2018-10-17 17:19:29 +02:00
Alberto
e08f031be6 Merge pull request #2971 from consul/dashboard-mailer
Dashboard mailer
2018-10-17 01:18:13 +02:00
Alberto
c049f7a9da Merge pull request #2968 from consul/dashboard-admin
Dashboard admin design
2018-10-17 01:17:27 +02:00
decabeza
52b515134f Updates i18n 2018-10-17 01:12:45 +02:00
decabeza
f4d9fe2417 Updates dashboard poster controller 2018-10-17 01:12:34 +02:00
decabeza
bd1ba2bc78 Adds styles to dashboard poster 2018-10-17 01:12:09 +02:00
decabeza
35dca0a17a Removes dashboard poster css file 2018-10-17 01:11:11 +02:00
decabeza
79ecbb225e Improves styles for admin links views 2018-10-13 13:20:13 +02:00
decabeza
c33d9fa97b Improves styles for dashboard mailer forward
Uses layout with tables and inline styles to avoid display errors in mail readers
2018-10-13 13:03:02 +02:00
decabeza
5d00952b05 Improves styles for dashboard mailer preview 2018-10-13 13:01:38 +02:00
decabeza
eeea1acd9f Updates i18n for dashboard mailer 2018-10-13 13:00:01 +02:00
decabeza
84975143bb Removes dashboard mailer layout 2018-10-13 12:59:24 +02:00
decabeza
e0c5a79fae Removes dashboard mailer css 2018-10-13 12:59:05 +02:00
decabeza
2dae197eaa Updates i18n 2018-10-11 17:54:03 +02:00
decabeza
f0ef7c7e30 Improves styles for admin dashboard settings 2018-10-11 17:50:14 +02:00
decabeza
670eb52d6f Improves styles for admin dashboard administrator tasks views 2018-10-11 17:47:15 +02:00
decabeza
83634c992a Improves styles for admin dashboard actions views 2018-10-11 17:45:37 +02:00
Alberto
bc6a02788a Merge pull request #2953 from consul/dashboard-design
Dashboard design
2018-10-11 13:17:41 +02:00
decabeza
4ea1f7732b Updates i18n on specs 2018-10-08 11:26:53 +02:00
decabeza
775b4698be Moves all new styles to dashboard.scss 2018-10-05 18:52:04 +02:00
decabeza
e9a5580f9a Adds styles to dashboard mailing views 2018-10-05 18:45:58 +02:00
decabeza
d38ef88b06 Adds styles to dashboard poster views 2018-10-05 18:38:17 +02:00
decabeza
9488afa1fd Updates i18n 2018-10-05 18:19:56 +02:00
decabeza
b7c3a918e3 Updates js class name and id name 2018-10-05 18:18:42 +02:00
decabeza
fcb6e67ced Adds styles to proposals views 2018-10-05 18:10:10 +02:00
decabeza
aaaaa00807 Adds styles to dashboard layouts, progress, show and partials 2018-10-05 18:04:30 +02:00
decabeza
57b9f54647 Adds styles to dashboard menu 2018-10-05 17:55:42 +02:00
decabeza
f3ca53c698 Adds styles to dashboard polls views 2018-10-05 17:53:07 +02:00
decabeza
76ec44a810 Adds styles to communities views 2018-10-05 17:46:45 +02:00
decabeza
71c70b8324 Removes foundation icons font 2018-10-05 17:42:14 +02:00
Alberto
3771e6105e Merge pull request #2947 from jsperezg/fix_action_sorting
Fixes action sorting
2018-10-05 17:25:13 +02:00
Juan Salvador Pérez García
491e6e4b6e Fixes action sorting
Administration of dashboard actions currently shows proposed actions as
well as resources mixed. This patch tries to improve how they're shown
making things easier for administrators:

Resources will be shown after proposed actions, never mixed.
Proposed actions will be sorted according to the order attribute.

Resources will be sort according the two attributes that define its
availability:

The number of supports required.
The number of days after the proposal publication.
2018-10-04 11:47:14 +02:00
Alberto
1163999ec0 Merge pull request #2941 from consul/dashboard-unrelated
Removes unrelated changes with dashboard feature
2018-10-02 14:41:43 +02:00
decabeza
6caf3a43b6 Removes unrelated changes with dashboard feature 2018-10-01 18:43:44 +02:00
Alberto
a92d0a9ba7 Merge pull request #2773 from medialab-prado/rebase_consul_master
Pull request to dashboard branch in official repository
2018-10-01 16:50:12 +02:00
Juan Salvador Pérez García
2dc39e1498 Enhacements in proposal progress graph
Proposed action execution is shown with a red dot. Mouse hover event
shows a pop up for the points of the graph. Red dots will contain the
proposed acction executed for the given date.
2018-10-01 11:22:32 +02:00
Juan Salvador Pérez García
92c0e34c7a Fixed error in layout
An error was introduced while trying to fix merge conflicts. It is fixed
now.
2018-10-01 10:13:45 +02:00
Juan Salvador Pérez García
488e7e081f Merge branch 'dashboard' into rebase_consul_master 2018-09-27 09:18:27 +02:00
Juan Salvador Pérez García
2a0664d473 Enabled zoom for proposal progress graph 2018-09-18 17:42:34 +02:00
Juan Salvador Pérez García
475323ddd5 User Interface enhancements
Progress graph for the proposal dashboard now has its legend on the
bottom. This improves the visualization on mobile platforms.
2018-09-18 17:18:16 +02:00
Juan Salvador Pérez García
ee83238e32 Scope refactoring
complex scopes in Dashboard::Action have been refactored into static
methods. Specs for refactored scopes have been added as well.
2018-09-18 10:59:32 +02:00
Juan Salvador Pérez García
e8e01b184f Fixed issue accumulating supports 2018-09-17 19:49:33 +02:00
Juan Salvador Pérez García
a658536142 Fixed issue when filling holes in grouped supports query 2018-09-17 19:37:29 +02:00
Juan Salvador Pérez García
42d448248c Routes have been refactored
Dashboard routes have been refactored. Now instead of having resources
for dashboard and routes inside a dashboard namespace the proposal
routes contain a dashboar singleton containing everything related to it.
2018-09-17 15:44:45 +02:00
Juan Salvador Pérez García
6f1a866878 Dashboard graph shows achievents again
label has been moved to the bottom to improve its readability
2018-09-17 09:40:21 +02:00
Juan Salvador Pérez García
d6919155c8 Added comments regarding tests for dashboard graph
Added comment regarding tests for dashboard graph. This feature should
be migrated to Ecma6 and had its own tests once Consul reaches
compatibility with Rails 5.1.
2018-09-17 09:12:36 +02:00
Juan Salvador Pérez García
7c3213a55d Refactored complex scope
Complex scope has been refactored into an static method. Added tests to
validate this new method.
2018-09-17 09:11:51 +02:00
Juan Salvador Pérez García
e61eba4e97 locale key containing html has been renamed
locale key containing html has been renamed. Now it has the preffix:
_html.
2018-09-17 09:11:09 +02:00