-
Notifications
You must be signed in to change notification settings - Fork 224
Fix i18n placeholder replacement and make tests robust #5343
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
Changes from 14 commits
18157fd
321882a
88686ab
2054c44
e9b73d7
ea1ed47
63bf711
aefee57
d7915e8
773362f
316612a
b6a1eb0
9356bc2
1ea73d1
e25a48c
48e31aa
0a9a506
efc668b
4ecba27
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,7 @@ const updateRefs = () => { | |
} | ||
|
||
onMounted(updateRefs) | ||
watch(() => [darkMode.colorMode.value, darkMode.osColorMode.value], updateRefs) | ||
watch([darkMode.colorMode, darkMode.osColorMode], () => updateRefs()) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not certain. I added this change trying to fix the cases where Playwright would select an option, but the selected option was still the same on the next line. I think the previous way has one more layer of indirection than what is here, and maybe the change happens in a different tick of the event loop so that Playwright sees the not-yet-changed version? Update: sorry, all of the above refers to changing from With the function, the change should be reverted. I added it to add logs around it |
||
</script> | ||
|
||
<template> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { defineNuxtPlugin } from "#imports" | ||
|
||
import { useProviderStore } from "~/stores/provider" | ||
|
||
/** | ||
* Initialize the provider store on SSR request. | ||
* This plugin should run after the error and analytics plugins were set up. | ||
*/ | ||
export default defineNuxtPlugin(async () => { | ||
/* Provider store */ | ||
const providerStore = useProviderStore() | ||
await providerStore.fetchProviders() | ||
}) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -189,9 +189,9 @@ const opts = /** @type {Partial<TalkbackOptions>} */ ({ | |
summary: false, | ||
tapeNameGenerator, | ||
tapeDecorator, | ||
responseDecorator: (tape, req, context) => { | ||
responseDecorator: (tape) => { | ||
// Log responses to make debugging easier | ||
console.log(req.method, req.url, tape.res?.status, context.id) | ||
// console.log(req.method, req.url, tape.res?.status, context.id) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit: Why not remove the line? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated to only log if |
||
return tape | ||
}, | ||
}) | ||
|
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.
Why does this copy
pnpm-lock.yaml
file from the parent directory when theci_cd.yml
file has copied it intofrontend/
? Also how is this Dockerfile able to access files from one level up? As per my understanding, it would not be part of the Docker context.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.
Updated to copy from frontend directory to docker.