-
Notifications
You must be signed in to change notification settings - Fork 715
chore: hide service graph from UI #9383
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Failed to generate code suggestions for PR |
Greptile OverviewGreptile SummaryThis PR hides the service graph feature from the UI by adding a configuration flag ( Changes:
Minor issue:
Confidence Score: 4/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant Browser
participant Frontend
participant Backend
participant Config
User->>Browser: Navigate to Traces page
Browser->>Frontend: Load Index.vue
Frontend->>Backend: GET /api/default/config
Backend->>Config: Check service_graph.enabled
alt Enterprise build
Config-->>Backend: o2cfg.service_graph.enabled
else Non-enterprise build
Config-->>Backend: false
end
Backend-->>Frontend: ConfigResponse{service_graph_enabled}
Frontend->>Frontend: Store config in Vuex (store.state.zoConfig)
alt service_graph_enabled = true
Frontend->>Frontend: Render SearchBar with tab toggle buttons
Frontend->>Frontend: Allow service-maps tab selection
else service_graph_enabled = false
Frontend->>Frontend: Hide tab toggle buttons (v-if)
Frontend->>Frontend: Hide service-maps content (v-if)
alt URL has ?tab=service-maps
Frontend->>Frontend: onBeforeMount: Force activeTab = 'search'
end
end
Frontend-->>User: Display traces page (with or without service-maps tab)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 files reviewed, 2 comments
No description provided.