Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR: Improve UI of status bar widgets (API/Completions) #22276

Merged
merged 5 commits into from
Jul 22, 2024

Conversation

ccordoba12
Copy link
Member

Description of Changes

  • Change background color and cursor shape (to pointing hand cursor) of widgets with which users can interact by clicking on them (I took this idea from VSCode).
  • Fix position of menu shown when clicking on the LSP widget and build that menu with our API.
  • Change icon shown when the LSP is down for a more meaningful one.

Visual changes

statusbar-improvements

Issue(s) Resolved

Fixes #

Affirmation

By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

- Change color when those widgets are hovered and clicked.
- Change cursor shape on hover.
@pep8speaks
Copy link

pep8speaks commented Jul 21, 2024

Hello @ccordoba12! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 353:80: E501 line too long (87 > 79 characters)

Comment last updated at 2024-07-21 22:59:37 UTC

@ccordoba12 ccordoba12 force-pushed the improve-statusbar-ui branch from 32b0a0a to d757b5f Compare July 21, 2024 17:27
- Fix its menu's position and use SpyderWidgetMixin API to build it.
- Hide spinner after stopping it, which actually hides it from the
status bar.
- Change icon to signal that the server is down.
@ccordoba12 ccordoba12 force-pushed the improve-statusbar-ui branch from d757b5f to a9acad7 Compare July 21, 2024 18:04
@ccordoba12 ccordoba12 added this to the v6.0rc1 milestone Jul 21, 2024
@ccordoba12 ccordoba12 force-pushed the improve-statusbar-ui branch from a9acad7 to 6a1f1fe Compare July 21, 2024 18:18
@ccordoba12 ccordoba12 force-pushed the improve-statusbar-ui branch from 6a1f1fe to 1b01f2f Compare July 21, 2024 22:59
@ccordoba12 ccordoba12 changed the title PR: Improve UI of status bar widgets (API) PR: Improve UI of status bar widgets (API/Completions) Jul 21, 2024
@ccordoba12
Copy link
Member Author

I discussed these changes with the UX team and they agree with them.

@ccordoba12 ccordoba12 merged commit cc25a6d into spyder-ide:master Jul 22, 2024
14 checks passed
@ccordoba12 ccordoba12 deleted the improve-statusbar-ui branch July 22, 2024 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants