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

Add more strings/texts in the strings.en.yaml file and replace all the occurences with getString() in frontend #4917

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sagnik3788
Copy link

fix #4147

@@ -129,7 +129,7 @@ export function StatusHeatMap(props: StatusHeatMapProps): React.ReactElement {
{execution.executedBy?.username !== 'pipeline' ? (
<>
{execution.executedBy?.username ?? getString('chaosController')}
{execution.executedBy?.username && ' | Manually'}
{execution.executedBy?.username && getString('manually')}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{execution.executedBy?.username && getString('manually')}
{execution.executedBy?.username && `| ${getString('manually')}`}

NIT: Update strings file to just contain the text and then use in the component.

@@ -360,6 +360,7 @@ executedBy: Executed by
executedOn: Executed on
executionDetails: Execution details goes here
executionError: Execution Error
expand: expand
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please clarify if there’s a specific reason this has been included, as it doesn't appear to be in use currently?

@namkyu1999 namkyu1999 added the need-approvers-review Reminder label to the codeowners/maintainers for stale PRs that are more that 2 weeks old label Nov 15, 2024
@S-ayanide
Copy link
Member

expand has been added and is not in use in the codebase. Could you please clarify if there any usage reference for this?

@S-ayanide S-ayanide added state/review-in-progress READY-FOR-REVIEW and removed need-approvers-review Reminder label to the codeowners/maintainers for stale PRs that are more that 2 weeks old labels Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants