-
Notifications
You must be signed in to change notification settings - Fork 3
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
refactor: Wire up Tauri listeners in onMount
of root layout
#322
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maiertech
changed the title
Maiertech/issue246
refactor: Wire up Tauri listeners in Aug 6, 2024
onMount
of root layout
maiertech
force-pushed
the
maiertech/issue246
branch
from
August 20, 2024 09:08
5edf4ac
to
c38a7ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great refactoring! 👍
daniel-mader
approved these changes
Aug 27, 2024
Oran-Dan
approved these changes
Aug 28, 2024
Oran-Dan
added a commit
that referenced
this pull request
Aug 30, 2024
* ci: release version 0.6.8 (#346) * fix: bindings * feat: add default_trust_list.json * test: add testing, not final * feat: enable multiple trust lists * chore: remove comment * refactore: rename actions and reducers * feat: add TrustList level actions * refactor: trustlist owned bool, name to id, reset to default * chore: fix domain name * feat: add trust list management frontend * refactor: implement lists view & domain list * refactor: Wire up Tauri listeners in `onMount` of root layout (#322) * Wire up Tauri state-changed listener in `onMount` of root layout * Wire up Tauri error listener in root layout * Update comments * build: Replace `npm` with `pnpm` (#348) * Swap out `npm` for `pnpm` Fixes #347 * Address review comments * chore: cargo fmt and fix binding naming * feat: prevent edits on imported lists * refactor: remove unused reset functionality * feat: add placeholder when no lists * refactor: trustlist actions * refactor: remove trustlist default impl * refactor: use updated Action names * fix: rename broken bindings * refactor: remove `Default` trait * refactor: show `display_name` instead of `id` * feat: update default trusted domains --------- Co-authored-by: Daniel Mader <[email protected]> Co-authored-by: Thilo Maier <[email protected]>
daniel-mader
added a commit
that referenced
this pull request
Dec 4, 2024
* WIP * Add Thuiswinkel verification checkmark * fix: fix logo_url binding, renameto thuiswinkel_validation * Rename `thuiswinkel_waarborg_verification` to `thuiswinkel_verification` in frontend * feat: add `issuance_date` to `ValidationResult` * Change label for domain verification * fix: fix `issuance_date` * Add issuance date and change logo position * chore(deps-dev): bump prettier-plugin-tailwindcss from 0.6.1 to 0.6.5 (#259) Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.1 to 0.6.5. - [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md) - [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.6.1...v0.6.5) --- updated-dependencies: - dependency-name: prettier-plugin-tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @ianvs/prettier-plugin-sort-imports (#260) Bumps [@ianvs/prettier-plugin-sort-imports](https://github.com/ianvs/prettier-plugin-sort-imports) from 4.2.1 to 4.3.0. - [Release notes](https://github.com/ianvs/prettier-plugin-sort-imports/releases) - [Changelog](https://github.com/IanVS/prettier-plugin-sort-imports/blob/main/CHANGELOG.md) - [Commits](IanVS/prettier-plugin-sort-imports@v4.2.1...v4.3.0) --- updated-dependencies: - dependency-name: "@ianvs/prettier-plugin-sort-imports" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier-plugin-svelte from 3.2.3 to 3.2.5 (#262) Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 3.2.3 to 3.2.5. - [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md) - [Commits](sveltejs/prettier-plugin-svelte@v3.2.3...v3.2.5) --- updated-dependencies: - dependency-name: prettier-plugin-svelte dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nander Stabel <[email protected]> * chore(deps-dev): bump prettier from 3.3.0 to 3.3.2 (#261) Bumps [prettier](https://github.com/prettier/prettier) from 3.3.0 to 3.3.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.3.0...3.3.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Make `imageId` reactive * fix: fix lint errors * add: backend actions-reducers for editable trust list * cargo fmt * add: testing * feat: trusted domains list (first version) (#352) * ci: release version 0.6.8 (#346) * fix: bindings * feat: add default_trust_list.json * test: add testing, not final * feat: enable multiple trust lists * chore: remove comment * refactore: rename actions and reducers * feat: add TrustList level actions * refactor: trustlist owned bool, name to id, reset to default * chore: fix domain name * feat: add trust list management frontend * refactor: implement lists view & domain list * refactor: Wire up Tauri listeners in `onMount` of root layout (#322) * Wire up Tauri state-changed listener in `onMount` of root layout * Wire up Tauri error listener in root layout * Update comments * build: Replace `npm` with `pnpm` (#348) * Swap out `npm` for `pnpm` Fixes #347 * Address review comments * chore: cargo fmt and fix binding naming * feat: prevent edits on imported lists * refactor: remove unused reset functionality * feat: add placeholder when no lists * refactor: trustlist actions * refactor: remove trustlist default impl * refactor: use updated Action names * fix: rename broken bindings * refactor: remove `Default` trait * refactor: show `display_name` instead of `id` * feat: update default trusted domains --------- Co-authored-by: Daniel Mader <[email protected]> Co-authored-by: Thilo Maier <[email protected]> * feat: add `validate_linked_verifiable_presentations` * refactor: apply clippy suggestions * feat: use `ServiceEndpoint::from` * refactor: remove unused variables * refactor: replace icon imports * feat: filter linked VPs based on trust list * feat: display trusted domains as trusted issuers * chore: add 'naam' to fn get_name * chore: make default trustlist for all accounts upon creation, cargo clippy * chore: add documentation to the TrustLists field in the appstate * chore: fix prerendering, set prerender of trust-list/[id] to false * fix: use explicit name for variable * feat: use different random value source for custom list names * chore: fix comments PR * chore: fix PR comments * chore: add https:// to test strings and default trust list * chore: fix PR comments * chore: pnpm format * chore: fix PR comments * chore: fix PR comment * chore: fix PR comments * chore: updated bindings * chore: fix default trust list empty id * chore: fix action name * chore: edit action names * chore: remove actual company name * chore: use consistent id * chore: remove renamed actions * chore: make log messages consistent * feat: improve log messages * feat: update custom trust list name * chore: remove unused code * style: fix formatting --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Nander Stabel <[email protected]> Co-authored-by: Thilo Maier <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Mader <[email protected]>
Oran-Dan
added a commit
that referenced
this pull request
Dec 10, 2024
…l-known/openid-credential-issuer` (#414) * WIP * Add Thuiswinkel verification checkmark * fix: fix logo_url binding, renameto thuiswinkel_validation * Rename `thuiswinkel_waarborg_verification` to `thuiswinkel_verification` in frontend * feat: add `issuance_date` to `ValidationResult` * Change label for domain verification * fix: fix `issuance_date` * Add issuance date and change logo position * chore(deps-dev): bump prettier-plugin-tailwindcss from 0.6.1 to 0.6.5 (#259) Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.1 to 0.6.5. - [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md) - [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.6.1...v0.6.5) --- updated-dependencies: - dependency-name: prettier-plugin-tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @ianvs/prettier-plugin-sort-imports (#260) Bumps [@ianvs/prettier-plugin-sort-imports](https://github.com/ianvs/prettier-plugin-sort-imports) from 4.2.1 to 4.3.0. - [Release notes](https://github.com/ianvs/prettier-plugin-sort-imports/releases) - [Changelog](https://github.com/IanVS/prettier-plugin-sort-imports/blob/main/CHANGELOG.md) - [Commits](IanVS/prettier-plugin-sort-imports@v4.2.1...v4.3.0) --- updated-dependencies: - dependency-name: "@ianvs/prettier-plugin-sort-imports" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier-plugin-svelte from 3.2.3 to 3.2.5 (#262) Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 3.2.3 to 3.2.5. - [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md) - [Commits](sveltejs/prettier-plugin-svelte@v3.2.3...v3.2.5) --- updated-dependencies: - dependency-name: prettier-plugin-svelte dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nander Stabel <[email protected]> * chore(deps-dev): bump prettier from 3.3.0 to 3.3.2 (#261) Bumps [prettier](https://github.com/prettier/prettier) from 3.3.0 to 3.3.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.3.0...3.3.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Make `imageId` reactive * fix: fix lint errors * add: backend actions-reducers for editable trust list * cargo fmt * add: testing * feat: trusted domains list (first version) (#352) * ci: release version 0.6.8 (#346) * fix: bindings * feat: add default_trust_list.json * test: add testing, not final * feat: enable multiple trust lists * chore: remove comment * refactore: rename actions and reducers * feat: add TrustList level actions * refactor: trustlist owned bool, name to id, reset to default * chore: fix domain name * feat: add trust list management frontend * refactor: implement lists view & domain list * refactor: Wire up Tauri listeners in `onMount` of root layout (#322) * Wire up Tauri state-changed listener in `onMount` of root layout * Wire up Tauri error listener in root layout * Update comments * build: Replace `npm` with `pnpm` (#348) * Swap out `npm` for `pnpm` Fixes #347 * Address review comments * chore: cargo fmt and fix binding naming * feat: prevent edits on imported lists * refactor: remove unused reset functionality * feat: add placeholder when no lists * refactor: trustlist actions * refactor: remove trustlist default impl * refactor: use updated Action names * fix: rename broken bindings * refactor: remove `Default` trait * refactor: show `display_name` instead of `id` * feat: update default trusted domains --------- Co-authored-by: Daniel Mader <[email protected]> Co-authored-by: Thilo Maier <[email protected]> * feat: add `validate_linked_verifiable_presentations` * refactor: apply clippy suggestions * feat: use `ServiceEndpoint::from` * refactor: remove unused variables * refactor: replace icon imports * feat: add alignment & criteria display * chore: pnpm format * chore: eslint failed * feat: filter linked VPs based on trust list * feat: display trusted domains as trusted issuers * chore: try to fix git workflow build fail * chore: try to fix git workflow build fail * chore: add comment to ubuntu version fix * chore: update serde_json dependency, make error messages static for consistency between version updates * chore: cargo fmt * chore: cargo clippy * chore: fix tests * chore: cargo fmt * feat: add achievementType to badge overview display * ci: release version 0.6.13 * fix: disable prerender trust-list * WIP * WIP * WIP * ci: release version 0.6.14 * chore: rename variable * chore: fix log message * chore: fix trusted domain validation * feat: add default trust lists to all profiles at creation * feat: add did:web url validation against trust_list, format * chore: cargo clippy: * feat: add fetching logo from well known endpoint * chore: fix fallback icon, add comments * chore: add credenco to trusted issuers * ci: release version 0.6.15 * fix: set SD-JWT format check back to `VcSdJwt` (#394) * feat: display `alignment` & `criteria` for Open Badges 3.0 (#386) * ci: release version 0.6.12 (#370) * chore(deps-dev): bump globals from 15.9.0 to 15.11.0 (#389) Bumps [globals](https://github.com/sindresorhus/globals) from 15.9.0 to 15.11.0. - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v15.9.0...v15.11.0) --- updated-dependencies: - dependency-name: globals dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump typescript-eslint from 8.2.0 to 8.12.0 (#391) Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.2.0 to 8.12.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier-plugin-svelte from 3.2.6 to 3.2.7 (#382) Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 3.2.6 to 3.2.7. - [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md) - [Commits](sveltejs/prettier-plugin-svelte@v3.2.6...v3.2.7) --- updated-dependencies: - dependency-name: prettier-plugin-svelte dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump postcss from 8.4.45 to 8.4.47 (#375) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.45 to 8.4.47. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.45...8.4.47) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: resolve PR comments * chore: resole PR comment * chore: resolve PR comment --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Daniel Mader <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: use hash-based image identifier to prevent caching, use colored background for icon fallback (#396) * fix: use colored background when icon fallback is displayed * fix: use hash-based image identifier to prevent caching * ci: release version 0.7.0 * fix: trusted issuer domain url validation (#397) * fix: url validation for trusted issuers * chore: replace expect() with ok() * Make it more clear how scrolling is done * Define prop `class` for `TopNavBar` to make it more explicit * Remove unneded class * Fix `/me/settings` * Fix `/me/settings/app` * Fix `/me/settings/about` * Fix `/me/settings/app/did` * Fix `/me/settings/app/keys` * Fix `/me/settings/app/language` * Fix `/me/settings/app/theme` * Fix `/me/settings/app/trust-list` * Fix `/me/settings/profile` * Fix `/prompt/accept-connection` * Fix `/prompt/credential-offer` * Fix `/prompt/share-credentials` * fix: adjust UniMe text color in dark mode * feat: add terms & conditions * fix: checkbox tick color in dark mode * feat: update app icon * ci: release version 0.7.1 * feat: update app icon * feat: fix app icon * fix: higher resolution app icon * refactor: remove `Beta` from `productName` * ci: release version 0.7.2 * refactor: update camera usage description * refactor: update camera usage description * Fix layout issues by creating a new stacking context (#410) * ci: release version 0.7.3 * fix: support StatusList2021Entry, add logo fetching from well-known/openid-credential-issuer Credential Configurations Supported * chore: refactor fn get_logo_uri * chore: add domain to default trust list * chore: cargo clippy * chore: merge dev unime/ folder into branch * chore: checkout dev identity-wallet/src/state/trustlist/ * chore: checkout dev into identity-wallet/ files * chore: remove outdated files * chore: remove outdated unime/ files * chore: fix tests * chore: remove outdated domain * chore: add TODO in comment * chore: fix PascalCasing * chore: clarify log message * chore: add spec in comment to alternative property name * chore: remove workaround which should be fixed in frontend, add comments * chore: fix comments * chore: fix default trust list entries check in linked vp flow * chore: fix PR comments * chore : improve log messages * chore: update tests to include logo fetching through wiremock --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Nander Stabel <[email protected]> Co-authored-by: Thilo Maier <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Mader <[email protected]>
nanderstabel
added a commit
that referenced
this pull request
Dec 12, 2024
* fix: support `StatusList2021Entry` credentials, fetch logo from `.well-known/openid-credential-issuer` (#414) * WIP * Add Thuiswinkel verification checkmark * fix: fix logo_url binding, renameto thuiswinkel_validation * Rename `thuiswinkel_waarborg_verification` to `thuiswinkel_verification` in frontend * feat: add `issuance_date` to `ValidationResult` * Change label for domain verification * fix: fix `issuance_date` * Add issuance date and change logo position * chore(deps-dev): bump prettier-plugin-tailwindcss from 0.6.1 to 0.6.5 (#259) Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.6.1 to 0.6.5. - [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md) - [Commits](tailwindlabs/prettier-plugin-tailwindcss@v0.6.1...v0.6.5) --- updated-dependencies: - dependency-name: prettier-plugin-tailwindcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump @ianvs/prettier-plugin-sort-imports (#260) Bumps [@ianvs/prettier-plugin-sort-imports](https://github.com/ianvs/prettier-plugin-sort-imports) from 4.2.1 to 4.3.0. - [Release notes](https://github.com/ianvs/prettier-plugin-sort-imports/releases) - [Changelog](https://github.com/IanVS/prettier-plugin-sort-imports/blob/main/CHANGELOG.md) - [Commits](IanVS/prettier-plugin-sort-imports@v4.2.1...v4.3.0) --- updated-dependencies: - dependency-name: "@ianvs/prettier-plugin-sort-imports" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier-plugin-svelte from 3.2.3 to 3.2.5 (#262) Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 3.2.3 to 3.2.5. - [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md) - [Commits](sveltejs/prettier-plugin-svelte@v3.2.3...v3.2.5) --- updated-dependencies: - dependency-name: prettier-plugin-svelte dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nander Stabel <[email protected]> * chore(deps-dev): bump prettier from 3.3.0 to 3.3.2 (#261) Bumps [prettier](https://github.com/prettier/prettier) from 3.3.0 to 3.3.2. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.3.0...3.3.2) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Make `imageId` reactive * fix: fix lint errors * add: backend actions-reducers for editable trust list * cargo fmt * add: testing * feat: trusted domains list (first version) (#352) * ci: release version 0.6.8 (#346) * fix: bindings * feat: add default_trust_list.json * test: add testing, not final * feat: enable multiple trust lists * chore: remove comment * refactore: rename actions and reducers * feat: add TrustList level actions * refactor: trustlist owned bool, name to id, reset to default * chore: fix domain name * feat: add trust list management frontend * refactor: implement lists view & domain list * refactor: Wire up Tauri listeners in `onMount` of root layout (#322) * Wire up Tauri state-changed listener in `onMount` of root layout * Wire up Tauri error listener in root layout * Update comments * build: Replace `npm` with `pnpm` (#348) * Swap out `npm` for `pnpm` Fixes #347 * Address review comments * chore: cargo fmt and fix binding naming * feat: prevent edits on imported lists * refactor: remove unused reset functionality * feat: add placeholder when no lists * refactor: trustlist actions * refactor: remove trustlist default impl * refactor: use updated Action names * fix: rename broken bindings * refactor: remove `Default` trait * refactor: show `display_name` instead of `id` * feat: update default trusted domains --------- Co-authored-by: Daniel Mader <[email protected]> Co-authored-by: Thilo Maier <[email protected]> * feat: add `validate_linked_verifiable_presentations` * refactor: apply clippy suggestions * feat: use `ServiceEndpoint::from` * refactor: remove unused variables * refactor: replace icon imports * feat: add alignment & criteria display * chore: pnpm format * chore: eslint failed * feat: filter linked VPs based on trust list * feat: display trusted domains as trusted issuers * chore: try to fix git workflow build fail * chore: try to fix git workflow build fail * chore: add comment to ubuntu version fix * chore: update serde_json dependency, make error messages static for consistency between version updates * chore: cargo fmt * chore: cargo clippy * chore: fix tests * chore: cargo fmt * feat: add achievementType to badge overview display * ci: release version 0.6.13 * fix: disable prerender trust-list * WIP * WIP * WIP * ci: release version 0.6.14 * chore: rename variable * chore: fix log message * chore: fix trusted domain validation * feat: add default trust lists to all profiles at creation * feat: add did:web url validation against trust_list, format * chore: cargo clippy: * feat: add fetching logo from well known endpoint * chore: fix fallback icon, add comments * chore: add credenco to trusted issuers * ci: release version 0.6.15 * fix: set SD-JWT format check back to `VcSdJwt` (#394) * feat: display `alignment` & `criteria` for Open Badges 3.0 (#386) * ci: release version 0.6.12 (#370) * chore(deps-dev): bump globals from 15.9.0 to 15.11.0 (#389) Bumps [globals](https://github.com/sindresorhus/globals) from 15.9.0 to 15.11.0. - [Release notes](https://github.com/sindresorhus/globals/releases) - [Commits](sindresorhus/globals@v15.9.0...v15.11.0) --- updated-dependencies: - dependency-name: globals dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump typescript-eslint from 8.2.0 to 8.12.0 (#391) Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.2.0 to 8.12.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.12.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump prettier-plugin-svelte from 3.2.6 to 3.2.7 (#382) Bumps [prettier-plugin-svelte](https://github.com/sveltejs/prettier-plugin-svelte) from 3.2.6 to 3.2.7. - [Changelog](https://github.com/sveltejs/prettier-plugin-svelte/blob/master/CHANGELOG.md) - [Commits](sveltejs/prettier-plugin-svelte@v3.2.6...v3.2.7) --- updated-dependencies: - dependency-name: prettier-plugin-svelte dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps-dev): bump postcss from 8.4.45 to 8.4.47 (#375) Bumps [postcss](https://github.com/postcss/postcss) from 8.4.45 to 8.4.47. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.4.45...8.4.47) --- updated-dependencies: - dependency-name: postcss dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: resolve PR comments * chore: resole PR comment * chore: resolve PR comment --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Daniel Mader <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: use hash-based image identifier to prevent caching, use colored background for icon fallback (#396) * fix: use colored background when icon fallback is displayed * fix: use hash-based image identifier to prevent caching * ci: release version 0.7.0 * fix: trusted issuer domain url validation (#397) * fix: url validation for trusted issuers * chore: replace expect() with ok() * Make it more clear how scrolling is done * Define prop `class` for `TopNavBar` to make it more explicit * Remove unneded class * Fix `/me/settings` * Fix `/me/settings/app` * Fix `/me/settings/about` * Fix `/me/settings/app/did` * Fix `/me/settings/app/keys` * Fix `/me/settings/app/language` * Fix `/me/settings/app/theme` * Fix `/me/settings/app/trust-list` * Fix `/me/settings/profile` * Fix `/prompt/accept-connection` * Fix `/prompt/credential-offer` * Fix `/prompt/share-credentials` * fix: adjust UniMe text color in dark mode * feat: add terms & conditions * fix: checkbox tick color in dark mode * feat: update app icon * ci: release version 0.7.1 * feat: update app icon * feat: fix app icon * fix: higher resolution app icon * refactor: remove `Beta` from `productName` * ci: release version 0.7.2 * refactor: update camera usage description * refactor: update camera usage description * Fix layout issues by creating a new stacking context (#410) * ci: release version 0.7.3 * fix: support StatusList2021Entry, add logo fetching from well-known/openid-credential-issuer Credential Configurations Supported * chore: refactor fn get_logo_uri * chore: add domain to default trust list * chore: cargo clippy * chore: merge dev unime/ folder into branch * chore: checkout dev identity-wallet/src/state/trustlist/ * chore: checkout dev into identity-wallet/ files * chore: remove outdated files * chore: remove outdated unime/ files * chore: fix tests * chore: remove outdated domain * chore: add TODO in comment * chore: fix PascalCasing * chore: clarify log message * chore: add spec in comment to alternative property name * chore: remove workaround which should be fixed in frontend, add comments * chore: fix comments * chore: fix default trust list entries check in linked vp flow * chore: fix PR comments * chore : improve log messages * chore: update tests to include logo fetching through wiremock --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Nander Stabel <[email protected]> Co-authored-by: Thilo Maier <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Mader <[email protected]> * build: bump `oid4vc`` to `7be5b72`` --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Oran Dan <[email protected]> Co-authored-by: Thilo Maier <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Daniel Mader <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of change
Since #246 popped up twice recently, this PR refactors how the backend state is passed into the frontend state.
Instead of wiring Tauri listeners up when corresponding states get their first subscriber, now the listeners are wired up in the
onMount
of the root layout. This is the only component that is guaranteed to exist at any time while UniMe is open.It's not clear if this will fix #246. If nothing else, this refactoring makes it cleaner and easier to understand where the Tauri listeners are wired up.
Links to any relevant issues
How the change has been tested
dev
and observing over a longer period if Wrong route gets served #246 occurs again.Definition of Done checklist
Add an
x
to the boxes that are relevant to your changes.