wordpress-mobile / wordpress-mobile/WordPress-Android
WP Media library wrong items upload ordering
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 3.2k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 69
Description
Noticed during internal call for testing (comment here pbMoDN-1oy-p2#comment-2753); note that I could not replicate it currently but we are further checking it (cc @maxme )
Expected behavior
When uploading into media library, I would expect the last added media to be on the top left in the grid.
Actual behavior
When uploading into media library, the last added media is not always on the top left in the grid.
Steps to reproduce the behavior
- Upload picture 1, notice the uploading picture is on the top left.
- Upload picture 2, notice the uploading picture is not on the top left (it’s right to previously uploaded picture).
- Wait for upload and pull to refresh, notice the newly uploaded picture goes to the expected spot (top left).
Tested on [Pixel 3 Emu], Android [API 30], WPAndroid [#13216 CI Build]
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 reproducing the upload sequence on the Pixel 3 emulator with Android API 30 using WPAndroid #13216 CI Build. Check the grid position during each upload and after pull-to-refresh; the issue is done when the newest media consistently appears in the top-left position.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100