Sharees should include etag for avatar
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
Currently if clients fetch a list of files they receive with "sharees" a list of all shared users, which contains userId, DisplayName, shareType.
To then display avatar clients need to ask server if avatar is changed.
It would be good to have there also eTag exposed, so that clients directly know if their cached avatar is recent enough.
Contributor guide
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 code that builds the files response and its sharees entries, then trace how avatar metadata is represented. Check the existing API tests for sharees or avatars if present. Done means each returned shared user includes an avatar eTag that clients can use to validate cached avatars.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100