From 5d8f4d2033c3006ffce60881be6cbeffffdeac88 Mon Sep 17 00:00:00 2001 From: Constantinos Sourelis <34446306+PilotFlying@users.noreply.github.com> Date: Tue, 24 Nov 2020 16:43:40 +0200 Subject: [PATCH] User interface: "Advanced" menu tooltips (#4214) * User interface, "Advanced" menu Added tooltips to the "Remove" and "Uninstall" options in the advanced menu. As a new user, I would revisit the [documentation](https://docs.abapgit.org/guide-online-uninstall.html) to distinguish between the two. The tooltips are passed as "iv_title" parameters to ZCL_ABAPGIT_HTML_TOOLBAR->add * Update src/ui/zcl_abapgit_gui_page_repo_view.clas.abap Adjustments from review * Update src/ui/zcl_abapgit_gui_page_repo_view.clas.abap Adjustments from review * Update zcl_abapgit_gui_page_repo_view.clas.abap Comply with abaplint line length of 120 * Update zcl_abapgit_gui_page_repo_view.clas.abap Comply with abaplint's no whitespaces at EOL Co-authored-by: Lars Hvam --- src/ui/zcl_abapgit_gui_page_repo_view.clas.abap | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ui/zcl_abapgit_gui_page_repo_view.clas.abap b/src/ui/zcl_abapgit_gui_page_repo_view.clas.abap index 29a9f2ac1..0c8920010 100644 --- a/src/ui/zcl_abapgit_gui_page_repo_view.clas.abap +++ b/src/ui/zcl_abapgit_gui_page_repo_view.clas.abap @@ -309,6 +309,8 @@ CLASS zcl_abapgit_gui_page_repo_view IMPLEMENTATION. ENDIF. ro_advanced_dropdown->add( iv_txt = 'Remove' + iv_title = `Remove abapGit's records of the repository (the system's ` + && `development objects will remain unaffected)` iv_act = |{ zif_abapgit_definitions=>c_action-repo_remove }?key={ mv_key }| ). CLEAR lv_crossout. @@ -317,6 +319,8 @@ CLASS zcl_abapgit_gui_page_repo_view IMPLEMENTATION. lv_crossout = zif_abapgit_html=>c_html_opt-crossout. ENDIF. ro_advanced_dropdown->add( iv_txt = 'Uninstall' + iv_title = `Delete all development objects belonging to this package ` + && `(and subpackages) from the system` iv_act = |{ zif_abapgit_definitions=>c_action-repo_purge }?key={ mv_key }| iv_opt = lv_crossout ).