mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
feat(dispatch)!: scope stop and fallback to each group
A match in one group must not suppress delivery in another group. Track regular matches and stopped scopes independently, and document the routing-table boundary. BREAKING CHANGE: stop and fallback no longer apply globally across groups. Put mutually exclusive routes in the same group and define fallback routes in each group that needs its own catch-all.
This commit is contained in:
1 parent
a8418c06d9
commit
a2ad4f699e
10 files changed
+78
-26
No files matched your search
@@ -219,9 +219,11 @@ const en: Dict = {
|
||||
"routeEditor.idHint": "Unique, use a-z / 0-9 / dashes",
|
||||
"routeEditor.enabled": "Route enabled",
|
||||
"routeEditor.fallback": "Fallback route",
|
||||
"routeEditor.fallbackHint": "Only fires when no other route matched; filters still apply",
|
||||
"routeEditor.fallbackHint":
|
||||
"Only fires when no other route in this group matched; its filters still apply",
|
||||
"routeEditor.stop": "Stop on match",
|
||||
"routeEditor.stopHint": "When matched, no further routes are evaluated for this event",
|
||||
"routeEditor.stopHint":
|
||||
"When matched, later routes in this group are not evaluated for this event",
|
||||
"routeEditor.filters": "Filters",
|
||||
"routeEditor.filtersNote": "(all must match · AND)",
|
||||
"routeEditor.matchPlaceholder": "match value (* ? wildcards, /regex/)",
|
||||
@@ -653,9 +655,9 @@ const zh: Dict = {
|
||||
"routeEditor.idHint": "唯一,使用 a-z / 0-9 / 短横线",
|
||||
"routeEditor.enabled": "启用路由",
|
||||
"routeEditor.fallback": "兜底路由",
|
||||
"routeEditor.fallbackHint": "仅当没有其它路由匹配该事件时才发送,其过滤器仍会生效",
|
||||
"routeEditor.fallbackHint": "仅当本分组没有其它路由匹配该事件时才发送,其过滤器仍会生效",
|
||||
"routeEditor.stop": "匹配后停止",
|
||||
"routeEditor.stopHint": "该路由匹配后,不再评估后续路由",
|
||||
"routeEditor.stopHint": "该路由匹配后,不再评估本分组的后续路由",
|
||||
"routeEditor.filters": "过滤器",
|
||||
"routeEditor.filtersNote": "(全部匹配 · AND)",
|
||||
"routeEditor.matchPlaceholder": "匹配值(支持 * ? 通配符、/正则/)",
|
||||
|
||||
Reference in new issue
Block a user