Skip to content

PM-6555: Update app drawer menu with new Talent and Staff tools - #419

Merged
jmgasper merged 1 commit into
devfrom
PM-6555
Oct 9, 2026
Merged

jmgasper merged 1 commit into
devfrom
PM-6555

Conversation

@jmgasper

@jmgasper jmgasper commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Jira: PM-6555

What was broken

The app drawer (tool selector) was outdated:

  • Members still saw removed items: Community Home, Practice, and a Customer section. That section's "Meet our Talent" link (talent-search.<domain>) now redirects to www.
  • Staff only had Work Manager and Connect. Both now redirect to the Work app, and the new staff tools were missing.
  • The styling and icons did not match the new design.

Root cause

The drawer config (tool-selector-nav-items.ts) and its ToolMenu component had not been updated for the new Figma design. The old layout also couldn't produce the design's two-column grouping, because it depended on a max-height flex wrap.

What was changed

Talent

  • Left column: Earn (Opportunities, Engagement Portal, Copilot Portal, Review App, Wallet) and Compete (Marathon Matches, Marathon Match Tournament).
  • Right column: AI (AI Hub), Learn (Topcoder Academy, Articles, Archive) and Connect (Public Forums, Discord).
  • Community Home, Practice and the Customer section were removed.

Staff

  • Left column: Delivery & Payments (Work App, Wallet Admin), Sales & Customers (Customer Portal, Salesforce, Sales Pipeline, Procurement) and Insights (Analytics, Reports).
  • Right column: Community & Content (Support, Payload CMS, Mass Email, Campus) and Team & Platform (Leave Tracker, System Admin).

Links (new hosts in hosts.ts, using the platform-ui <subdomain>.${TC_DOMAIN} pattern)

Tool URL
Work App work.<domain>
Wallet Admin wallet-admin.<domain>
Customer Portal customer.<domain>
Sales Pipeline sales.<domain>
Procurement procurement.<domain>
Analytics analytics.<domain>
Reports reports.<domain>
Support support.<domain>
Mass Email contact.<domain> (platform-ui Contact app)
Campus campus.<domain>
Leave Tracker calendar.<domain>
System Admin system-admin.<domain>
Public Forums forums.<domain>
Archive archive.<domain>
Payload CMS cms.<domain>/admin
Salesforce https://topcoder.my.salesforce.com

UI

  • Descriptions use the design copy. They show only for the hovered (or keyboard-focused) tool, one at a time.
  • Sections now list explicit columns (section → columns → groups → items). ToolMenu renders them as flex columns that stack on mobile.
  • The drawer is restyled to the design: 560px card, Nunito Sans, TALENT/STAFF and group titles, 32px tinted icon tiles and 8px item spacing.
  • The drawer icons are new tinted tiles using Material Symbols Rounded (Apache-2.0) and Tabler (MIT) glyphs, colored by group. sprite.svg was rebuilt, icons for removed items were deleted, and the format is documented in public/assets/tools/README.md.
  • ToolSelector hides the drawer trigger when no section matches the user's roles (for example, customer-only users) instead of opening an empty popup.

Deployment notes

  • forums.topcoder.com currently redirects to www, and contact.topcoder.com does not resolve yet. Both work on dev. The prod hosts for the public forums and Contact (Mass Email) apps need to be live before this ships to prod.
  • Each staff app still enforces its own roles. The drawer keeps the existing section-level guard, so the Staff section is shown to Topcoder Staff.

Any added/updated tests

  • Added tests/tool-selector-nav-items.test.mjs. It loads the real drawer modules through Vite's SSR loader, with prod env and a stubbed tcjwt cookie. It checks that:
    • staff see the designed Talent and Staff layout
    • members only see Talent
    • customer-only users get no items
    • every tool has a description, an icon present in sprite.svg and its expected production URL
  • The new tests fail on dev and pass on this branch.
  • npm run lint (svelte-check, 0 errors and 0 warnings), npm test (6/6) and npm run build pass.
  • Checked visually in headless Chrome at 2x against the attached designs: staff, member-only, the hover description and mobile.

🤖 Generated with Claude Code

What was broken
The app drawer (tool selector) was outdated. Members still saw removed items
(Community Home, Practice, a Customer section whose "Meet our Talent" host now
redirects to www), and staff only had Work Manager and Connect, which both
redirect to the Work app, instead of the new staff tools. Styling and icons did
not match the new design.

Root cause
The drawer config (tool-selector-nav-items.ts) and its ToolMenu component had
not been updated for the new Figma design. The old layout also could not
express the design's two-column grouping: it relied on a max-height wrap.

What was changed
- Talent: Earn (Opportunities, Engagement Portal, Copilot Portal, Review App,
  Wallet) and Compete in the left column; AI, Learn (Topcoder Academy,
  Articles, Archive) and Connect (Public Forums, Discord) in the right column.
  Community Home, Practice and the Customer section were removed.
- Staff: Delivery & Payments (Work App, Wallet Admin), Sales & Customers
  (Customer Portal, Salesforce, Sales Pipeline, Procurement) and Insights
  (Analytics, Reports) in the left column; Community & Content (Support,
  Payload CMS, Mass Email, Campus) and Team & Platform (Leave Tracker, System
  Admin) in the right column.
- New hosts in hosts.ts follow the <subdomain>.${TC_DOMAIN} pattern of the
  platform-ui apps. Payload CMS is cms.<domain>/admin, Archive is
  archive.<domain> and Salesforce is topcoder.my.salesforce.com.
- Updated descriptions to the design copy. Descriptions are hidden until a tool
  is hovered or keyboard focused, one at a time.
- Sections now list explicit columns (section -> columns -> groups -> items),
  and ToolMenu renders them as flex columns that stack on mobile.
- Restyled the drawer to the design: 560px card, Nunito Sans, TALENT/STAFF and
  group titles, 32px tinted icon tiles and 8px item spacing.
- Replaced the drawer icons with tinted tiles using Material Symbols Rounded
  (Apache-2.0) and Tabler (MIT) glyphs, colored by group. Rebuilt sprite.svg,
  removed the icons of deleted items and documented the format in
  public/assets/tools/README.md.
- ToolSelector hides the drawer trigger when no section matches the user's
  roles (eg. customer-only users), instead of opening an empty popup.

Any added/updated tests
- Added tests/tool-selector-nav-items.test.mjs. It loads the real drawer
  modules through Vite's SSR loader with prod env and a stubbed tcjwt cookie.
  It checks that staff see the designed Talent and Staff layout, that members
  only see Talent, and that customer-only users get no items. It also checks
  that every tool has a description, an icon present in sprite.svg and its
  expected production URL.
- npm run lint (svelte-check), npm test and npm run build pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jmgasper
jmgasper merged commit 253a7dd into dev Oct 9, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant