refactor(frontend): workspace shell unificado + Step2 modular + Zep UX layer#494
Open
Marcelo-Rosas wants to merge 1 commit into666ghj:mainfrom
Open
refactor(frontend): workspace shell unificado + Step2 modular + Zep UX layer#494Marcelo-Rosas wants to merge 1 commit into666ghj:mainfrom
Marcelo-Rosas wants to merge 1 commit into666ghj:mainfrom
Conversation
… layer Shell unificado - useWorkspaceShell.js: composable compartilhado (viewMode, systemLogs, addLog, toggleMaximize, panel styles) - WorkspaceHeader.vue: header 56px premium com brand, layout switcher centrado, step counter, status pill - WorkspaceLayout.vue: split panels com transição CSS, slots #graph e #content - Migradas: MainView, SimulationView, SimulationRunView, ReportView, InteractionView Camada graph/Zep visível - GraphContextBar.vue: barra Zep com engine badge, nodes/edges count, entity types, estado da ingestão - GraphPanel.vue: integra GraphContextBar + prop projectData propagado em todos os 5 call sites Step2 modularizado (2600+ linhas → orquestrador + 6 componentes semânticos) - SimulationInstanceCard, AgentProfilesSection, SimConfigSection - OrchestrationSection, SetupReadinessSection (v-model com guards de sync/clamp), ProfileDetailPanel Logs + i18n - SystemLogsPanel.vue: logs compactos/expansíveis com coloração semântica - Novas keys em en.json + zh.json: graph.ctxState*, system.label*, step2.showLess/showAll/profileModalProfession Scope: frontend workspace refactor only. Backend/service changes intentionally excluded. Follow-ups não bloqueantes: - status labels legados para i18n - useSimulationPreparation composable (gatilho: polling > 3 loops ou reaproveitamento) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Author
QA Checklist — Workspace Shell RefactorManual smoke test cobrindo o fluxo completo após merge. Fluxo principal
WorkspaceHeader
GraphPanel + GraphContextBar
SystemLogsPanel
i18n
Regressão
Follow-ups não bloqueantes (fora deste PR)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resumo
Refatoração estrutural do frontend MiroFish. Ataca três problemas de arquitetura identificados no codebase:
Nova arquitetura do shell
Views migradas:
MainView·SimulationView·SimulationRunView·ReportView·InteractionViewStep2 modularizado
Step2EnvSetup.vue(2600+ linhas) → orquestrador puro + 6 componentes semânticos:SimulationInstanceCardAgentProfilesSectionSimConfigSectionOrchestrationSectionSetupReadinessSectionProfileDetailPanelGraph/Zep visível na UX
GraphContextBaraparece acima do grafo D3 em todas as views:Pending → Ontology set → Building → Graph ready → Memory activeGraphPanelagora aceitaprojectData— propagado e validado em todos os 5 call sites.Logs + i18n
SystemLogsPanel— compacto por padrão, expansível, coloração semântica (error/success/warn)en.json+zh.json:graph.ctxState*·system.label*·step2.showLess/showAll/profileModalProfessionArquivos
Criados (11):
useWorkspaceShell.js·WorkspaceHeader.vue·WorkspaceLayout.vue·GraphContextBar.vue·SystemLogsPanel.vue·SimulationInstanceCard.vue·AgentProfilesSection.vue·SimConfigSection.vue·OrchestrationSection.vue·SetupReadinessSection.vue·ProfileDetailPanel.vueModificados (9):
GraphPanel.vue·Step2EnvSetup.vue·MainView.vue·SimulationView.vue·SimulationRunView.vue·ReportView.vue·InteractionView.vue·locales/en.json·locales/zh.jsonScope
Follow-ups não bloqueantes
"Error","Running","Generating"etc.) — extrair para i18n em rodada futurauseSimulationPreparationcomposable — extrair quando: polling > 3 loops, status espalhado entre watchers, reaproveitamento em outra view, ou orquestrador crescendo além de coordenação🤖 Generated with Claude Code