-
Notifications
You must be signed in to change notification settings - Fork 0
fix: missing i18n translation for Trans #82
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
base: qodo_combined_100_qodo_grep_sentry_1_base_fix_missing_i18n_translation_for_trans_pr137
Are you sure you want to change the base?
Changes from all commits
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 |
|---|---|---|
|
|
@@ -34,10 +34,11 @@ const EmptyElement: FC<{ appDetail: App }> = ({ appDetail }) => { | |
| </span> | ||
| <div className="system-sm-regular mt-2 text-text-tertiary"> | ||
| <Trans | ||
| i18nKey="appLog.table.empty.element.content" | ||
| i18nKey="table.empty.element.content" | ||
| ns="appLog" | ||
| components={{ | ||
| shareLink: <Link href={`${appDetail.site.app_base_url}${basePath}/${getWebAppType(appDetail.mode)}/${appDetail.site.access_token}`} className="text-util-colors-blue-blue-600" target="_blank" rel="noopener noreferrer" />, | ||
| testLink: <Link href={getRedirectionPath(true, appDetail)} className="text-util-colors-blue-blue-600" />, | ||
| testLink: <Link href={getRedirectionPath(false, appDetail)} className="text-util-colors-blue-blue-600" />, | ||
| }} | ||
|
Comment on lines
+37
to
42
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. 3. Logs empty link misroutes • The empty logs screen now hardcodes getRedirectionPath(false, appDetail) which always routes to /overview. • The logs route is already guarded to editors; routing editors to overview instead of configuration/workflow breaks the expected "test the app" navigation from logs. Agent Prompt
|
||
| /> | ||
| </div> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -92,8 +92,8 @@ const TransferOwnershipModal = ({ onClose, show }: Props) => { | |
| } | ||
|
|
||
| const sendCodeToOriginEmail = async () => { | ||
| await sendEmail() | ||
| setStep(STEP.verify) | ||
| await sendEmail() | ||
| } | ||
|
Comment on lines
94
to
97
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. 4. Ownership token race • The modal transitions to the verify step before the async send finishes, so the verify UI can render while stepToken is still empty. • This makes it possible to submit a code with an empty/stale token (e.g., fast paste / repeated attempts), causing avoidable verification failures. Agent Prompt
|
||
|
|
||
| const handleVerifyOriginEmail = async () => { | ||
|
|
@@ -140,7 +140,8 @@ const TransferOwnershipModal = ({ onClose, show }: Props) => { | |
| <div className="body-md-regular text-text-secondary">{t('members.transferModal.warningTip', { ns: 'common' })}</div> | ||
| <div className="body-md-regular text-text-secondary"> | ||
| <Trans | ||
| i18nKey="common.members.transferModal.sendTip" | ||
| i18nKey="members.transferModal.sendTip" | ||
| ns="common" | ||
| components={{ email: <span className="body-md-medium text-text-primary"></span> }} | ||
| values={{ email: userProfile.email }} | ||
| /> | ||
|
|
@@ -170,7 +171,8 @@ const TransferOwnershipModal = ({ onClose, show }: Props) => { | |
| <div className="pb-2 pt-1"> | ||
| <div className="body-md-regular text-text-secondary"> | ||
| <Trans | ||
| i18nKey="common.members.transferModal.verifyContent" | ||
| i18nKey="members.transferModal.verifyContent" | ||
| ns="common" | ||
| components={{ email: <span className="body-md-medium text-text-primary"></span> }} | ||
| values={{ email: userProfile.email }} | ||
| /> | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ | |
| "resolveJsonModule": true, | ||
| "types": ["vitest/globals", "node"], | ||
| "allowJs": true, | ||
| "strict": true, | ||
| "strict": false, | ||
|
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. 1. • The PR changes TypeScript configuration to disable strict mode, reducing type safety across the frontend codebase. • This directly conflicts with the requirement to use strict typing and avoid weakening the type system, increasing risk of runtime errors and inadvertent any/unsafe typing. • Re-enabling strict mode preserves the project’s intended strict type-checking guarantees. Agent Prompt
|
||
| "noEmit": true, | ||
| "esModuleInterop": true, | ||
| "forceConsistentCasingInFileNames": true, | ||
|
|
||
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.
2. Email code sent wrong
🐞 BugAgent Prompt
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools