Skip to content

Politician Header #1

@RichardKruemmel

Description

@RichardKruemmel

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions