@shepai/cli 1.166.0-pr505.69702c9 → 1.166.0-pr513.fdcdd56
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apis/json-schema/Feature.yaml +17 -5
- package/apis/json-schema/FeatureFlags.yaml +0 -5
- package/apis/json-schema/FeatureMode.yaml +8 -0
- package/apis/json-schema/SdlcLifecycle.yaml +1 -0
- package/apis/json-schema/WorkflowConfig.yaml +10 -5
- package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts +2 -2
- package/dist/packages/core/src/application/ports/output/agents/feature-agent-process.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts +4 -3
- package/dist/packages/core/src/application/ports/output/services/spec-initializer.interface.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/agents/approve-agent-run.use-case.js +2 -2
- package/dist/packages/core/src/application/use-cases/agents/reject-agent-run.use-case.js +2 -2
- package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/adopt-branch.use-case.js +3 -2
- package/dist/packages/core/src/application/use-cases/features/check-and-unblock-features.use-case.js +2 -2
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/create/create-feature.use-case.js +18 -7
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts +3 -2
- package/dist/packages/core/src/application/use-cases/features/create/types.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/delete-feature.use-case.js +13 -0
- package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts +40 -0
- package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.d.ts.map +1 -0
- package/dist/packages/core/src/application/use-cases/features/promote/promote-exploration.use-case.js +125 -0
- package/dist/packages/core/src/application/use-cases/features/resume-feature.use-case.js +2 -2
- package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.d.ts.map +1 -1
- package/dist/packages/core/src/application/use-cases/features/start-feature.use-case.js +5 -3
- package/dist/packages/core/src/domain/factories/settings-defaults.factory.js +2 -2
- package/dist/packages/core/src/domain/generated/output.d.ts +22 -8
- package/dist/packages/core/src/domain/generated/output.d.ts.map +1 -1
- package/dist/packages/core/src/domain/generated/output.js +7 -0
- package/dist/packages/core/src/domain/lifecycle-gates.d.ts +21 -6
- package/dist/packages/core/src/domain/lifecycle-gates.d.ts.map +1 -1
- package/dist/packages/core/src/domain/lifecycle-gates.js +25 -6
- package/dist/packages/core/src/infrastructure/di/container.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/di/container.js +5 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/legacy-migrations.js +0 -11
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts +3 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/feature.mapper.js +10 -4
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts +2 -2
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/mappers/settings.mapper.js +7 -4
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts +19 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/051-replace-fast-with-mode.js +46 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts +17 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/052-replace-default-fast-mode-with-default-mode.js +37 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts +12 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/053-add-exploration-max-iterations.js +17 -0
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.d.ts +3 -3
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations.js +3 -3
- package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/repositories/sqlite-feature.repository.js +5 -3
- package/dist/packages/core/src/infrastructure/repositories/sqlite-settings.repository.js +3 -3
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts +362 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/exploration-agent-graph.js +72 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts +20 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/fast-feature-agent-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts +68 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-graph.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts +2 -2
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-process.service.js +3 -3
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts +2 -2
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/feature-agent-worker.js +19 -8
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/lifecycle-context.js +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts +18 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/apply-feedback.node.js +52 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/node-helpers.js +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts +24 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/apply-feedback.prompt.js +38 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts +31 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prompts/prototype-generate.prompt.js +240 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts +21 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.d.ts.map +1 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/nodes/prototype-generate.node.js +134 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts +4 -0
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/agents/feature-agent/state.js +17 -0
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts +1 -1
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.d.ts.map +1 -1
- package/dist/packages/core/src/infrastructure/services/spec/spec-initializer.service.js +7 -4
- package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts +12 -0
- package/dist/src/presentation/cli/commands/feat/feedback.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/feedback.command.js +64 -0
- package/dist/src/presentation/cli/commands/feat/index.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/index.js +5 -1
- package/dist/src/presentation/cli/commands/feat/new.command.d.ts.map +1 -1
- package/dist/src/presentation/cli/commands/feat/new.command.js +18 -5
- package/dist/src/presentation/cli/commands/feat/promote.command.d.ts +13 -0
- package/dist/src/presentation/cli/commands/feat/promote.command.d.ts.map +1 -0
- package/dist/src/presentation/cli/commands/feat/promote.command.js +41 -0
- package/dist/src/presentation/web/app/actions/create-feature.d.ts +3 -2
- package/dist/src/presentation/web/app/actions/create-feature.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/create-feature.js +3 -3
- package/dist/src/presentation/web/app/actions/discard-exploration.d.ts +9 -0
- package/dist/src/presentation/web/app/actions/discard-exploration.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/discard-exploration.js +29 -0
- package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts +2 -1
- package/dist/src/presentation/web/app/actions/get-workflow-defaults.d.ts.map +1 -1
- package/dist/src/presentation/web/app/actions/get-workflow-defaults.js +2 -1
- package/dist/src/presentation/web/app/actions/promote-exploration.d.ts +11 -0
- package/dist/src/presentation/web/app/actions/promote-exploration.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/promote-exploration.js +21 -0
- package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts +12 -0
- package/dist/src/presentation/web/app/actions/submit-exploration-feedback.d.ts.map +1 -0
- package/dist/src/presentation/web/app/actions/submit-exploration-feedback.js +40 -0
- package/dist/src/presentation/web/app/api/agent-events/route.d.ts.map +1 -1
- package/dist/src/presentation/web/app/api/agent-events/route.js +1 -0
- package/dist/src/presentation/web/app/build-feature-node-data.d.ts.map +1 -1
- package/dist/src/presentation/web/app/build-feature-node-data.js +4 -2
- package/dist/src/presentation/web/app/build-graph-nodes.js +4 -2
- package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/drawer-view.js +3 -0
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/control-center-drawer/feature-drawer-client.js +65 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts +3 -2
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.js +15 -11
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/feature-create-drawer.stories.js +2 -1
- package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts +8 -0
- package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.js +33 -0
- package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts +10 -0
- package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-create-drawer/mode-selector.stories.js +33 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts +6 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/feature-drawer-tabs.js +16 -4
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts +11 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.js +34 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts +16 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.d.ts.map +1 -0
- package/dist/src/presentation/web/components/common/feature-drawer-tabs/prototype-tab.stories.js +70 -0
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/derive-feature-state.js +2 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts +6 -2
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node-state-config.js +12 -0
- package/dist/src/presentation/web/components/common/feature-node/feature-node.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/feature-node/feature-node.js +7 -2
- package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/common/repository-node/repository-drawer.stories.js +0 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.js +0 -3
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/feature-flags-settings-section.stories.js +0 -3
- package/dist/src/presentation/web/components/features/settings/settings-page-client.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.js +6 -11
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/features/settings/settings-page-client.stories.js +0 -1
- package/dist/src/presentation/web/components/features/settings/workflow-settings-section.stories.js +3 -3
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.js +2 -2
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.d.ts.map +1 -1
- package/dist/src/presentation/web/components/layouts/app-sidebar/app-sidebar.stories.js +0 -1
- package/dist/src/presentation/web/components/ui/toggle-group.d.ts +10 -0
- package/dist/src/presentation/web/components/ui/toggle-group.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/toggle-group.js +22 -0
- package/dist/src/presentation/web/components/ui/toggle.d.ts +10 -0
- package/dist/src/presentation/web/components/ui/toggle.d.ts.map +1 -0
- package/dist/src/presentation/web/components/ui/toggle.js +26 -0
- package/dist/src/presentation/web/hooks/feature-flags-context.d.ts.map +1 -1
- package/dist/src/presentation/web/hooks/feature-flags-context.js +0 -1
- package/dist/src/presentation/web/lib/feature-flags.d.ts +0 -2
- package/dist/src/presentation/web/lib/feature-flags.d.ts.map +1 -1
- package/dist/src/presentation/web/lib/feature-flags.js +0 -5
- package/dist/translations/ar/cli.json +24 -0
- package/dist/translations/ar/web.json +6 -4
- package/dist/translations/de/cli.json +24 -0
- package/dist/translations/de/web.json +6 -4
- package/dist/translations/en/cli.json +24 -0
- package/dist/translations/en/web.json +6 -4
- package/dist/translations/es/cli.json +24 -0
- package/dist/translations/es/web.json +6 -4
- package/dist/translations/fr/cli.json +24 -0
- package/dist/translations/fr/web.json +6 -4
- package/dist/translations/he/cli.json +24 -0
- package/dist/translations/he/web.json +6 -4
- package/dist/translations/pt/cli.json +24 -0
- package/dist/translations/pt/web.json +6 -4
- package/dist/translations/ru/cli.json +24 -0
- package/dist/translations/ru/web.json +6 -4
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/app-path-routes-manifest.json +0 -1
- package/web/.next/build-manifest.json +5 -5
- package/web/.next/fallback-build-manifest.json +2 -2
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/required-server-files.js +1 -1
- package/web/.next/required-server-files.json +1 -1
- package/web/.next/routes-manifest.json +0 -6
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page/server-reference-manifest.json +29 -29
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/adopt/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/chat/page/server-reference-manifest.json +27 -27
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/create/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page/server-reference-manifest.json +119 -74
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js +3 -2
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page/server-reference-manifest.json +119 -74
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js +3 -2
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/@drawer/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/chat/page/server-reference-manifest.json +27 -27
- package/web/.next/server/app/(dashboard)/chat/page.js +1 -1
- package/web/.next/server/app/(dashboard)/chat/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/chat/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/create/page/server-reference-manifest.json +30 -30
- package/web/.next/server/app/(dashboard)/create/page.js +1 -1
- package/web/.next/server/app/(dashboard)/create/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/create/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page/server-reference-manifest.json +119 -74
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js +3 -2
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page/server-reference-manifest.json +119 -74
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js +3 -2
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/feature/[featureId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/page/server-reference-manifest.json +27 -27
- package/web/.next/server/app/(dashboard)/page.js +1 -1
- package/web/.next/server/app/(dashboard)/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/[tab]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/build-manifest.json +3 -3
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page/server-reference-manifest.json +28 -28
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(dashboard)/repository/[repositoryId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error/page/build-manifest.json +3 -3
- package/web/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/web/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +2 -2
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/build-manifest.json +3 -3
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/api/attachments/preview/route.js.nft.json +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js +1 -1
- package/web/.next/server/app/api/attachments/upload-from-path/route.js.nft.json +1 -1
- package/web/.next/server/app/api/evidence/route.js.nft.json +1 -1
- package/web/.next/server/app/api/graph-data/route.js.nft.json +1 -1
- package/web/.next/server/app/api/interactive/chat/[featureId]/messages/route.js.nft.json +1 -1
- package/web/.next/server/app/settings/page/build-manifest.json +3 -3
- package/web/.next/server/app/settings/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/settings/page.js +1 -1
- package/web/.next/server/app/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/skills/page/build-manifest.json +3 -3
- package/web/.next/server/app/skills/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/skills/page.js +1 -1
- package/web/.next/server/app/skills/page.js.nft.json +1 -1
- package/web/.next/server/app/skills/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/tools/page/build-manifest.json +3 -3
- package/web/.next/server/app/tools/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/tools/page.js +1 -1
- package/web/.next/server/app/tools/page.js.nft.json +1 -1
- package/web/.next/server/app/tools/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/version/page/build-manifest.json +3 -3
- package/web/.next/server/app/version/page/server-reference-manifest.json +6 -6
- package/web/.next/server/app/version/page.js.nft.json +1 -1
- package/web/.next/server/app/version/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app-paths-manifest.json +0 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js +1 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_370c43b1.js.map +1 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js +1 -1
- package/web/.next/server/chunks/403f9_next_dist_esm_build_templates_app-route_4d623b8e.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__a402b567._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__c78383b1._.js.map +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js +1 -1
- package/web/.next/server/chunks/[root-of-the-server]__cd67a84c._.js.map +1 -1
- package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js → [root-of-the-server]__ea653642._.js} +2 -2
- package/web/.next/server/chunks/{[root-of-the-server]__a5879003._.js.map → [root-of-the-server]__ea653642._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_create-drawer-client_tsx_5e26fc0a._.js.map +1 -1
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js +3 -3
- package/web/.next/server/chunks/ssr/744ca_web_components_common_control-center-drawer_feature-drawer-client_tsx_e9755fc8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__b020c17d._.js → [root-of-the-server]__1abe77bb._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1abe77bb._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1f389e5d._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__851f6adb._.js → [root-of-the-server]__248ee887._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__248ee887._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__13fa44e4._.js → [root-of-the-server]__2d0c3840._.js} +2 -2
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__13fa44e4._.js.map → [root-of-the-server]__2d0c3840._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__357d99f9._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__4ed9b909._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__58a5b819._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__58a5b819._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__67a193c8._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__67a193c8._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__684a868c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__754fb18e._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__754fb18e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__7ffd3598._.js → [root-of-the-server]__7562afc6._.js} +3 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7562afc6._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__e88da4ee._.js → [root-of-the-server]__8b0aac03._.js} +3 -3
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__e88da4ee._.js.map → [root-of-the-server]__8b0aac03._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__96ba046b._.js +4 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__96ba046b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__0c5452c3._.js → [root-of-the-server]__b062b383._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b062b383._.js.map +1 -0
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b7b96453._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c1262d08._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__c16bf5de._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{[root-of-the-server]__69dd3217._.js → [root-of-the-server]__dffa13c5._.js} +2 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__dffa13c5._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_0020fddd._.js +1 -1
- package/web/.next/server/chunks/ssr/_0020fddd._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_02e01240._.js +1 -1
- package/web/.next/server/chunks/ssr/_02e01240._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_05c23ad9._.js +1 -1
- package/web/.next/server/chunks/ssr/_05c23ad9._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0727935d._.js +1 -1
- package/web/.next/server/chunks/ssr/_0727935d._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0dc06d07._.js +1 -1
- package/web/.next/server/chunks/ssr/_0dc06d07._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_12c98a3d._.js +3 -0
- package/web/.next/server/chunks/ssr/_12c98a3d._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_16eb4fec._.js +1 -1
- package/web/.next/server/chunks/ssr/_16eb4fec._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_18886033._.js +1 -1
- package/web/.next/server/chunks/ssr/_18886033._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_22e00a14._.js +1 -1
- package/web/.next/server/chunks/ssr/_22e00a14._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_3bcda5d7._.js +3 -0
- package/web/.next/server/chunks/ssr/{_f79e241b._.js.map → _3bcda5d7._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{_407e5985._.js → _40c4d64e._.js} +2 -2
- package/web/.next/server/chunks/ssr/_40c4d64e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_5119a3df._.js +1 -1
- package/web/.next/server/chunks/ssr/_5119a3df._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_3edd669d._.js → _52567223._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_3edd669d._.js.map → _52567223._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js +1 -1
- package/web/.next/server/chunks/ssr/_56b9d60f._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_5eb460b1._.js +3 -0
- package/web/.next/server/chunks/ssr/_5eb460b1._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_997b560b._.js +3 -0
- package/web/.next/server/chunks/ssr/_997b560b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_a5a5901d._.js +1 -1
- package/web/.next/server/chunks/ssr/_a5a5901d._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_acc5e43e._.js +9 -0
- package/web/.next/server/chunks/ssr/_acc5e43e._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_ad09f271._.js +1 -1
- package/web/.next/server/chunks/ssr/_ad09f271._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_b0efd563._.js +3 -0
- package/web/.next/server/chunks/ssr/_b0efd563._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_b5fc318a._.js +3 -0
- package/web/.next/server/chunks/ssr/_b5fc318a._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_c3f595c6._.js +1 -1
- package/web/.next/server/chunks/ssr/_c3f595c6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_ea9e1556._.js +1 -1
- package/web/.next/server/chunks/ssr/_ea9e1556._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_f1ba9be6._.js +2 -2
- package/web/.next/server/chunks/ssr/_f1ba9be6._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_f33cd07e._.js +2 -2
- package/web/.next/server/chunks/ssr/_f33cd07e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_f8b45233._.js +1 -1
- package/web/.next/server/chunks/ssr/_f8b45233._.js.map +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js +1 -1
- package/web/.next/server/chunks/ssr/b1a17_presentation_web_components_features_settings_settings-page-client_tsx_6ed9d5f8._.js.map +1 -1
- package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js +1 -1
- package/web/.next/server/chunks/ssr/f3a1f_components_common_control-center-drawer_repository-drawer-client_tsx_39a00c03._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js +3 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_approve-feature_ts_9453ce8b._.js.map +1 -0
- package/web/.next/server/chunks/ssr/src_presentation_web_app_actions_open-ide_ts_baaca5d5._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_ca99d62d._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_895e5bfa._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_features_control-center_7ac3562e._.js.map +1 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_db9fa0c2._.js +1 -1
- package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js +1 -1
- package/web/.next/server/chunks/ssr/translations_23dd5e7e._.js.map +1 -1
- package/web/.next/server/middleware-build-manifest.js +3 -3
- package/web/.next/server/pages/500.html +2 -2
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +303 -237
- package/web/.next/static/chunks/04636196914be502.js +1 -0
- package/web/.next/static/chunks/16eea21868510afd.js +5 -0
- package/web/.next/static/chunks/{12108d8133ec11d7.js → 19e7ce7a45b9aba5.js} +1 -1
- package/web/.next/static/chunks/{d5366257d6b9f855.js → 2a9af061f4fbe7f5.js} +1 -1
- package/web/.next/static/chunks/2ceebcc839ee0d4b.js +1 -0
- package/web/.next/static/chunks/{a83939881726a6dd.js → 333b1f2c897337c9.js} +2 -2
- package/web/.next/static/chunks/3deefc76ea55047c.js +1 -0
- package/web/.next/static/chunks/40b6bcf1a2de4a0f.js +1 -0
- package/web/.next/static/chunks/517f9f7b52421b78.js +1 -0
- package/web/.next/static/chunks/51f2de96879281ea.js +1 -0
- package/web/.next/static/chunks/672e3da3ad26005b.js +1 -0
- package/web/.next/static/chunks/{c8347760a2f8ac4d.js → 785d6f99b66ca637.js} +1 -1
- package/web/.next/static/chunks/{5535b63f0dee9d4d.js → 81a9fa188d0bef95.js} +1 -1
- package/web/.next/static/chunks/85c9f8d4601354cd.js +1 -0
- package/web/.next/static/chunks/884fceb3e6a67215.js +1 -0
- package/web/.next/static/chunks/{0ed5cc117fa6b1fb.js → 8aa61c1b439f38d6.js} +1 -1
- package/web/.next/static/chunks/904f10ee1f7ed44f.js +5 -0
- package/web/.next/static/chunks/985b80ac9fd25d02.css +1 -0
- package/web/.next/static/chunks/b2b1a749ec72f3a3.js +3 -0
- package/web/.next/static/chunks/b474396c44f62500.js +1 -0
- package/web/.next/static/chunks/{5c09d2251510fc0d.js → b810ab3e01ffa9cb.js} +1 -1
- package/web/.next/static/chunks/c7e793951b20a67f.js +1 -0
- package/web/.next/static/chunks/ed6f26a65c6e7da9.js +7 -0
- package/web/.next/static/chunks/{turbopack-62782e656a49f322.js → turbopack-432ef324fc27240c.js} +1 -1
- package/web/package.json +0 -2
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/050-add-feature-flag-inventory.d.ts +0 -11
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/050-add-feature-flag-inventory.d.ts.map +0 -1
- package/dist/packages/core/src/infrastructure/persistence/sqlite/migrations/050-add-feature-flag-inventory.js +0 -17
- package/dist/src/presentation/web/app/features/feature-tree-page-client.d.ts +0 -7
- package/dist/src/presentation/web/app/features/feature-tree-page-client.d.ts.map +0 -1
- package/dist/src/presentation/web/app/features/feature-tree-page-client.js +0 -13
- package/dist/src/presentation/web/app/features/get-feature-tree-data.d.ts +0 -10
- package/dist/src/presentation/web/app/features/get-feature-tree-data.d.ts.map +0 -1
- package/dist/src/presentation/web/app/features/get-feature-tree-data.js +0 -47
- package/dist/src/presentation/web/app/features/page.d.ts +0 -4
- package/dist/src/presentation/web/app/features/page.d.ts.map +0 -1
- package/dist/src/presentation/web/app/features/page.js +0 -9
- package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.d.ts +0 -36
- package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.js +0 -196
- package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.stories.d.ts +0 -12
- package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.stories.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.stories.js +0 -166
- package/dist/src/presentation/web/components/features/feature-tree-table/index.d.ts +0 -3
- package/dist/src/presentation/web/components/features/feature-tree-table/index.d.ts.map +0 -1
- package/dist/src/presentation/web/components/features/feature-tree-table/index.js +0 -1
- package/web/.next/server/app/features/page/app-paths-manifest.json +0 -3
- package/web/.next/server/app/features/page/build-manifest.json +0 -18
- package/web/.next/server/app/features/page/next-font-manifest.json +0 -6
- package/web/.next/server/app/features/page/react-loadable-manifest.json +0 -8
- package/web/.next/server/app/features/page/server-reference-manifest.json +0 -95
- package/web/.next/server/app/features/page.js +0 -18
- package/web/.next/server/app/features/page.js.map +0 -5
- package/web/.next/server/app/features/page.js.nft.json +0 -1
- package/web/.next/server/app/features/page_client-reference-manifest.js +0 -2
- package/web/.next/server/chunks/ssr/[root-of-the-server]__08c912ab._.js +0 -3
- package/web/.next/server/chunks/ssr/[root-of-the-server]__08c912ab._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0c5452c3._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__563e4faf._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__563e4faf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__69dd3217._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__6c7d3936._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__7ffd3598._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__821a11c1._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__821a11c1._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__851f6adb._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__98740ee4._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__98740ee4._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__b020c17d._.js.map +0 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ba9f9e11._.js +0 -4
- package/web/.next/server/chunks/ssr/[root-of-the-server]__ba9f9e11._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_166f36df._.js +0 -3
- package/web/.next/server/chunks/ssr/_166f36df._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_407e5985._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_4a4709c5._.js +0 -4
- package/web/.next/server/chunks/ssr/_4a4709c5._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_560f2971._.js +0 -3
- package/web/.next/server/chunks/ssr/_560f2971._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_a69efc34._.js +0 -3
- package/web/.next/server/chunks/ssr/_a69efc34._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_cc936cdc._.js +0 -9
- package/web/.next/server/chunks/ssr/_cc936cdc._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_df737cce._.js +0 -3
- package/web/.next/server/chunks/ssr/_df737cce._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f535d854._.js +0 -3
- package/web/.next/server/chunks/ssr/_f535d854._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_f79e241b._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js +0 -3
- package/web/.next/server/chunks/ssr/node_modules__pnpm_1300ae39._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_app_features_feature-tree-page-client_tsx_34c5cbbf._.js +0 -10
- package/web/.next/server/chunks/ssr/src_presentation_web_app_features_feature-tree-page-client_tsx_34c5cbbf._.js.map +0 -1
- package/web/.next/server/chunks/ssr/src_presentation_web_components_common_page-header_index_ts_bdf4db0b._.js +0 -3
- package/web/.next/server/chunks/ssr/src_presentation_web_components_common_page-header_index_ts_bdf4db0b._.js.map +0 -1
- package/web/.next/static/chunks/20f7cc98a013b11c.js +0 -1
- package/web/.next/static/chunks/2f711373a93c5bc3.css +0 -1
- package/web/.next/static/chunks/3e393d6a78b2ade4.js +0 -1
- package/web/.next/static/chunks/3e56f1c0d6fd597e.js +0 -1
- package/web/.next/static/chunks/4cec255f2754e5ec.js +0 -1
- package/web/.next/static/chunks/5c6d14681bec3a25.css +0 -1
- package/web/.next/static/chunks/5d4a8552d5b6a4a8.js +0 -1
- package/web/.next/static/chunks/5ed47e998707b519.js +0 -8
- package/web/.next/static/chunks/647140fe96a7c88a.js +0 -1
- package/web/.next/static/chunks/7d623e10e05fef54.js +0 -5
- package/web/.next/static/chunks/827b3cc73b7a2b34.js +0 -1
- package/web/.next/static/chunks/9bca6624c873b56f.js +0 -1
- package/web/.next/static/chunks/a825ba5207a10722.js +0 -7
- package/web/.next/static/chunks/a83f32d0b3e27624.js +0 -1
- package/web/.next/static/chunks/a93af66e94eeb5e0.js +0 -1
- package/web/.next/static/chunks/b85e74f20793ec84.js +0 -1
- package/web/.next/static/chunks/badd23a63c6342b7.js +0 -3
- package/web/.next/static/chunks/dc134f3f58cdf850.js +0 -5
- package/web/.next/static/chunks/f998b42b5cddafd6.js +0 -1
- /package/web/.next/static/{CTvT0XSlQD3ePT__3Kc2n → POB2JchXPeEvMtK9zhjns}/_buildManifest.js +0 -0
- /package/web/.next/static/{CTvT0XSlQD3ePT__3Kc2n → POB2JchXPeEvMtK9zhjns}/_clientMiddlewareManifest.json +0 -0
- /package/web/.next/static/{CTvT0XSlQD3ePT__3Kc2n → POB2JchXPeEvMtK9zhjns}/_ssgManifest.js +0 -0
package/web/package.json
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"react-markdown": "^10.1.0",
|
|
33
33
|
"remark-gfm": "^4.0.1",
|
|
34
34
|
"sonner": "^2.0.7",
|
|
35
|
-
"tabulator-tables": "^6.4.0",
|
|
36
35
|
"tailwind-merge": "^3.4.0",
|
|
37
36
|
"tw-animate-css": "^1.4.0",
|
|
38
37
|
"vaul": "^1.1.2",
|
|
@@ -45,7 +44,6 @@
|
|
|
45
44
|
"@types/node": "^25.2.0",
|
|
46
45
|
"@types/react": "^19.2.10",
|
|
47
46
|
"@types/react-dom": "^19.2.3",
|
|
48
|
-
"@types/tabulator-tables": "^6.3.1",
|
|
49
47
|
"autoprefixer": "^10.4.24",
|
|
50
48
|
"postcss": "^8.5.6",
|
|
51
49
|
"tailwindcss": "^4.1.18",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration 050: Add feature_flag_inventory column to settings table.
|
|
3
|
-
*
|
|
4
|
-
* Adds a boolean (INTEGER 0/1) column for the inventory page feature flag.
|
|
5
|
-
* Defaults to 0 (disabled).
|
|
6
|
-
*/
|
|
7
|
-
import type { MigrationParams } from 'umzug';
|
|
8
|
-
import type Database from 'better-sqlite3';
|
|
9
|
-
export declare function up({ context: db }: MigrationParams<Database.Database>): Promise<void>;
|
|
10
|
-
export declare function down({ context: db }: MigrationParams<Database.Database>): Promise<void>;
|
|
11
|
-
//# sourceMappingURL=050-add-feature-flag-inventory.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"050-add-feature-flag-inventory.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/core/src/infrastructure/persistence/sqlite/migrations/050-add-feature-flag-inventory.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,KAAK,QAAQ,MAAM,gBAAgB,CAAC;AAE3C,wBAAsB,EAAE,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAO3F;AAED,wBAAsB,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,EAAE,eAAe,CAAC,QAAQ,CAAC,QAAQ,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAG7F"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Migration 050: Add feature_flag_inventory column to settings table.
|
|
3
|
-
*
|
|
4
|
-
* Adds a boolean (INTEGER 0/1) column for the inventory page feature flag.
|
|
5
|
-
* Defaults to 0 (disabled).
|
|
6
|
-
*/
|
|
7
|
-
export async function up({ context: db }) {
|
|
8
|
-
const columns = db.pragma('table_info(settings)');
|
|
9
|
-
const existing = new Set(columns.map((c) => c.name));
|
|
10
|
-
if (!existing.has('feature_flag_inventory')) {
|
|
11
|
-
db.exec('ALTER TABLE settings ADD COLUMN feature_flag_inventory INTEGER NOT NULL DEFAULT 0');
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
export async function down({ context: db }) {
|
|
15
|
-
// SQLite does not support DROP COLUMN before 3.35.0; column remains but is unused after rollback.
|
|
16
|
-
void db;
|
|
17
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { FeatureTreeRow, InventoryRepo } from '../../components/features/feature-tree-table/index.js';
|
|
2
|
-
export interface FeatureTreePageClientProps {
|
|
3
|
-
features: FeatureTreeRow[];
|
|
4
|
-
repos: InventoryRepo[];
|
|
5
|
-
}
|
|
6
|
-
export declare function FeatureTreePageClient({ features, repos }: FeatureTreePageClientProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
//# sourceMappingURL=feature-tree-page-client.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature-tree-page-client.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/features/feature-tree-page-client.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,0CAA0C,CAAC;AAG9F,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB;AAED,wBAAgB,qBAAqB,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAE,0BAA0B,2CAkBpF"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { useRouter } from 'next/navigation';
|
|
4
|
-
import { useCallback } from 'react';
|
|
5
|
-
import { FeatureTreeTable } from '../../components/features/feature-tree-table/index.js';
|
|
6
|
-
import { PageHeader } from '../../components/common/page-header/index.js';
|
|
7
|
-
export function FeatureTreePageClient({ features, repos }) {
|
|
8
|
-
const router = useRouter();
|
|
9
|
-
const handleFeatureClick = useCallback((featureId) => {
|
|
10
|
-
router.push(`/feature/${featureId}/overview`);
|
|
11
|
-
}, [router]);
|
|
12
|
-
return (_jsxs("div", { "data-testid": "feature-tree-page", className: "flex h-full flex-col gap-4", children: [_jsx(PageHeader, { title: "Inventory", description: "All repositories and features" }), _jsx("div", { className: "min-h-0 flex-1", children: _jsx(FeatureTreeTable, { data: features, repos: repos, onFeatureClick: handleFeatureClick }) })] }));
|
|
13
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { FeatureTreeRow } from '../../components/features/feature-tree-table/index.js';
|
|
2
|
-
export interface InventoryRepo {
|
|
3
|
-
name: string;
|
|
4
|
-
remoteUrl?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare function getFeatureTreeData(): Promise<{
|
|
7
|
-
features: FeatureTreeRow[];
|
|
8
|
-
repos: InventoryRepo[];
|
|
9
|
-
}>;
|
|
10
|
-
//# sourceMappingURL=get-feature-tree-data.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-feature-tree-data.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/features/get-feature-tree-data.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0CAA0C,CAAC;AAI/E,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAsBD,wBAAsB,kBAAkB,IAAI,OAAO,CAAC;IAClD,QAAQ,EAAE,cAAc,EAAE,CAAC;IAC3B,KAAK,EAAE,aAAa,EAAE,CAAC;CACxB,CAAC,CAgCD"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { resolve } from '../../lib/server-container.js';
|
|
2
|
-
import { SdlcLifecycle } from '../../../../../packages/core/src/domain/generated/output.js';
|
|
3
|
-
const LIFECYCLE_TO_STATUS = {
|
|
4
|
-
[SdlcLifecycle.Started]: 'pending',
|
|
5
|
-
[SdlcLifecycle.Analyze]: 'in-progress',
|
|
6
|
-
[SdlcLifecycle.Requirements]: 'action-needed',
|
|
7
|
-
[SdlcLifecycle.Research]: 'in-progress',
|
|
8
|
-
[SdlcLifecycle.Planning]: 'in-progress',
|
|
9
|
-
[SdlcLifecycle.Implementation]: 'in-progress',
|
|
10
|
-
[SdlcLifecycle.Review]: 'action-needed',
|
|
11
|
-
[SdlcLifecycle.Maintain]: 'done',
|
|
12
|
-
[SdlcLifecycle.Blocked]: 'blocked',
|
|
13
|
-
[SdlcLifecycle.Pending]: 'pending',
|
|
14
|
-
[SdlcLifecycle.Deleting]: 'blocked',
|
|
15
|
-
[SdlcLifecycle.AwaitingUpstream]: 'action-needed',
|
|
16
|
-
[SdlcLifecycle.Archived]: 'done',
|
|
17
|
-
};
|
|
18
|
-
function lifecycleToStatus(lifecycle) {
|
|
19
|
-
return LIFECYCLE_TO_STATUS[lifecycle] ?? 'pending';
|
|
20
|
-
}
|
|
21
|
-
export async function getFeatureTreeData() {
|
|
22
|
-
const listFeatures = resolve('ListFeaturesUseCase');
|
|
23
|
-
const listRepos = resolve('ListRepositoriesUseCase');
|
|
24
|
-
const [features, repositories] = await Promise.all([listFeatures.execute(), listRepos.execute()]);
|
|
25
|
-
const repoByPath = new Map();
|
|
26
|
-
for (const repo of repositories) {
|
|
27
|
-
repoByPath.set(repo.path, { name: repo.name, remoteUrl: repo.remoteUrl });
|
|
28
|
-
}
|
|
29
|
-
const featureRows = features.map((feature) => {
|
|
30
|
-
const repo = repoByPath.get(feature.repositoryPath);
|
|
31
|
-
return {
|
|
32
|
-
id: feature.id,
|
|
33
|
-
name: feature.name,
|
|
34
|
-
status: lifecycleToStatus(feature.lifecycle),
|
|
35
|
-
lifecycle: feature.lifecycle,
|
|
36
|
-
branch: feature.branch,
|
|
37
|
-
repositoryName: repo?.name ?? feature.repositoryPath.split('/').pop() ?? feature.repositoryPath,
|
|
38
|
-
remoteUrl: repo?.remoteUrl,
|
|
39
|
-
parentId: feature.parentId ?? undefined,
|
|
40
|
-
};
|
|
41
|
-
});
|
|
42
|
-
const repos = repositories.map((repo) => ({
|
|
43
|
-
name: repo.name,
|
|
44
|
-
remoteUrl: repo.remoteUrl,
|
|
45
|
-
}));
|
|
46
|
-
return { features: featureRows, repos };
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"page.d.ts","sourceRoot":"","sources":["../../../../../../src/presentation/web/app/features/page.tsx"],"names":[],"mappings":"AAGA,uFAAuF;AACvF,eAAO,MAAM,OAAO,kBAAkB,CAAC;AAEvC,wBAA8B,YAAY,qDAQzC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { FeatureTreePageClient } from './feature-tree-page-client.js';
|
|
3
|
-
import { getFeatureTreeData } from './get-feature-tree-data.js';
|
|
4
|
-
/** Skip static pre-rendering since we need runtime DI container and server context. */
|
|
5
|
-
export const dynamic = 'force-dynamic';
|
|
6
|
-
export default async function FeaturesPage() {
|
|
7
|
-
const { features, repos } = await getFeatureTreeData();
|
|
8
|
-
return (_jsx("div", { className: "features-page-dotted-bg flex h-full flex-col p-6", children: _jsx(FeatureTreePageClient, { features: features, repos: repos }) }));
|
|
9
|
-
}
|
package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { FeatureStatus } from '../../common/feature-status-config.js';
|
|
2
|
-
import './feature-tree-table.css';
|
|
3
|
-
export interface FeatureTreeRow {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
status: FeatureStatus;
|
|
7
|
-
lifecycle: string;
|
|
8
|
-
branch: string;
|
|
9
|
-
repositoryName: string;
|
|
10
|
-
remoteUrl?: string;
|
|
11
|
-
parentId?: string;
|
|
12
|
-
/** Child rows for tree hierarchy */
|
|
13
|
-
_children?: FeatureTreeRow[];
|
|
14
|
-
/** Whether this row is a repository group header */
|
|
15
|
-
_isRepoGroup?: boolean;
|
|
16
|
-
/** Number of features in this repo group */
|
|
17
|
-
_featureCount?: number;
|
|
18
|
-
}
|
|
19
|
-
export interface InventoryRepo {
|
|
20
|
-
name: string;
|
|
21
|
-
remoteUrl?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface FeatureTreeTableProps {
|
|
24
|
-
data: FeatureTreeRow[];
|
|
25
|
-
repos?: InventoryRepo[];
|
|
26
|
-
className?: string;
|
|
27
|
-
onFeatureClick?: (featureId: string) => void;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Build tree-structured data grouped by repository.
|
|
31
|
-
* Each repository becomes a parent node with its features as children.
|
|
32
|
-
* Repos without features are included as empty groups.
|
|
33
|
-
*/
|
|
34
|
-
export declare function buildTreeData(flatData: FeatureTreeRow[], repos?: InventoryRepo[]): FeatureTreeRow[];
|
|
35
|
-
export declare function FeatureTreeTable({ data, repos, className, onFeatureClick, }: FeatureTreeTableProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
//# sourceMappingURL=feature-tree-table.d.ts.map
|
package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature-tree-table.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/feature-tree-table/feature-tree-table.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAC/E,OAAO,0BAA0B,CAAC;AAElC,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,aAAa,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oCAAoC;IACpC,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAC7B,oDAAoD;IACpD,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,cAAc,EAAE,CAAC;IACvB,KAAK,CAAC,EAAE,aAAa,EAAE,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;CAC9C;AA+FD;;;;GAIG;AACH,wBAAgB,aAAa,CAC3B,QAAQ,EAAE,cAAc,EAAE,EAC1B,KAAK,CAAC,EAAE,aAAa,EAAE,GACtB,cAAc,EAAE,CAmElB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,SAAS,EACT,cAAc,GACf,EAAE,qBAAqB,2CAgDvB"}
|
package/dist/src/presentation/web/components/features/feature-tree-table/feature-tree-table.js
DELETED
|
@@ -1,196 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useEffect, useRef, useCallback } from 'react';
|
|
4
|
-
import { TabulatorFull as Tabulator } from 'tabulator-tables';
|
|
5
|
-
import { cn } from '../../../lib/utils.js';
|
|
6
|
-
import './feature-tree-table.css';
|
|
7
|
-
const STATUS_LABELS = {
|
|
8
|
-
'action-needed': 'Action Needed',
|
|
9
|
-
'in-progress': 'In Progress',
|
|
10
|
-
pending: 'Pending',
|
|
11
|
-
blocked: 'Blocked',
|
|
12
|
-
error: 'Error',
|
|
13
|
-
done: 'Done',
|
|
14
|
-
};
|
|
15
|
-
/** SVG repo icon — lucide FolderGit2 */
|
|
16
|
-
const REPO_ICON_SVG = `<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"/><circle cx="12" cy="13" r="2"/><path d="M14 13h3"/><path d="M7 13h3"/></svg>`;
|
|
17
|
-
function statusFormatter(cell) {
|
|
18
|
-
const row = cell.getRow().getData();
|
|
19
|
-
if (row._isRepoGroup)
|
|
20
|
-
return '';
|
|
21
|
-
const value = cell.getValue();
|
|
22
|
-
const label = STATUS_LABELS[value] ?? value;
|
|
23
|
-
return `<span class="status-pill status-pill--${value}"><span class="status-dot"></span>${label}</span>`;
|
|
24
|
-
}
|
|
25
|
-
function nameFormatter(cell) {
|
|
26
|
-
const row = cell.getRow().getData();
|
|
27
|
-
if (row._isRepoGroup) {
|
|
28
|
-
const count = row._featureCount ?? 0;
|
|
29
|
-
const countLabel = count === 0 ? 'No features' : count === 1 ? '1 Feature' : `${count} Features`;
|
|
30
|
-
const remoteLabel = row.remoteUrl
|
|
31
|
-
? `<span class="repo-remote-url">${escapeHtml(row.remoteUrl)}</span>`
|
|
32
|
-
: '';
|
|
33
|
-
return `<span class="repo-name-cell">${REPO_ICON_SVG}<span class="repo-name-text"><span class="repo-name-primary"><span class="repo-name-title">${escapeHtml(row.name)}</span><span class="repo-feature-count">${countLabel}</span></span>${remoteLabel}</span></span>`;
|
|
34
|
-
}
|
|
35
|
-
return escapeHtml(cell.getValue());
|
|
36
|
-
}
|
|
37
|
-
function escapeHtml(text) {
|
|
38
|
-
const div = typeof document !== 'undefined' ? document.createElement('div') : null;
|
|
39
|
-
if (div) {
|
|
40
|
-
div.textContent = text;
|
|
41
|
-
return div.innerHTML;
|
|
42
|
-
}
|
|
43
|
-
return text.replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>');
|
|
44
|
-
}
|
|
45
|
-
function buildColumns(onFeatureClick) {
|
|
46
|
-
return [
|
|
47
|
-
{
|
|
48
|
-
title: 'Name',
|
|
49
|
-
field: 'name',
|
|
50
|
-
widthGrow: 3,
|
|
51
|
-
formatter: nameFormatter,
|
|
52
|
-
...(onFeatureClick && {
|
|
53
|
-
cellClick: (_e, cell) => {
|
|
54
|
-
const data = cell.getRow().getData();
|
|
55
|
-
if (data._isRepoGroup)
|
|
56
|
-
return;
|
|
57
|
-
onFeatureClick(data.id);
|
|
58
|
-
},
|
|
59
|
-
cssClass: 'cursor-pointer',
|
|
60
|
-
}),
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
title: 'Status',
|
|
64
|
-
field: 'status',
|
|
65
|
-
widthGrow: 1.5,
|
|
66
|
-
formatter: statusFormatter,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
title: 'Lifecycle',
|
|
70
|
-
field: 'lifecycle',
|
|
71
|
-
widthGrow: 1.5,
|
|
72
|
-
formatter: (cell) => {
|
|
73
|
-
const row = cell.getRow().getData();
|
|
74
|
-
if (row._isRepoGroup)
|
|
75
|
-
return '';
|
|
76
|
-
return cell.getValue();
|
|
77
|
-
},
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
title: 'Branch',
|
|
81
|
-
field: 'branch',
|
|
82
|
-
widthGrow: 2,
|
|
83
|
-
formatter: (cell) => {
|
|
84
|
-
const row = cell.getRow().getData();
|
|
85
|
-
if (row._isRepoGroup)
|
|
86
|
-
return '';
|
|
87
|
-
const val = cell.getValue();
|
|
88
|
-
if (!val)
|
|
89
|
-
return '';
|
|
90
|
-
return `<code style="font-size:12px;color:var(--color-muted-foreground,#64748b);font-family:var(--font-mono)">${escapeHtml(val)}</code>`;
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
];
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Build tree-structured data grouped by repository.
|
|
97
|
-
* Each repository becomes a parent node with its features as children.
|
|
98
|
-
* Repos without features are included as empty groups.
|
|
99
|
-
*/
|
|
100
|
-
export function buildTreeData(flatData, repos) {
|
|
101
|
-
// Group features by repository
|
|
102
|
-
const byRepo = new Map();
|
|
103
|
-
for (const item of flatData) {
|
|
104
|
-
const repoName = item.repositoryName || 'Unknown';
|
|
105
|
-
if (!byRepo.has(repoName)) {
|
|
106
|
-
byRepo.set(repoName, []);
|
|
107
|
-
}
|
|
108
|
-
byRepo.get(repoName).push(item);
|
|
109
|
-
}
|
|
110
|
-
// Ensure all known repos are represented (even without features)
|
|
111
|
-
const repoMeta = new Map();
|
|
112
|
-
if (repos) {
|
|
113
|
-
for (const repo of repos) {
|
|
114
|
-
repoMeta.set(repo.name, { remoteUrl: repo.remoteUrl });
|
|
115
|
-
if (!byRepo.has(repo.name)) {
|
|
116
|
-
byRepo.set(repo.name, []);
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
const roots = [];
|
|
121
|
-
for (const [repoName, features] of byRepo) {
|
|
122
|
-
// Build parent-child relationships within this repo group
|
|
123
|
-
const lookup = new Map();
|
|
124
|
-
const repoChildren = [];
|
|
125
|
-
for (const item of features) {
|
|
126
|
-
lookup.set(item.id, { ...item, _children: [] });
|
|
127
|
-
}
|
|
128
|
-
for (const item of features) {
|
|
129
|
-
const node = lookup.get(item.id);
|
|
130
|
-
if (item.parentId && lookup.has(item.parentId)) {
|
|
131
|
-
lookup.get(item.parentId)._children.push(node);
|
|
132
|
-
}
|
|
133
|
-
else {
|
|
134
|
-
repoChildren.push(node);
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
// Clean up empty _children arrays
|
|
138
|
-
for (const node of lookup.values()) {
|
|
139
|
-
if (node._children?.length === 0) {
|
|
140
|
-
delete node._children;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
const remoteUrl = repoMeta.get(repoName)?.remoteUrl ?? features[0]?.remoteUrl;
|
|
144
|
-
const repoGroup = {
|
|
145
|
-
id: `repo-${repoName}`,
|
|
146
|
-
name: repoName,
|
|
147
|
-
status: 'pending',
|
|
148
|
-
lifecycle: '',
|
|
149
|
-
branch: '',
|
|
150
|
-
repositoryName: repoName,
|
|
151
|
-
remoteUrl,
|
|
152
|
-
_isRepoGroup: true,
|
|
153
|
-
_featureCount: features.length,
|
|
154
|
-
...(repoChildren.length > 0 ? { _children: repoChildren } : {}),
|
|
155
|
-
};
|
|
156
|
-
roots.push(repoGroup);
|
|
157
|
-
}
|
|
158
|
-
return roots;
|
|
159
|
-
}
|
|
160
|
-
export function FeatureTreeTable({ data, repos, className, onFeatureClick, }) {
|
|
161
|
-
const containerRef = useRef(null);
|
|
162
|
-
const tabulatorRef = useRef(null);
|
|
163
|
-
const onFeatureClickRef = useRef(onFeatureClick);
|
|
164
|
-
onFeatureClickRef.current = onFeatureClick;
|
|
165
|
-
const stableOnFeatureClick = useCallback((featureId) => {
|
|
166
|
-
onFeatureClickRef.current?.(featureId);
|
|
167
|
-
}, []);
|
|
168
|
-
useEffect(() => {
|
|
169
|
-
if (!containerRef.current)
|
|
170
|
-
return;
|
|
171
|
-
const treeData = buildTreeData(data, repos);
|
|
172
|
-
const columns = buildColumns(stableOnFeatureClick);
|
|
173
|
-
const table = new Tabulator(containerRef.current, {
|
|
174
|
-
data: treeData,
|
|
175
|
-
columns,
|
|
176
|
-
dataTree: true,
|
|
177
|
-
dataTreeStartExpanded: true,
|
|
178
|
-
layout: 'fitColumns',
|
|
179
|
-
height: '100%',
|
|
180
|
-
placeholder: 'No repositories found',
|
|
181
|
-
headerSortClickElement: 'icon',
|
|
182
|
-
rowFormatter: (row) => {
|
|
183
|
-
const rowData = row.getData();
|
|
184
|
-
if (rowData._isRepoGroup) {
|
|
185
|
-
row.getElement().classList.add('tabulator-row-repo-group');
|
|
186
|
-
}
|
|
187
|
-
},
|
|
188
|
-
});
|
|
189
|
-
tabulatorRef.current = table;
|
|
190
|
-
return () => {
|
|
191
|
-
table.destroy();
|
|
192
|
-
tabulatorRef.current = null;
|
|
193
|
-
};
|
|
194
|
-
}, [data, repos, stableOnFeatureClick]);
|
|
195
|
-
return (_jsx("div", { "data-testid": "feature-tree-table", className: cn('h-full w-full', className), ref: containerRef }));
|
|
196
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { FeatureTreeTable } from './feature-tree-table.js';
|
|
3
|
-
declare const meta: Meta<typeof FeatureTreeTable>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const SingleRepository: Story;
|
|
8
|
-
export declare const Empty: Story;
|
|
9
|
-
export declare const WithClickHandler: Story;
|
|
10
|
-
export declare const DeeplyNested: Story;
|
|
11
|
-
export declare const NoRemoteUrl: Story;
|
|
12
|
-
//# sourceMappingURL=feature-tree-table.stories.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"feature-tree-table.stories.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/feature-tree-table/feature-tree-table.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAcvC,CAAC;AAEF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA0EnC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAI9B,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAInB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAK9B,CAAC;AA4CF,eAAO,MAAM,YAAY,EAAE,KAI1B,CAAC;AAaF,eAAO,MAAM,WAAW,EAAE,KAIzB,CAAC"}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { FeatureTreeTable } from './feature-tree-table.js';
|
|
3
|
-
const meta = {
|
|
4
|
-
title: 'Features/FeatureTreeTable',
|
|
5
|
-
component: FeatureTreeTable,
|
|
6
|
-
parameters: {
|
|
7
|
-
layout: 'padded',
|
|
8
|
-
},
|
|
9
|
-
tags: ['autodocs'],
|
|
10
|
-
decorators: [
|
|
11
|
-
(Story) => (_jsx("div", { style: { height: '500px', width: '100%' }, children: _jsx(Story, {}) })),
|
|
12
|
-
],
|
|
13
|
-
};
|
|
14
|
-
export default meta;
|
|
15
|
-
const singleRepoFeatures = [
|
|
16
|
-
{
|
|
17
|
-
id: 'feat-1',
|
|
18
|
-
name: 'Authentication System',
|
|
19
|
-
status: 'done',
|
|
20
|
-
lifecycle: 'Maintain',
|
|
21
|
-
branch: 'feat/auth-system',
|
|
22
|
-
repositoryName: 'my-app',
|
|
23
|
-
remoteUrl: 'https://github.com/acme/my-app',
|
|
24
|
-
},
|
|
25
|
-
{
|
|
26
|
-
id: 'feat-2',
|
|
27
|
-
name: 'OAuth2 Provider',
|
|
28
|
-
status: 'in-progress',
|
|
29
|
-
lifecycle: 'Implementation',
|
|
30
|
-
branch: 'feat/oauth2-provider',
|
|
31
|
-
repositoryName: 'my-app',
|
|
32
|
-
remoteUrl: 'https://github.com/acme/my-app',
|
|
33
|
-
parentId: 'feat-1',
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
id: 'feat-3',
|
|
37
|
-
name: 'JWT Token Refresh',
|
|
38
|
-
status: 'pending',
|
|
39
|
-
lifecycle: 'Planning',
|
|
40
|
-
branch: 'feat/jwt-refresh',
|
|
41
|
-
repositoryName: 'my-app',
|
|
42
|
-
remoteUrl: 'https://github.com/acme/my-app',
|
|
43
|
-
parentId: 'feat-1',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
id: 'feat-4',
|
|
47
|
-
name: 'Payment Integration',
|
|
48
|
-
status: 'action-needed',
|
|
49
|
-
lifecycle: 'Review',
|
|
50
|
-
branch: 'feat/payments',
|
|
51
|
-
repositoryName: 'my-app',
|
|
52
|
-
remoteUrl: 'https://github.com/acme/my-app',
|
|
53
|
-
},
|
|
54
|
-
];
|
|
55
|
-
const multiRepoFeatures = [
|
|
56
|
-
...singleRepoFeatures,
|
|
57
|
-
{
|
|
58
|
-
id: 'feat-5',
|
|
59
|
-
name: 'Dashboard Widgets',
|
|
60
|
-
status: 'blocked',
|
|
61
|
-
lifecycle: 'Blocked',
|
|
62
|
-
branch: 'feat/dashboard-widgets',
|
|
63
|
-
repositoryName: 'admin-portal',
|
|
64
|
-
remoteUrl: 'https://github.com/acme/admin-portal',
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
id: 'feat-6',
|
|
68
|
-
name: 'Stripe Checkout',
|
|
69
|
-
status: 'error',
|
|
70
|
-
lifecycle: 'Implementation',
|
|
71
|
-
branch: 'feat/stripe-checkout',
|
|
72
|
-
repositoryName: 'admin-portal',
|
|
73
|
-
remoteUrl: 'https://github.com/acme/admin-portal',
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
id: 'feat-7',
|
|
77
|
-
name: 'API Gateway',
|
|
78
|
-
status: 'in-progress',
|
|
79
|
-
lifecycle: 'Implementation',
|
|
80
|
-
branch: 'feat/api-gateway',
|
|
81
|
-
repositoryName: 'infrastructure',
|
|
82
|
-
remoteUrl: 'https://gitlab.com/acme/infrastructure',
|
|
83
|
-
},
|
|
84
|
-
];
|
|
85
|
-
export const Default = {
|
|
86
|
-
args: {
|
|
87
|
-
data: multiRepoFeatures,
|
|
88
|
-
},
|
|
89
|
-
};
|
|
90
|
-
export const SingleRepository = {
|
|
91
|
-
args: {
|
|
92
|
-
data: singleRepoFeatures,
|
|
93
|
-
},
|
|
94
|
-
};
|
|
95
|
-
export const Empty = {
|
|
96
|
-
args: {
|
|
97
|
-
data: [],
|
|
98
|
-
},
|
|
99
|
-
};
|
|
100
|
-
export const WithClickHandler = {
|
|
101
|
-
args: {
|
|
102
|
-
data: multiRepoFeatures,
|
|
103
|
-
onFeatureClick: (id) => alert(`Clicked feature: ${id}`),
|
|
104
|
-
},
|
|
105
|
-
};
|
|
106
|
-
const deeplyNestedFeatures = [
|
|
107
|
-
{
|
|
108
|
-
id: 'root-1',
|
|
109
|
-
name: 'Platform Overhaul',
|
|
110
|
-
status: 'in-progress',
|
|
111
|
-
lifecycle: 'Implementation',
|
|
112
|
-
branch: 'feat/platform-overhaul',
|
|
113
|
-
repositoryName: 'platform',
|
|
114
|
-
remoteUrl: 'https://github.com/acme/platform',
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
id: 'child-1',
|
|
118
|
-
name: 'API Redesign',
|
|
119
|
-
status: 'in-progress',
|
|
120
|
-
lifecycle: 'Implementation',
|
|
121
|
-
branch: 'feat/api-redesign',
|
|
122
|
-
repositoryName: 'platform',
|
|
123
|
-
remoteUrl: 'https://github.com/acme/platform',
|
|
124
|
-
parentId: 'root-1',
|
|
125
|
-
},
|
|
126
|
-
{
|
|
127
|
-
id: 'grandchild-1',
|
|
128
|
-
name: 'REST to GraphQL Migration',
|
|
129
|
-
status: 'pending',
|
|
130
|
-
lifecycle: 'Planning',
|
|
131
|
-
branch: 'feat/graphql-migration',
|
|
132
|
-
repositoryName: 'platform',
|
|
133
|
-
remoteUrl: 'https://github.com/acme/platform',
|
|
134
|
-
parentId: 'child-1',
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
id: 'child-2',
|
|
138
|
-
name: 'Database Migration',
|
|
139
|
-
status: 'done',
|
|
140
|
-
lifecycle: 'Maintain',
|
|
141
|
-
branch: 'feat/db-migration',
|
|
142
|
-
repositoryName: 'platform',
|
|
143
|
-
remoteUrl: 'https://github.com/acme/platform',
|
|
144
|
-
parentId: 'root-1',
|
|
145
|
-
},
|
|
146
|
-
];
|
|
147
|
-
export const DeeplyNested = {
|
|
148
|
-
args: {
|
|
149
|
-
data: deeplyNestedFeatures,
|
|
150
|
-
},
|
|
151
|
-
};
|
|
152
|
-
const noRemoteFeatures = [
|
|
153
|
-
{
|
|
154
|
-
id: 'feat-local-1',
|
|
155
|
-
name: 'Local Feature',
|
|
156
|
-
status: 'in-progress',
|
|
157
|
-
lifecycle: 'Implementation',
|
|
158
|
-
branch: 'feat/local-work',
|
|
159
|
-
repositoryName: 'local-project',
|
|
160
|
-
},
|
|
161
|
-
];
|
|
162
|
-
export const NoRemoteUrl = {
|
|
163
|
-
args: {
|
|
164
|
-
data: noRemoteFeatures,
|
|
165
|
-
},
|
|
166
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../src/presentation/web/components/features/feature-tree-table/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACvE,YAAY,EAAE,qBAAqB,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { FeatureTreeTable, buildTreeData } from './feature-tree-table.js';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"devFiles": [],
|
|
3
|
-
"ampDevFiles": [],
|
|
4
|
-
"polyfillFiles": [
|
|
5
|
-
"static/chunks/a6dad97d9634a72d.js"
|
|
6
|
-
],
|
|
7
|
-
"lowPriorityFiles": [],
|
|
8
|
-
"rootMainFiles": [
|
|
9
|
-
"static/chunks/4cec255f2754e5ec.js",
|
|
10
|
-
"static/chunks/20f7cc98a013b11c.js",
|
|
11
|
-
"static/chunks/4b6cc9f65260f2bd.js",
|
|
12
|
-
"static/chunks/d0e04c4bd51d2553.js",
|
|
13
|
-
"static/chunks/d4d8f0a137bd2eb4.js",
|
|
14
|
-
"static/chunks/turbopack-62782e656a49f322.js"
|
|
15
|
-
],
|
|
16
|
-
"pages": {},
|
|
17
|
-
"ampFirstPages": []
|
|
18
|
-
}
|