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

Improve Admin settings section #3387

Merged
merged 10 commits into from Mar 20, 2019
Merged

Improve Admin settings section #3387

merged 10 commits into from Mar 20, 2019

Conversation

microweb10
Copy link
Member

References

This is a backport of AyuntamientoMadrid#1918
closes #3333

Objectives

  • Restructure the admin settings section
  • Correctly render the map in the map configuration settings tab

Visual Changes (defined in the issue)

[IMAGE_1]
image_1

[IMAGE_2]
image_2

[IMAGE_3]
image_3

[IMAGE_4]
image_4

Does this PR need a Backport to CONSUL?

Yes

Release notes ⚠️

Please note that if you are upgrading from an older version you will need to have the correct settings keys, by running this command:

bin/rake settings:rename_setting_keys RAILS_ENV=production

- Make easier to group settings by using prefixes
- Add method to rename setting keys
- Add method to remove setting keys
spec/features/admin/settings_spec.rb Show resolved Hide resolved
spec/features/admin/settings_spec.rb Show resolved Hide resolved
spec/features/admin/feature_flags_spec.rb Show resolved Hide resolved
lib/tasks/settings.rake Show resolved Hide resolved
lib/tasks/settings.rake Show resolved Hide resolved
lib/tasks/settings.rake Show resolved Hide resolved
app/helpers/map_locations_helper.rb Show resolved Hide resolved
app/helpers/map_locations_helper.rb Show resolved Hide resolved
app/controllers/users_controller.rb Show resolved Hide resolved
app/controllers/users_controller.rb Show resolved Hide resolved
@microweb10 microweb10 changed the title Admin settings improvement Improve Admin settings section Mar 19, 2019
- Rename partial views for tabs.
- Extract tables settings to reuse across the tabs.
- Rename map settings keys
- Add fields for latitude, longitude and zoom
- Add a callout message on how to enable map feature
- Rename setting keys
- New tab por participation processes
- Hide these settings from features tab
- Rename homepage widget settings keys
- Rename html settings keys
- Show html settings next to content blocks page
- Hide html settings from configuration tab
@microweb10 microweb10 merged commit f4de8fd into master Mar 20, 2019
@microweb10 microweb10 deleted the admin_settings_improvement branch March 20, 2019 10:10
@microweb10 microweb10 added this to Release 0.20 in Roadmap Mar 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve Admin settings
4 participants