diff --git a/project.task.yaml b/project.task.yaml index 70e8ad372..d9ce552eb 100644 --- a/project.task.yaml +++ b/project.task.yaml @@ -2,16 +2,10 @@ tasks: - 08 notifications : - - get the rest of our Android devices to work + - .2 after turning on notification, don't wait in push server but wait in client for message test - insert tooling (exportable logs?) so that we can see problems and troubleshoot as we onboard - - get an error registering notifications on Firefox and subscription info is null - if navigator.serviceWorker is null, then tell the user to wait - - Android DuckDuckGo asked for my permissions, got error, won't download DB - - Android Chrome won't ask permission, will download log but always empty - - Firefox works - Local install works after cleared out cache in Chrome - - create troubleshooting notification: - - server gets signal to send a normal notification back immediately - add windows & mac help at OS & browser level, in HelpNotificationsView.vue (linked from account page) maybe tell them to pause, after first turn-on and after test maybe Google Play permissions @@ -19,16 +13,14 @@ tasks: - warn if they're using the web (android only?) https://developer.mozilla.org/en-US/docs/Web/API/Navigator/getInstalledRelatedApps https://web.dev/articles/get-installed-related-apps - - fix maskable icon -- .1 fix ability to record a give on the contacts page without a number of hours +- fix maskable icon - .2 fix the projects on /discover to show the issuer (currently all "Someone Anonymous") - .3 bug - make or edit a project, choose "Include location", and see the map display shows on top of the bottom icons assignee-group:ui - .5 If notifications are not enabled, add message to front page with link/button to enable -- bug - totals on contact page are not correct - show VC details... somehow: - 01 show my VCs - most interesting, or via search diff --git a/src/libs/endorserServer.ts b/src/libs/endorserServer.ts index d80cc8339..c4b8dcc17 100644 --- a/src/libs/endorserServer.ts +++ b/src/libs/endorserServer.ts @@ -486,6 +486,10 @@ export interface ProjectData { * URL referencing information about the project **/ handleId: string; + /** + * The DID of the issuer + */ + issuerDid: string; /** * The Identier of the project **/ diff --git a/src/views/DiscoverView.vue b/src/views/DiscoverView.vue index c37d30bc7..3f5491dbf 100644 --- a/src/views/DiscoverView.vue +++ b/src/views/DiscoverView.vue @@ -275,10 +275,11 @@ export default class DiscoverView extends Vue { const results = await response.json(); const plans: ProjectData[] = results.data; + console.log("Got plans:", plans); if (plans) { for (const plan of plans) { - const { name, description, handleId, rowid } = plan; - this.projects.push({ name, description, handleId, rowid }); + const { name, description, handleId, issuerDid, rowid } = plan; + this.projects.push({ name, description, handleId, issuerDid, rowid }); } this.remoteCount = this.projects.length; } else { @@ -360,8 +361,14 @@ export default class DiscoverView extends Vue { if (beforeId) { const plans: ProjectData[] = results.data; for (const plan of plans) { - const { name, description, handleId = plan.handleId, rowid } = plan; - this.projects.push({ name, description, handleId, rowid }); + const { name, description, handleId, issuerDid, rowid } = plan; + this.projects.push({ + name, + description, + handleId, + issuerDid, + rowid, + }); } } else { this.projects = results.data; diff --git a/src/views/ProjectsView.vue b/src/views/ProjectsView.vue index 8a8c8951c..5f36b72db 100644 --- a/src/views/ProjectsView.vue +++ b/src/views/ProjectsView.vue @@ -125,8 +125,8 @@ export default class ProjectsView extends Vue { if (resp.status === 200 || !resp.data.data) { const plans: ProjectData[] = resp.data.data; for (const plan of plans) { - const { name, description, handleId, rowid } = plan; - this.projects.push({ name, description, handleId, rowid }); + const { name, description, handleId, issuerDid, rowid } = plan; + this.projects.push({ name, description, handleId, issuerDid, rowid }); } } else { console.log("Bad server response & data:", resp.status, resp.data);