DimensionDev / DimensionDev/Flare
[Bug][Misskey] The "Favorite" button on the favorite page's notes doesn't change to an "Unfavorite" button
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 1.5k
- Forks
- 67
- Avg merge
- 11h 8m
- Merged PRs (30d)
- 84
Description
On Misskey's "Favorites" page and on the Misskey timeline immediately after opening the app, the "Favorite" button for notes that have already been favorited does not change to a "Unfavorite" button as it should.
When the "Favorite" button is tapped for a note that has already been favorited, the app receives the error code ALREADY_FAVORITED from the Misskey server.
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 searching the Kotlin code for the Favorites page, timeline initialization, the Favorite/Unfavorite button state, and the Misskey error code ALREADY_FAVORITED. Trace how already-favorited notes are represented when those views open. Done means favorited notes show an Unfavorite button and tapping it no longer sends a duplicate favorite request.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100