Skip to content

feat: Add Message tab and bulk message sending to Commander plugin#39

Open
linonetwo wants to merge 1 commit intokookma:masterfrom
linonetwo:feat/batch-message
Open

feat: Add Message tab and bulk message sending to Commander plugin#39
linonetwo wants to merge 1 commit intokookma:masterfrom
linonetwo:feat/batch-message

Conversation

@linonetwo
Copy link
Contributor

Not sure why you need to copy paste things to test-wiki

截屏2026-02-22 23 55 13

closes #38

Copilot AI review requested due to automatic review settings February 22, 2026 16:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new "Message" tab to the Commander plugin that enables bulk message sending to selected tiddlers. The feature addresses issue #38 by providing a UI for users to send custom TiddlyWiki messages to multiple tiddlers at once, with support for optional custom named parameters using TiddlyWiki's ActionSendMessageWidget $names/$values attributes.

Changes:

  • Added new "Message" tab with UI for sending bulk messages to selected tiddlers
  • Implemented support for custom named parameters via $names and $values filter expressions
  • Added operation logging consistent with other Commander operations

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
source/commander/message/ui.tid Main UI tab that integrates Message functionality into Commander plugin
source/commander/message/uicomp/send-message.tid UI component with form inputs for message name and optional custom parameters
source/commander/message/macros/send.tid Macro that implements bulk message sending logic with logging
test-wiki/plugins/commander/message/ui.tid Test wiki copy of main UI tab
test-wiki/plugins/commander/message/uicomp/send-message.tid Test wiki copy of UI component
test-wiki/plugins/commander/message/macros/send.tid Test wiki copy of macro implementation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

tag="input"
default=""
class="cmd-txt-area2"
placeholder=" e.g. navigateTo targetTiddler"/>
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The placeholder "e.g. navigateTo targetTiddler" does not match the expected filter expression format described in the help text below. For better user experience, the placeholder should demonstrate valid filter syntax such as "[[navigateTo]] [[targetTiddler]]" or just "[[navigateTo]]" to align with the instruction that says "Filter expression for names; e.g. [[navigateTo]]".

Suggested change
placeholder=" e.g. navigateTo targetTiddler"/>
placeholder=" e.g. [[navigateTo]] [[targetTiddler]]"/>

Copilot uses AI. Check for mistakes.
tag="input"
default=""
class="cmd-txt-area2"
placeholder=" e.g. MyNote <<currentTiddler>>"/>
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The placeholder "e.g. MyNote <>" does not demonstrate valid filter expression syntax. The help text below correctly indicates to use [<currentTiddler>], but the placeholder shows macro syntax instead. For consistency and to prevent user confusion, the placeholder should use valid filter syntax, such as "[]" or "[[MyNote]] []".

Suggested change
placeholder=" e.g. MyNote <<currentTiddler>>"/>
placeholder=" e.g. [[MyNote]] [<currentTiddler>]"/>

Copilot uses AI. Check for mistakes.
tag="input"
default=""
class="cmd-txt-area2"
placeholder=" e.g. navigateTo targetTiddler"/>
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The placeholder "e.g. navigateTo targetTiddler" does not match the expected filter expression format described in the help text below. For better user experience, the placeholder should demonstrate valid filter syntax such as "[[navigateTo]] [[targetTiddler]]" or just "[[navigateTo]]" to align with the instruction that says "Filter expression for names; e.g. [[navigateTo]]".

Suggested change
placeholder=" e.g. navigateTo targetTiddler"/>
placeholder=" e.g. [[navigateTo]] [[targetTiddler]]"/>

Copilot uses AI. Check for mistakes.
tag="input"
default=""
class="cmd-txt-area2"
placeholder=" e.g. MyNote <<currentTiddler>>"/>
Copy link

Copilot AI Feb 22, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The placeholder "e.g. MyNote <>" does not demonstrate valid filter expression syntax. The help text below correctly indicates to use [<currentTiddler>], but the placeholder shows macro syntax instead. For consistency and to prevent user confusion, the placeholder should use valid filter syntax, such as "[]" or "[[MyNote]] []".

Suggested change
placeholder=" e.g. MyNote <<currentTiddler>>"/>
placeholder=" e.g. [[MyNote]] [<currentTiddler>]"/>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch message

2 participants