fix worker list not refreshing

This commit is contained in:
Nathan
2025-12-17 16:25:49 -07:00
parent 17f685c91a
commit 38105c2cfb
2 changed files with 197 additions and 0 deletions

View File

@@ -7193,3 +7193,199 @@ Adding a show/hide toggle button next to the render key field. Updating the View
---
Adding a show/hide toggle button for the render key:
---
<tool-use data-tool-type="unknown" data-tool-name="edit_file_v2">
<details>
<summary>Tool use: **edit_file_v2**</summary>
Parameters:
```json
{
"relativeWorkspacePath": "ViewModels/GlobalSettingsViewModel.cs"
}
```
Additional data:
```json
{
"codeblockId": "d6e69e42-6315-499a-b32f-0a18740bfde5"
}
```
Status: **completed**
</details>
</tool-use>
---
<tool-use data-tool-type="unknown" data-tool-name="edit_file_v2">
<details>
<summary>Tool use: **edit_file_v2**</summary>
Parameters:
```json
{
"relativeWorkspacePath": "ViewModels/GlobalSettingsViewModel.cs"
}
```
Additional data:
```json
{
"codeblockId": "5f97b8c4-3317-4377-8136-8cde61ce0df3"
}
```
Status: **completed**
</details>
</tool-use>
---
<tool-use data-tool-type="unknown" data-tool-name="edit_file_v2">
<details>
<summary>Tool use: **edit_file_v2**</summary>
Parameters:
```json
{
"relativeWorkspacePath": "Views/GlobalSettingsWindow.axaml"
}
```
Additional data:
```json
{
"codeblockId": "3c228bfe-f52a-417e-a8d4-44b179662a8f"
}
```
Status: **completed**
</details>
</tool-use>
---
<tool-use data-tool-type="unknown" data-tool-name="edit_file_v2">
<details>
<summary>Tool use: **edit_file_v2**</summary>
Parameters:
```json
{
"relativeWorkspacePath": "Views/GlobalSettingsWindow.axaml.cs"
}
```
Additional data:
```json
{
"codeblockId": "d78620ba-7f68-40f0-b699-77bedad26e1f"
}
```
Status: **completed**
</details>
</tool-use>
---
<tool-use data-tool-type="unknown" data-tool-name="edit_file_v2">
<details>
<summary>Tool use: **edit_file_v2**</summary>
Parameters:
```json
{
"relativeWorkspacePath": "Views/GlobalSettingsWindow.axaml.cs"
}
```
Additional data:
```json
{
"codeblockId": "3962a0a5-a3d7-4104-9dfa-0c39201970c9"
}
```
Status: **completed**
</details>
</tool-use>
---
<tool-use data-tool-type="shell" data-tool-name="run_terminal_command_v2">
<details><summary>Tool use: **run_terminal_command_v2** • Run command: dotnet build --no-restore 2>&1 | Select-Object -First 50</summary>
```bash
dotnet build --no-restore 2>&1 | Select-Object -First 50
```
```
UnifiedFarmLauncher -&gt; C:\Users\Nathan\Desktop\UFL\bin\Debug\net8.0\UnifiedFarmLauncher.dll
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:00.86
```
</details>
</tool-use>
---
Adding the missing using statement:
---
<tool-use data-tool-type="read" data-tool-name="read_file_v2">
<details><summary>Tool use: **read_file_v2** • Read file: Views/GlobalSettingsWindow.axaml.cs</summary>
</details>
</tool-use>
---
Build succeeded. Added a show/hide toggle button next to the render key field.
**Changes made:**
1. **ViewModel**: Added `IsRenderKeyVisible` to track visibility state
2. **UI**: Wrapped the render key TextBox in a Grid with a toggle button (eye icon) on the right
3. **Event handler**: Toggles the `PasswordChar` between `'*'` (hidden) and `'\0'` (visible), and updates the button icon between 👁 (show) and 🙈 (hide)
Clicking the button toggles between showing asterisks and showing the actual render key text. The button icon indicates the current state.
---
_**User**_
When I finish adding the worker, it doesn't appear in the list until I close and reopen.
---