Skip to content

Overlay UI Improvements #1159

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

Merged
merged 34 commits into from
Mar 21, 2023
Merged

Overlay UI Improvements #1159

merged 34 commits into from
Mar 21, 2023

Conversation

austincondiff
Copy link
Collaborator

@austincondiff austincondiff commented Mar 17, 2023

Description

Refactored open quickly overlay UI to match designs more closely.

Note: I had to change how our text view was setting editable. If this was false it would simply use a disabled modifier on the text view. This did prevent editing however it also disabled scrolling as well. So in https://github.com/CodeEditApp/CodeEditTextView/pull/161 I am adding isEditable, a variable used by STTextView, in CodeEditTextView used for this very purpose.

Related Issues

Prerequisites

https://github.com/CodeEditApp/CodeEditTextView/pull/161 needs to be merged before this is merged.

Checklist

  • Make UI design of Command Palette consistent with mockups
  • Make UI design of Open Quickly overlay consistent with mockups
  • Make it possible to navigate list with up and down keys while text field is in focus
  • Share code between Command Palette and Open Quickly overlay
  • I read and understood the contributing guide as well as the code of conduct
  • The issues this PR addresses are related to each other
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • My changes are all related to the related issue above
  • I documented my code

Additional Considerations

CodeEditTextView will need a new release before this is merged. Tests are failing because the isEditable parameter was added and used which does not exist in the latest release.

Screenshots

Command Palette
image

Open Quickly
image

@austincondiff austincondiff marked this pull request as draft March 17, 2023 16:20
austincondiff and others added 10 commits March 20, 2023 13:52
…oks right. Other UI corrections to improve the design of the overlay.
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
…enamed queryContent to text. Added alwaysShowOptions parameter. Added optionRowHeight parameter. Showing commands by default when there is no text in command palette.
@austincondiff austincondiff marked this pull request as ready for review March 20, 2023 22:55
@austincondiff
Copy link
Collaborator Author

@lukepistrol can we can a new release of CodeEditTextView so this can be merged when approved?

Wouter01
Wouter01 previously approved these changes Mar 20, 2023
@lukepistrol
Copy link
Member

@austincondiff just created a 0.5.0 release. I jumped one minor version because it has breaking changes (isEditable in constructor)

lukepistrol
lukepistrol previously approved these changes Mar 20, 2023
@austincondiff austincondiff dismissed stale reviews from lukepistrol and Wouter01 via 42ce1d3 March 20, 2023 23:12
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@austincondiff austincondiff merged commit a667ab8 into main Mar 21, 2023
@austincondiff austincondiff deleted the open-quicly-fixes branch March 21, 2023 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

🐞 Open Quickly Overlay - The vertical separator should be the same color as the horizontal separator
4 participants