This site uses cookies. By continuing to browse the site, you agree to our use of cookies. Find out more about cookies.
Skip to main content
Metadecidim's official logo
  • English Triar la llengua Elegir el idioma Choose language
    • Català
    • Castellano
Sign Up Sign In
  • Home
  • Processes
  • Assemblies
  • Initiatives
  • Consultations
  • Conferences
  • Help

Propose new functionalities for Decidim software

#DecidimRoadmap Designing Decidim together

Phase 1 of 1
Open 2019-01-01 - 2030-12-31
Process phases Submit a proposal
  • The process
  • Debates
  • Propose new features
  • News
chevron-left Back to list

Collaborative Draft Form improvements

Avatar: Aitor Lopez Beltran Aitor Lopez Beltran
12/04/2019 21:14  

I think it would be better if the Collaborative Drafts wizard form followed the same standard as the Proposals wizard form.

Right now:
- Step 1 Create: presents a form and, if submitted, sends (title/body) attributes through URL to Step 2
- Step 2 Compare: compares received attributes and presents any similar collaborative drafts, then sends (title/body) attributes through URL to Step 3
- Step 3 Complete: presents a form again and, if submitted, creates the resource.

With new changes:
- Step 1 Create: presents a form and, if submitted, creates a collaborative draft (hidden from the public view until step 4 is completed)
- Step 2 Compare: compare collaborative draft and presents any similar collaborative drafts
- Step 3 Complete: presents a form again to edit collaborative draft and gives chance to discard current draft
- Step 4 Preview: Previews final form of collaborative draft and gives option to make public or to edit.

Since the action of publishing has another meaning for collaborative drafts, the action of step 4 could be called: Open; and the help text could be something like: Open your draft to collaboration

The main advantages are:
- Since the collaborative draft would actually be created in the first step, the user would be able leave the form and come back to finish the job later, without worrying about losing the information.
- Pass attribute values through (1) POST request instead of through (2) URL
(1) "domain/processes/slug/f/12/collaborative_draft/id/compare"
(2) "domain/processes/slug/f/12/collaborative_drafts/compare?utf8=%E2%9C%93&collaborative_draft%5Btitle%5D=This+is+a+title+2&collaborative_draft%5Bbody%5D=This+is+a+body+2&commit="

  • Filter results for category: Proposals Proposals

List of Endorsements

Avatar: Virgile Deville Virgile Deville
Endorsements count1
Collaborative Draft Form improvements Comments 8

Reference: MDC-PROP-2019-04-14397
Version number 1 (of 1) see other versions
Check fingerprint

Fingerprint

The piece of text below is a shortened, hashed representation of this content. It's useful to ensure the content hasn't been tampered with, as a single modification would result in a totally different value.

Value: 01246b9141f3030dfee797bd3d08e941d9e295ba607665d1d9287a03d55d7ebc

Source: {"body":{"ca":"I think it would be better if the Collaborative Drafts wizard form followed the same standard as the Proposals wizard form.\r\n\r\nRight now:\r\n- Step 1 Create: presents a form and, if submitted, sends (title/body) attributes through URL to Step 2\r\n- Step 2 Compare: compares received attributes and presents any similar collaborative drafts, then sends (title/body) attributes through URL to Step 3\r\n- Step 3 Complete: presents a form again and, if submitted, creates the resource.\r\n\r\nWith new changes:\r\n- Step 1 Create: presents a form and, if submitted, creates a collaborative draft (hidden from the public view until step 4 is completed)\r\n- Step 2 Compare: compare collaborative draft and presents any similar collaborative drafts\r\n- Step 3 Complete: presents a form again to edit collaborative draft and gives chance to discard current draft\r\n- Step 4 Preview: Previews final form of collaborative draft and gives option to make public or to edit.\r\n\r\nSince the action of publishing has another meaning for collaborative drafts, the action of step 4 could be called: Open; and the help text could be something like: Open your draft to collaboration\r\n\r\nThe main advantages are:\r\n- Since the collaborative draft would actually be created in the first step, the user would be able leave the form and come back to finish the job later, without worrying about losing the information.\r\n- Pass attribute values through (1) POST request instead of through (2) URL\r\n(1) \"domain/processes/slug/f/12/collaborative_draft/id/compare\"\r\n(2) \"domain/processes/slug/f/12/collaborative_drafts/compare?utf8=%E2%9C%93&collaborative_draft%5Btitle%5D=This+is+a+title+2&collaborative_draft%5Bbody%5D=This+is+a+body+2&commit=\""},"title":{"ca":"Collaborative Draft Form improvements"}}

