Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jun 11, 2025

Summary

This is a composable - not a service, because it is using the useHotKey composable. At this moment it works, but in general its only safe to put composables into setup-context.

So while it at the moment with the current implementation (library) works, it is prone to break as soon as some lifecycle hooks might be called. So lets make it future-proof.

Checklist

@susnux susnux added 3. to review Waiting for reviews feature: files ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring) labels Jun 11, 2025
@susnux susnux marked this pull request as ready for review June 16, 2025 18:40
@susnux susnux requested review from a team and skjnldsv as code owners June 16, 2025 18:40
@susnux susnux requested review from artonge and szaimen and removed request for a team June 16, 2025 18:40
@skjnldsv
Copy link
Member

skjnldsv commented Aug 1, 2025

Conflicts 😢

@skjnldsv skjnldsv added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Aug 1, 2025
@susnux susnux force-pushed the refactor/files-hotkeys branch from 0a8dbb4 to 4b4e25b Compare August 5, 2025 16:59
@susnux susnux added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Aug 5, 2025
@susnux susnux added this to the Nextcloud 32 milestone Aug 5, 2025
This is a composable - not a service, because it is using the
`useHotKey` composable. At this moment it works, but in general
its only safe to put composables into `setup`-context.

This makes it future prove.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the refactor/files-hotkeys branch from 4b4e25b to 3a5769e Compare August 5, 2025 17:00
@susnux
Copy link
Contributor Author

susnux commented Aug 5, 2025

/compile

Signed-off-by: nextcloud-command <[email protected]>
@nextcloud-command nextcloud-command requested a review from a team as a code owner August 5, 2025 17:08
@susnux susnux enabled auto-merge August 5, 2025 18:38
@susnux susnux merged commit c695bf1 into master Aug 5, 2025
134 of 136 checks passed
@susnux susnux deleted the refactor/files-hotkeys branch August 5, 2025 18:42
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
@skjnldsv skjnldsv added this to the Nextcloud 32 milestone Oct 2, 2025
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 feature: files ♻️ refactor Refactor code (not a bug fix, not a feature just refactoring)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants