From 6d1ce3de1512d28ef1a88c1f2953ca178029ec97 Mon Sep 17 00:00:00 2001 From: yanas Date: Wed, 11 Mar 2026 22:05:03 -0500 Subject: [PATCH 1/2] docs: document CLICK_BUTTON action type with payload shape Co-Authored-By: Claude Sonnet 4.6 --- src/toolbar/actionTypes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/toolbar/actionTypes.js b/src/toolbar/actionTypes.js index 14f1c73..80d8aaf 100644 --- a/src/toolbar/actionTypes.js +++ b/src/toolbar/actionTypes.js @@ -1 +1,2 @@ +/** Dispatched when a toolbar button is clicked. Payload: { id: string } */ export const CLICK_BUTTON = 'toolbar/CLICK_BUTTON'; From 445573c17bff2b027ad8612850eb113bfb5e2fd2 Mon Sep 17 00:00:00 2001 From: yanas Date: Wed, 11 Mar 2026 22:11:52 -0500 Subject: [PATCH 2/2] docs: mention handler in CLICK_BUTTON comment Co-Authored-By: Claude Sonnet 4.6 --- src/toolbar/actionTypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/toolbar/actionTypes.js b/src/toolbar/actionTypes.js index 80d8aaf..fc7c20f 100644 --- a/src/toolbar/actionTypes.js +++ b/src/toolbar/actionTypes.js @@ -1,2 +1,2 @@ -/** Dispatched when a toolbar button is clicked. Payload: { id: string } */ +/** Dispatched when a toolbar button is clicked. Payload: { id: string } Action handled by toolbarButtonReducer. */ export const CLICK_BUTTON = 'toolbar/CLICK_BUTTON';