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
Juan Salvador Pérez García
6412f95e56
Added comments
...
Added comment to clarify obscure method
2018-09-17 09:10:31 +02:00
Juan Salvador Pérez García
22907ad1fc
Fixed failing specs
2018-09-17 09:10:12 +02:00
Juan Salvador Pérez García
091e1d492c
Enhacements in navigation
...
Proposal menu will appear highlighted when the voting shown is related
to a proposal. The voting menu entry will appear disabled.
2018-09-14 16:52:30 +02:00
Juan Salvador Pérez García
2ca9a38915
Dashboard navigation enhancements
...
Dashboard links that bring the user outside the dashboard will be open
in a separate tab
2018-09-14 16:45:02 +02:00
Juan Salvador Pérez García
c763ca2f99
Fixed bug in x axis labels in dashboard
...
Dashboard progress graph was not showing all labels in x axis when there
were less than 12 samples.
2018-09-14 16:43:42 +02:00
Juan Salvador Pérez García
4d0359f334
Changed defaults for new proposed action/resource.
...
Previously, action as requesting some action from administrators by
default. Now this flag is false by default when a new proposed
action/resource is created.
2018-09-14 16:36:47 +02:00
Juan Salvador Pérez García
826ce8af25
Enhancements in proposal progress graph
...
x axis legend now show less labels in order to improve its readability.
2018-09-14 16:28:20 +02:00
Juan Salvador Pérez García
7143e10201
Graph enhancements
...
Y axis have received the following enhancement:
It won't show labels for each value in order to improve its readability.
Maximum value will be set according to the maximum number of supports
received for the current proposal.
In case no supports are received it will use the number of supports
required for a successful proposal.
2018-09-14 12:20:03 +02:00
Juan Salvador Pérez García
38472cb670
Fixed colours in the progress graphic
...
progress graph will be shown in blue
successful graph will be shown in orange
2018-09-14 11:54:57 +02:00
Juan Salvador Pérez García
0bd381aa5e
Enhancements and bugfixing
...
FIxed issue in last commit: supports controller were not correctly
filling the holes without data.
Fixed duplication in supports and successful supports controller using a
concer.
Successfull supports controller will fill the holes without data in the
same way that supports controller does.
2018-09-14 11:30:59 +02:00
Juan Salvador Pérez García
3590657777
Enhancements on supports controller
...
Supports controller now fill the holes in the results: When there are no
supports collected for one interval it takes the accumulated value from the
previous one.
Data starts in the publication date.
2018-09-14 10:49:29 +02:00
Juan Salvador Pérez García
f875ded0be
Bugfixing and enhancements
...
* Fixed common ability: Retired draft proposal can't be published.
* Fixed proposal dashboard view: progress graph is not available for
draft proposals.
2018-09-13 18:22:59 +02:00
Juan Salvador Pérez García
5b5095b37b
Bugfixing and several enhancements
...
* Added missing specs
* Removed models that were refactored previously
* Added simplecov when executing specs locally
* Fixed bug in poll model validation that was causing an 500 error.
2018-08-01 13:26:30 +02:00
Juan Salvador Pérez García
0e20247682
Merge pull request #248 from medialab-prado/issue_231
...
Issue 231
2018-08-01 09:48:35 +02:00
Juan Salvador Pérez García
983c108272
Second atempt to fix issue with sprockets
2018-07-31 13:02:57 +02:00
Juan Salvador Pérez García
87d92b2553
Fixed issue with sprockets in production
2018-07-31 12:59:02 +02:00
Juan Salvador Pérez García
6cc1ddb9af
Fixes #231
...
Implements a poster feature for the proposals dashboard
2018-07-31 12:50:25 +02:00
Juan Salvador Pérez García
06fbc8bbb4
Merge pull request #247 from medialab-prado/issue_245
...
Fixes #245
2018-07-30 07:58:17 +02:00
Juan Salvador Pérez García
e7eaf13f64
fixed issue preventing brant from being deployed
2018-07-27 20:15:18 +02:00
Juan Salvador Pérez García
3d5390dfb0
Fixes #245
...
Poll card now shows the responses to the poll in the public side
2018-07-27 20:11:19 +02:00
Juan Salvador Pérez García
741aae6846
Merge pull request #246 from medialab-prado/issue_243
...
Fixes #voodoorai2000 comments
2018-07-27 20:09:46 +02:00
Juan Salvador Pérez García
50f73abb0c
Fixes #voodoorai2000 comments
...
Fixes some comments from #voodoorai2000 for the PR to consul
2018-07-27 16:30:03 +02:00
Juan Salvador Pérez García
a41ce7a0bd
Merge pull request #242 from medialab-prado/issue_229
...
Fixes #229
2018-07-26 09:08:40 +02:00
Juan Salvador Pérez García
9eaa990145
Added default image for proposal dashboard mailing
2018-07-25 17:01:30 +02:00
Juan Salvador Pérez García
8876b285ce
Fixes #229
...
Adds email feature for proposals dashboard
2018-07-25 13:28:44 +02:00
Juan Salvador Pérez García
9b83291b16
Merge pull request #241 from medialab-prado/issue_239
...
Fixed #239
2018-07-25 13:16:24 +02:00
Juan Salvador Pérez García
e5f9cf6710
Fixed #239
...
Proposals dashboard refactored to dashboard.
Added missing specs for the dashboard.
2018-07-24 15:52:43 +02:00
Juan Salvador Pérez García
0ea0a0031c
Merge pull request #240 from medialab-prado/issue_238
...
Fixes #238
2018-07-24 11:29:14 +02:00
Juan Salvador Pérez García
a64bcc0c75
Attempt to build using 4 nodes
...
Trying to fix the timeout issues when building with two nodes
2018-07-24 07:06:17 +02:00
Juan Salvador Pérez García
3b37b4b09d
Fixes #238
...
Applies new card design for polls in proposals dashboard.
Fixes warnings during tests.
Adds tests for new card design for polls in proposals dashboard.
2018-07-23 10:31:50 +02:00
Juan Salvador Pérez García
f632fa8b6e
Merge pull request #237 from medialab-prado/issue_236
...
Fixes #236
2018-07-23 10:30:44 +02:00
Juan Salvador Pérez García
01846089d4
Fixes #236
...
Addressed comments related to CSS and views.
2018-07-23 07:25:22 +02:00
Juan Salvador Pérez García
4e808c7729
Merge pull request #235 from medialab-prado/issue_234
...
Fixes #234
2018-07-23 07:24:03 +02:00
Juan Salvador Pérez García
4b8cc85c49
Fixes #234
...
View questions now is View results and redirects to results
in public view.
Fixed flaky spec that was making the tests fail.
Added missing specs for polls feature as well as poll model.
2018-07-19 17:15:05 +02:00
Juan Salvador Pérez García
2823d53121
Merge pull request #233 from medialab-prado/issue_232
...
Fixes #232
2018-07-19 11:18:54 +02:00
Juan Salvador Pérez García
c68061219d
Removed edit poll button from view responses
2018-07-19 10:07:41 +02:00
Juan Salvador Pérez García
4ee0a94241
Fixed last minute bugs
...
Fixed last minute bugs with polls
2018-07-19 10:00:37 +02:00
Juan Salvador Pérez García
0e8746299d
Fixes #232
...
In proposal's dashboard, inside community section, the latests topics
has been replaced by latest messages.
2018-07-18 16:50:51 +02:00
Juan Salvador Pérez García
ea421980b5
Rebased to upstream/master
2018-07-17 19:34:58 +02:00
Juan Salvador Pérez García
40e6cbc02b
Fixes #226
...
Achievements query returns executed proposed actions.
Progress graph do not shows the achievements.
2018-07-17 17:59:12 +02:00