From 6d83d9b7d86d5566b0a826753a97fbf1e3991f65 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 26 May 2026 10:45:06 -0400 Subject: [PATCH 1/3] changed default parameter for button_label to Click here! --- packages/plugin-button-click-counter/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-button-click-counter/src/index.ts b/packages/plugin-button-click-counter/src/index.ts index 0359a23..c11d0f5 100644 --- a/packages/plugin-button-click-counter/src/index.ts +++ b/packages/plugin-button-click-counter/src/index.ts @@ -9,7 +9,7 @@ const info = { /** The label to display on the button. */ button_label: { type: ParameterType.STRING, - default: "Click me!", + default: "Click here!", }, /** The key that the participant must press to end the trial. If null, any key press will end the trial. */ key_to_advance: { From eb55d0a934cc2d5540b6e0b8ccccac823ffbfcd6 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 26 May 2026 10:53:46 -0400 Subject: [PATCH 2/3] add changeset --- .changeset/giant-crabs-buy.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/giant-crabs-buy.md diff --git a/.changeset/giant-crabs-buy.md b/.changeset/giant-crabs-buy.md new file mode 100644 index 0000000..1772b05 --- /dev/null +++ b/.changeset/giant-crabs-buy.md @@ -0,0 +1,5 @@ +--- +"@jspsych/plugin-button-click-counter": major +--- + +Changed the default label for `button_label` to "Click here!" from "Click me!" From a69ebb3f158922abf1a055b09a40acc7a6506669 Mon Sep 17 00:00:00 2001 From: Josh de Leeuw Date: Tue, 26 May 2026 11:53:46 -0400 Subject: [PATCH 3/3] Fix test to match updated default button_label Co-Authored-By: Claude Opus 4.7 (1M context) --- packages/plugin-button-click-counter/src/index.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugin-button-click-counter/src/index.spec.ts b/packages/plugin-button-click-counter/src/index.spec.ts index b98ad7b..235af89 100644 --- a/packages/plugin-button-click-counter/src/index.spec.ts +++ b/packages/plugin-button-click-counter/src/index.spec.ts @@ -12,7 +12,7 @@ describe("button-click-counter", () => { }, ]); - expect(getHTML()).toContain("Click me!"); + expect(getHTML()).toContain("Click here!"); expect(getHTML()).toContain("