Skip to content

Commit 0bc04e2

Browse files
committed
next: renamed config values page
1 parent 90ed0d4 commit 0bc04e2

File tree

5 files changed

+15
-12
lines changed

5 files changed

+15
-12
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/projects/api.svelte.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ export interface DeletePromotedTabRequest {
6262
}
6363

6464
export interface GetOrganizationProjectsParams {
65-
filter?: string;
66-
limit?: number;
65+
filter?: string;
66+
limit?: number;
6767
mode?: GetProjectsMode;
68-
page?: number;
69-
sort?: string;
68+
page?: number;
69+
sort?: string;
7070
}
7171

7272
export interface GetOrganizationProjectsRequest {
@@ -345,5 +345,4 @@ export function updateProject(request: UpdateProjectRequest) {
345345
queryClient.setQueryData(queryKeys.id(request.route.id), project);
346346
}
347347
}));
348-
}
349-
348+
}

src/Exceptionless.Web/ClientApp/src/lib/features/projects/components/dialogs/add-project-config-dialog.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
<AlertDialog.Content class="sm:max-w-[425px]">
3636
<form method="POST" use:enhance>
3737
<AlertDialog.Header>
38-
<AlertDialog.Title>Add New Configuration Setting</AlertDialog.Title>
38+
<AlertDialog.Title>Add New Configuration Value</AlertDialog.Title>
3939
<AlertDialog.Description
4040
>The <A href="https://exceptionless.com/docs/project-settings/#client-configuration" target="_blank">configuration value</A> will be sent to
4141
the Exceptionless clients in real time.</AlertDialog.Description
@@ -83,7 +83,7 @@
8383

8484
<AlertDialog.Footer>
8585
<AlertDialog.Cancel>Cancel</AlertDialog.Cancel>
86-
<AlertDialog.Action>Add Configuration Setting</AlertDialog.Action>
86+
<AlertDialog.Action>Add Configuration Value</AlertDialog.Action>
8787
</AlertDialog.Footer>
8888
</form>
8989
</AlertDialog.Content>

src/Exceptionless.Web/ClientApp/src/lib/features/projects/components/dialogs/remove-project-config-dialog.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@
1919
<AlertDialog.Root bind:open>
2020
<AlertDialog.Content>
2121
<AlertDialog.Header>
22-
<AlertDialog.Title>Delete Configuration Setting</AlertDialog.Title>
22+
<AlertDialog.Title>Delete Configuration Value</AlertDialog.Title>
2323
<AlertDialog.Description>
2424
Are you sure you want to delete "{name}"?
2525
</AlertDialog.Description>
2626
</AlertDialog.Header>
2727
<AlertDialog.Footer>
2828
<AlertDialog.Cancel>Cancel</AlertDialog.Cancel>
29-
<AlertDialog.Action class={buttonVariants({ variant: 'destructive' })} onclick={onSubmit}>Delete Configuration Setting</AlertDialog.Action>
29+
<AlertDialog.Action class={buttonVariants({ variant: 'destructive' })} onclick={onSubmit}>Delete Configuration Value</AlertDialog.Action>
3030
</AlertDialog.Footer>
3131
</AlertDialog.Content>
3232
</AlertDialog.Root>

src/Exceptionless.Web/ClientApp/src/routes/(app)/+layout.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
import { invalidateTokenQueries } from '$features/tokens/api.svelte';
1313
import { getMeQuery, invalidateUserQueries } from '$features/users/api.svelte';
1414
import { getGravatarFromCurrentUser } from '$features/users/gravatar.svelte';
15+
import { invalidateWebhookQueries } from '$features/webhooks/api.svelte';
1516
import { isEntityChangedType, type WebSocketMessageType } from '$features/websockets/models';
1617
import { WebSocketClient } from '$features/websockets/web-socket-client.svelte';
1718
import { validate } from '$shared/validation';
@@ -91,6 +92,9 @@
9192
case 'UserChanged':
9293
await invalidateUserQueries(queryClient, data.message);
9394
break;
95+
case 'WebHookChanged':
96+
await invalidateWebhookQueries(queryClient, data.message);
97+
break;
9498
default:
9599
await queryClient.invalidateQueries({ queryKey: [data.message.type] });
96100
break;

src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/client-settings/+page.svelte renamed to src/Exceptionless.Web/ClientApp/src/routes/(app)/project/[projectId]/configuration-values/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
<div class="space-y-6">
9292
<div>
93-
<H3>Client Configuration Settings</H3>
93+
<H3>Configuration Values</H3>
9494
<Muted
9595
>The <A href="https://exceptionless.com/docs/project-settings/#client-configuration" target="_blank">configuration value</A> will be sent to the Exceptionless
9696
clients in real time. This allows you to change how your app works without redeploying your app.</Muted
@@ -103,7 +103,7 @@
103103
<div class="h-9 min-w-[140px]">
104104
<Button size="sm" onclick={() => (showAddProjectConfigDialog = true)}>
105105
<Plus class="mr-2 size-4" />
106-
Add Client Configuration Setting</Button
106+
Add Configuration Value</Button
107107
>
108108
</div>
109109

0 commit comments

Comments
 (0)