Skip to content

Add WorkBench weekly SmartBlocks command - #535

Draft
mdroidian wants to merge 1 commit into
mainfrom
agent/workbench-week-command
Draft

Add WorkBench weekly SmartBlocks command#535
mdroidian wants to merge 1 commit into
mainfrom
agent/workbench-week-command

Conversation

@mdroidian

Copy link
Copy Markdown
Collaborator

Summary

  • register WORKBENCHWEEK when Weekly Notes and SmartBlocks are enabled
  • resolve its argument through SmartBlocks' existing DATE command so natural-language dates and DATEBASIS remain consistent
  • generate the link from WorkBench's configured weekly-note title format
  • unregister cleanly on feature unload and support either extension load order
  • document the command and add unit coverage for week boundaries, year transitions, resolution, and errors

Why

SmartBlocks' DATE command returns one daily-note date. Users need a reusable way to resolve that date to the containing WorkBench weekly-note page using the configured weekly title format.

Validation

  • npm test — 6 tests passed
  • npm run build:roam — build completed with 0 errors

@coderabbitai

coderabbitai Bot commented Aug 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: bd4a2d47-69cb-4b44-b6f9-49fda086c295

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

1 participant