commit | e0b4b923dd17a7dc805fc413614248d5d125618f | [log] [tgz] |
---|---|---|
author | Benedikt Meurer <[email protected]> | Mon Jan 15 13:33:53 2024 |
committer | Benedikt Meurer <[email protected]> | Mon Jan 15 14:39:05 2024 |
tree | b9f546abaa644c9128a674cfbb44df26be4b4a29 | |
parent | c9fb2bea2530d77a6ec3a8c8e4e36e5abb8fa8ad [diff] [blame] |
[visual_logging] Consistently use dot-kebab-case for action IDs. We are using the action IDs directly as context for the `action` VE type, for which we intent to use kebab-case (with optional dots). Therefore we should enforce this for `ActionRegistration`s, and also make all existing actions comply. Bug: b:320205413 Change-Id: I514059909240a3e65fca8363a74a842cd07fc8d2 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5198410 Reviewed-by: Danil Somsikov <[email protected]>
diff --git a/front_end/panels/network/NetworkLogView.ts b/front_end/panels/network/NetworkLogView.ts index b61a203..fbc435e 100644 --- a/front_end/panels/network/NetworkLogView.ts +++ b/front_end/panels/network/NetworkLogView.ts
@@ -1044,7 +1044,7 @@ if (this.recording) { let reloadShortcutNode: Element|null = null; const reloadShortcut = - UI.ShortcutRegistry.ShortcutRegistry.instance().shortcutsForAction('inspector_main.reload')[0]; + UI.ShortcutRegistry.ShortcutRegistry.instance().shortcutsForAction('inspector-main.reload')[0]; if (reloadShortcut) { reloadShortcutNode = this.recordingHint.createChild('b'); reloadShortcutNode.textContent = reloadShortcut.title();