Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix migration modal #831

Closed
wants to merge 246 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
246 commits
Select commit Hold shift + click to select a range
a3e5f7b
feat: add sessions scope
loks0n Dec 19, 2023
40ae318
feat: account scope
loks0n Dec 19, 2023
76d64cd
Add messaging to navigation
stnguyen90 Oct 16, 2023
11b0689
Add new messaging provider icons
stnguyen90 Oct 18, 2023
9f3c3b1
Update oauth providers key since it was changed in the backend
stnguyen90 Nov 29, 2023
ade620c
Temporarily fix undefined billing limit
stnguyen90 Dec 20, 2023
a99082e
Add messaging overview route
stnguyen90 Oct 20, 2023
7532b8e
Update input elments to support popovers
stnguyen90 Nov 20, 2023
c99ea5b
Add messaging providers route
stnguyen90 Oct 24, 2023
16cc918
Add wizard for creating provider
stnguyen90 Oct 26, 2023
c8ef515
Add wizard for updating provider
stnguyen90 Dec 1, 2023
bb705cb
Add provider details route
stnguyen90 Oct 25, 2023
ae8da6a
Refactor providers table and add bulk deletion
stnguyen90 Dec 14, 2023
37a5d11
Update InputCheckbox to properly show label and description
stnguyen90 Nov 28, 2023
cd7e824
Update InputRadio to properly show label and description
stnguyen90 Nov 28, 2023
5ef5986
Create InputDate for only dates
stnguyen90 Nov 29, 2023
2670752
Create InputTime for only times
stnguyen90 Nov 29, 2023
8b953d4
Add a modal for selecting user targets
stnguyen90 Nov 30, 2023
96dc961
Create a wizard to send email messages
stnguyen90 Nov 29, 2023
fdb7dd1
Add a message detail page for email messages
stnguyen90 Nov 30, 2023
80e81b1
Update create message wizard to support SMS
stnguyen90 Nov 30, 2023
ff42635
Update message detail to show SMS preview
stnguyen90 Nov 30, 2023
e58a45c
Update create message wizard to support push
stnguyen90 Dec 1, 2023
f92dfce
Update message detail to show push preview
stnguyen90 Dec 1, 2023
f2313e3
Add messaging topics route
stnguyen90 Oct 20, 2023
ca67473
Implmement create topic modal
stnguyen90 Oct 30, 2023
5856b51
Add topic detail route
stnguyen90 Oct 30, 2023
ece8ec7
Add subscribers list route
stnguyen90 Nov 1, 2023
dbad10b
Add support for adding a subscriber to a topic
stnguyen90 Dec 5, 2023
8e789b6
Update the create message wizard to support topics
stnguyen90 Dec 6, 2023
9b84ea5
Refactor topics table and add bulk delete
stnguyen90 Dec 14, 2023
842da80
Add description to topics table and details
stnguyen90 Dec 15, 2023
fee8e9c
Add topic activity page
stnguyen90 Dec 15, 2023
26db45d
Update push preview to look like a mobile device
stnguyen90 Dec 6, 2023
48babe9
Update SMS preview to look like a mobile device
stnguyen90 Dec 12, 2023
cfcf17f
Fix export of the Filters component
stnguyen90 Dec 14, 2023
03852e1
Create a component to handle 0 results from filtering
stnguyen90 Dec 14, 2023
4158a8a
Allow controlling whether a column should be filterable
stnguyen90 Dec 14, 2023
604b323
Update tables to show EmptyFilter if filter returns 0 results
stnguyen90 Dec 14, 2023
bc35253
Update filterable columns on subscribers table
stnguyen90 Dec 14, 2023
c130820
Fix alignment of create message/provider dropdowns
stnguyen90 Dec 19, 2023
81ddc61
Fix the order create message/provider drop items
stnguyen90 Dec 19, 2023
8008e58
Merge pull request #665 from appwrite/fix-messaging-design-review
TorstenDittmann Jan 2, 2024
8530a2a
Merge pull request #654 from appwrite/feat-filters
TorstenDittmann Jan 2, 2024
5a67888
Update input elments to support popovers
stnguyen90 Nov 20, 2023
08d67f7
Add messaging providers route
stnguyen90 Oct 24, 2023
f825b39
Add wizard for creating provider
stnguyen90 Oct 26, 2023
476f08a
Add wizard for updating provider
stnguyen90 Dec 1, 2023
c9a2e65
Add provider details route
stnguyen90 Oct 25, 2023
cab99c6
Refactor providers table and add bulk deletion
stnguyen90 Dec 14, 2023
60e9706
Update src/routes/console/project-[project]/messaging/providers/updat…
TorstenDittmann Jan 2, 2024
24bd1dd
Update src/routes/console/project-[project]/messaging/providers/wizar…
TorstenDittmann Jan 2, 2024
bc9c899
Update src/routes/console/project-[project]/messaging/providers/provi…
TorstenDittmann Jan 2, 2024
a532cb8
Merge branch 'feat-messaging-overview' into feat-messaging-create-mes…
TorstenDittmann Jan 2, 2024
844535a
fix: ci
TorstenDittmann Jan 2, 2024
6696e59
Merge branch 'feat-messaging-create-message' of https://github.com/ap…
TorstenDittmann Jan 2, 2024
a926621
Merge pull request #630 from appwrite/feat-messaging-create-message
TorstenDittmann Jan 2, 2024
80d3c00
Merge pull request #632 from appwrite/feat-messaging-message-detail
TorstenDittmann Jan 2, 2024
6a39aaa
Update src/routes/console/project-[project]/messaging/wizard/smsFormL…
TorstenDittmann Jan 2, 2024
f9931d2
Update src/routes/console/project-[project]/messaging/wizard/step1.sv…
TorstenDittmann Jan 2, 2024
c096073
Merge pull request #633 from appwrite/feat-messaging-create-sms-message
TorstenDittmann Jan 2, 2024
ea3c866
Merge branch 'feat-messaging-overview' into feat-messaging-create-pus…
TorstenDittmann Jan 2, 2024
7669ad7
Merge pull request #636 from appwrite/feat-messaging-create-push-message
TorstenDittmann Jan 2, 2024
6b371da
Merge pull request #597 from appwrite/feat-messaging-topics
TorstenDittmann Jan 2, 2024
e6f1846
Merge pull request #643 from appwrite/feat-messaging-push-preview
TorstenDittmann Jan 2, 2024
fd25222
Merge pull request #656 from appwrite/feat-ssr-add-sessions-scope
TorstenDittmann Jan 3, 2024
6cdf4a4
Merge pull request #596 from appwrite/feat-messaging-overview
TorstenDittmann Jan 3, 2024
3864ec6
fix: oAuthProviders param
loks0n Jan 12, 2024
03913d0
Merge pull request #719 from appwrite/fix-oauth-settings-page
TorstenDittmann Jan 12, 2024
dd259b6
chore: rename ssr scopes
loks0n Jan 17, 2024
dc5b779
Merge branch 'main' into feat-messaging
stnguyen90 Jan 17, 2024
3189ed8
fix: mfa
TorstenDittmann Jan 18, 2024
5f28247
Remove provider default param
stnguyen90 Jan 3, 2024
4b89915
Remove MQTT provider as it was descoped for G1
stnguyen90 Jan 3, 2024
a2a7975
Default enabled to true when creating a provider
stnguyen90 Jan 3, 2024
d4d09ad
Add a route to show user targets
stnguyen90 Jan 9, 2024
075b7d7
Allow topics with empty string
stnguyen90 Jan 11, 2024
f111ee9
Update filterable subscriber columns
stnguyen90 Jan 17, 2024
a5443b2
Ensure messages table re-renders on filter
stnguyen90 Jan 17, 2024
c0b3ceb
Don't allow filtering on message
stnguyen90 Jan 17, 2024
2bb789b
Update messages search placeholder
stnguyen90 Jan 17, 2024
9e838a7
Move the User Targets Filters & Columns buttons to the same row as th…
stnguyen90 Jan 17, 2024
3343fb2
Fix user targets modal text
stnguyen90 Jan 17, 2024
b15835f
Remove bullet points from the topics modal
stnguyen90 Jan 18, 2024
7aea163
Update search subscribers placeholder
stnguyen90 Jan 18, 2024
5fefbf9
Update wizard to support additional action buttons
stnguyen90 Jan 19, 2024
4346d2d
Add support for saving messages as draft
stnguyen90 Jan 19, 2024
517ec52
Merge branch '1.5.x' of https://github.com/appwrite/console into feat…
TorstenDittmann Jan 22, 2024
b0ba4d5
fix: some issues
TorstenDittmann Jan 22, 2024
34ffc29
fix: audit
TorstenDittmann Jan 22, 2024
e3664b8
run formatter
TorstenDittmann Jan 22, 2024
9877eca
Fix wrong key passed for creating FCM provider
abnegate Jan 24, 2024
1d31cd0
Fix email provider params
abnegate Jan 24, 2024
8a711fa
ci: run on every branch
TorstenDittmann Jan 24, 2024
fe6bf8c
ci: run on every branch
TorstenDittmann Jan 24, 2024
1b89c70
fix: some merge stuffs
TorstenDittmann Jan 24, 2024
2de13c7
fix: audit stuff
TorstenDittmann Jan 24, 2024
c3907e4
Merge pull request #595 from appwrite/feat-messaging
TorstenDittmann Jan 24, 2024
0a3ee23
Merge branch '1.5.x' of https://github.com/appwrite/console into feat…
TorstenDittmann Jan 24, 2024
ab5a7e6
fix: unused imports
TorstenDittmann Jan 25, 2024
5820b07
Fix vertical alignment of Targets header
stnguyen90 Jan 29, 2024
c28feb3
Update the date and time inputs to open on click
stnguyen90 Jan 29, 2024
a98e586
Reset targets accordion when changing pages
stnguyen90 Jan 29, 2024
49ba6f6
Add tooltip to custom data input
stnguyen90 Jan 29, 2024
c59c8ba
Merge pull request #749 from appwrite/fix-targets-modal-accordion
TorstenDittmann Jan 30, 2024
ade03a2
Merge pull request #748 from appwrite/feat-input-date-click-area
TorstenDittmann Jan 30, 2024
3546e43
Adds pointer cursor to date/time fields
wess Jan 30, 2024
951266d
fix: storage not loading on selfhosted
ArmanNik Feb 1, 2024
b46bebb
Merge pull request #755 from appwrite/fix-storage-selfhosted-v2
TorstenDittmann Feb 1, 2024
f6228ba
Merge pull request #751 from appwrite/fix-schedule-message-fields
TorstenDittmann Feb 1, 2024
51e6bd3
Merge pull request #747 from appwrite/fix-messaging-targets-heading
TorstenDittmann Feb 1, 2024
8441240
Merge pull request #750 from appwrite/feat-push-custom-data-info
TorstenDittmann Feb 1, 2024
757a327
Merge pull request #742 from appwrite/fix-fcm-credentials
TorstenDittmann Feb 1, 2024
0e9a684
Updated requested size for file image from 32 to 64
wess Feb 1, 2024
265a773
Merge pull request #758 from appwrite/fix-hidpi-2x
TorstenDittmann Feb 1, 2024
94e605d
Fix provider and provider type checking
stnguyen90 Feb 2, 2024
d91f458
Fix Message data typing
stnguyen90 Feb 2, 2024
4d65629
Fix lint errors
stnguyen90 Feb 2, 2024
f65d946
Remove message and topic descriptions
stnguyen90 Feb 2, 2024
3928a63
Add messaging scopes
abnegate Feb 2, 2024
8a8e68f
Fix missing comma
abnegate Feb 2, 2024
b756b0c
Update target scope descriptions
abnegate Feb 2, 2024
091ca26
Merge pull request #761 from appwrite/feat-messaging-scopes
abnegate Feb 2, 2024
b0eba22
Merge pull request #760 from appwrite/feat-messaging-remove-descriptions
TorstenDittmann Feb 2, 2024
2962cad
chore: use node 20 in ci
TorstenDittmann Feb 2, 2024
9b137ad
Merge branch '1.5.x' of https://github.com/appwrite/console into fix-…
TorstenDittmann Feb 2, 2024
d3414aa
chore: fix lint issues
TorstenDittmann Feb 2, 2024
9fcbb3f
Merge pull request #759 from appwrite/fix-svelte-errors
TorstenDittmann Feb 2, 2024
0bb7a09
Merge branch '1.5.x' of https://github.com/appwrite/console into feat…
TorstenDittmann Feb 2, 2024
a1a85d5
Branching from 1.5.x, ensures undefined tooltips are not shown
wess Feb 2, 2024
3a11562
making it prettier
wess Feb 2, 2024
bda9bb3
Add email OTP toggle
Meldiron Feb 4, 2024
d7568ba
Merge pull request #765 from appwrite/feat-add-email-otp-toggle
TorstenDittmann Feb 5, 2024
c28fd6e
Update console SDK
abnegate Feb 5, 2024
01aa032
Merge pull request #768 from appwrite/chore-update-sdk
abnegate Feb 5, 2024
a95c4fa
Fix sendgrid tooltip
wess Feb 5, 2024
8e35e7d
Fix tooltip for TextMagic
wess Feb 5, 2024
f9a4f98
Use enums from the console SDK whenever possible
stnguyen90 Feb 5, 2024
c6c8679
Remove unnecessary backup
stnguyen90 Feb 5, 2024
a1cd316
Fix listInvoices() queries type
stnguyen90 Feb 6, 2024
ac8a9a9
Add messaging service to sdkForProject
stnguyen90 Feb 6, 2024
3f0e60d
Fixes issue where, when creating a message, the article for the provi…
wess Feb 6, 2024
6edea22
Updated for special SMS handling
wess Feb 6, 2024
4f2a95a
Adds link to providers
wess Feb 6, 2024
0a825c4
Adds link to all provider tooltipss that opens provider page in new tab
wess Feb 7, 2024
7560ff0
Merge pull request #764 from appwrite/fix-msg-config
TorstenDittmann Feb 7, 2024
ec7ebd3
Replace client.call() with the respective SDK methods
stnguyen90 Feb 6, 2024
6b44873
Add support for SMTP provider
stnguyen90 Feb 7, 2024
44f48ba
Make some provider fields optional
stnguyen90 Feb 7, 2024
9182a5b
Fixes from design review
stnguyen90 Feb 7, 2024
5d35185
Add support for bulk deleting messages
stnguyen90 Feb 7, 2024
79886b4
Don't allow deleting processing message
stnguyen90 Feb 7, 2024
c66f5e7
Show topics in message details
stnguyen90 Feb 7, 2024
4f81e48
Show targets in message details
stnguyen90 Feb 7, 2024
0f9e6bd
Update messaging related text
stnguyen90 Feb 8, 2024
ef5b08c
Merge pull request #780 from appwrite/feat-messaging-consistent-terms
TorstenDittmann Feb 8, 2024
921c073
Merge pull request #777 from appwrite/fix-add-message-provider-links
TorstenDittmann Feb 8, 2024
7bda700
Merge pull request #774 from appwrite/feat-messaging-delete-messages
TorstenDittmann Feb 8, 2024
213bb2b
Merge pull request #779 from appwrite/feat-messaging-topics-targets-i…
TorstenDittmann Feb 8, 2024
63876f9
Merge pull request #773 from appwrite/feat-messaging-smtp-provider
TorstenDittmann Feb 8, 2024
4265d59
Merge branch '1.5.x' into fix-sendgrid-tooltip
TorstenDittmann Feb 8, 2024
1c53aa3
Merge pull request #769 from appwrite/fix-sendgrid-tooltip
TorstenDittmann Feb 8, 2024
28d2a50
Merge branch '1.5.x' into fix-textmagic-tooltip
TorstenDittmann Feb 8, 2024
6fb031d
Merge pull request #770 from appwrite/fix-textmagic-tooltip
TorstenDittmann Feb 8, 2024
7087c05
Merge pull request #772 from appwrite/fix-message-create-text
TorstenDittmann Feb 8, 2024
4cf5d3d
Merge branch '1.5.x' into feat-messaging-sdk
TorstenDittmann Feb 8, 2024
04cb828
fix: link type for smtp provider store
TorstenDittmann Feb 8, 2024
d2ca2c3
fix: remove unused import
TorstenDittmann Feb 8, 2024
be09dde
Merge pull request #771 from appwrite/feat-messaging-sdk
TorstenDittmann Feb 8, 2024
b433fbf
Fix unresponsive edit message
stnguyen90 Feb 9, 2024
44df59c
Fix alignment of the push phone preview
stnguyen90 Feb 9, 2024
e65925d
Merge branch '1.5.x' of https://github.com/appwrite/console into feat…
TorstenDittmann Feb 9, 2024
5e9ce9e
fix: enums
TorstenDittmann Feb 9, 2024
2504b05
Fix bug extracting data when editing provider
stnguyen90 Feb 8, 2024
7d1b592
Implement updating provider name
stnguyen90 Feb 8, 2024
40981e6
Merge pull request #789 from appwrite/feat-mfa
TorstenDittmann Feb 9, 2024
79eef77
Merge pull request #788 from appwrite/fix-messaging-edit-message
TorstenDittmann Feb 9, 2024
8dcb8ed
Temp fixes for svelte diagnostic errors
stnguyen90 Feb 9, 2024
51f9442
Fix lint errors
stnguyen90 Feb 9, 2024
8c8f0b7
Merge pull request #790 from appwrite/fix-svelte-diagnostic-errors
TorstenDittmann Feb 9, 2024
1df9b6c
Update custom data tooltip for clarity
stnguyen90 Feb 10, 2024
571c104
Show max length for sms and push messages
stnguyen90 Feb 10, 2024
1b41304
Merge pull request #797 from appwrite/feat-messaging-message-max-length
TorstenDittmann Feb 12, 2024
7b3a8b3
Merge pull request #796 from appwrite/feat-messaging-custom-data-tooltip
TorstenDittmann Feb 12, 2024
cf7b417
Use longGeneric instead of longOffset for time zone name
stnguyen90 Feb 10, 2024
1fed189
Fix filtering user targets by created at
stnguyen90 Feb 9, 2024
8a267dc
Fix empty state for user targets
stnguyen90 Feb 10, 2024
a5707ff
Merge branch 'main' of https://github.com/appwrite/console into sync-…
TorstenDittmann Feb 13, 2024
2300ef9
fix: svelte kit 2 migration
TorstenDittmann Feb 13, 2024
de32132
fix: sync package lock
TorstenDittmann Feb 13, 2024
25a6218
chore: run linter
TorstenDittmann Feb 13, 2024
09c1627
Merge pull request #811 from appwrite/sync-release-branch
TorstenDittmann Feb 13, 2024
254490a
Fix message status pill colors
stnguyen90 Feb 13, 2024
d312dc1
Update messages table to show Details link for errors
stnguyen90 Feb 13, 2024
9065a08
Update copy on the message errors modal
stnguyen90 Feb 13, 2024
d6130d1
Add a button to view logs in message details
stnguyen90 Feb 13, 2024
e436c19
Don't show delete card if message is processing
stnguyen90 Feb 13, 2024
25c7a5a
Update copy for delete message card and modal
stnguyen90 Feb 13, 2024
97ba01d
Hide Usage tab on self-hosted project settings page
stnguyen90 Feb 13, 2024
74f09e3
Update links to messaging docs
stnguyen90 Feb 10, 2024
1be1e4f
fix: hidden modals
TorstenDittmann Feb 13, 2024
3b3fb4d
fix: pricing issue
TorstenDittmann Feb 14, 2024
ab8506e
Merge branch '1.5.x' of https://github.com/appwrite/console into 1.5.x
TorstenDittmann Feb 14, 2024
1d94297
fix: mfa
TorstenDittmann Feb 14, 2024
640f933
Update links in provider popovers
stnguyen90 Feb 8, 2024
7804ada
Remove provider link property since it's not used
stnguyen90 Feb 8, 2024
381c23a
Update phone input to support popovers
stnguyen90 Feb 8, 2024
1e98d29
Fix pattern for domain
stnguyen90 Feb 8, 2024
28525fe
Removed required prop from InputSwitch
stnguyen90 Feb 8, 2024
2985aa6
Ensure sensitive provider fields use a password input
stnguyen90 Feb 8, 2024
9083bc0
Allow revealing the value for provider password inputs
stnguyen90 Feb 8, 2024
df9891b
Update password input to support popovers
stnguyen90 Feb 8, 2024
5273546
Update all provider inputs to hide popover button when there's no pop…
stnguyen90 Feb 8, 2024
4f72a48
Use a large shadow for popover dropped cards
stnguyen90 Feb 8, 2024
45c910a
Enforce required password inputs for providers
stnguyen90 Feb 8, 2024
9494f3a
Don't send empty strings for optional provider fields
stnguyen90 Feb 8, 2024
3b5085c
Skip some tests for the InputDomain input
stnguyen90 Feb 9, 2024
2d603fe
Fix twilio popover links and text
stnguyen90 Feb 14, 2024
fd1ba68
Fix Vonage popover links and text
stnguyen90 Feb 14, 2024
a295754
Fix SendGrid case and link
stnguyen90 Feb 14, 2024
06c0659
Fix Textmagic case and popover text
stnguyen90 Feb 14, 2024
006dd3b
Update SDK
abnegate Feb 19, 2024
44edd46
feat: new console sdk and typings
abnegate Feb 19, 2024
2b6092e
Updates migration modal to ensure show
wess Feb 20, 2024
fb1a70b
Flips check for migrationId
wess Feb 20, 2024
dc55a6b
feat(messaging): fix total on topics page
stnguyen90 Feb 21, 2024
4bd21f5
fix(messaging): move topics modal description closer to header
stnguyen90 Feb 21, 2024
ccfe6b9
fix(messaging): reduce space before pagination in topics modal
stnguyen90 Feb 21, 2024
041ec1f
fix(messaging): add dividers between topics in topics modal
stnguyen90 Feb 21, 2024
2e72d3c
feat(messaging): remove SMTP icon from provider wizard
stnguyen90 Feb 20, 2024
3752102
feat(messaging): make SMTP provider settings match the project SMTP s…
stnguyen90 Feb 20, 2024
00433f6
feat(messaging): update sendgrid icons
stnguyen90 Feb 20, 2024
deab043
feat(messaging): update textmagic icons
stnguyen90 Feb 20, 2024
6eae539
Update View logs button in message details
stnguyen90 Feb 13, 2024
3995d9c
Update message type in select topics modal description
stnguyen90 Feb 13, 2024
a2e2695
Adds Message category to scopes
wess Feb 13, 2024
917551f
Lint updates
wess Feb 15, 2024
83c35aa
Merge pull request #837 from appwrite/feat-messaging-topics-modal
TorstenDittmann Feb 21, 2024
90da937
Update SDK
abnegate Feb 21, 2024
6331bf6
Updates for SDK version
abnegate Feb 21, 2024
88f8028
Merge remote-tracking branch 'origin/1.5.x' into chore-update-sdk
abnegate Feb 21, 2024
d75ef94
Fix diagnostics
abnegate Feb 21, 2024
03e1693
Fix diagnostics
abnegate Feb 21, 2024
16fd39d
Lint
abnegate Feb 21, 2024
ae7c453
Merge pull request #838 from appwrite/chore-update-sdk
TorstenDittmann Feb 21, 2024
8792c01
Merge branch '1.5.x' into fix-migration-modal
wess Feb 21, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
name: Tests

