Skip to content

Fix processes creation form with stats, metrics and announcements#8925

Merged
andreslucena merged 3 commits intodevelopfrom
fix/create-processes-stats-metrics-announcemnet
Mar 1, 2022
Merged

Fix processes creation form with stats, metrics and announcements#8925
andreslucena merged 3 commits intodevelopfrom
fix/create-processes-stats-metrics-announcemnet

Conversation

@andreslucena
Copy link
Copy Markdown
Member

🎩 What? Why?

When creating a new process and not selecting the "show statistics" and "show metrics" checkboxes, it still was selected. While reviewing it, I noticed that we have a similar problem with the "announcements" field, where it isn't saved on creation.

This PR fixes that.

📌 Related Issues

Link your PR to an issue

Testing

  1. Sign in as admin
  2. Create a new process. Don't select "show statistics" or "show metrics". Put somemthing in "announcement" field.
  3. Save it
  4. Go to the edit form, see that they're both selected and there isn't any text in announcement field.

♥️ Thank you!

@andreslucena andreslucena added module: participatory processes type: fix PRs that implement a fix for a bug labels Mar 1, 2022
@andreslucena andreslucena merged commit 13ace92 into develop Mar 1, 2022
@andreslucena andreslucena deleted the fix/create-processes-stats-metrics-announcemnet branch March 1, 2022 10:57
entantoencuanto added a commit that referenced this pull request Mar 2, 2022
* develop: (57 commits)
  Add a subtitle to assemblies and processes pages (#8918)
  Add a subtitle to votings page (#8919)
  Fix profile notifications (#8943)
  Fix email for verification conflict with managed users (#8926)
  Move VAPID keys generators to core (#8923)
  Fix officialized user event missing translations (#8927)
  Fix verification report with multitenants: notify it only to admins of that organization (#8929)
  Fix processes creation form with stats, metrics and announcements (#8925)
  Fix flaky spec in meetings multi-date selectors (#8924)
  Local HTML validator for the CI (#8937)
  Fix translatable presence validator for hyphenated locales (#8795)
  Fix link to docs in initiatives admin (#8921)
  Fix initiatives signatures issues (#8448)
  Fix the meetings export to also include unpublished meetings (#8874)
  Fix heading order in the consultation question page (#8920)
  Fix diff mode selector roles and tabindexes (#8912)
  Fix budget hard dependency and caching flag issues in comments (#8899)
  Fix emoji picker hiding Foundation Abide form errors (#8886)
  Fix logical heading order for the endorsers list (#8892)
  Fix Foundation Abide errors for Rails remote (AJAX) forms (#8889)
  ...
@alecslupu alecslupu added this to the 0.27.0 milestone Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: participatory processes type: fix PRs that implement a fix for a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show statistics and show metrics are always enabled when creating a new process (ignoring admin selection)

2 participants