Step 129: dependency management UI

This commit is contained in:
Bill
2026-02-09 16:25:20 -07:00
parent 284c5b53fc
commit f88a129a7b
8 changed files with 609 additions and 6 deletions

View File

@@ -302,6 +302,7 @@ int main(int, char**) {
ImGui::MenuItem("Show Outline", nullptr, &state.showOutline);
ImGui::MenuItem("Terminal", state.keys.getBinding("view.toggleTerminal").toString().c_str(),
&state.showTerminalPanel);
ImGui::MenuItem("Dependencies", nullptr, &state.showDependencyPanel);
ImGui::MenuItem("Settings", nullptr, &state.showSettingsPanel);
ImGui::MenuItem("LSP Servers...", nullptr, &state.showLspSettings);
if (state.active()) {
@@ -550,6 +551,17 @@ int main(int, char**) {
ImGui::End();
}
// ---------------------------------------------------------------
// Dependencies Panel
// ---------------------------------------------------------------
if (state.showDependencyPanel) {
ImGui::Begin("Dependencies", &state.showDependencyPanel);
ImGui::PushFont(uiFont);
renderDependencyPanel(state.dependencyPanel, state.workspaceRoot, state.outputLog);
ImGui::PopFont();
ImGui::End();
}
// ---------------------------------------------------------------
// Find / Replace bar (floating at top of editor)
// ---------------------------------------------------------------