swarm-ui: give the new-flow draft a route no flow id can take, and drop the dead hit-count rule
/notifications/new could be a saved flow's own page, so the draft now opens at /notifications/draft/new, which has a segment more than any flow's route. The placeholder id no longer needs reserving. The .notify-node-hits rule styled the removed tree rows; nothing renders it.
This commit is contained in:
parent
d0a55502a8
commit
6e7b5f84e9
7 changed files with 21 additions and 28 deletions
|
|
@ -251,7 +251,7 @@ works. See [deliveries and dry runs](notify-router.md#deliveries-and-dry-runs).
|
|||
|
||||
#### Editing a flow
|
||||
|
||||
`/notifications/<flow id>` edits one custom flow, and `/notifications/new` makes
|
||||
`/notifications/<flow id>` edits one custom flow, and `/notifications/draft/new` makes
|
||||
one: it opens on an empty flow, or on a copy of a flow with `?from=<flow id>`, as
|
||||
**create flow** and **duplicate** do. A new flow takes its id from its name when
|
||||
you save it, and **save** needs a name. The canvas draws the flow left
|
||||
|
|
|
|||
Loading…
Reference in a new issue