on:
push:
branches: [main]
paths-ignore:
- '**/*.md'
- 'static/**/*'
pull_request:
branches: [main]
branches: ['**']
paths-ignore:
- '**/*.md'
- 'static/**/*'
Expand All @@ -23,9 +18,9 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
# - name: Audit dependencies
# run: npm audit --audit-level low
node-version: 20
- name: Audit dependencies
run: npm audit --audit-level low
- name: Install dependencies
run: npm ci
- name: Svelte Diagnostics
Expand Down
1,372 changes: 706 additions & 666 deletions package-lock.json

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"e2e": "playwright test tests/e2e"
},
"dependencies": {
"@appwrite.io/console": "^0.5.0",
"@appwrite.io/pink": "0.3.0",
"@appwrite.io/pink-icons": "0.3.0",
"@appwrite.io/console": "^0.6.0-rc.12",
"@appwrite.io/pink": "0.4.0",
"@appwrite.io/pink-icons": "0.4.0",
"@popperjs/core": "^2.11.8",
"@sentry/svelte": "^7.66.0",
"@sentry/tracing": "^7.66.0",
Expand All @@ -37,8 +37,7 @@
"pretty-bytes": "^6.1.1",
"prismjs": "^1.29.0",
"svelte-confetti": "^1.3.0",
"tippy.js": "^6.3.7",
"web-vitals": "^3.4.0"
"tippy.js": "^6.3.7"
},
"devDependencies": {
"@melt-ui/pp": "^0.1.4",
Expand Down
4 changes: 1 addition & 3 deletions src/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
/// <reference types="@sveltejs/kit" />
interface Window {
VERCEL_ANALYTICS_ID: string | false;
}
interface Window {}
16 changes: 15 additions & 1 deletion src/lib/actions/analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ export enum Submit {
UserUpdateStatus = 'submit_user_update_status',
UserUpdateVerificationEmail = 'submit_user_update_verification_email',
UserUpdateVerificationPhone = 'submit_user_update_verification_phone',
UserTargetCreate = 'submit_user_target_create',
UserTargetDelete = 'submit_user_target_delete',
OrganizationCreate = 'submit_organization_create',
OrganizationDelete = 'submit_organization_delete',
OrganizationUpdateName = 'submit_organization_update_name',
Expand Down Expand Up @@ -289,5 +291,17 @@ export enum Submit {
SmsResetTemplate = 'submit_sms_reset_template',
SmsUpdateInviteTemplate = 'submit_sms_update_invite_template',
SmsUpdateLoginTemplate = 'submit_sms_update_login_template',
SmsUpdateVerificationTemplate = 'submit_sms_update_verification_template'
SmsUpdateVerificationTemplate = 'submit_sms_update_verification_template',
MessagingProviderCreate = 'submit_messaging_provider_create',
MessagingProviderDelete = 'submit_messaging_provider_delete',
MessagingProviderUpdate = 'submit_messaging_provider_update',
MessagingMessageCreate = 'submit_messaging_message_create',
MessagingMessageUpdate = 'submit_messaging_message_update',
MessagingMessageDelete = 'submit_messaging_message_delete',
MessagingTopicCreate = 'submit_messaging_topic_create',
MessagingTopicDelete = 'submit_messaging_topic_delete',
MessagingTopicUpdateName = 'submit_messaging_topic_update_name',
MessagingTopicUpdateDescription = 'submit_messaging_topic_update_description',
MessagingTopicSubscriberAdd = 'submit_messaging_topic_subscriber_add',
MessagingTopicSubscriberDelete = 'submit_messaging_topic_subscriber_delete'
}
1 change: 1 addition & 0 deletions src/lib/commandCenter/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const groups = [
'platforms',
'databases',
'functions',
'messaging',
'storage',
'domains',
'webhooks',
Expand Down
4 changes: 3 additions & 1 deletion src/lib/components/creditCardBrandImage.svelte
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
<script lang="ts">
import { isValueOfStringEnum } from '$lib/helpers/types';
import { sdk } from '$lib/stores/sdk';
import { CreditCard } from '@appwrite.io/console';

export let brand: string;
export let width = 23;
export let height = 16;

function getCreditCardImage(brand: string, width = 46, height = 32) {
if (!brand) return '';
if (!isValueOfStringEnum(CreditCard, brand)) return '';
return sdk.forConsole.avatars.getCreditCard(brand, width, height).toString();
}
</script>
Expand Down
7 changes: 6 additions & 1 deletion src/lib/components/drop.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
export let noStyle = false;
export let fullWidth = false;
export let fixed = false;
export let display = 'block';

const dispatch = createEventDispatcher<{
blur: undefined;
Expand Down Expand Up @@ -100,7 +101,11 @@

<svelte:window on:click={onBlur} on:keydown={onKeyDown} />

<div class:drop-wrapper={!noStyle} class:u-cross-child-start={childStart} bind:this={element}>
<div
class:drop-wrapper={!noStyle}
class:u-cross-child-start={childStart}
bind:this={element}
style:display>
<slot />
</div>

Expand Down
26 changes: 26 additions & 0 deletions src/lib/components/emptyFilter.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<script lang="ts">
import { Button } from '$lib/elements/forms';
import { EmptySearch } from '.';
import { queries } from './filters';

export let resource;
</script>

<EmptySearch hidePages>
<div class="common-section">
<div class="u-text-center common-section">
<b class="body-text-2 u-bold">Sorry, we couldn't find any {resource}.</b>
<p>There are no {resource} that match your filters.</p>
</div>
<div class="u-flex common-section u-main-center">
<Button
secondary
on:click={() => {
queries.clearAll();
queries.apply();
}}>
Clear filters
</Button>
</div>
</div>
</EmptySearch>
2 changes: 1 addition & 1 deletion src/lib/components/eventModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
</div>
{:else}
<div class="input-text-wrapper" style="--amount-of-buttons:2" bind:this={copyParent}>
<!--
<!--
This object syntax avoids TS erroring because 'type' isn't a valid HTMLDivElement attribute
(we need to set it to 'text' to add styling)
-->
Expand Down
10 changes: 6 additions & 4 deletions src/lib/components/filters/content.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,12 @@
<ul class="selects u-flex u-gap-8 u-margin-block-start-16">
<InputSelect
id="column"
options={$columns.map((c) => ({
label: c.title,
value: c.id
}))}
options={$columns
.filter((c) => c.filter !== false)
.map((c) => ({
label: c.title,
value: c.id
}))}
placeholder="Select column"
bind:value={columnId} />
<InputSelect
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/filters/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export { default as filters } from './filters.svelte';
export { default as Filters } from './filters.svelte';
export { hasPageQueries, queryParamToMap, queries } from '$lib/components/filters/store';
1 change: 1 addition & 0 deletions src/lib/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export { default as UploadBox } from './uploadBox.svelte';
export { default as List } from './list.svelte';
export { default as ListItem } from './listItem.svelte';
export { default as Empty } from './empty.svelte';
export { default as EmptyFilter } from './emptyFilter.svelte';
export { default as EmptySearch } from './emptySearch.svelte';
export { default as Drop } from './drop.svelte';
export { default as DropList } from './dropList.svelte';
Expand Down
11 changes: 11 additions & 0 deletions src/lib/components/labelCard.svelte
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
<script lang="ts">
import { tooltip } from '$lib/actions/tooltip';
import { app } from '$lib/stores/app';
import { base } from '$app/paths';

export let name: string;
export let group: string;
export let value: string | number | boolean;
export let disabled = false;
export let padding = 1;
export let icon: string = null;
export let imageIcon: string = null;
export let fullHeight = true;
export let borderRadius: 'xsmall' | 'small' | 'medium' | 'large' = 'small';
export let backgroundColor: string = null;
Expand Down Expand Up @@ -57,6 +60,14 @@
{#if icon}
<span class={`icon-${icon} u-margin-inline-start-auto`} aria-hidden="true" />
{/if}
{#if imageIcon}
<img
class="u-margin-inline-start-auto"
style:max-inline-size="1.25rem"
style:max-block-size="1.25rem"
src={`${base}/icons/${$app.themeInUse}/color/${imageIcon}.svg`}
alt={imageIcon} />
{/if}
{/if}
</div>
</label>
5 changes: 3 additions & 2 deletions src/lib/components/modalWrapper.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@

<dialog
class="modal"
class:u-hide={!show}
class:is-small={size === 'small'}
class:is-big={size === 'big'}
class:is-separate-header={headerDivider}
{style}
bind:this={dialog}
on:cancel|preventDefault>
on:cancel|preventDefault
{style}>
{#if show}
<slot close={closeModal} />
{/if}
Expand Down
77 changes: 76 additions & 1 deletion src/lib/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export const CARD_LIMIT = 6; // default card limit
export const INTERVAL = 5 * 60000; // default interval to check for feedback

export enum Dependencies {
FACTORS = 'dependency:factors',
CREDIT = 'dependency:credit',
INVOICES = 'dependency:invoices',
ADDRESS = 'dependency:address',
Expand All @@ -17,6 +18,7 @@ export enum Dependencies {
ACCOUNT_SESSIONS = 'dependency:account_sessions',
USER = 'dependency:user',
USERS = 'dependency:users',
USER_TARGETS = 'dependency:user_targets',
SESSIONS = 'dependency:sessions',
TEAM = 'dependency:team',
TEAMS = 'dependency:teams',
Expand Down Expand Up @@ -47,7 +49,14 @@ export enum Dependencies {
MIGRATIONS = 'dependency:migrations',
COLLECTIONS = 'dependency:collections',
RUNTIMES = 'dependency:runtimes',
CONSOLE_VARIABLES = 'dependency:console_variables'
CONSOLE_VARIABLES = 'dependency:console_variables',
MESSAGING_PROVIDERS = 'dependency:messaging_providers',
MESSAGING_PROVIDER = 'dependency:messaging_provider',
MESSAGING_MESSAGES = 'dependency:messaging_messages',
MESSAGING_MESSAGE = 'dependency:messaging_message',
MESSAGING_TOPICS = 'dependency:messaging_topics',
MESSAGING_TOPIC = 'dependency:messaging_topic',
MESSAGING_TOPIC_SUBSCRIBERS = 'dependency:messaging_topic_subscribers'
}

export const scopes: {
Expand All @@ -65,6 +74,21 @@ export const scopes: {
description: "Access to create, update, and delete your project's users",
category: 'Auth'
},
{
scope: 'sessions.write',
description: "Access to create, update and delete your project's sessions",
category: 'Auth'
},
{
scope: 'accounts.read',
description: 'Access to read your active account',
category: 'Auth'
},
{
scope: 'accounts.write',
description: 'Access to create, update and delete your active account',
category: 'Auth'
},
{
scope: 'teams.read',
description: "Access to read your project's teams",
Expand Down Expand Up @@ -168,6 +192,57 @@ export const scopes: {
description: "Access to execute your project's functions",
category: 'Functions'
},
{
scope: 'targets.read',
description: "Access to read your project's messaging targets",
category: 'Messaging'
},
{
scope: 'targets.write',
description: "Access to create, update, and delete your project's messaging targets",
category: 'Messaging'
},
{
scope: 'providers.read',
description: "Access to read your project's messaging providers",
category: 'Messaging'
},
{
scope: 'providers.write',
description: "Access to create, update, and delete your project's messaging providers",
category: 'Messaging'
},
{
scope: 'messages.read',
description: "Access to read your project's messages",
category: 'Messaging'
},
{
scope: 'messages.write',
description: "Access to create, update, and delete your project's messages",
category: 'Messaging'
},
{
scope: 'topics.read',
description: "Access to read your project's messaging topics",
category: 'Messaging'
},
{
scope: 'topics.write',
description: "Access to create, update, and delete your project's messaging topics",
category: 'Messaging'
},
{
scope: 'subscribers.read',
description: "Access to read your project's messaging topic subscribers",
category: 'Messaging'
},
{
scope: 'subscribers.write',
description:
"Access to create, update, and delete your project's messaging topic subscribers",
category: 'Messaging'
},
{
scope: 'locale.read',
description: "Access to access your project's Locale service",
Expand Down
3 changes: 3 additions & 0 deletions src/lib/elements/flag.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script lang="ts">
import { isValueOfStringEnum } from '$lib/helpers/types';
import { sdk } from '$lib/stores/sdk';
import { Flag } from '@appwrite.io/console';
export let flag: string;
export let name: string = flag;
export let width = 40;
Expand All @@ -9,6 +11,7 @@
export { classes as class };

export function getFlag(country: string, width: number, height: number, quality: number) {
if (!isValueOfStringEnum(Flag, country)) return '';
let flag = sdk.forProject.avatars
.getFlag(country, width * 2, height * 2, quality)
?.toString();
Expand Down
2 changes: 2 additions & 0 deletions src/lib/elements/forms/button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
export let disabled = false;
export let external = false;
export let href: string = null;
export let download: string = undefined;
export let fullWidth = false;
export let fullWidthMobile = false;
export let ariaLabel: string = null;
Expand Down Expand Up @@ -63,6 +64,7 @@
on:click
on:click={track}
{href}
{download}
target={external ? '_blank' : ''}
rel={external ? 'noopener noreferrer' : ''}
class={resolvedClasses}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/elements/forms/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,5 @@ export { default as Label } from './label.svelte';
export { default as InputProjectId } from './inputProjectId.svelte';
export { default as InputDate } from './inputDate.svelte';
export { default as InputDateRange } from './inputDateRange.svelte';
export { default as InputTime } from './inputTime.svelte';
export { default as InputDigits } from './inputDigits.svelte';
Loading
Loading