-
Notifications
You must be signed in to change notification settings - Fork 384
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-17462 update ST status icons for clarity #3763
Changes from 6 commits
154c842
4a10a6c
005be9a
3a175b1
e39d2b8
e0a503e
12e63df
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 |
---|---|---|
|
@@ -471,6 +471,14 @@ const strings = { | |
report_notAcceptable: "Not Acceptable", | ||
report_missing: "Missing", | ||
|
||
// for approval status, see VoteResolver.Status | ||
status_approved: "✅\uFE0F", | ||
status_contributed: "☑️", | ||
status_provisional: "✖️", | ||
status_unconfirmed: "❌\uFE0F", | ||
status_missing: "🕳️", | ||
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. "Hole"? :-) |
||
status_inherited: "⬆️", | ||
|
||
special_about: "About Survey Tool", | ||
special_announcements: "Announcements", | ||
special_account: "Account Settings", | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -209,21 +209,12 @@ private void serveRunnningNormallyPage( | |
|
||
private void includeCss(HttpServletRequest request, PrintWriter out) { | ||
final String contextPath = request.getContextPath(); | ||
final String cb = getCacheBustingExtension(request); | ||
out.write( | ||
"<link rel='stylesheet' href='" + contextPath + "/surveytool" + cb + ".css' />\n"); | ||
Comment on lines
-212
to
-214
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. This wasn't working properly, tended to cache the out of date file. Webpack worked correctly. 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. Great to know webpack now handles all the cache busting! Does that mean getCacheBustingExtension is now unused, in which case it should be removed? 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. It is used when loading the error and waiting pages still, since the bundle may not be loaded properly. |
||
/* | ||
* Note: cldrForum.css is loaded through webpack | ||
*/ | ||
// bootstrap.min.css -- cf. bootstrap.min.js elsewhere in this file | ||
out.write( | ||
"<link rel='stylesheet' href='//stackpath.bootstrapcdn.com/bootswatch/3.1.1/spacelab/bootstrap.min.css' />\n"); | ||
out.write( | ||
"<link rel='stylesheet' href='" | ||
+ contextPath | ||
+ "/css/redesign" | ||
+ cb | ||
+ ".css' />\n"); | ||
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. are you sure this isn't still needed by any legacy code, such as jsp? I searched for "redesign" with a shortcut I like to use:
That confirms it doesn't occur in any jsp files. It points to this comment in redesign.css itself:
I might have written part of that comment myself a long time ago. What I'm wondering is, does the relative priority between these css files (redesign.css, surveytool.css, bootstrap, style.css) matter, and if it does matter, does this change preserve it? 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. BTW I have
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. The JSPs don't go through the 'serve normally' route… they would be loaded from their own jsp path. This change makes sure our css files are loaded last and so can have the final override. |
||
} | ||
|
||
private static final String DD_CLIENT_TOKEN = System.getenv("DD_CLIENT_TOKEN"); | ||
|
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.
This is kind of a non-standard use for U+FFFD; normally it's for encoding errors ( per https://en.wikipedia.org/wiki/Specials_(Unicode_block) ), not software bugs or incompatibilities between front and back ends; not that it matters much, still I think it's not as good as a question mark here
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.
that's true, but this is an internal error of some sort.
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.
not an encoding error though; I think it should be reserved for errors in encoding, such as illegal sequences of UTF-8 bytes, or characters from other character sets with no corresponding code in Unicode