Skip to content

Update decisions.md - #765

Open
jjjssswww wants to merge 1 commit into
mainfrom
jjjssswww-patch-1
Open

Update decisions.md#765
jjjssswww wants to merge 1 commit into
mainfrom
jjjssswww-patch-1

Conversation

@jjjssswww

Copy link
Copy Markdown
Contributor

docs(design): add Aug 5 decisions (tenant naming, login CSS) + open questions

Summary

Records the decisions from the Aug 5 projects/tenants sync in docs/design/decisions.md:

  • D16: adopt "tenant" for the organization concept; keep "team" for the account side
  • D17: term/data model — project = instance, tenant = organization, team = account
  • D18: drop "owning team" from project detail; claiming a project ≠ new tenant
  • D19: tenant list & detail (renamed from teams), incl. tenant ID + generated icon
  • D20: schema nested attributes always show the full schema
  • D21: login UI stays pure CSS on our own tokens, not shadcn

Also refreshes the open-questions list and replaces people names with roles. Docs only — no code or shipped behavior changes.

Validation

Docs-only change; no build or tests to run. Checked the rendered Markdown in Preview.

Release notes / changeset

No changeset required — no shipped behavior changed (documentation only).

Notes

Terminology (tenant vs. team) is intentionally called out for review; a glossary + data-model diagram is tracked as an open question.

docs(design): add Aug 5 decisions (tenant naming, login CSS) + open questions
Copilot AI review requested due to automatic review settings August 5, 2026 15:40
@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nextgen Ready Ready Preview Aug 5, 2026 3:40pm
nextgen-docs Ready Ready Preview Aug 5, 2026 3:40pm
nextgen-mock-zitadel Ready Ready Preview Aug 5, 2026 3:40pm

Request Review

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

⚠️ No Changeset found

Latest commit: c3263eb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the design decision log to capture outcomes from the Aug 5 projects/tenants sync, clarifying terminology (tenant/team/project), UI behavior for tenants/projects/schemas, and the login UI styling approach.

Changes:

  • Adds new decisions D16–D21 (tenant naming + data model mapping, tenant UI, schema nested-attribute behavior, login UI CSS approach).
  • Refreshes and reorders the “Open questions” list, replacing individual names with role ownership.
  • Reaffirms/extends prior decisions where applicable (e.g., projects MVP details).
Suppressed comments (2)

docs/design/decisions.md:6

  • The phrase “the real thing in the mechanic” is unclear/incorrect wording; “mechanism” (or similar) reads correctly here.
- [ ] **Glossary + data model** — the team wants a vocabulary table (term → the real thing in the mechanic) plus an ER / data-model diagram, ideally generated from the DB once it's settled. Needed to keep the tenant/team/project terminology unambiguous. *(owner: eng / design)*

docs/design/decisions.md:25

  • Same wording issue as above: “term → real mechanic” reads like the wrong word choice; “mechanism” is clearer.
Same backend JSON model as today — only the words change. Hierarchy: a project (the instance, e.g. "River") contains one or more tenants (organizations, e.g. "Acme"); the account "team" (the Zitadel cloud account, shown bottom-left, holding account users / billing) sits above. "Multi-tenancy" = a project is multi-tenant-capable; tenants live within a project. → The team wants a glossary (term → real mechanic) and an ER / data-model diagram generated from the DB once it's settled (see open questions).

Comment thread docs/design/decisions.md

- [ ] **Project & multi-project access** — parked on the permissions foundations (Livio, Sylvana); not needed for MVP. Once ready, the project selector removed in D6 comes back in the role-assignment UI. *(owner: eng)*
- [ ] **Login vs. console visual alignment** — whether to fully restyle the login flow to match the console (CTA height, labels, button styles differ today) or keep it slightly different for MVP. Parked; revisit once light/dark tokens land. *(owner: design / eng)*
- [ ] **Applications** — no owner identified and no backend mention yet. Design to ask around for who owns applications. *(owner: design)*
Comment thread docs/design/decisions.md
## Decisions

### D21 · Login UI: pure CSS on own tokens, not shadcn/ui — 2026-08-05 · [standing]
The login app has to run inside many different frameworks and is built as web/lit components, so it can't use the shadcn/ui React library or Tailwind. Rebuild it with pure CSS that maps the design tokens to our own CSS classes (the original "legacy" / `zl-`-prefixed token approach), not shadcn or Tailwind classes. Reuse the same token styles for visual consistency, but add a prominent note in Figma and in code: *"don't use shadcn — the CSS is done manually."* There is no light theme in these variables today. → Design provides light + dark mode values and applies them to the correct color tokens; whether to fully align the login look with the console is a separate open question.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Inbox

Development

Successfully merging this pull request may close these issues.

2 participants