Skip to content

Show template average build #4545

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

Closed
wants to merge 9 commits into from
Closed

Show template average build #4545

wants to merge 9 commits into from

Conversation

ammario
Copy link
Member

@ammario ammario commented Oct 13, 2022

Continuing @iskhakovt's work from #3999

@ammario ammario requested a review from a team as a code owner October 13, 2022 22:16
@ammario ammario requested review from Kira-Pilot and removed request for a team October 13, 2022 22:16
@github-actions
Copy link

github-actions bot commented Oct 13, 2022

CLA Assistant Lite bot:
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


1 out of 2 committers have signed the CLA.
@ammario
@iskhakovt
You can retrigger this bot by commenting recheck in this Pull Request

@ammario
Copy link
Member Author

ammario commented Oct 13, 2022

I have read the CLA Document and I hereby sign the CLA

developerCount: (activeCount: number): string => {
return `${formatTemplateActiveDevelopers(activeCount)} developer${
activeCount !== 1 ? "s" : ""
}`
},
nameLabel: "Name",
buildTimeLabel: "Build time",
Copy link
Member

@Kira-Pilot Kira-Pilot Oct 14, 2022

Choose a reason for hiding this comment

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

We'll want to move these in to a translation file - site/src/i18n/en/templatesPage.json will work fine.
You can look at this explanatory PR to see how how use translations in the component file.

Copy link
Member

Choose a reason for hiding this comment

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

Where are these strings actually being used?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is all old code I haven't yet refactored. Will do the translations, thx.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think if we want to use translations across the board we should migrate everything in one fell swoop.

Copy link
Member

Choose a reason for hiding this comment

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

I'm happy to handle that; maybe toward the end of next week.

Copy link
Member Author

Choose a reason for hiding this comment

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

Up to you. I have no preference, except for consistency.

@ammario
Copy link
Member Author

ammario commented Oct 14, 2022

Continuing this here #4557

@ammario ammario closed this Oct 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2022
@github-actions github-actions bot deleted the ti/template-build-avg-time branch April 15, 2023 00:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants