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

Politician Header #1

Open
12 tasks done
RichardKruemmel opened this issue Nov 2, 2022 · 0 comments · May be fixed by #3
Open
12 tasks done

Politician Header #1

RichardKruemmel opened this issue Nov 2, 2022 · 0 comments · May be fixed by #3
Assignees
Labels
feature New feature or request good first issue Good for newcomers
Milestone

Comments

@RichardKruemmel
Copy link
Member

RichardKruemmel commented Nov 2, 2022

Screenshot 2022-11-02 at 17 12 21

Add the politician's picture

As a user, I want to see a picture of the candidate when I view their profile to ensure it's the one I'm looking for.

Acceptance Criteria

  • Fetch image based on polician_id from https://image.facethefacts-api.de/${politicianId}.jpg
  • Enable caching for image
  • Display placeholder profile image when a politician does not have an image (see RN component)

Add the politician's name

As a user, I want to see the candidate's name when I call up a profile to ensure it's the one I've been looking for.

Acceptance Criteria

  • Fetch politician data based on id from v1/politician/{id}
  • Display Name
  • Self-host font

Add the politician's party

As a user, I would like to be able to recognize which party the candidate belongs to classify who he or she is on the political scale.

Acceptance Criteria

  • Fetch politician data based on id from v1/politician/{id}
  • Display Party and use styling based on party_styles
  • Self-host font

Add the politician's occupation

As a user, I want information about candidates' current political posts or occupations to rank them better.

Acceptance Criteria

  • Fetch politician data based on id from v1/politician/{id}
  • Display each item of the occupation array as a single tag
  • Self-host font
@RichardKruemmel RichardKruemmel added feature New feature or request good first issue Good for newcomers labels Nov 2, 2022
@RichardKruemmel RichardKruemmel added this to the v0.1.0 milestone Nov 2, 2022
@RichardKruemmel RichardKruemmel changed the title [Feature] Politician Header Politician Header Nov 2, 2022
@cardox6 cardox6 linked a pull request Mar 15, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants