Skip to content

docs: add regex help for action conditions#5036

Open
sanmaxdev wants to merge 1 commit into
RSSNext:devfrom
sanmaxdev:fix/action-regex-help
Open

docs: add regex help for action conditions#5036
sanmaxdev wants to merge 1 commit into
RSSNext:devfrom
sanmaxdev:fix/action-regex-help

Conversation

@sanmaxdev

Copy link
Copy Markdown

Summary

  • Add inline help when an action condition uses the regex operator
  • Include a concrete regex example for notification/action rules
  • Add the new help text to existing settings locale files

Closes #5000

Test Plan

  • git diff --check
  • pnpm exec eslint apps/desktop/layer/renderer/src/modules/action/when-section.tsx locales/settings/en.json locales/settings/fr-FR.json locales/settings/ja.json locales/settings/zh-CN.json locales/settings/zh-TW.json
  • pnpm exec prettier --check apps/desktop/layer/renderer/src/modules/action/when-section.tsx locales/settings/en.json locales/settings/fr-FR.json locales/settings/ja.json locales/settings/zh-CN.json locales/settings/zh-TW.json
  • pnpm --dir apps/desktop/layer/renderer run typecheck
  • pnpm --dir apps/desktop/layer/renderer run test -- --run

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.

[docs] Could you provide some documentation on writing regular expressions for automated notifications?

1 participant