[PR #225] [MERGED] Environment colors #150

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

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/225
Author: @gschier
Created: 6/7/2025
Status: Merged
Merged: 6/8/2025
Merged by: @gschier

Base: masterHead: environment-colors


📝 Commits (3)

📊 Changes

19 files changed (+182 additions, -25 deletions)

View changed files

📝 package-lock.json (+11 -0)
src-tauri/migrations/20250611120000_environment-color.sql (+1 -0)
📝 src-tauri/yaak-git/bindings/gen_models.ts (+1 -1)
📝 src-tauri/yaak-models/bindings/gen_models.ts (+1 -1)
📝 src-tauri/yaak-models/bindings/gen_util.ts (+1 -6)
📝 src-tauri/yaak-models/src/models.rs (+4 -0)
📝 src-tauri/yaak-plugins/bindings/gen_events.ts (+1 -7)
📝 src-tauri/yaak-plugins/bindings/gen_models.ts (+1 -1)
📝 src-tauri/yaak-sync/bindings/gen_models.ts (+1 -1)
📝 src-tauri/yaak-sync/bindings/gen_sync.ts (+1 -2)
📝 src-web/components/EnvironmentActionsDropdown.tsx (+4 -1)
src-web/components/EnvironmentColorCircle.tsx (+29 -0)
src-web/components/EnvironmentColorPicker.tsx (+26 -0)
📝 src-web/components/EnvironmentEditDialog.tsx (+11 -1)
📝 src-web/components/Workspace.tsx (+23 -3)
src-web/components/core/ColorPicker.tsx (+40 -0)
📝 src-web/components/core/Icon.tsx (+2 -1)
src-web/lib/showColorPicker.tsx (+23 -0)
📝 src-web/package.json (+1 -0)

📄 Description

This PR makes it possible to assign a color to an environment

https://github.com/user-attachments/assets/1df4c882-764a-4358-8b3b-d7b57319f5bd


🔄 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/225 **Author:** [@gschier](https://github.com/gschier) **Created:** 6/7/2025 **Status:** ✅ Merged **Merged:** 6/8/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `master` ← **Head:** `environment-colors` --- ### 📝 Commits (3) - [`2a0ff5e`](https://github.com/mountain-loop/yaak/commit/2a0ff5e3ee39c08089a745e4dc1d097b17edcbde) Environment colors - [`55b24d8`](https://github.com/mountain-loop/yaak/commit/55b24d89c2ff9d5df4463647c837ce86f480edae) Extract component - [`7535d80`](https://github.com/mountain-loop/yaak/commit/7535d80605acb92e5c15123792069add8942874a) Subtle environment BG tint ### 📊 Changes **19 files changed** (+182 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+11 -0) ➕ `src-tauri/migrations/20250611120000_environment-color.sql` (+1 -0) 📝 `src-tauri/yaak-git/bindings/gen_models.ts` (+1 -1) 📝 `src-tauri/yaak-models/bindings/gen_models.ts` (+1 -1) 📝 `src-tauri/yaak-models/bindings/gen_util.ts` (+1 -6) 📝 `src-tauri/yaak-models/src/models.rs` (+4 -0) 📝 `src-tauri/yaak-plugins/bindings/gen_events.ts` (+1 -7) 📝 `src-tauri/yaak-plugins/bindings/gen_models.ts` (+1 -1) 📝 `src-tauri/yaak-sync/bindings/gen_models.ts` (+1 -1) 📝 `src-tauri/yaak-sync/bindings/gen_sync.ts` (+1 -2) 📝 `src-web/components/EnvironmentActionsDropdown.tsx` (+4 -1) ➕ `src-web/components/EnvironmentColorCircle.tsx` (+29 -0) ➕ `src-web/components/EnvironmentColorPicker.tsx` (+26 -0) 📝 `src-web/components/EnvironmentEditDialog.tsx` (+11 -1) 📝 `src-web/components/Workspace.tsx` (+23 -3) ➕ `src-web/components/core/ColorPicker.tsx` (+40 -0) 📝 `src-web/components/core/Icon.tsx` (+2 -1) ➕ `src-web/lib/showColorPicker.tsx` (+23 -0) 📝 `src-web/package.json` (+1 -0) </details> ### 📄 Description This PR makes it possible to assign a color to an environment https://github.com/user-attachments/assets/1df4c882-764a-4358-8b3b-d7b57319f5bd --- <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:33 +01:00
adam closed this issue 2025-12-29 07:19:33 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#150