Skip to content

Commit fc83486

Browse files
committed
Merge branch 'main' into fix-SER-457-resolve-forever-pending-deployments
2 parents 032f094 + 60d0bdb commit fc83486

74 files changed

Lines changed: 2410 additions & 2572 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Copilot Setup Steps
2+
3+
# Automatically run the setup steps when they are changed to allow for easy validation, and
4+
# allow manual testing through the repository's "Actions" tab
5+
on:
6+
workflow_dispatch:
7+
push:
8+
paths:
9+
- .github/workflows/copilot-setup-steps.yml
10+
pull_request:
11+
paths:
12+
- .github/workflows/copilot-setup-steps.yml
13+
14+
jobs:
15+
copilot-setup-steps:
16+
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
19+
steps:
20+
- uses: actions/checkout@v5
21+
- name: Use Node.js
22+
uses: actions/setup-node@v6
23+
with:
24+
node-version: 20
25+
- name: Install pnpm
26+
uses: pnpm/action-setup@v4
27+
- name: Install dependencies
28+
run: pnpm install --frozen-lockfile

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@
2424
"@ai-sdk/svelte": "^1.1.24",
2525
"@appwrite.io/console": "https://pkg.pr.new/appwrite-labs/cloud/@appwrite.io/console@2752",
2626
"@appwrite.io/pink-icons": "0.25.0",
27-
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@50b60cc",
27+
"@appwrite.io/pink-icons-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-icons-svelte@46f65c7",
2828
"@appwrite.io/pink-legacy": "^1.0.3",
29-
"@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@10305c4",
29+
"@appwrite.io/pink-svelte": "https://pkg.vc/-/@appwrite/@appwrite.io/pink-svelte@46f65c7",
3030
"@faker-js/faker": "^9.9.0",
3131
"@popperjs/core": "^2.11.8",
3232
"@sentry/sveltekit": "^8.38.0",

pnpm-lock.yaml

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<script lang="ts">
2+
import { Copy } from '.';
3+
import { Icon, Tag } from '@appwrite.io/pink-svelte';
4+
import { IconDuplicate } from '@appwrite.io/pink-icons-svelte';
5+
import { getProjectEndpoint } from '$lib/helpers/project';
6+
</script>
7+
8+
<Copy value={getProjectEndpoint()} copyText="Copy endpoint">
9+
<Tag size="xs" variant="code">
10+
<Icon icon={IconDuplicate} size="s" slot="start" />
11+
<span style:white-space="nowrap" style:overflow="hidden" style:word-break="break-all">
12+
API endpoint
13+
</span>
14+
</Tag>
15+
</Copy>

src/lib/components/backupRestoreBox.svelte

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -125,20 +125,18 @@
125125
126126
onMount(() => {
127127
// fast path: don't subscribe if org is on a free plan or is self-hosted.
128-
if (isSelfHosted || (isCloud && $organization.billingPlan === BillingPlan.FREE)) return;
129-
130-
return realtime
131-
.forProject(page.params.region, page.params.project)
132-
.subscribe('console', (response) => {
133-
if (!response.channels.includes(`projects.${getProjectId()}`)) return;
134-
135-
if (
136-
response.events.includes('archives.*') ||
137-
response.events.includes('restorations.*')
138-
) {
139-
updateOrAddItem(response.payload);
140-
}
141-
});
128+
if (isSelfHosted || (isCloud && $organization?.billingPlan === BillingPlan.FREE)) return;
129+
130+
return realtime.forProject(page.params.region, 'console', (response) => {
131+
if (!response.channels.includes(`projects.${getProjectId()}`)) return;
132+
133+
if (
134+
response.events.includes('archives.*') ||
135+
response.events.includes('restorations.*')
136+
) {
137+
updateOrAddItem(response.payload);
138+
}
139+
});
142140
});
143141
</script>
144142

src/lib/components/copy.svelte

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
disabled={tooltipDisabled}
5858
portal={tooltipPortal}
5959
delay={tooltipDelay}
60+
maxWidth="500px"
6061
placement={tooltipPlacement}>
6162
<span
6263
data-private

0 commit comments

Comments
 (0)