Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Jul 16, 2025

Summary

Before
dev skjnldsv com_apps_files_files_129923_dir=_Photos
After
dev skjnldsv com_apps_files_files_129923_dir=_Photos (1)

Checklist

@skjnldsv skjnldsv requested a review from a team as a code owner July 16, 2025 07:56
@skjnldsv skjnldsv requested review from artonge, sorbaugh and susnux and removed request for a team July 16, 2025 07:56
@skjnldsv skjnldsv self-assigned this Jul 16, 2025
@skjnldsv skjnldsv added enhancement design Design, UI, UX, etc. 3. to review Waiting for reviews feature: files labels Jul 16, 2025
arturhg pushed a commit to arturhg/nextcloud-server that referenced this pull request Jul 16, 2025
Add comprehensive E2E tests for the row height reduction changes in the Files app:

- files-row-height-pr-53968.cy.ts: Tests basic row height functionality, interactions, and accessibility
- drag-drop-row-height-pr-53968.cy.ts: Tests drag and drop operations with the new dimensions
- visual-regression-row-height-pr-53968.cy.ts: Captures screenshots for visual regression testing
- performance-edge-cases-pr-53968.cy.ts: Tests performance and edge cases with reduced row height

These tests ensure that:
- File rows display correctly at 50px height
- Icons and text are properly sized and aligned
- User interactions (click, hover, select) work as expected
- Drag and drop functionality remains intact with updated preview dimensions
- Performance is maintained with large file lists
- Edge cases and special characters are handled properly
- Visual consistency is maintained across different scenarios
Copy link
Contributor

@susnux susnux left a comment

Choose a reason for hiding this comment

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

Could we instead of 44px just use --clickable-area-large to have this bound to a design variable?

@skjnldsv
Copy link
Member Author

Could we instead of 44px just use --clickable-area-large to have this bound to a design variable?

clickable-area-large is 48px :)

@skjnldsv
Copy link
Member Author

/compile rebase

@skjnldsv skjnldsv force-pushed the feat/files-row-height branch from cdfa5b7 to 37f49a3 Compare July 16, 2025 14:33
@skjnldsv skjnldsv force-pushed the feat/files-row-height branch from 37f49a3 to d1f0cee Compare July 16, 2025 14:43
@skjnldsv
Copy link
Member Author

/compile

@skjnldsv
Copy link
Member Author

/backport d1f0cee to stable31

@skjnldsv
Copy link
Member Author

/backport d1f0cee to stable30

@susnux
Copy link
Contributor

susnux commented Jul 16, 2025

clickable-area-large is 48px :)

I know but at least its one magic number less 😅

Signed-off-by: nextcloud-command <[email protected]>
@nextcloud-command nextcloud-command requested a review from a team as a code owner July 16, 2025 15:24
@skjnldsv skjnldsv merged commit 64057da into master Jul 16, 2025
124 checks passed
@skjnldsv skjnldsv deleted the feat/files-row-height branch July 16, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Design, UI, UX, etc. enhancement feature: files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decrease file list row height

5 participants