This fingerprint is calculated using a SHA256 hashing algorithm. In order to replicate it yourself, you can use an MD5 calculator online and copy-paste the source data.

Share:

link-intact Share link

Share link:

Please paste this code in your page:

<script src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14397/embed.js"></script>
<noscript><iframe src="https://meta.decidim.org/processes/roadmap/f/122/proposals/14397/embed.html" frameborder="0" scrolling="vertical"></iframe></noscript>

Report inappropriate content

Is this content inappropriate?

Reason

8 comments

Order by:
  • Older
    • Best rated
    • Recent
    • Older
    • Most discussed
Avatar: agustibr ☂️ agustibr ☂️ verified-badge
13/04/2019 00:02
  • Get link Get link
In favor  

Another reason to pass the values through a POST request is to prevent a ActionDispatch::Cookies::CookieOverflow when creating a long Collaborative Draft body , another advantage is that enables form validation.

GH Related:

Error when creating a long proposal · Issue #3719 · decidim/decidim · GitHub : https://github.com/decidim/decidim/issues/3719
Proposal Wizard creation/update fixes by agustibr · Pull Request #3744 · decidim/decidim · GitHub: https://github.com/decidim/decidim/pull/3744
Conversation with Oliver Valls
Avatar: Oliver Valls Oliver Valls
16/04/2019 09:58
  • Get link Get link

Instead of doing this, I would add the draft as a standard Proposal creation step. So there aren't two paths for creating a Proposal. This will require removing the create collaborative draft button.

So when creating a proposal, the "confirm" step is replaced by the Proposal draft (it may be collaborative or not depending on the author).

Step 1 Create: presents a form and, if submitted, sends (title/body) attributes through URL to Step 2
Step 2 Compare: compares received attributes and presents any similar Proposals (not collaborative drafts)
Step 3 Complete: presents a form again and, if submitted, creates a (Collaborative) Draft
Step 4 the author can publish the draft when she wants

Even step 3 can be removed and after confirming that the proposal that is going to be created doesn't coincide with any existing proposal a collaborative draft may be created.

Avatar: Pau Parals Pau Parals verified-badge
16/04/2019 10:29
  • Get link Get link

+1!!!!!

Avatar: Aitor Lopez Beltran Aitor Lopez Beltran
23/04/2019 12:33
  • Get link Get link

@oliver_valls You mean that enabling collaborative drafts should instead give the option in the last step of the wizard form to publish as a proposal or to create a collaborative draft?

Avatar: Oliver Valls Oliver Valls
23/04/2019 15:13
  • Get link Get link

Hi @aitorlb,
No, I meant that collaborative would be part of the standard Proposal creation. (drafts won't be dis/enabled, they'd be just one step)

Avatar: Pierre Mesure Pierre Mesure verified-badge
11/11/2019 18:36
  • Get link Get link

That makes so much more sense! The current UX is really counter-intuitive!

Avatar: Pierre Mesure Pierre Mesure verified-badge
11/11/2019 18:39
  • Get link Get link

One "Create proposal" button, one flow and ask at the end if the person is open for improvement and co-construction or is already completely set on their proposal.

Avatar: Carol Romero Carol Romero verified-badge
14/11/2019 11:23
  • Get link Get link
In favor  

I agree with what has been proposed here. It also makes much more sense to me that the entry of proposals is unique, regardless of the number of authors.

My main doubt is how to combine drafts (open to editing) with proposals (closed to editing) once the support gathering phase begins. Are all drafts closed automatically? Those that have not been closed by their authors are discarded?

Add your comment

Sign in with your account or sign up to add your comment.

Loading comments ...

  • Terms and conditions of use
  • About the community
  • Download Open Data files
  • Metadecidim at Twitter Twitter
  • Metadecidim at Instagram Instagram
  • Metadecidim at YouTube YouTube
  • Metadecidim at GitHub GitHub
Creative Commons License Website made with free software.
Decidim Logo

Confirm

OK Cancel

Please sign in

decidim Sign in with Decidim
Or

Sign up

Forgot your password?