Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Objection Add UI design #50

Open
YujithIsura opened this issue Feb 13, 2019 · 0 comments
Open

Objection Add UI design #50

YujithIsura opened this issue Feb 13, 2019 · 0 comments
Labels
Priority 3 Issues that needed to be attended to after Priority 1 and 2 issues are complete or done in parallel

Comments

@YujithIsura
Copy link
Contributor

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”,
}

@nshamit nshamit added the Priority 3 Issues that needed to be attended to after Priority 1 and 2 issues are complete or done in parallel label Mar 21, 2019
@YujithIsura YujithIsura added this to the Create Objection milestone Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority 3 Issues that needed to be attended to after Priority 1 and 2 issues are complete or done in parallel
Projects
None yet
Development

No branches or pull requests

2 participants