Skip to content
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

Feature/component map #9

Merged
merged 55 commits into from
Sep 18, 2020
Merged

Feature/component map #9

merged 55 commits into from
Sep 18, 2020

Conversation

microstudi
Copy link
Contributor

@microstudi microstudi commented Sep 7, 2020

Adds an "Awesome Map Component" that display all the geolocated items in a full-screen map.

Geolocated events displayed:

  • Proposals
  • Meetings
  • Showing popup
  • Iterative proposal/meeting search
  • Seeds
  • Customize icon color by category (random assign)
  • Filters proposals/meetings and use different icons for each
  • Filter by category
  • Admin options: choose map height, choose if start with collapsed menu

@codecov
Copy link

codecov bot commented Sep 7, 2020

Codecov Report

Merging #9 into master will increase coverage by 0.90%.
The diff coverage is 87.20%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #9      +/-   ##
==========================================
+ Coverage   82.42%   83.33%   +0.90%     
==========================================
  Files          39       44       +5     
  Lines         660      780     +120     
==========================================
+ Hits          544      650     +106     
- Misses        116      130      +14     
Impacted Files Coverage Δ
lib/decidim/decidim_awesome/engine.rb 100.00% <ø> (ø)
lib/decidim/decidim_awesome/version.rb 0.00% <0.00%> (ø)
...decidim/decidim_awesome/map_component/component.rb 46.15% <46.15%> (ø)
...im_awesome/map_component/application_controller.rb 100.00% <100.00%> (ø)
...im/decidim_awesome/map_component/map_controller.rb 100.00% <100.00%> (ø)
app/helpers/decidim/decidim_awesome/map_helper.rb 100.00% <100.00%> (ø)
lib/decidim/decidim_awesome.rb 100.00% <100.00%> (ø)
...ib/decidim/decidim_awesome/map_component/engine.rb 100.00% <100.00%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6498360...ea9b2d3. Read the comment docs.

@microstudi microstudi force-pushed the feature/component_map branch from fa3617d to cf68dd7 Compare September 15, 2020 10:12
microstudi and others added 21 commits September 15, 2020 14:18
* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)
…odule-decidim_awesome into feature/component_map
* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

Co-authored-by: Ivan Vergés <[email protected]>
* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

Co-authored-by: Ivan Vergés <[email protected]>
* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (French)

* New translations en.yml (Spanish)

* New translations en.yml (Catalan)

* New translations en.yml (Catalan)

* New translations en.yml (Spanish)

* New translations en.yml (Spanish)

Co-authored-by: Ivan Vergés <[email protected]>
@microstudi microstudi merged commit 78dd8cf into master Sep 18, 2020
@microstudi microstudi deleted the feature/component_map branch September 18, 2020 08:53
microstudi added a commit that referenced this pull request Feb 19, 2023
* add export of admin_actions

* restore Gemfile.lock

* update gemfile

* add reference decidim admin for locales

* commit used Decidim styles

* restore envs

* remove default

* add tests

---------

