Skip to content

Refactor enable UI#1242

Merged
kaamui merged 2 commits intoOpenBoard-org:devfrom
letsfindaway:refactor-enable-ui
Mar 12, 2025
Merged

Refactor enable UI#1242
kaamui merged 2 commits intoOpenBoard-org:devfrom
letsfindaway:refactor-enable-ui

Conversation

@letsfindaway
Copy link
Copy Markdown
Collaborator

This PR consists of two commits, addressing architectural issues.

  • The first one moves the information whether the thumbnail UI (duplicate and delete buttons) should be visible or not to the respective UBThumbnailArranger. This keeps dependencies to specific views out of the UBThumbnail class.
  • The second one moves UBThumbnailTextItem out of the UBDocumentThumbnailsView header and creates separate files for this completely independent class.

- add function to arranger to get UI enable status
- use function to control UI in UBThumbnail
- UBThumbnailTextItem was part of UBDocumentThumbnailsView
- extract to own pair of files to improve code structure
@kaamui
Copy link
Copy Markdown
Member

kaamui commented Mar 12, 2025

Thank you

@kaamui kaamui merged commit 9a8abac into OpenBoard-org:dev Mar 12, 2025
@letsfindaway letsfindaway deleted the refactor-enable-ui branch March 12, 2025 15:23
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.

2 participants