dorianim / dorianim/wg-display
Use username to match mealcount
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently, the mealcount is matched to a person by assigning a fixed index to each person in the keycloak attribute `wg-display-index`. This is not ideal and should be fixed by using the username instead. This has to be implemented in the server and the display.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the server and display code that currently reads the Keycloak wg-display-index attribute and matches mealcount entries to people. Trace how usernames are available in both parts, then update the matching behavior consistently and verify that mealcounts still appear for the correct people without relying on the fixed index.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- full-stack
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100