Open
Description
Expected behaviour
Loading a decent diagram requires zooming/scrolling, which is definitely broken at least in my fresh install of VSCode and this extension.
Expected to use zoom with scrolling mouse/touchpad and to use scroll with dragging diagram using left mouse/tohchpad button.
sequenceDiagram
participant User
participant App as Mobile App
participant Browser
participant Backend as Mobile Backend
participant Landing as Landing Web-server
participant API as Service API
participant SSO
User->>+Browser: Open URL to Landing
Browser->>+Landing: Get Landing
Landing-->>-Browser: Load Landing SPA JS
Browser->>Browser: Run Landing JS and get token from URL fragment
Browser->>+SSO: Get certs
SSO-->>-Browser: Certs
Browser->>Browser: Validate JWT and get MSISDN/subscriberId
note over Browser: To not overcomplicate the diagram <br/>assuming JWT is valid and MSISDN <br/>or subscriberId is found
Browser->>+SSO: Request own JWT with scope of invitation API and grant_type=token with intermediary JWT
alt successful case
SSO-->>Browser: Issue new token for invitation API
Browser->>SSO: Invalidate Intermediary JWT
SSO->>SSO: Invalidates JWT
SSO-->>-Browser: JWT Invalidated
Browser->>+API: Get invitations w/Authorization: Bearer <JWT>
API->>API: Validate JWT
alt successful case
API-->>-Browser: Reply as in specification
Browser-->>-User: Show loaded page w/invitations
else not valid JWT
activate API
API-->>-Browser: Unauthenticated
note over Browser: tries Token refresh
end
else any checks on SSO side fail (IP changed/token invalid/so on)
activate SSO
activate Browser
SSO-->>-Browser: Access denied
Browser-->>-User: SPA shows a message asking user to log in to MLK
end
Actual behaviour
Zoom works while scrolling up/down while mouse pointer placed on a diagram, scroll works while mouse pointer placed not on a diagram. Dragging the diagram is actually impossible due to diagram begins shaking and moving out of view.