Skip to content
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

Merged
merged 8 commits into from
Jan 12, 2024

Conversation

jeffdowdle
Copy link
Contributor

Issue:

What I did

How to test

Checklist

For all PR's

  • I've added relevant changes to the project Readme if needed.
  • I've updated the documentation site as needed.
  • I have added unit tests to cover my changes (if not applicable, please state why in a comment)

For new components only

  • I have added a story covering all variants
  • I have checked a11y tab in storybook passes
  • Any events are emitted on the event bus

Copy link

netlify bot commented Dec 13, 2023

Deploy Preview for ripple-docs canceled.

Name Link
🔨 Latest commit e70e098
🔍 Latest deploy log https://app.netlify.com/sites/ripple-docs/deploys/65a0c0f314eef00008f32f3f

Copy link

cypress bot commented Dec 13, 2023

Passing run #1117 ↗︎

0 110 0 0 Flakiness 0

Details:

Merge branch 'develop' into feature/nuxt-logging
Project: ripple-framework Commit: 4678b2a422
Status: Passed Duration: 05:29 💡
Started: Jan 12, 2024 4:20 AM Ended: Jan 12, 2024 4:26 AM

Review all test suite changes for PR #962 ↗︎

@dylankelly dylankelly marked this pull request as draft December 18, 2023 22:52
@jeffdowdle jeffdowdle marked this pull request as ready for review December 27, 2023 00:09
@@ -1,6 +1,6 @@
# Temporary files
node_modules
*.log*
Copy link
Contributor Author

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}`)
Copy link
Contributor

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) {
Copy link
Contributor

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?

Copy link
Contributor

@dylankelly dylankelly left a 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

@dylankelly dylankelly changed the title feat(@dpc-sdp/nuxt-ripple): adds logging in vue/nuxt contexts [R20-1581] feat(@dpc-sdp/nuxt-ripple): adds logging in vue/nuxt contexts Jan 9, 2024
@dylankelly dylankelly added this pull request to the merge queue Jan 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Jan 12, 2024
@dylankelly dylankelly added this pull request to the merge queue Jan 12, 2024
Merged via the queue into develop with commit e4b7da2 Jan 12, 2024
7 of 8 checks passed
@dylankelly dylankelly deleted the feature/nuxt-logging branch January 12, 2024 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants