Skip to content

Commit 873de31

Browse files
Merge pull request #322 from appwrite/feat-cloud-lr
feat: lr for cloud
2 parents a0dfd89 + 9c7d530 commit 873de31

File tree

39 files changed

+77
-46
lines changed

39 files changed

+77
-46
lines changed

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@sentry/tracing": "^7.36.0",
2828
"analytics": "^0.8.1",
2929
"echarts": "^5.4.1",
30+
"logrocket": "^3.0.1",
3031
"pretty-bytes": "^6.1.0",
3132
"prismjs": "^1.29.0",
3233
"tippy.js": "^6.3.7",

src/lib/actions/analytics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function sendEventToGrowth(event: string, path: string, data: object = null): vo
8888
});
8989
}
9090

91-
function isTrackingAllowed() {
91+
export function isTrackingAllowed() {
9292
if (ENV.TEST) {
9393
return;
9494
}

src/lib/components/alert.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
class:icon-exclamation={type === 'warning'}
3333
class:icon-exclamation-circle={type === 'error'}
3434
aria-hidden="true" />
35-
<div class="alert-content">
35+
<div class="alert-content" data-private>
3636
{#if $$slots.title}
3737
<h6 class="alert-title">
3838
<slot name="title" />

src/lib/components/cardContainer.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
<ul
1212
class="grid-box common-section u-margin-block-start-32"
13-
style={`--grid-gap:1.5rem; --grid-item-size:${total > 3 ? '22rem' : '25rem'};`}>
13+
style={`--grid-gap:1.5rem; --grid-item-size:${total > 3 ? '22rem' : '25rem'};`}
14+
data-private>
1415
<slot />
1516

1617
{#if total > 3 ? total < limit + offset : total % 2 !== 0}

src/lib/components/secret.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
export let copyEvent: string = null;
99
</script>
1010

11-
<div class="interactive-text-output" class:is-textarea={show}>
11+
<div class="interactive-text-output" class:is-textarea={show} data-private>
1212
{#if show}
1313
<span class="text u-line-height-1-5 u-break-all">{value}</span>
1414
{:else}

src/lib/components/tiles.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
<ul class="grid-box common-section" style="--grid-item-size:25rem;">
1+
<ul class="grid-box common-section" style="--grid-item-size:25rem;" data-private>
22
<slot />
33
</ul>

src/lib/elements/table/cellLink.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
export let title: string;
44
</script>
55

6-
<div class="table-col" data-title={title} role="cell">
6+
<div class="table-col" data-title={title} role="cell" data-private>
77
<a role="button" tabindex="0" class="link" {href}><slot /></a>
88
</div>

src/lib/elements/table/cellText.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
class:is-only-desktop={onlyDesktop}
1111
class:u-overflow-visible={showOverflow}
1212
data-title={title}
13-
role="cell">
13+
role="cell"
14+
data-private>
1415
<Trim><slot /></Trim>
1516
</div>

src/lib/elements/table/table.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
class="table is-selected-columns-mobile"
88
class:u-margin-block-start-32={!noMargin}
99
class:is-remove-outer-styles={noStyles}
10-
role="table">
10+
role="table"
11+
data-private>
1112
<slot />
1213
</div>

0 commit comments

Comments
 (0)