Green-Party-of-Canada-Members / gpc-decidim

Decidim For the Green Party of Canada
https://wedecide.green.ca/
GNU Affero General Public License v3.0
1 stars 0 forks source link

Local Association Member Portals #178

Open BigSnicker opened 1 month ago

BigSnicker commented 1 month ago

Purpose

To help Local Member Associations (EDAs) advertise their activities within their region, connect with other members, associations, and the general public.

Success Metrics

Feature 1: Having Participants set a "Home Area" and automatically follow it

Description: Introduce a "Home Area" variable to the Participant object to indicate the geographic area where the participant resides, influencing their homepage.

Requirements:

Acceptance Criteria:

Feature 2: Navigation to Home Area Homepage

Description: Enhance navigation by directing members to their Home Area homepage based on their Home Area selection.

Acceptance Criteria:

Feature 3: Postal Code-Based Redirect to Local or Regional Homepage

Description: Implement a feature that allows users to find their EDA or regional assembly based on their postal code.

Acceptance Criteria:

image

or

image

Technical Requirements of all the above features:

  1. Database Changes:
    • Add Home Area field to the Participant object.
  2. Frontend Changes:
    • Update profile settings to include Home Area selection (possibly by dropdown or postal code)
    • Create Local Association (EDA) assemblies that include "make this your local assembly/EDA" button for Home Area selection
    • Include navigation option to go to Home Area Local Association (EDA) assembly
    • Add "Look up your local association" postal code input field to the website header or front page.
  3. Backend Changes:
    • Implement logic for automatic assembly follow and homepage redirection.
    • Ensure correct redirection based on postal code entry, including lookup of postcode-to-local association mapping
    • Update outgoing email digests with navigation to Home Area

Optional: Creation of assemblies for each Home Area or Home Region (~50-80)

BigSnicker commented 1 month ago

Note, it will be worth discussing options for "Post Code" to "Riding"/"EDA"/"Local Association" mapping. There are a few options, such as:

  1. A lookup table of postcode -> riding
  2. An API of postcode->riding
  3. A shape file based on an address look-up and geo-coordinates