Skip to content

Fix-Restore info icon visibility in peer review screen#6802

Open
Roniscend wants to merge 1 commit intocommons-app:mainfrom
Roniscend:fix-peer-review
Open

Fix-Restore info icon visibility in peer review screen#6802
Roniscend wants to merge 1 commit intocommons-app:mainfrom
Roniscend:fix-peer-review

Conversation

@Roniscend
Copy link
Copy Markdown
Contributor

Description (required)
Corrected UI logic to ensure info icon is consistently visible in peer review screen.
Fixes #6787

Tested 6.4.0-debug on Pixel 9(Android 16)

Screenshots (for UI changes only)

b.mp4

Signed-off-by: Owm Dubey <owmdubey163@gmail.com>
Copilot AI review requested due to automatic review settings March 25, 2026 14:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Peer Review screen’s landscape layout and click handling so the “info” affordance and “Skip this image” interaction remain visible/usable after rotation (fixes #6787).

Changes:

  • Refactors layout-land/activity_review.xml to place a dedicated info icon view next to the “Skip this image” button and reorders constraints/layout structure.
  • Adds an android:id to the included toolbar in the landscape layout for consistent view binding.
  • Switches the skip-info interaction in ReviewActivity from a touch listener to a click listener.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
app/src/main/res/layout-land/activity_review.xml Reworks the landscape peer review layout to keep the skip + info UI reliably visible and constrained.
app/src/main/java/fr/free/nrw/commons/review/ReviewActivity.kt Simplifies skip-info handling to use a click listener.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/src/main/res/layout-land/activity_review.xml
Comment thread app/src/main/res/layout-land/activity_review.xml
Comment thread app/src/main/res/layout-land/activity_review.xml
Comment thread app/src/main/java/fr/free/nrw/commons/review/ReviewActivity.kt
@github-actions
Copy link
Copy Markdown

✅ Generated APK variants!

@Roniscend
Copy link
Copy Markdown
Contributor Author

@nicolas-raoul can you review this pr

@neeldoshii neeldoshii self-requested a review March 25, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Info icon disappears and "Skip this image" button fails in landscape mode.

2 participants