Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Hi Adam! I'm this week's google material reviewer for DevTools. I've added a comment on the button usage 😊
${this.#toggleRecordButton}
Can we use `<devtools-button>` here? We use the legacy buttons mostly in legacy code. I think in this case you'd need a devtools button with the variant `icon toggle`, see: https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/ui/components/buttons/Button.ts;l=27;drc=f2e8fca99a170300ef5360049dec910aefe15cfd.
These toggles have been introduced recently, but there are some usages of it, for example here:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/ui/legacy/SearchableView.ts;l=235;drc=3e02eb658e84b46ebb53667e0a1cb52fe53b5f87
But you can find other usages of `<devtools-button>` within the context of `LitHtml`
This will require some work with the `ActionRegistry` since you don't have the helper, but I think this should work - let me know if there are unexpected problems!
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
${this.#toggleRecordButton}
Can we use `<devtools-button>` here? We use the legacy buttons mostly in legacy code. I think in this case you'd need a devtools button with the variant `icon toggle`, see: https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/ui/components/buttons/Button.ts;l=27;drc=f2e8fca99a170300ef5360049dec910aefe15cfd.
These toggles have been introduced recently, but there are some usages of it, for example here:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/ui/legacy/SearchableView.ts;l=235;drc=3e02eb658e84b46ebb53667e0a1cb52fe53b5f87But you can find other usages of `<devtools-button>` within the context of `LitHtml`
This will require some work with the `ActionRegistry` since you don't have the helper, but I think this should work - let me know if there are unexpected problems!
I was trying that before, but it required extra steps for the button to work with the action registry. I will give it another go, now that some other problems have been sorted out.
Paul, we may need to diverge from the mocks slightly for this but I will update the screenshots when done.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Adam RaineCan we use `<devtools-button>` here? We use the legacy buttons mostly in legacy code. I think in this case you'd need a devtools button with the variant `icon toggle`, see: https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/ui/components/buttons/Button.ts;l=27;drc=f2e8fca99a170300ef5360049dec910aefe15cfd.
These toggles have been introduced recently, but there are some usages of it, for example here:
https://source.chromium.org/chromium/chromium/src/+/main:third_party/devtools-frontend/src/front_end/ui/legacy/SearchableView.ts;l=235;drc=3e02eb658e84b46ebb53667e0a1cb52fe53b5f87But you can find other usages of `<devtools-button>` within the context of `LitHtml`
This will require some work with the `ActionRegistry` since you don't have the helper, but I think this should work - let me know if there are unexpected problems!
I was trying that before, but it required extra steps for the button to work with the action registry. I will give it another go, now that some other problems have been sorted out.
Paul, we may need to diverge from the mocks slightly for this but I will update the screenshots when done.
Never mind, if anything this is more compliant with our mocks.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. | Gerrit |