Co-authored-by: Ivan Vergés <[email protected]>
microstudi added a commit that referenced this pull request Feb 20, 2023
* View and controllers (#7)

* improve the controller and add a table to the view

* logs list

* add PaperTrail instead ActionLog

* add removal date to table

* change datetime format

* move remove instance var from helper

* add styles to table, add role

* add pagination

* fix pagination

* add rspec

* change controller

* change controller

* fix lint

* add rspec

* add participatory_space_type to table

* fix lint

* refactoring

* change method's name

* improve the controller and add a table to the view

* logs list

* add PaperTrail instead ActionLog

* add removal date to table

* change datetime format

* move remove instance var from helper

* add styles to table, add role

* add pagination

* fix pagination

* add rspec

* change controller

* change controller

* fix lint

* add rspec

* add participatory_space_type to table

* fix lint

* refactoring

* change method's name

* add config for types_user_roles

* change view and helper, move building html to view from helper

* fix lint

* fix lint

* add presenter, remove helper

* fix pagination

* add link to participatory space, add presenter spec

* extract the i18n version of the role

* add rspec PaperTrailVersion

* rspec PaperTrailRolePresenter

* Fix presenter

* fix tests

* fix presenter

* handle deleted users

* fix checksums

---------

Co-authored-by: Ivan Vergés <[email protected]>

* Fix awesomeMap layering (#206)

* fix awesome map layering2

* add editor fixes

* add checksum

* fix terms copy check

* add codecov action

* Search and filtering (#8)

* add Filterable

* fix searching and filtering

* add filter by date

* add rspec

* change ransacker method name

* change locale

* fix test

* fix filter by date examples

---------

Co-authored-by: Ivan Vergés <[email protected]>

* Export excel/csv (#9)

* add export of admin_actions

* restore Gemfile.lock

* update gemfile

* add reference decidim admin for locales

* commit used Decidim styles

* restore envs

* remove default

* add tests

---------

Co-authored-by: Ivan Vergés <[email protected]>

* configurable roles from initializer (#10)

* translate values

* make roles configurable

* fix tests

* Show superadmins in admin accountability (#12)

* refactor initializer & presenter clasess

* complete space role test

* differentiate admins from space admins

* add user presenter specs

* fix filters

* add tests for super admins

* fix tests

* fix permissions

* Add readme instructions

* update version

* fix readme

---------

Co-authored-by: Anna Topalidi <[email protected]>
microstudi added a commit that referenced this pull request Feb 21, 2023
* New feature: customizable etiquette rules (#1)

* Add configuration options

* erb lint

* set validations

* fix summary test

* fixes specs

* fix config merger

* bump version. add docs

* Setup admin accountablity (#6)

* add new section, add new controller, add view index

* add permissions to index action

* add rspec tests

* add var to config and rspec

* fix initializer

* fix lint

* fix permissions

* refactor permissions handling

* fix test

Co-authored-by: Ivan Vergés <[email protected]>

* View and controllers (#7)

* improve the controller and add a table to the view

* logs list

* add PaperTrail instead ActionLog

* add removal date to table

* change datetime format

* move remove instance var from helper

* add styles to table, add role

* add pagination

* fix pagination

* add rspec

* change controller

* change controller

* fix lint

* add rspec

* add participatory_space_type to table

* fix lint

* refactoring

* change method's name

* improve the controller and add a table to the view

* logs list

* add PaperTrail instead ActionLog

* add removal date to table

* change datetime format

* move remove instance var from helper

* add styles to table, add role

* add pagination

* fix pagination

* add rspec

* change controller

* change controller

* fix lint

* add rspec

* add participatory_space_type to table

* fix lint

* refactoring

* change method's name

* add config for types_user_roles

* change view and helper, move building html to view from helper

* fix lint

* fix lint

* add presenter, remove helper

* fix pagination

* add link to participatory space, add presenter spec

* extract the i18n version of the role

* add rspec PaperTrailVersion

* rspec PaperTrailRolePresenter

* Fix presenter

* fix tests

* fix presenter

* handle deleted users

* fix checksums

---------

Co-authored-by: Ivan Vergés <[email protected]>

* Search and filtering (#8)

* add Filterable

* fix searching and filtering

* add filter by date

* add rspec

* change ransacker method name

* change locale

* fix test

* fix filter by date examples

---------

Co-authored-by: Ivan Vergés <[email protected]>

* Export excel/csv (#9)

* add export of admin_actions

* restore Gemfile.lock

* update gemfile

* add reference decidim admin for locales

* commit used Decidim styles

* restore envs

* remove default

* add tests

---------

Co-authored-by: Ivan Vergés <[email protected]>

* configurable roles from initializer (#10)

* translate values

* make roles configurable

* fix tests

* Show superadmins in admin accountability (#12)

* refactor initializer & presenter clasess

* complete space role test

* differentiate admins from space admins

* add user presenter specs

* fix filters

* add tests for super admins

* fix tests

* fix permissions

* Add readme instructions

* update version

* fix readme

---------

Co-authored-by: Anna Topalidi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants