Skip to content

feat(frontend): Company OS Teams screen, read-only until the company routes land (#18245) - #20558

Merged
mrveiss merged 6 commits into
mainfrom
issue-18245-company-teams
Nov 4, 2026
Merged

mrveiss merged 6 commits into
mainfrom
issue-18245-company-teams

Conversation

@mrveiss

@mrveiss mrveiss commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Thinking Path

The spec maps a Teams screen in Company OS and none exists. A maintainer decision says company owners and admins manage teams, but those routes (#14106) are not on main, so this PR lands the read half. The writes follow with those routes.

What Changed

  • New views/llc/TeamsView.vue, composables/llc/useCompanyTeams.ts, route llc-teams and a sidebar link. Reads teams and members.
  • A failed read shows an error, never "no teams"; 403 or 404 shows not available; a failed member read shows "Unknown member", not invented names. Users sharing a display name are told apart by company role.
  • Kit components only, no <style> block or new class names. en.json keys, baselines raised naming them.

Not built, because the backend has no data: team lead, team projects, manager assignment, person detail. Teams hold account users only.

Verification

  • TeamsView.states.test.ts: 10 passed with reka-ui stubbed, including that no write control renders. i18n and fragmentation ratchets: 66 passed.
  • Not done: a browser, vue-tsc, a real backend.

Model Used

Claude Sonnet for the implementation, Claude Opus for coordination.

Single-issue rationale

Refs #18245, the Company OS step, which holds many other screens.

@mrveiss mrveiss added this to the M3 - Refined GUI complete milestone Nov 1, 2026
@mrveiss mrveiss added the phase:M3.7 Company OS, Automation and BI screens label Nov 1, 2026
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
Commits

Reviewing files that changed from the base of the PR and between 09e1c80 and ad3c9fe.

Files selected for processing: 9
  • autobot-frontend/src/components/llc/LlcSidebar.vue
  • autobot-frontend/src/composables/llc/useCompanyTeams.ts
  • autobot-frontend/src/i18n/locales/en.json
  • autobot-frontend/src/router/llcRoutes.ts
  • autobot-frontend/src/views/llc/TeamsView.vue
  • autobot-frontend/src/views/llc/__tests__/TeamsView.states.test.ts
  • repo_tests/i18n_untranslated_ratchet_test.py
  • repo_tests/undefined_css_var_ratchet_17552_test.py
  • repo_tests/vnc_password_not_in_frontend_source_16299_test.py
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

✅ SSOT Configuration Compliance: Passing

🎉 No new hardcoded values of either class — ssot and other both block.

Known backlog in pipeline-scripts/hardcoded_values_baseline.txt is suppressed and tracked in #14371.

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Notice: 29 open PRs — past the runaway threshold (25)

This is not a request to defer this PR. There is no cap on open PRs (#19397) -- nothing blocks opening or pushing a PR.

This notice only means the count is high enough to be worth a glance for a runaway — something opening PRs in a loop, or a merge pipeline that has stalled so nothing is draining.

Currently open:

If the queue is draining normally, ignore this. Otherwise:

  1. Check whether CI is dispatching at all — see the ci-dispatch-watchdog status on these PRs
  2. Approved PRs land through the merge train the coordinator sequences (merge commits, never squash) -- check the open chore(merge-train) PR is moving, not each PR on its own
  3. Look for a loop opening near-identical PRs

Warn-only runaway detector — .github/workflows/pr-queue-gate.yml. It never blocks a merge.

@mrveiss

mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

Code review on PR #20558 (head 4ca5ac6): changes needed.

Read only; not rendered.

  • High, TeamsView.vue:8,49-54,66,78: the writes go to /api/user-management/teams*, which are platform-admin only, and the controls aren't gated. A company admin, the role the maintainer decision names, sees Create, Delete, Add and Remove, then gets a 403 each time. It also ties the screen to routes the decision replaces. Land the read half now and add writes with the company-scoped routes, or hide them unless the user can write.
  • Medium, LlcSidebar.vue: the link shows to everyone, so a read-only member sees all four controls.
    Read failures, 403 and 404 states and the company-switch guard are handled and tested.

@mrveiss mrveiss changed the title feat(frontend): Company OS Teams screen with team and member management (#18245) feat(frontend): Company OS Teams screen, read-only until the company routes land (#18245) Nov 1, 2026
@mrveiss

mrveiss commented Nov 1, 2026

Copy link
Copy Markdown
Owner Author

Code review on PR #20558 (head 1564eba): approve.

Read only; not rendered. The screen is read-only with no dead strings, and states are tested. Nit: router/llcRoutes.ts:80 says the server limits writes to platform administrators, which won't hold after #20565; reword it.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Auto-sync: merging main into issue-18245-company-teams conflicts

The sync aborted the merge and pushed nothing. Conflicts are information, so it never resolves one itself. Below, for each conflicted file, are the commits that touched it on each side since the merge base 09e1c808fa. Merge main in yourself and push; the label clears on the first run that finds this branch 0 behind.

repo_tests/undefined_css_var_ratchet_17552_test.py

side commit subject issue refs
main d80ec1c8b fix(train): reach floors return to mid-window on the merged tree (#20251) #20251
this branch 088811b8e fix(frontend): re-pin the reach floors this branch moved (#18245) #18245

repo_tests/vnc_password_not_in_frontend_source_16299_test.py

side commit subject issue refs
main d80ec1c8b fix(train): reach floors return to mid-window on the merged tree (#20251) #20251
this branch 088811b8e fix(frontend): re-pin the reach floors this branch moved (#18245) #18245

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

phase:M3.7 Company OS, Automation and BI screens sync-conflict Set by the branch sync (#19548)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant