Closed as not planned
Closed as not planned
Code quality
Description
Description
The thumbnails in Files may sometimes be displayed with an overlay over them, to show different information such as being a shortcut. We currently are adding all those information separatedly. They could be gathered within a single reusable control for thumbnail, handling the display of overlays.
Concerned code
- ItemViewModel
- ColumnViewBase, DetailsLayout et GridLayout
Gains
- Better readability
- Duplication reducation
Requirements
- Have a reusable control for thumbnail
- Have a reusable control for overlays so that we can use it indecently from the thumbnail control (eg. the grid layouts).
- Add a DisplayOverlay property (or something along these lines) to the thumbnail control. Setting the property to true will load the overlay inside the thumbnail control.
Comments
No response
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
✅ Done