Skip to content

Objection Add UI design #136

Description

@YujithIsura

screenshot from 2019-02-13 14-44-24

View

Maintaining tree view

Nomination of a particular party is listed under the Division (District in this case)

Todo : Design above page in react+meterialUI and place it here "src/modules/objection/Objection_add"

related end points
get: /elections/{election_id}/nominations/
required-parameters:{
    “election_id” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
}
return:{
    [
        {
            “division_id” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
            “name” : “Colomobo”,
            “nominations” : [
                {
                    “nomination_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
                    “team_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
                    “team_name” : “Some-Political-Party1”,
                },
                {
                    “nomination_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
                    “team_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
                    “team_name” : “Some-Political-Party2”,
                },
            ]
        },
]

screenshot from 2019-02-13 14-54-46

Objections - Create

Here you can create objections for one or more candidates.

You can attach if there are files of proof when submitting the objection.

related end points
post: /nominations/{nomination_id}/objections/
required-parameters:{
    “sumbitted_by” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
    “comment” : “objection comment...”,
    “attachement_file” : “path/to/file.jpg”,
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Create ObjectionPriority 3Issues that needed to be attended to after Priority 1 and 2 issues are complete or done in parallel

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions