Skip to content

[Story]: Filter Knowledge Base artifacts by GitHub org-level metadata #293

Description

@adoLime

User Story

As a PM or Admin, I want to filter the Knowledge Base artifact list for GitHub organization-level metadata (org profile, teams, and members), so that I can inspect an organization's structure and people separately from repository content like commits, issues, and pull requests.

Context & Motivation

The backend already delivers ORG_METADATA artifacts, but the frontend's ArtifactType union and the Knowledge Base tab bar (ALL | UPLOADS | PR | ISSUES | FILES | COMMITS) don't know the type. Org artifacts therefore render under "All" without a dedicated icon, label, or way to isolate them.

In Scope

  • New "Organization" filter tab in the Knowledge Base artifact filter bar
  • Extend the frontend ArtifactType union with ORG_METADATA (type mapping, icon, display name)
  • Org-aware rendering in the artifact viewer drawer (org profile: description, location, blog, repo counts; teams and members from artifact metadata)

Acceptance Criteria

  • A filter tab "Organization" appears alongside the existing tabs and shows only GitHub ORG_METADATA artifacts when active.
  • Org artifacts have a dedicated icon and display the organization name (not a generic/unknown label) in the artifact list.
  • The artifact viewer drawer renders the org profile (description, location, blog, public/private repo counts) and lists teams and members from the artifact metadata.
  • The filter combines correctly with the text search and pagination (same behavior as the existing tabs).
  • Empty state when no org metadata has been ingested for the selected project.
  • i18n (en/de), light/dark themes, keyboard-accessible tab bar (existing ArtifactFilters behavior).
  • Unit tests for the filter logic (useKnowledgeBase) and the ORG_METADATA type mapping.

Technical Notes

Sub-Tasks (by team)

  • Frontend — extend ArtifactType + tabs + filter logic, org icon/label, viewer drawer rendering, i18n, unit tests.

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requeststoryteam:frontendFrontend team (sprintstart-frontend, React)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions