Skip to content

Conversation

@BrayanDSO
Copy link
Member

@BrayanDSO BrayanDSO commented Dec 30, 2025

Purpose / Description

The whiteboard was so complex and big that I didn't make the best choices for part of its code design. So now, with a fresher mind, I'm trying to make it more pleasant to work with.

How Has This Been Tested?

Screen_recording_20251230_053103.mp4

Checklist

Please, go through these checks before submitting the PR.

  • You have a descriptive commit message with a short title (first line, max 50 chars).
  • You have commented your code, particularly in hard-to-understand areas
  • You have performed a self-review of your own code
  • UI changes: include screenshots of all affected screens (in particular showing any new or changed strings)
  • UI Changes: You have tested your change using the Google Accessibility Scanner

@BrayanDSO BrayanDSO added Needs Review Blocked by dependency Currently blocked by some other dependent / related change labels Dec 30, 2025
@BrayanDSO BrayanDSO force-pushed the feat/whiteboard-toolbar branch from b457896 to 8903f52 Compare January 6, 2026 13:51
@BrayanDSO BrayanDSO removed Blocked by dependency Currently blocked by some other dependent / related change Has Conflicts labels Jan 6, 2026
@david-allison david-allison added Needs Second Approval Has one approval, one more approval to merge and removed Needs Review labels Jan 6, 2026
@BrayanDSO BrayanDSO force-pushed the feat/whiteboard-toolbar branch from 8903f52 to b95aad5 Compare January 7, 2026 09:29
Also
1. made `fragment_whiteboard` a FrameLayout, so changing the toolbar position is wayyyyyyyyyy easier with layout gravity
2. Used a `RecyclerView` instead of separate Horizontal and Vertical scrollViews, which should be more performant
Copy link
Member

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

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

nice

constraintSet.constrainHeight(containerId, ConstraintSet.WRAP_CONTENT)
constraintSet.setMargin(containerId, ConstraintSet.START, 8 * dp)
}
@SuppressLint("RtlHardcoded")
Copy link
Member

Choose a reason for hiding this comment

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

🧐 , 👍 justified

all looks good

@mikehardy mikehardy added Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) and removed Needs Second Approval Has one approval, one more approval to merge labels Jan 7, 2026
@mikehardy mikehardy added this pull request to the merge queue Jan 7, 2026
Merged via the queue into ankidroid:main with commit 3995ea9 Jan 7, 2026
15 checks passed
@github-actions github-actions bot added this to the 2.24 release milestone Jan 7, 2026
@github-actions github-actions bot removed the Pending Merge Things with approval that are waiting future merge (e.g. targets a future release, CI wait, etc) label Jan 7, 2026
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.

3 participants