mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
fix(developer): Deprecate OC.dialogs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
@@ -32,6 +32,16 @@ Deprecated APIs
|
||||
|
||||
* ``OC.dialogs.fileexists`` was already deprecated in Nextcloud 29, but is now also marked as such.
|
||||
Use ``openConflictPicker`` from `@nextcloud/upload <https://nextcloud-libraries.github.io/nextcloud-upload/functions/openConflictPicker.html>`_ instead.
|
||||
* Most ``OC.dialogs`` API is now deprecated and will be removed in the future. For generic dialogs use the ``DialogBuilder`` from the :ref:`js-library_nextcloud-dialogs`.
|
||||
A list of the now deprecated methods:
|
||||
|
||||
* ``OC.dialogs.alert``
|
||||
* ``OC.dialogs.info``
|
||||
* ``OC.dialogs.confirm``
|
||||
* ``OC.dialogs.confirmDestructive``
|
||||
* ``OC.dialogs.confirmHtml``
|
||||
* ``OC.dialogs.prompt``
|
||||
* ``OC.dialogs.message``
|
||||
|
||||
Back-end changes
|
||||
----------------
|
||||
|
||||
@@ -57,6 +57,8 @@ This package provides an `Axios <https://www.npmjs.com/package/axios>`_ HTTP cli
|
||||
|
||||
This package provides a simple event bus implementation that integrates with server and other apps. Thus it is one of the recommended ways of inter-app communication. Documentation: https://nextcloud-libraries.github.io/nextcloud-event-bus/
|
||||
|
||||
.. _js-library_nextcloud-dialogs:
|
||||
|
||||
``@nextcloud/dialogs``
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user