Skip to content

Conversation

@juliusknorr
Copy link
Member

@juliusknorr juliusknorr commented Mar 13, 2025

The grid view currently does not support inline actions and renders them in the menu. This is a quick fix to address nextcloud/server#51452 to align with our other quick fix in https://github.com/nextcloud/files_lock/blob/main/src/main.ts#L98-L100

Signed-off-by: Julius Knorr <jus@bitgrid.net>
@juliusknorr juliusknorr force-pushed the fix/inline-grid-view branch from 4892d69 to d84fe76 Compare March 13, 2025 09:42
@juliusknorr juliusknorr added bug Something isn't working 3. to review labels Mar 13, 2025
@juliusknorr
Copy link
Member Author

/backport to stable31

@juliusknorr
Copy link
Member Author

/backport to stable30

@juliusknorr
Copy link
Member Author

/backport to stable29

@juliusknorr
Copy link
Member Author

I'll add a test case as well

@juliusknorr juliusknorr requested a review from susnux March 13, 2025 10:01
@susnux
Copy link
Contributor

susnux commented Mar 13, 2025

@juliusknorr should we not just show some meaningful information?
We could do it like the share-status action:
Provide a title so that if we are in grid view we show "File is locked" if the file is locked.

@juliusknorr
Copy link
Member Author

As mentioned in the other ticket we have another action for the menu entry:

https://github.com/nextcloud/files_lock/blob/fix/inline-grid-view/src/main.ts#L113

@juliusknorr juliusknorr merged commit b202c1f into main Mar 18, 2025
44 checks passed
@juliusknorr juliusknorr deleted the fix/inline-grid-view branch March 18, 2025 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants