[PR #288] [MERGED] Use TRee component for Environment dialog #209

Closed
opened 2025-12-29 07:19:52 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/288
Author: @gschier
Created: 10/31/2025
Status: Merged
Merged: 10/31/2025
Merged by: @gschier

Base: mainHead: environment-tree


📝 Commits (9)

  • 1613086 Use TRee component for Environment dialog
  • f4e57fb Remove debug logs and adjust spacing in Sidebar component
  • bb3f687 Update src-web/hooks/useEnvironmentsBreakdown.ts
  • bbe8d6f Fix margin
  • 6b9d581 Merge remote-tracking branch 'origin/environment-tree' into environment-tree
  • c37f26c Simplify Sidebar dropdown logic and update default Overlay tabindex fallback
  • c986f38 Tweak spacing on filter
  • 7299efc Sidebar filter radius
  • 8771c1e Sidebar filter padding

📊 Changes

25 files changed (+503 additions, -343 deletions)

View changed files

📝 src-tauri/src/lib.rs (+1 -1)
📝 src-tauri/yaak-git/bindings/gen_models.ts (+1 -1)
📝 src-tauri/yaak-models/bindings/gen_models.ts (+1 -1)
src-tauri/yaak-models/migrations/20251031070515_environment-sort-priority.sql (+2 -0)
📝 src-tauri/yaak-models/src/models.rs (+7 -3)
📝 src-tauri/yaak-plugins/bindings/gen_models.ts (+1 -1)
📝 src-tauri/yaak-sync/bindings/gen_models.ts (+1 -1)
📝 src-web/components/ColorIndicator.tsx (+8 -5)
📝 src-web/components/EnvironmentColorIndicator.tsx (+3 -0)
📝 src-web/components/EnvironmentEditDialog.tsx (+345 -227)
📝 src-web/components/EnvironmentEditor.tsx (+2 -2)
📝 src-web/components/GitCommitDialog.tsx (+14 -14)
📝 src-web/components/Overlay.tsx (+1 -3)
📝 src-web/components/ResizeHandle.tsx (+1 -1)
📝 src-web/components/Sidebar.tsx (+8 -25)
📝 src-web/components/core/Button.tsx (+1 -1)
📝 src-web/components/core/Input.tsx (+1 -2)
📝 src-web/components/core/SplitLayout.tsx (+6 -1)
📝 src-web/components/core/Tabs/Tabs.tsx (+0 -1)
📝 src-web/components/core/tree/Tree.tsx (+44 -13)

...and 5 more files

📄 Description

This PR update the environment edit dialog to use the new sidebar <Tree/> component

CleanShot 2025-10-31 at 08 52 16@2x

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/288 **Author:** [@gschier](https://github.com/gschier) **Created:** 10/31/2025 **Status:** ✅ Merged **Merged:** 10/31/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `main` ← **Head:** `environment-tree` --- ### 📝 Commits (9) - [`1613086`](https://github.com/mountain-loop/yaak/commit/161308637f818b88ff301eefb9efd08f44263234) Use TRee component for Environment dialog - [`f4e57fb`](https://github.com/mountain-loop/yaak/commit/f4e57fb6b5d3b03828601aa06a65b39881ad8d00) Remove debug logs and adjust spacing in Sidebar component - [`bb3f687`](https://github.com/mountain-loop/yaak/commit/bb3f68712cdc03577ffefae4ab3a567b8dd70c8b) Update src-web/hooks/useEnvironmentsBreakdown.ts - [`bbe8d6f`](https://github.com/mountain-loop/yaak/commit/bbe8d6f632ba81c96583ddece559685bd720b73d) Fix margin - [`6b9d581`](https://github.com/mountain-loop/yaak/commit/6b9d58118490d56b4039232ae69b3b6fb12f9506) Merge remote-tracking branch 'origin/environment-tree' into environment-tree - [`c37f26c`](https://github.com/mountain-loop/yaak/commit/c37f26cede98ff69347c34a4212e5dbf55d74af8) Simplify Sidebar dropdown logic and update default Overlay tabindex fallback - [`c986f38`](https://github.com/mountain-loop/yaak/commit/c986f386108928f15e68b5cd560c38c14dd0a88d) Tweak spacing on filter - [`7299efc`](https://github.com/mountain-loop/yaak/commit/7299efc4d4b1b610ef69a9a428ed072b7ede6c85) Sidebar filter radius - [`8771c1e`](https://github.com/mountain-loop/yaak/commit/8771c1eff0e8e209d58fb236d6f2affc76b81660) Sidebar filter padding ### 📊 Changes **25 files changed** (+503 additions, -343 deletions) <details> <summary>View changed files</summary> 📝 `src-tauri/src/lib.rs` (+1 -1) 📝 `src-tauri/yaak-git/bindings/gen_models.ts` (+1 -1) 📝 `src-tauri/yaak-models/bindings/gen_models.ts` (+1 -1) ➕ `src-tauri/yaak-models/migrations/20251031070515_environment-sort-priority.sql` (+2 -0) 📝 `src-tauri/yaak-models/src/models.rs` (+7 -3) 📝 `src-tauri/yaak-plugins/bindings/gen_models.ts` (+1 -1) 📝 `src-tauri/yaak-sync/bindings/gen_models.ts` (+1 -1) 📝 `src-web/components/ColorIndicator.tsx` (+8 -5) 📝 `src-web/components/EnvironmentColorIndicator.tsx` (+3 -0) 📝 `src-web/components/EnvironmentEditDialog.tsx` (+345 -227) 📝 `src-web/components/EnvironmentEditor.tsx` (+2 -2) 📝 `src-web/components/GitCommitDialog.tsx` (+14 -14) 📝 `src-web/components/Overlay.tsx` (+1 -3) 📝 `src-web/components/ResizeHandle.tsx` (+1 -1) 📝 `src-web/components/Sidebar.tsx` (+8 -25) 📝 `src-web/components/core/Button.tsx` (+1 -1) 📝 `src-web/components/core/Input.tsx` (+1 -2) 📝 `src-web/components/core/SplitLayout.tsx` (+6 -1) 📝 `src-web/components/core/Tabs/Tabs.tsx` (+0 -1) 📝 `src-web/components/core/tree/Tree.tsx` (+44 -13) _...and 5 more files_ </details> ### 📄 Description This PR update the environment edit dialog to use the new sidebar `<Tree/>` component <img width="1876" height="1188" alt="CleanShot 2025-10-31 at 08 52 16@2x" src="https://github.com/user-attachments/assets/097c4df5-f44b-4901-ab8b-6e0475c95b0d" /> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:19:52 +01:00
adam closed this issue 2025-12-29 07:19:52 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#209