diff --git a/src/main/java/com/devoxx/genie/ui/panel/ActionButtonsPanel.java b/src/main/java/com/devoxx/genie/ui/panel/ActionButtonsPanel.java index 1118299..4079aa3 100644 --- a/src/main/java/com/devoxx/genie/ui/panel/ActionButtonsPanel.java +++ b/src/main/java/com/devoxx/genie/ui/panel/ActionButtonsPanel.java @@ -141,7 +141,6 @@ private void createButtons() { private @NotNull JButton createCalcTokenCostButton() { JButton button = new JHoverButton(CALC_TOKENS_COST, CalculateIcon, true); - button.setToolTipText(CALCULATE_TOKENS_COST); button.addActionListener(e -> controller.calculateTokensAndCost()); button.setMinimumSize(minSize); button.setMaximumSize(maxSize); @@ -150,7 +149,6 @@ private void createButtons() { private @NotNull JButton createAddProjectButton() { JButton button = new JHoverButton(ADD_PROJECT_TO_CONTEXT, AddFileIcon, true); - button.setToolTipText(ADD_ENTIRE_PROJECT_TO_PROMPT_CONTEXT); button.addActionListener(this::handleProjectContext); button.setMinimumSize(minSize); button.setMaximumSize(maxSize); @@ -167,7 +165,6 @@ private void handleProjectContext(ActionEvent e) { private @NotNull JButton createAddFileButton() { JButton button = new JHoverButton(AddFileIcon, false); - button.setToolTipText(ADD_FILE_S_TO_PROMPT_CONTEXT); button.addActionListener(this::selectFilesForPromptContext); button.setMinimumSize(minSize); button.setMaximumSize(maxSize); @@ -176,7 +173,6 @@ private void handleProjectContext(ActionEvent e) { private @NotNull JButton createSubmitButton() { JButton button = new JHoverButton(SubmitIcon, false); - button.setToolTipText(SUBMIT_THE_PROMPT + SHIFT_ENTER); button.setActionCommand(Constant.SUBMIT_ACTION); button.addActionListener(this::onSubmitPrompt); button.setMinimumSize(minSize); @@ -230,7 +226,6 @@ private void onSubmitPrompt(ActionEvent actionEvent) { public void enableButtons() { ApplicationManager.getApplication().invokeLater(() -> { submitBtn.setIcon(SubmitIcon); - submitBtn.setToolTipText(SUBMIT_THE_PROMPT + " (Ctrl+Enter)"); promptInputArea.setEnabled(true); submitPanel.stopGlowing(); }); diff --git a/src/main/resources/META-INF/plugin.xml b/src/main/resources/META-INF/plugin.xml index 7e6d7cc..15ba38a 100644 --- a/src/main/resources/META-INF/plugin.xml +++ b/src/main/resources/META-INF/plugin.xml @@ -41,6 +41,7 @@
  • Fix #382: Restore the correct switch buttons states for RAG, Search, GitDiff
  • Fix #384: Fix web search with enable/disable of Google or Tavily feature
  • Fix #387: Fix tokens encoding for special chars
  • +
  • Fix #389: Remove action buttons tooltips
  • v0.4.4