From 32b9699b7f274bbdac0611c13f2a9cd67e0c6912 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 8 Nov 2022 11:56:39 +0100 Subject: [PATCH] Document "christophwurst/nextcloud replacement" and "Disabled keyboard shortcuts" for 25 Signed-off-by: Joas Schilling --- .../app_upgrade_guide/upgrade_to_25.rst | 23 ++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_25.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_25.rst index e2c988b1a..938185eef 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_25.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_25.rst @@ -17,7 +17,7 @@ Make sure your ``appinfo/info.xml`` allows for Nextcloud 25. - + SCSS support removal ^^^^^^^^^^^^^^^^^^^^ @@ -28,12 +28,29 @@ See `Github issue `_. Front-end changes ----------------- -tbd +Disabled keyboard shortcuts +^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +A global option to disable keyboard shortcuts was added to the accessibility settings. +Since it heavily depends on the screenreader and tools that you use if Ctrl and/or Alt or other things are okay to use +or not and maintaining a more detailed list is too much effort, we went for a global on/off switch. Apps can use this +public javascript API call to determine whether the user used the opt-out: ``OCP.Accessibility.disableKeyboardShortcuts()``. +If that is the case, no additional shortcuts shall be registered by any app. Only ``space`` to toggle checkboxes and +``enter`` to submit the currently active buttons/links are okay to be used. +See `Github issue `_. Back-end changes ---------------- -tbd +christophwurst/nextcloud replaced +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The `christophwurst/nextcloud `_ composer package was replaced +with a now Nextcloud owned `nextcloud/ocp `_ package. The content is the +same and all older versions were generated, so you can transition right away no matter which versions you support. +We also have a GitHub Actions cron job template available at +`https://github.com/nextcloud/.github/blob/master/workflow-templates/update-nextcloud-ocp.yml `_ +which updates the packages every sunday, so you can make sure your app is still compatible with the latest OCP. Changed APIs ^^^^^^^^^^^^