Giter Site home page Giter Site logo

joe-irving / digital-actions Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 846 KB

A digital actions tool that extends Action Network

Home Page: https://digitalactions.org

License: MIT License

Dockerfile 0.42% Vue 46.08% TypeScript 53.36% Shell 0.13%
advocacy politics

digital-actions's People

Contributors

joe-irving avatar

Stargazers

 avatar

Watchers

 avatar

digital-actions's Issues

Verify your email page

A simple page that takes an email as query param that just tells people to check their inbox for a link

Petition Signatures Comments Map

A map of comments across a marker clustered map that can be embedded on a site

It takes one petition endpoint, used the Nitro Caching Layer to get the full list and presents it on a map

Expected issues

Petitions signatures could potentially be 100,000+ points - need to define how this is stored and how much memory it could use if added to caching layer. Explore storing in database

Events: Organise an event for petition deliver

Add the functionality to create an event sign up page (linked to action network)

Low effort version: Link to a "Create an event" button to a linked event campaign

Higher effort - create the event pages in the app

Admins cannot approve petitions

[
    {
        "error": {
            "message": "Could not find a petition campaign that matches that id and the logged in user has permissions to approve petitions",
            "code": -32600,
            "data": {
                "code": "BAD_REQUEST",
                "httpStatus": 400,
                "path": "petition.approval"
            }
        }
    }
]

Possible fix: include admin in list of permission types allowed to update status

Approvers cannot view petitions

Approvers when requesting petition are denied access

possible fix: add approvers to the petition.getManage list of permissions

Basic Home Page Style

Just a simple welcome message, login button & link to petitions & petition campaigns

Add font options for themes

When you are editing the theme of a petition campaign, you should be able to add a font for the header and a font for the body text

We can use google fonts for the selection to make this simpler

  • Create font field on the theme resource
  • Add meta tag to custom theme component for fonts
  • Update theme to include new fonts of selected

Petition Campaign Feature

Create a feature that allows users to create "petition campaigns", that are a way for anyone to access and create petitions within a given campaign.

A petition campaign would be linked to a single group and petition page on Action Network, which is where signatures would be collected and emails would be sent from.

Here are the summary of sub tasks:

Set up connect to Action Network

  • API endpoint to add credentials to database
  • token in server side for double encrypting key
  • on create petition campaign, create and link a tag in action network
  • on create petition, async create tag with matching name
  • create cached function that gets number of signatures for a query

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.