[Flow builder] Allow renaming the Otherwise branch of the Router
Summary
In a Router step, every condition branch can be renamed from the settings panel, but the Otherwise (fallback) branch cannot: it is not listed there at all, so its label stays "Otherwise" on the canvas whatever it actually does.
Why it matters
The fallback often carries a real business meaning ("Unknown customer", "Needs manual review"). Being unable to name it makes the canvas harder to read, and it is the only branch with that limitation.
The new AI Router already allows it: its settings list the Otherwise route last, with Rename as its only action. The classic Router is now the odd one out.
Proposed change
Both routers already share the same BranchesList component, which gained a showFallbackBranch prop for the AI Router. It renders the fallback last, with no delete, duplicate or drag. The classic Router just doesn't pass it:
packages/web/src/app/builder/step-settings/ai-router-settings/index.tsxpassesshowFallbackBranch={true}packages/web/src/app/builder/step-settings/router-settings/index.tsxdoes not
Passing it there too should be the whole change.
Prior work
I proposed the same behaviour in #11711. It was closed under the pause on unsolicited PRs, not on its merits. Happy to open a one-line PR if this is welcome.
Source: activepieces/activepieces