Tentative Workload: Embed TodoMVC-React in a big DOM with complex CSS. - #150
Conversation
…thStuff Issackjohn/populate ribbon with button groups
Theme it like a todo app
@bgrins, we would be happy to take this up and try to complete it in time for the June code freeze. |
@bgrins I can do that. Is there any comment on the generated css rules themselves? |
I spoke with some of our layout folks and one thing I think could be improved is having some variety in the CSS properties that get set in the matching rules. It currently only sets background-color which means only one of the properties actually gets applied after selector matching and iteration - in Gecko's case we'd hit this I expect in practice there would be some more non-overlapping properties set by these rules, so perhaps we could find a way to simulate that. I made a quick trial patch to gen-css.js that iterates over a variety of properties and sets a couple for each rule. I don't see it obviously move scores in any browser, but I think something like this (though not necessarily this exactly implementation as there may be more interesting things to set) might be a more robust/realistic test. |
|
Beyond that feedback and some UI nitpicks which I sent to you earlier, I'm pretty happy with what's being generated and would like to hear from the other reviewers. |
Sounds good! @rniwa We are almost done adding the extra popups, do you have any thoughts on the generated CSS? |
…w, add formatting exception --------- Co-authored-by: Issack John <117320405+issackjohn@users.noreply.github.com>
@rniwa Added popovers to most of the buttons and hid them. You can see them in this hosted version |
|
@lpardosixtosMs one more request on top of #150 (comment) - can we not set the background-color property specifically (or if we do set it make it an alpha variation on the existing color)? The effect it makes with the slightly darker todo area (followed by additional darkness for nested nodes) doesn't match the otherwise realistic looking app. |
@bgrins Sure, we'll make it match the existing colors, and we'll probably use the css properties that you suggested instead of bakground-color. |
…ite from React-Big to React-Complex-DOM
bgrins
left a comment
There was a problem hiding this comment.
Thanks for the follow up changes. Overall, I'm happy with this and would like to see it move forward. There are some questions about "how" we land this (i.e. temporarily in a tentative workload or land directly into one or more of the existing todo workloads) - let's discuss options in our upcoming meeting.
|
general question: we usually have a "dev" script, would that make sense here as well? |
|
@lpardosixtosMs - thanks for making the changes 🥳 Once the ci/linters succeed, this is good from my side. |
@flashdesignory Thanks! Could you approve the CI workflow again? I had to change |
|
Summarizing our discussion today:
|
Thanks for summarizing, @bgrins! |
|
Sigh... this payload is triggering "SecurityError: Attempt to use history.replaceState() more than 100 times per 30 seconds" error in WebKit again. |




As discussed here is the PR for the workload embedding TodoMVC-React in a big DOM with complex CSS.
Included in this PR:
Before diving in the review of the code itself I would like us to agree on:
src/react-todomvc/public/index.html).src/react-todomvc/public/matchingCss.css,src/react-todomvc/public/nonMatchingCss.css).The CLI is a bit hacky copying files from one place to another so it can be built from end-to-end with a single command. Since it's not clear to me what would be the final organization of the project, I didn't spend more time on it.
The hosted version can be found here.
Please look at the README in
resources/tentative/complex-static-htmlfor more information about the code and how it is organized.Impact Analysis available in Embedding TodoMVC-React in a complex DOM (impact analysis) v2