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

Simple one-at-a-time amendment support #126

Closed
17 tasks done
BigSnicker opened this issue Nov 3, 2023 · 9 comments · Fixed by decidim-ice/decidim-module-decidim_awesome#261
Closed
17 tasks done
Assignees
Labels
enhancement New feature or request

Comments

@BigSnicker
Copy link
Contributor

BigSnicker commented Nov 3, 2023

Feature Behaviour:

image

As Green Party of Canada I want...

  • Only one amendment can be "under evaluation" for each proposal. When the amendment is accepted or rejected, a new amendment can be created for the proposal
  • The amendment must be against the text in the original language
  • When there is an amendment, the user who wants to amend will see: 1) The amendment being evaluated 2)An explanation of why they cannot enter a new amendment 3) An explanation of how to be notified to see the latest news about the proposal

As a participant, I want

  • Contextual message “This proposal was originally submitted in %LANGUAGE%. Please submit your amendment in %LANGUAGE% in order to simplify the amendment process. Your amendment will be translated to other languages immediately upon acceptance.”
  • Contextual message “There is already an amendment for this proposal. Please contact the submitter and ask them to accept or reject the amendment or wait until it’s been accepted or rejected.”

Web Administration:

No changes to the Web Admin interface are anticipated. The feature can apply to all amendments.

Exporting

No changes to data exports are expected.

Cases to be tested:

  • The machine-translation applies for the new text with amend? Yes! (be aware that version control is another story)

More context if applies:

Supporting the following cases would be ideal:

*) A unilingual amendment to an Official Proposal (possibly, but not necessarily in the default language only)
*) A unilingual amendment to a User Proposal, in the submitted language only

Potentially with the following behaviours:

  1. Only a single active amendment per proposal. Attempts to submit a second amendment are met with "you must wait until a previously submitted amendment is accepted or rejected"
  2. Rejection of amendment if submission is in an inappropriate language

Minor fixes

@microstudi
Copy link
Contributor

microstudi commented Jan 4, 2024

Mockup proposal
Screenshot from 2024-01-04 16-21-28

@BigSnicker
Copy link
Contributor Author

That looks great.

@BigSnicker
Copy link
Contributor Author

Found a possible bug....

image

@BigSnicker
Copy link
Contributor Author

BigSnicker commented Feb 3, 2024

Also, this might not be a problem, but the co-author images seem very close together after an amendment is accepted:

image

This shows up in any proposal with multiple authors. Note that the additional spacing could be very small: https://staging.deploy.green.ca/processes/Policy2021/f/223/proposals/2591

@BigSnicker
Copy link
Contributor Author

BigSnicker commented Feb 5, 2024

Another issue... can I confirm that we've taken out the "search for similar proposals" step in amendment submission? We're getting feedback that it is confusing.

UPDATE: This is closed, thanks to the 0.99 search similarity factor.

@BigSnicker
Copy link
Contributor Author

BigSnicker commented Feb 5, 2024

Also.... we might want the default setting of the Type filter to be just "proposals", if possible, and for any change to be persistent across the session.

Example: https://staging.deploy.green.ca/processes/Policy2021/f/275/

image

@BigSnicker
Copy link
Contributor Author

BigSnicker commented Feb 19, 2024

If possible, please set the default 'diffcomp' view to side-by-side.

@microstudi microstudi mentioned this issue Feb 20, 2024
17 tasks
@microstudi
Copy link
Contributor

Another issue... can I confirm that we've taken out the "search for similar proposals" step in amendment submission? We're getting feedback that it is confusing.

this should work with the env PROPOSALS_SIMILARITY_THRESHOLD var set to 0.99 for instance

@paarals
Copy link
Collaborator

paarals commented Mar 7, 2024

closed via #153

@paarals paarals closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
4 participants