dorianim / dorianim/wg-display

Use username to match mealcount

Open
#2 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.