-
Notifications
You must be signed in to change notification settings - Fork 13
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
[R20-1581] feat(@dpc-sdp/nuxt-ripple): adds logging in vue/nuxt contexts #962
Conversation
✅ Deploy Preview for ripple-docs canceled.
|
Passing run #1117 ↗︎
Details:
Review all test suite changes for PR #962 ↗︎ |
@@ -1,6 +1,6 @@ | |||
# Temporary files | |||
node_modules | |||
*.log* |
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.
@dylankelly I had to remove the trailing * from this otherwise it ignores the 00.logging.server.ts
file. Not sure if I've broken something by doing this though.
@@ -58,11 +95,22 @@ export const useTidePage = async ( | |||
if (process.dev) { | |||
console.log('Cache reset for page', `page-${path}`) |
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.
we can remove this console log now
nuxtCacheKeys: Object.keys(nuxt.payload.data) | ||
} | ||
) | ||
|
||
if (Object.keys(nuxt.payload.data).length > maxCacheItems + 1) { | ||
if (process.dev) { |
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.
Can we convert this console log to use debugLogger?
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.
couple of small things, otherwise it would be good to get this into 2.6 release
Issue:
What I did
How to test
Checklist
For all PR's
For new components only