|
@ -471,7 +471,7 @@ export default class HomeView extends Vue { |
|
|
*/ |
|
|
*/ |
|
|
async mounted() { |
|
|
async mounted() { |
|
|
try { |
|
|
try { |
|
|
logger.info("[HomeView] mounted() - component lifecycle started", { |
|
|
logger.debug("[HomeView] mounted() - component lifecycle started", { |
|
|
timestamp: new Date().toISOString(), |
|
|
timestamp: new Date().toISOString(), |
|
|
componentName: "HomeView", |
|
|
componentName: "HomeView", |
|
|
}); |
|
|
}); |
|
@ -482,7 +482,7 @@ export default class HomeView extends Vue { |
|
|
// Registration check already handled in initializeIdentity() |
|
|
// Registration check already handled in initializeIdentity() |
|
|
await this.loadFeedData(); |
|
|
await this.loadFeedData(); |
|
|
|
|
|
|
|
|
logger.info("[HomeView] mounted() - about to call loadNewOffers()", { |
|
|
logger.debug("[HomeView] mounted() - about to call loadNewOffers()", { |
|
|
timestamp: new Date().toISOString(), |
|
|
timestamp: new Date().toISOString(), |
|
|
activeDid: this.activeDid, |
|
|
activeDid: this.activeDid, |
|
|
hasActiveDid: !!this.activeDid, |
|
|
hasActiveDid: !!this.activeDid, |
|
@ -490,7 +490,7 @@ export default class HomeView extends Vue { |
|
|
|
|
|
|
|
|
await this.loadNewOffers(); |
|
|
await this.loadNewOffers(); |
|
|
|
|
|
|
|
|
logger.info("[HomeView] mounted() - loadNewOffers() completed", { |
|
|
logger.debug("[HomeView] mounted() - loadNewOffers() completed", { |
|
|
timestamp: new Date().toISOString(), |
|
|
timestamp: new Date().toISOString(), |
|
|
numNewOffersToUser: this.numNewOffersToUser, |
|
|
numNewOffersToUser: this.numNewOffersToUser, |
|
|
numNewOffersToUserProjects: this.numNewOffersToUserProjects, |
|
|
numNewOffersToUserProjects: this.numNewOffersToUserProjects, |
|
@ -500,7 +500,7 @@ export default class HomeView extends Vue { |
|
|
|
|
|
|
|
|
await this.checkOnboarding(); |
|
|
await this.checkOnboarding(); |
|
|
|
|
|
|
|
|
logger.info("[HomeView] mounted() - component lifecycle completed", { |
|
|
logger.debug("[HomeView] mounted() - component lifecycle completed", { |
|
|
timestamp: new Date().toISOString(), |
|
|
timestamp: new Date().toISOString(), |
|
|
finalState: { |
|
|
finalState: { |
|
|
numNewOffersToUser: this.numNewOffersToUser, |
|
|
numNewOffersToUser: this.numNewOffersToUser, |
|
@ -589,7 +589,7 @@ export default class HomeView extends Vue { |
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any |
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any |
|
|
const activeIdentity = await (this as any).$getActiveIdentity(); |
|
|
const activeIdentity = await (this as any).$getActiveIdentity(); |
|
|
this.activeDid = activeIdentity.activeDid || ""; |
|
|
this.activeDid = activeIdentity.activeDid || ""; |
|
|
logger.info("[HomeView] ActiveDid migration - using new API", { |
|
|
logger.debug("[HomeView] ActiveDid migration - using new API", { |
|
|
activeDid: this.activeDid, |
|
|
activeDid: this.activeDid, |
|
|
source: "active_identity table", |
|
|
source: "active_identity table", |
|
|
hasActiveDid: !!this.activeDid, |
|
|
hasActiveDid: !!this.activeDid, |
|
@ -735,7 +735,7 @@ export default class HomeView extends Vue { |
|
|
* @requires Active DID |
|
|
* @requires Active DID |
|
|
*/ |
|
|
*/ |
|
|
private async loadNewOffers() { |
|
|
private async loadNewOffers() { |
|
|
logger.info("[HomeView] loadNewOffers() called with activeDid:", { |
|
|
logger.debug("[HomeView] loadNewOffers() called with activeDid:", { |
|
|
activeDid: this.activeDid, |
|
|
activeDid: this.activeDid, |
|
|
hasActiveDid: !!this.activeDid, |
|
|
hasActiveDid: !!this.activeDid, |
|
|
length: this.activeDid?.length || 0, |
|
|
length: this.activeDid?.length || 0, |
|
@ -759,7 +759,7 @@ export default class HomeView extends Vue { |
|
|
this.activeDid, |
|
|
this.activeDid, |
|
|
this.lastAckedOfferToUserJwtId, |
|
|
this.lastAckedOfferToUserJwtId, |
|
|
); |
|
|
); |
|
|
logger.info( |
|
|
logger.debug( |
|
|
"[HomeView] loadNewOffers() - getNewOffersToUser successful", |
|
|
"[HomeView] loadNewOffers() - getNewOffersToUser successful", |
|
|
{ |
|
|
{ |
|
|
activeDid: this.activeDid, |
|
|
activeDid: this.activeDid, |
|
@ -785,7 +785,7 @@ export default class HomeView extends Vue { |
|
|
this.activeDid, |
|
|
this.activeDid, |
|
|
this.lastAckedOfferToUserProjectsJwtId, |
|
|
this.lastAckedOfferToUserProjectsJwtId, |
|
|
); |
|
|
); |
|
|
logger.info( |
|
|
logger.debug( |
|
|
"[HomeView] loadNewOffers() - getNewOffersToUserProjects successful", |
|
|
"[HomeView] loadNewOffers() - getNewOffersToUserProjects successful", |
|
|
{ |
|
|
{ |
|
|
activeDid: this.activeDid, |
|
|
activeDid: this.activeDid, |
|
|