| Commit-Queue | +1 |
Could you please review the changes I've made? Thank you in advance.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I think this is generally fine but it papers over the underlying issue a bit. There's sort of two independent problems here, 1) autocomplete applying a style the user did not intend to, 2) that style not recovering after the user corrects the mistake. This CL here improves on 1), I think this is generally worth landing. @jacktf...@chromium.org WDYT?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
I think this is generally fine but it papers over the underlying issue a bit. There's sort of two independent problems here, 1) autocomplete applying a style the user did not intend to, 2) that style not recovering after the user corrects the mistake. This CL here improves on 1), I think this is generally worth landing. @jacktf...@chromium.org WDYT?
Yeah, I agree. I'd welcome a test for this case, but don't know how easy it is to add. I will defer to Philip on that but otherwise lgtm
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Jack FranklinI think this is generally fine but it papers over the underlying issue a bit. There's sort of two independent problems here, 1) autocomplete applying a style the user did not intend to, 2) that style not recovering after the user corrects the mistake. This CL here improves on 1), I think this is generally worth landing. @jacktf...@chromium.org WDYT?
Yeah, I agree. I'd welcome a test for this case, but don't know how easy it is to add. I will defer to Philip on that but otherwise lgtm
SGTM, let's got forward with this then! And yes please add a test. panels/elements/StylesSidebarPane.test.ts has some tests for autocomplete that you could draw some inspiration from!
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Jack FranklinI think this is generally fine but it papers over the underlying issue a bit. There's sort of two independent problems here, 1) autocomplete applying a style the user did not intend to, 2) that style not recovering after the user corrects the mistake. This CL here improves on 1), I think this is generally worth landing. @jacktf...@chromium.org WDYT?
Philip PfaffeYeah, I agree. I'd welcome a test for this case, but don't know how easy it is to add. I will defer to Philip on that but otherwise lgtm
SGTM, let's got forward with this then! And yes please add a test. panels/elements/StylesSidebarPane.test.ts has some tests for autocomplete that you could draw some inspiration from!
Thank you both. Is there anything I need to do to make this CL merge?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Jack FranklinI think this is generally fine but it papers over the underlying issue a bit. There's sort of two independent problems here, 1) autocomplete applying a style the user did not intend to, 2) that style not recovering after the user corrects the mistake. This CL here improves on 1), I think this is generally worth landing. @jacktf...@chromium.org WDYT?
Philip PfaffeYeah, I agree. I'd welcome a test for this case, but don't know how easy it is to add. I will defer to Philip on that but otherwise lgtm
Nourhan HasanSGTM, let's got forward with this then! And yes please add a test. panels/elements/StylesSidebarPane.test.ts has some tests for autocomplete that you could draw some inspiration from!
Thank you both. Is there anything I need to do to make this CL merge?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Fixed: Issue where typing height"100% would generate malformed CSSNit: Automation detects a "Fixed:" prefix to reference bugs fixed by this CL.
Bug: 338536264Nit: This belongs in the footer, i.e., the last block of the commit message next to Change-Id
Jack FranklinI think this is generally fine but it papers over the underlying issue a bit. There's sort of two independent problems here, 1) autocomplete applying a style the user did not intend to, 2) that style not recovering after the user corrects the mistake. This CL here improves on 1), I think this is generally worth landing. @jacktf...@chromium.org WDYT?
Philip PfaffeYeah, I agree. I'd welcome a test for this case, but don't know how easy it is to add. I will defer to Philip on that but otherwise lgtm
Nourhan HasanSGTM, let's got forward with this then! And yes please add a test. panels/elements/StylesSidebarPane.test.ts has some tests for autocomplete that you could draw some inspiration from!
Philip PfaffeThank you both. Is there anything I need to do to make this CL merge?
Do you think you could come up with a test?
I've done that. Could you please take a look and give me feedback? Thanks in advance.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Jack FranklinI think this is generally fine but it papers over the underlying issue a bit. There's sort of two independent problems here, 1) autocomplete applying a style the user did not intend to, 2) that style not recovering after the user corrects the mistake. This CL here improves on 1), I think this is generally worth landing. @jacktf...@chromium.org WDYT?
Philip PfaffeYeah, I agree. I'd welcome a test for this case, but don't know how easy it is to add. I will defer to Philip on that but otherwise lgtm
Nourhan HasanSGTM, let's got forward with this then! And yes please add a test. panels/elements/StylesSidebarPane.test.ts has some tests for autocomplete that you could draw some inspiration from!
Philip PfaffeThank you both. Is there anything I need to do to make this CL merge?
Nourhan HasanDo you think you could come up with a test?
I've done that. Could you please take a look and give me feedback? Thanks in advance.
Looking good, thanks!
Fixed: Issue where typing height"100% would generate malformed CSSNit: Automation detects a "Fixed:" prefix to reference bugs fixed by this CL.
Done
Bug: 338536264Nit: This belongs in the footer, i.e., the last block of the commit message next to Change-Id
I'm not sure if the blank line works or not. Maybe remove it to be safe?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
I don't have access to CQ so could you land this CL for me please?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Bug: 338536264Philip PfaffeNit: This belongs in the footer, i.e., the last block of the commit message next to Change-Id
I'm not sure if the blank line works or not. Maybe remove it to be safe?
Done
if (spyObj?.updateSuggestions.called) {can we make this stronger? Do we expect this to be called? Right now if this isn't called, the test just passes. Is that correct?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (spyObj?.updateSuggestions.called) {can we make this stronger? Do we expect this to be called? Right now if this isn't called, the test just passes. Is that correct?
Yes, you're correct, `updateSuggestions()` is't called for invalid input.
What do you think of this?
```
assert.isFalse(spyObj?.updateSuggestions.called,
'Should not call updateSuggestions for invalid property names');
```
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
if (spyObj?.updateSuggestions.called) {Nourhan Hasancan we make this stronger? Do we expect this to be called? Right now if this isn't called, the test just passes. Is that correct?
Yes, you're correct, `updateSuggestions()` is't called for invalid input.
What do you think of this?
```
assert.isFalse(spyObj?.updateSuggestions.called,
'Should not call updateSuggestions for invalid property names');
```
I suggest to use `sinon.assert.notCalled` instead for a clean error message.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |