Review TODO comments and fix or remove them
Maintainers usually reply within 1 day
@AdityaDarke97 is already working on this.
Since Nov 3, 2026.
Assessment
- Difficulty
- 3/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Search app/src for TODO to get the list of 38 comments across 27 files, starting with the one in ImageFragment.kt about span count. Pick a single TODO, decide whether it is still relevant, and either fix it, delete it, or open a separate issue for it. Keep each change small and in its own pull request. Done means every TODO has been handled in one of those three ways, and the project still builds.
Written by the indexing model from the issue text.
Description
Suggested by @nicolas-raoul in #7210.
The codebase has TODO comments that have been around for a while, for example // todo change span count depending on the device orientation and other factos. in ImageFragment.kt. A quick search of app/src finds 38 across 27 files.
For each one, either fix it, remove it if it no longer applies, or open a separate issue if it needs more work.
Here's the list:
Auth, app, utils:
auth/login/LoginClient.kt
CommonsApplication.kt (2)
AboutActivity.kt (2)
Media.kt
utils/NetworkUtils.kt
utils/DateUtil.kt
utils/ConfigUtils.kt
review/ReviewController.kt
feedback/FeedbackDialog.kt
Contributions and profile:
contributions/ContributionsFragment.kt (2)
profile/achievements/AchievementsFragment.kt
profile/achievements/AchievementsStatsBinder.kt
Nearby:
nearby/fragments/NearbyParentFragment.kt (2)
nearby/presenter/NearbyBookmarkCacheHandler.kt
nearby/presenter/NearbyFilterHandler.kt
nearby/model/ResultTuple.kt
Custom selector:
customselector/ui/selector/ImageFragment.kt
customselector/ui/selector/FolderFragment.kt
customselector/ui/selector/ImageFileLoader.kt (2)
Wikidata:
wikidata/model/page/PageTitle.kt (4)
wikidata/model/WikiSite.kt
wikidata/json/WikiSiteTypeAdapter.kt (2)
wikidata/json/NamespaceTypeAdapter.kt
wikidata/json/RequiredFieldsCheckOnReadTypeAdapterFactory.kt
wikidata/mwapi/MwQueryPage.kt
wikidata/mwapi/MwQueryResult.kt
Resources and tests:
res/values/arrays.xml
res/layout/fragment_achievements.xml
resources/queries/query_for_item.rq
test/.../explore/ExploreFragmentUnitTest.kt
Stale ones:
WikiSiteTypeAdapter (2): “remove reader June 2018”.
NamespaceTypeAdapter: “remove after April 2017”.
DateUtil: “when minSdk = 26” (check the current minSdk first).
The bare // TODO lines in NearbyBookmarkCacheHandler, NearbyFilterHandler, NearbyParentFragment:2120, and the // TODO: after @SuppressLint in AboutActivity (2).
ImageFileLoader:203 (a bare TODO in a KDoc).
Small fixes:
ConfigUtils (a Dagger provider).
fragment_achievements.xml (contentDescription).
FolderFragment and ImageFragment (span count by orientation).
AchievementsFragment (extract a method).
Need more work:
The Nearby and Contributions UX items.
LoginClient (2FA warning).
FeedbackDialog (already references #6002).
NetworkUtils (Android 12+ permission).
ExploreFragmentUnitTest (@Ignored test).
The PageTitle refactor.
- Dominant language
- Kotlin
- Stars
- 1.2k
- Forks
- 1.4k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 156
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from commons-app/apps-android-commons
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
commons-app/apps-android-commons#7486 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
commons-app/apps-android-commons#7464 · 2 comments ·
Maintainers usually reply within 1 day
-
[Bug]: Media detail page crashes on file pages with unclosed [[Category: markupPossibly taken @dkrrish9 claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
commons-app/apps-android-commons#7423 · 7 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug]: WikiSite treats the /w/ script path as a language variant, producing a bogus "w" language codePossibly taken @shryssssss-maker claimed this 4 days ago. Opendebated
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
commons-app/apps-android-commons#7422 · 4 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
test: unit tests for WikiSite (sub-issue of #6630)Possibly taken @Seyamalam claimed this 5 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
commons-app/apps-android-commons#7419 · 1 assignee ·
Maintainers usually reply within 1 day
All issues in commons-app/apps-android-commons
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
carlrobertoh/ProxyAI#1250 ·
-
Location search keeps showing stale "Open-Meteo can't find ..." message after clearing search queryOpenBug Needs review
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
breezy-weather/breezy-weather#3082 ·
Maintainers usually reply within 2 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 76/100
wangzan101/Mika#1033 ·
Maintainers usually reply within 1 day
-
area: ci area: local-media area: startup area: ui platform: bilibili platform: netease platform: youtube status: needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
cwuom/NeriPlayer#794 ·
Maintainers usually reply within 1 day
-
area:android area:ui bug priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
meraxes89/streamify-apk#449 ·
Maintainers usually reply within 1 day