Skip to content

Commit

Permalink
fix(developer): Deprecate OC.dialogs
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Apr 9, 2024
1 parent 1e10a39 commit 47b39e3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,20 @@ Removed APIs
Removed globals
^^^^^^^^^^^^^^^

Deprecated APIs
^^^^^^^^^^^^^^^

* 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
----------------

Expand Down
2 changes: 2 additions & 0 deletions developer_manual/digging_deeper/javascript-apis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.github.io/nextcloud-event-bus/

.. _js-library_nextcloud-dialogs:

``@nextcloud/dialogs``
^^^^^^^^^^^^^^^^^^^^^^

Expand Down

0 comments on commit 47b39e3

Please sign in to comment.