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

CLDR-17248 Measure vote timing; log more times; fix warnings #3404

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

btangmu
Copy link
Member

@btangmu btangmu commented Dec 4, 2023

-Make cldrTable.CLDR_TABLE_DEBUG true; log times to console

-Make new cldrTable.CLDR_TABLE_DEBUG_ZOOM false; not clear whether still useful

-Fix Chrome warnings, add id locale-search-input and input-add-translation

-Fix Chrome warnings, move import statements to top of surveytool.css

-Comments

CLDR-17248

  • This PR completes the ticket.

ALLOW_MANY_COMMITS=true

-Make cldrTable.CLDR_TABLE_DEBUG true; log times to console

-Make new cldrTable.CLDR_TABLE_DEBUG_ZOOM false; not clear whether still useful

-Fix Chrome warnings, add id locale-search-input and input-add-translation

-Fix Chrome warnings, move import statements to top of surveytool.css

-Comments
@btangmu btangmu self-assigned this Dec 4, 2023
@@ -707,7 +735,7 @@ function updateRowCodeCell(tr, theRow, cell) {
) {
cldrSurvey.appendExtraAttributes(cell, theRow);
}
if (CLDR_TABLE_DEBUG) {
if (CLDR_TABLE_DEBUG_ZOOM) {
Copy link
Member Author

Choose a reason for hiding this comment

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

If enabled, the first column gets "zoom{JSON}" links -- what are they for? They don't seem to accomplish anything with the current back end, and I don't find "r_rxt" or "rxt" in the current Java code. If this code is obsolete, let's delete it

Copy link
Member

Choose a reason for hiding this comment

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

they were removed some time back.

/* TODO: should load this locally via webpack, see https://unicode-org.atlassian.net/browse/CLDR-9195 */
@import url("//fonts.googleapis.com/css?family=Noto+Sans:400italic,700italic,400,700");
@import url("//fonts.googleapis.com/css?family=Noto+Sans+Symbols:400italic,700italic,400,700");

Copy link
Member Author

Choose a reason for hiding this comment

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

The ancient ticket remains open and assigned to John: https://unicode-org.atlassian.net/browse/CLDR-9195

This change doesn't fix it but it does fix Chrome warnings that import statements need to be at the top of css

Copy link
Member

Choose a reason for hiding this comment

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

we have webpack now, so this would be easier to do

/* TODO: should load this locally via webpack, see https://unicode-org.atlassian.net/browse/CLDR-9195 */
@import url("//fonts.googleapis.com/css?family=Noto+Sans:400italic,700italic,400,700");
@import url("//fonts.googleapis.com/css?family=Noto+Sans+Symbols:400italic,700italic,400,700");

Copy link
Member Author

Choose a reason for hiding this comment

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

The comment and imports aren't new, just moved to the top of the file

@btangmu btangmu requested a review from srl295 December 4, 2023 15:34
@btangmu btangmu merged commit c484491 into unicode-org:main Dec 5, 2023
11 checks passed
@btangmu btangmu deleted the t17248_d branch December 5, 2023 15:39
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.

2 participants