From e5260bec1b1d7ee06d584d5a4ff28b22f997abbd Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 6 Feb 2024 08:55:51 -0800 Subject: [PATCH] JavaScript plugins in release notes, refs #2052 --- docs/changelog.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 8208062018..5af8a7dd8f 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -40,6 +40,18 @@ Configuration -s plugins.datasette-cluster-map.latitude_column xlat \ -s plugins.datasette-cluster-map.longitude_column xlon +JavaScript plugins +~~~~~~~~~~~~~~~~~~ + +Datasette now includes a :ref:`JavaScript plugins mechanism `, allowing JavaScript to customize Datasette in a way that can collaborate with other plugins. + +This provides two initial hooks, with more to come in the future: + +- :ref:`makeAboveTablePanelConfigs() ` can add additional panels to the top of the table page. +- :ref:`makeColumnActions() ` can add additional actions to the column menu. + +Thanks `Cameron Yick `__ for contributing this feature. (`#2052 `__) + Plugin hooks ~~~~~~~~~~~~