Skip to content

Projects list: show organization name per project #290

Description

@yustme

Feature request

The Projects page lists all registered projects with columns: ALIAS, PROJECT, ID, STACK, STATUS, TOKEN. There is no indication of which organization each project belongs to.

When multiple organizations are registered (e.g. a consulting setup with several customer orgs, or a company with separate prod/dev orgs), there is no way to tell them apart in the UI — all projects look the same regardless of which org they come from.

Current state

ProjectConfig (models.py) stores stack_url, token, project_name, project_id, but no org info. The Manage API client already has get_project() which returns a response that includes an organization field ('id', 'name'), but this is never persisted into the config.

Proposed fix

  1. Persist org name at project registration time — when kbagent project add or kbagent org setup registers a project, fetch and store org_id + org_name into ProjectConfig.
  2. Show ORG column in the Projects table — add an ORGANIZATION column between ALIAS and PROJECT (or after PROJECT). For projects registered without a Manage API token (org info unavailable), show .
  3. Group by org (optional enhancement) — if multiple orgs are present, group the project rows under collapsible org headers for easier scanning.

UX sketch

ALIAS              ORG              PROJECT          ID     STACK    STATUS
case-study-1       Acme Corp        Case Study 1     2570   gcp/eu   387ms
case-study-2       Acme Corp        Case Study 2     2571   gcp/eu   389ms
b2b                Keboola Demo     b2b              8276   gcp/eu   189ms
__l10-common-data  Keboola Demo     L10 – Common     659    gcp/eu    34ms

This makes it immediately obvious when you're looking at projects from different organizations, which is critical for anyone managing multiple customers or environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions