Skip to content

Commit 3c0be72

Browse files
Apply suggestions from code review
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
1 parent 2c3b030 commit 3c0be72

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

docs/admin/users.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,14 +130,14 @@ kubectl exec -it deployment/coder /bin/bash -n coder
130130
coder reset-password <username>
131131
```
132132

133-
## Filtering users
133+
## Filtering Users
134134

135-
In the Coder UI you can filter your users using the pre-defined filter or by using the Coder's filter query like the examples below:
135+
In the Coder UI, you can filter your users using pre-defined filters or by utilizing the Coder's filter query. The examples provided below demonstrate how to use the Coder's filter query:
136136

137-
- `status:active` to find active users
138-
- `role:admin` to find admin users
137+
- To find active users, use the filter `status:active`.
138+
- To find admin users, use the filter `role:admin`.
139139

140-
The supported filters are:
140+
The following filters are supported:
141141

142-
- `status` - The status of the user. It can be a `active` or `suspended`.
143-
- `role` - The role of the user. You can [find here](https://pkg.go.dev/github.com/coder/coder/codersdk#TemplateRole) all the user roles that are supported.
142+
- `status` - Indicates the status of the user. It can be either `active` or `suspended`.
143+
- `role` - Represents the role of the user. You can refer to the [TemplateRole documentation](https://pkg.go.dev/github.com/coder/coder/codersdk#TemplateRole) for a list of supported user roles.

docs/workspaces.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -90,18 +90,18 @@ Coder stores macOS and Linux logs at the following locations:
9090

9191
> Note: Logs are truncated once they reach 5MB in size.
9292
93-
## Filtering workspaces
93+
## Workspace Filtering
9494

95-
In the Coder UI you can filter your workspaces using the pre-defined filter or by using the Coder's filter query like the examples below:
95+
In the Coder UI, you can filter your workspaces using pre-defined filters or employing the Coder's filter query. Take a look at the following examples to understand how to use the Coder's filter query:
9696

97-
- `owner:me` to find the workspaces that you own
98-
- `status:running` to find `running` workspaces
97+
- To find the workspaces that you own, use the filter `owner:me`.
98+
- To find workspaces that are currently running, use the filter `status:running`.
9999

100-
The supported filters are:
100+
The following filters are supported:
101101

102-
- `owner` - The `username` of the owner. You can also use `me` as an alias for the logged in user.
103-
- `template` - The name of the template.
104-
- `status` - The status of the workspace. You can [find here](https://pkg.go.dev/github.com/coder/coder/codersdk#WorkspaceStatus) all the statuses that are supported.
102+
- `owner` - Represents the `username` of the owner. You can also use `me` as a convenient alias for the logged-in user.
103+
- `template` - Specifies the name of the template.
104+
- `status` - Indicates the status of the workspace. For a list of supported statuses, please refer to the [WorkspaceStatus documentation](https://pkg.go.dev/github.com/coder/coder/codersdk#WorkspaceStatus).
105105

106106
---
107107

0 commit comments

Comments
 (0)