Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb45f32c

Browse files
committed
feat: add Unhealthy Workspaces filter option
Adds a new preset filter option 'Unhealthy workspaces' to the workspacefiltering interface. This filter shows workspaces with failed status,making it easier for users to quickly identify and manage problematicworkspaces.Changes:- Add 'unhealthy' query mapping to 'status:failed' in workspaceFilterQuery- Add 'Unhealthy workspaces' preset to PRESET_FILTERS arrayThe filter integrates seamlessly with the existing StatusMenu andWorkspacesTable components.
1 parent4095330 commitb45f32c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎site/src/pages/WorkspacesPage/filter/WorkspacesFilter.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const workspaceFilterQuery = {
1919
all:"",
2020
running:"status:running",
2121
failed:"status:failed",
22+
unhealthy:"status:failed",
2223
dormant:"dormant:true",
2324
outdated:"outdated:true",
2425
};
@@ -47,6 +48,10 @@ const PRESET_FILTERS: FilterPreset[] = [
4748
query:workspaceFilterQuery.failed,
4849
name:"Failed workspaces",
4950
},
51+
{
52+
query:workspaceFilterQuery.unhealthy,
53+
name:"Unhealthy workspaces",
54+
},
5055
{
5156
query:workspaceFilterQuery.outdated,
5257
name:"Outdated workspaces",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp