QodeAssist icon indicating copy to clipboard operation
QodeAssist copied to clipboard

Make GUI more adaptive to the width of the pane

Open miemoe opened this issue 7 months ago • 2 comments

Is your feature request related to a problem? Please describe. When using the chat in the side bar some important indicator (tokens) is hidden, when the filename is shown.

https://github.com/user-attachments/assets/eca221fc-4dfa-4f11-b79e-b37e09047a96

Describe the solution you'd like How about making the top and bottom bar more adaptive to the width of the pane.

Describe alternatives you've considered

  • You might reduce the filename view dynamically to let the token indicator visible longer.
  • You might move the token indicator to the left of the top-bar and habe the actions "Save", "Load", "Clear" as toolbuttons as in other panes: Image Image ...

miemoe avatar May 25 '25 07:05 miemoe

I would of course replace the text buttons with icons if someone drew them for me :grin:

Palm1r avatar May 26 '25 08:05 Palm1r

I'm not sure, if it is ok to use icons, that are used in QtCreator for plugins. But if it is allowed, it might be good to use them to conform to the icons used in other panes: As this changed between QtC 16 and 17 it might be beneficial to import them from it's source?

Reset/Clear ? Image https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filenew.png https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filenew%402x.png or clean, but actually it generates a new context: Image https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/clean_pane_small.png https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/clean_pane_small%402x.png

Save: Image https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filesave.png https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/filesave%402x.png

Open: Image https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/fileopen.png https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/fileopen%402x.png

There is also a stop icon: Image https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/stop_small.png https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/stop_small%402x.png

There is a "run" icon, that might be used for "send": Image https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/run_small.png https://github.com/qt-creator/qt-creator/blob/master/src/libs/utils/images/run_small%402x.png

miemoe avatar May 26 '25 15:05 miemoe

I added new icons to UI, hope it is better now

Palm1r avatar Aug 18 '25 16:08 Palm1r

I like the new icons and the idea, that the Chat dialog is a separate window. However, took some time to find the "Show QodeAssist Chat" button...

miemoe avatar Aug 22 '25 14:08 miemoe

Thank you for testing, I just want to remind you that this window is also accessible via hotkeys, and the old chat locations are available to enable in the settings

Palm1r avatar Aug 22 '25 14:08 Palm1r