Skip to content

Commit a5ed291

Browse files
sosweethamSahil2004grv-saini-20coodos
authored
feat: add deep link support (#268)
* feat: add deep link support * fix: remove db/data * fix: add db/data to gitignore * fix: remove useless comment * feat: wallet deep link logic * fix: remove useless comments * fix: lock file * fix: add files * chore: formatting fixed. * chore: lint fixed. * chore: fixed nested onMount conflict. * chore: fixed duplicate handleFinalSubmit function definitions. * chore: formatting. * fix: Improve URL parsing and error handling for deep links. * chore: formatting. * fix: Conditional scanning start based on deep link presence. * fix: Security concern: Hardcoded session ID in test file. * fix: Add input validation and sanitization for deep link parameters. * fix: Critical: Missing error handling for URL constructor. * fix: Critical: Inverted domain validation logic. * fix: Refactor complex deep link parsing logic. * Merge platforms (#270) * feat: setup control-panel project, added-colors same as eid-wallet * feat: group * fix: separate page added for members * chore: added dummy data and commented the protection on routes for development purposes. * feat: added view participants button. * feat: added participants modal * feat: group * feat: group-charter-manager * feat: added nanoid * feat: added context menu and the owner or admin status * feat: added context menu functionality on frontend. * fix: lock file * fix: added a edit modal * chore: renamed to member. * fix: responsiveness * fix: responsiveness * feat: added group settings page. * fix: role based editing * feat: show info and not allow edits when not a group admin or owner. * fix: user role based edit in group info * fix: edit image with pencil icon * fix: added a text area * feat: new group functionality and textarea fixed * feat: new group functionality and textarea fixed * feat: added close icon on dialog boxes for accessibility improvement. * feat: removed save and close button on group settings for non admin or non owner users. * feat: added add members button. * feat: added add members component. * feat: added relevant checks. * feat: added icons next to owner and admin. * feat: added new chat button. * chore: fixed squigglies. * feat: added new chat flow. * chore: trimed down the non-required code and made a new next js project group charter manager. * feat: added working 404 page with some changes. * feat: fixed and added /dashboard route * chore: upgraded tailwind v3 to v4 in old group charter * chore: copied old index.css to new global.css * chore: added missing dependencies for tailwindcss * chore: upgraded new charter app's whole codebase to tailwind v4 * chore: moved dashboard page to correct route * feat: added new charter page * feat: added single charter page. * feat: added /charter/:id/edit route * chore: removed old charter codebase. * feat: eVoting * chore: project moved to platforms * chore: created a new next app and moved the older to the old folder * chore: moved the old to old dir. * chore: migrated old project to tailwindcss v4 * feat: added components and other stuff to the new proj. * feat: added the not found page. * feat: added homepage. * feat: added create page. * feat: added vote/id page. * chore: remove the old evoting proj. * feat: add a button, modal for sign charter * fix: lock file * fix: lock file --------- Co-authored-by: Sahil Garg <[email protected]> Co-authored-by: Merul Dhiman <[email protected]> * fix: added state to the required variable to correctly reflect updated state. * fix: formatting. * chore: formatting and added prettier in group-charter-manager. * chore: formatting * fix: critical performance issue with missing dependency array. * fix: paraglide errors due to dependency error in control panel. * fix: user profile types. * chore: checks fixed in pictique. * fix: controlpanel deps issue. * chore: renamed to a consistent namimg convention of handle instead of username. * chore: formatting. * fix: pglide * fix: remove ignore for check * fix: normalize check script --------- Co-authored-by: Sahil Garg <[email protected]> Co-authored-by: Gourav Saini <[email protected]> Co-authored-by: Sahil Garg <[email protected]> Co-authored-by: Merul Dhiman <[email protected]>
1 parent f03f10d commit a5ed291

File tree

50 files changed

+810
-158
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+810
-158
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,5 @@ yarn-error.log*
4040
# Misc
4141
.DS_Store
4242
*.pem
43+
44+
/db/data

db.compose.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
services:
2+
db:
3+
image: postgres:16
4+
container_name: dev-metastate-db
5+
environment:
6+
POSTGRES_USER: metastate
7+
POSTGRES_PASSWORD: metastate
8+
POSTGRES_DB: metastate
9+
volumes:
10+
- ./db/data:/var/lib/postgresql/data
11+
ports:
12+
- "5432:5432"

db/.gitinclude

Whitespace-only changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3+
"extends": ["../../biome.json"],
4+
"organizeImports": {
5+
"include": ["src/**/*.ts", "src/**/*.svelte"]
6+
},
7+
"files": {
8+
"ignore": ["src/lib/paraglide/*"]
9+
}
10+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cache

infrastructure/eid-wallet/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@tauri-apps/api": "^2",
2828
"@tauri-apps/plugin-barcode-scanner": "^2.2.0",
2929
"@tauri-apps/plugin-biometric": "^2.2.0",
30+
"@tauri-apps/plugin-deep-link": "^2.4.1",
3031
"@tauri-apps/plugin-opener": "^2",
3132
"@tauri-apps/plugin-store": "^2.2.0",
3233
"@veriff/incontext-sdk": "^2.4.0",

infrastructure/eid-wallet/src-tauri/Cargo.lock

Lines changed: 102 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

infrastructure/eid-wallet/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ thiserror = { version = "2.0.11" }
3333
tauri-plugin-barcode-scanner = "2"
3434
tauri-plugin-biometric = "2.2.0"
3535
tauri-plugin-crypto-hw = "0.1.0"
36-
36+
tauri-plugin-deep-link = { git = "https://github.com/sosweetham/plugins-workspace", rev = "0668697" }

infrastructure/eid-wallet/src-tauri/Info.ios.plist

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,16 @@
1212
<key>NSAllowsArbitraryLoads</key>
1313
<true/>
1414
</dict>
15+
<key>CFBundleURLTypes</key>
16+
<array>
17+
<dict>
18+
<key>CFBundleURLName</key>
19+
<string>foundation.metastate.eid-wallet</string>
20+
<key>CFBundleURLSchemes</key>
21+
<array>
22+
<string>w3ds</string>
23+
</array>
24+
</dict>
25+
</array>
1526
</dict>
1627
</plist>

infrastructure/eid-wallet/src-tauri/capabilities/mobile.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"opener:default",
99
"store:default",
1010
"biometric:default",
11-
"barcode-scanner:default"
11+
"barcode-scanner:default",
12+
"deep-link:default"
1213
],
1314
"platforms": ["iOS", "android"]
1415
}

0 commit comments

Comments
 (0)