As a frontend engineer
I need to set router attributes (guards, special functions like onEach)
So that I can customize routing behavior
Details and Assumptions
- Allows configuring router attributes via a settings panel.
- API: NestJS updates router data via
/board/routers/:id.
- Database: Stores router data in the
routers table in Supabase.
- Assumptions: User can add/remove guards and functions.
Acceptance Criteria
Feature: Configure Router Attributes
Scenario: Configure router attributes
Given the user is logged in and on the Integration View
When the user double-clicks the router
Then a form opens to set (guards, special functions)
And the router display updates
Implementation Notes
- API endpoint:
PUT /board/routers/:id to update attributes.
- Database: Update
routers table.
- Additional notes: Use Angular forms for input, refresh display.
As a frontend engineer
I need to set router attributes (guards, special functions like onEach)
So that I can customize routing behavior
Details and Assumptions
/board/routers/:id.routerstable in Supabase.Acceptance Criteria
Implementation Notes
PUT /board/routers/:idto update attributes.routerstable.