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 #136

Open
YujithIsura opened this issue Dec 4, 2019 · 2 comments
Open

Objection Add UI design #136

YujithIsura opened this issue Dec 4, 2019 · 2 comments
Labels
Create Objection 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”,
}

@YujithIsura YujithIsura added this to the Create Objection milestone Dec 4, 2019
@YujithIsura YujithIsura added the Priority 3 Issues that needed to be attended to after Priority 1 and 2 issues are complete or done in parallel label Dec 4, 2019
@YujithIsura YujithIsura removed this from the Create Objection milestone Dec 17, 2019
@YujithIsura
Copy link
Contributor Author

worst case estimates to complete this issue is 4 Days

@Diluna123
Copy link

Is this project not finished yet? Can I develop this part?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Create Objection 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

3 participants