populatetools / decidim-module-anonymous_proposals Goto Github PK
View Code? Open in Web Editor NEWAllow anonymous user to submit proposals
License: GNU Affero General Public License v3.0
Allow anonymous user to submit proposals
License: GNU Affero General Public License v3.0
Hello,
We might be interested in using this module with Decidim instances in 0.26 and maybe higher.
Do you plan to bump it or is not maintained anymore ?
Do you want to add it to Decidim ICE ?
Thanks
Currently, the module enables anonymous proposals by default on all proposal components (at least when the module is added to a platform)
Task: Change the default setting so that anonymous proposals are not activated by default.
This new improvement is designed to extend the functionality of the existing Decidim Anonymous Proposals module. It allows users to create proposals anonymously, and then either keep them anonymous or assign them to an account after they have been created.
User flow:
Video illustration of the mockup: https://www.loom.com/share/dc251cc6dafb434c8397673c730d9d4d?sid=052cf054-79f6-454a-a8d9-a3a816e9390c
Image of a mermaid: https://drive.google.com/file/d/1xv5lhe1jLSggEkhEregfu83EOb8UrCKn/view?usp=sharing
Administration
Benefits
Future Scope
The module currently supports up to Decidim 0.27 and needs an upgrade for compatibility with Decidim 0.28.
Hi,
I tried to test your module but I can't even load the index page of a Proposals module. Is it because I haven't set any group to be used as author?
This is the stacktrace:
ActionView::Template::Error (no implicit conversion of Hash into String):
1: <% unless user_signed_in? %>
2: <%= cell(
3: "decidim/announcement",
4: announcement: { I18n.locale => t(
5: ".text_html",
The problem is located at line 2 in this file.
We have a use case where we'd like to be able to configure on each proposals component, whether anonymous proposals are allowed or not.
Would you accept a PR that implements that feature? I have some time available to implement this.
We should make sure that the module is compatible with two modules that also work with the proposal creation form:
1. Simple proposals
2. Custom (+private) proposal fields - Decidim Awesome
I'm facing this error when I run bundle:
Fetching https://github.com/PopulateTools/decidim-module-anonymous_proposals
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies......
Bundler could not find compatible versions for gem "decidim-core":
In snapshot (Gemfile.lock):
decidim-core (= 0.23.1)
In Gemfile:
decidim-dev (= 0.23.1) was resolved to 0.23.1, which depends on
decidim (= 0.23.1) was resolved to 0.23.1, which depends on
decidim-core (= 0.23.1)
decidim-anonymous_proposals was resolved to 0.1, which depends on
decidim-core (>= 0.24.0)
Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
I have tried bundle update with no avail.
Description:
Currently, when a user who is not signed in starts creating an anonymous proposal, they see a top banner prompting them to sign up or sign in. The expected behavior is that, after signing up or logging in, the user should be automatically redirected back to the proposal creation form they were working on. This ensures a seamless and user-friendly experience, preventing loss of progress and encouraging user engagement.
Steps to Reproduce:
Expected Result:
After sign-up/sign-in, the user is redirected back to the proposal creation form with any entered data retained.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.