Teams Portal
One portal where admins, resellers and customers manage every Altigen product.
Table render time cut from 21 seconds to 4 seconds.

- 2019-2020
- Frontend developer and tech lead
Background
Teams Portal is a multi-level administration dashboard with three roles. Service administrators manage most of the platform, resellers help their customers, and customers manage their own services. Higher-level users can act on behalf of a reseller or customer. It is one place to subscribe to and configure every product, including CoreAttendant and Direct Routing.
What I did
- Led the frontend of the portal as tech lead.
- Let users act on behalf of different accounts in separate browser tabs, without signing in again each time.
- Put an account id in the URL path so a tab can recover which account it was operating.
- Sped up long tables by rendering only the rows on screen.
What changed
- With real test data, a long table rendered in 4 seconds instead of 21.
- Users could switch between accounts without signing in again.
Problems along the way
Long tables that took too long to appear
The backend API had no pagination, so it sometimes returned very long lists. I used windowing so the table renders only the visible rows instead of the whole dataset.
Acting for another account without signing in again
Each account the user acted for got its own access token in local storage, while the user's own tokens stayed in an HTTP-only, same-site cookie. The server could then check both the user and the account being operated, and every tab could share the account tokens. Today I would keep short-lived tokens in memory and share them between tabs with a broadcast channel, which avoids storing tokens on disk.


