diff --git a/web_help/readme/ROADMAP.rst b/web_help/readme/ROADMAP.rst new file mode 100644 index 000000000..196e705ed --- /dev/null +++ b/web_help/readme/ROADMAP.rst @@ -0,0 +1 @@ +* Implement keyboard shortcuts diff --git a/web_help/static/src/components/help_button/help_button.xml b/web_help/static/src/components/help_button/help_button.xml index ac6034547..d46fdae6c 100644 --- a/web_help/static/src/components/help_button/help_button.xml +++ b/web_help/static/src/components/help_button/help_button.xml @@ -36,7 +36,7 @@ diff --git a/web_help/static/src/user_trip.esm.js b/web_help/static/src/user_trip.esm.js index 4c9afb7b9..365569e5d 100644 --- a/web_help/static/src/user_trip.esm.js +++ b/web_help/static/src/user_trip.esm.js @@ -5,12 +5,12 @@ import {registry} from "@web/core/registry"; export class UserTrip extends Trip { setup() { this.addStep({ - selector: ".o_list_button_add", + selector: ".o_list_button_add, .o-kanban-button-new", content: this.env._t("To create a new user click here."), }); this.addStep({ - selector: ".o_cp_searchview", + selector: ".o_cp_searchview, .o_enable_searchview", content: this.env._t("Use the searchbar to find specific users."), renderContext: { cbBtnText: this.env._t("Next"), @@ -27,5 +27,6 @@ export class UserTrip extends Trip { registry.category("trips").add("user_trip", { Trip: UserTrip, - selector: (model, viewType) => model === "res.users" && viewType === "list", + selector: (model, viewType) => + model === "res.users" && ["list", "kanban"].includes(viewType), });