mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
feat: missing events
This commit is contained in:
+1
@@ -131,6 +131,7 @@
|
||||
</DropListItem>
|
||||
<DropListItem
|
||||
icon="trash"
|
||||
event="execution_delete"
|
||||
on:click={() => {
|
||||
selectedExecution = execution;
|
||||
showDropdown = [];
|
||||
|
||||
+7
@@ -20,6 +20,7 @@
|
||||
import { invalidate } from '$app/navigation';
|
||||
import { Alert, Heading } from '$lib/components';
|
||||
import { Button } from '$lib/elements/forms';
|
||||
import { trackEvent } from '$lib/actions/analytics';
|
||||
|
||||
export let data;
|
||||
let showAlert = true;
|
||||
@@ -59,6 +60,12 @@
|
||||
>.
|
||||
<svelte:fragment slot="buttons">
|
||||
<Button
|
||||
on:click={() =>
|
||||
trackEvent('click_open_website', {
|
||||
from: 'button',
|
||||
source: 'function_keys_card',
|
||||
destination: 'docs'
|
||||
})}
|
||||
href="https://appwrite.io/docs/products/functions/development"
|
||||
external
|
||||
text>
|
||||
|
||||
+3
-1
@@ -50,7 +50,9 @@
|
||||
type: 'success',
|
||||
message: 'Function scopes have been updated'
|
||||
});
|
||||
trackEvent(Submit.FunctionUpdateScopes);
|
||||
trackEvent(Submit.FunctionUpdateScopes, {
|
||||
scopes: functionScopes
|
||||
});
|
||||
} catch (error) {
|
||||
addNotification({
|
||||
type: 'error',
|
||||
|
||||
@@ -142,6 +142,7 @@
|
||||
{#if deployment.status === 'processing'}
|
||||
<DropListItem
|
||||
icon="x-circle"
|
||||
event="deployment_cancel"
|
||||
on:click={() => {
|
||||
selectedDeployment = deployment;
|
||||
showDropdown = [];
|
||||
|
||||
Reference in New Issue
Block a user