Browse Source

include project ID in the URLs to the project-details page

kb/add-usage-guide
Trent Larson 1 year ago
parent
commit
6957678474
  1. 2
      project.task.yaml
  2. 2
      src/components/GiftedDialog.vue
  3. 2
      src/views/DiscoverView.vue
  4. 2
      src/views/ProjectsView.vue

2
project.task.yaml

@ -7,7 +7,6 @@ tasks:
- 40 notifications : - 40 notifications :
- push, where we trigger a ServiceWorker(?) in the app to reach out and check for new data assignee:matthew - push, where we trigger a ServiceWorker(?) in the app to reach out and check for new data assignee:matthew
- .5 add project ID to the URL of the project-view, to make a project publicly-accessible
- .5 add link to further project / people when a project pays ahead - .5 add link to further project / people when a project pays ahead
- .5 allow to manage their notifications even without an identity - .5 allow to manage their notifications even without an identity
@ -36,6 +35,7 @@ tasks:
- .5 include the hash of the latest commit on help page next to version (maybe Trent's git-hash branch) - .5 include the hash of the latest commit on help page next to version (maybe Trent's git-hash branch)
- .5 remove references to localStorage for projectId (now that it's pulling from the path) - .5 remove references to localStorage for projectId (now that it's pulling from the path)
- bug (that is hard to reproduce) - on the second 'give' recorded on prod it showed me as the agent - bug (that is hard to reproduce) - on the second 'give' recorded on prod it showed me as the agent
- make identicons for contacts into more-memorable faces (and maybe change project identicons, too)
- contacts v+ : - contacts v+ :
- 01 Import all the non-sensitive data (ie. contacts & settings). - 01 Import all the non-sensitive data (ie. contacts & settings).

2
src/components/GiftedDialog.vue

@ -81,7 +81,7 @@ export default class GiftedDialog extends Vue {
activeDid = ""; activeDid = "";
apiServer = ""; apiServer = "";
giver?: GiverInputInfo; giver?: GiverInputInfo; // undefined means no identified giver agent
description = ""; description = "";
givenToUser = false; givenToUser = false;
hours = "0"; hours = "0";

2
src/views/DiscoverView.vue

@ -376,7 +376,7 @@ export default class DiscoverView extends Vue {
onClickLoadProject(id: string) { onClickLoadProject(id: string) {
localStorage.setItem("projectId", id); localStorage.setItem("projectId", id);
const route = { const route = {
name: "project", path: "/project/" + encodeURIComponent(id),
}; };
this.$router.push(route); this.$router.push(route);
} }

2
src/views/ProjectsView.vue

@ -174,7 +174,7 @@ export default class ProjectsView extends Vue {
onClickLoadProject(id: string) { onClickLoadProject(id: string) {
localStorage.setItem("projectId", id); localStorage.setItem("projectId", id);
const route = { const route = {
name: "project", path: "/project/" + encodeURIComponent(id),
}; };
this.$router.push(route); this.$router.push(route);
} }

Loading…
Cancel
Save