-
Notifications
You must be signed in to change notification settings - Fork 663
fix: remove code of removed colour toolbox #2308
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
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 |
|---|---|---|
|
|
@@ -95,15 +95,11 @@ option { | |
| border-left: 15px solid #4db6ac !important; | ||
| } | ||
|
|
||
| #blockly-5 { | ||
| border-left: 15px solid #ffcdd2 !important; | ||
| } | ||
|
|
||
| #blockly-7 { | ||
| #blockly-6 { | ||
| border-left: 15px solid #ef9a9a !important; | ||
| } | ||
|
|
||
| #blockly-8 { | ||
| #blockly-7 { | ||
| border-left: 15px solid #d7ccc8 !important; | ||
| } | ||
|
Contributor
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. I don't think these CSS IDs are technically supported. We should be using a custom toolbox, or category CSS.
Contributor
Author
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. I tried using category css and it works. Should I update on this PR or open another one when this is done?
Contributor
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. You can make updates on this PR! Thanks for testing that out :D
Contributor
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. Hey @mobyw since this fixes the issue with the live demo we'll actually go ahead and merge it now so we can make sure the demo is running. If you're still up for fixing the css to use the category CSS, that would be great and we'd love a follow up PR! Thanks! |
||
|
|
||
|
|
||
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.
@maribethb do you know why we're doing this instead of using Blockly's normal localization?
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.
Toolboxes don't really have support for dynamic messages afaik. I could see a couple different ways of solving this but I'm not sure which method you're referring to as "normal."
If you want history though, you might have to check with Neil. This is the old demo that's been on devsite for forever and I'm not sure where it came from before we moved it to samples.
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.
They support replacing message references in category names. Although I guess we don't document this anywhere?
@NeilFraser do you have context for this?
Uh oh!
There was an error while loading. Please reload this page.
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.
TIL, I thought you had to do this manually. I thought one of the old demos was doing something similar but I can't find it.