Skip to content

Improved welcomewindow #1039

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 8 commits into from
Feb 21, 2023
Merged

Conversation

Wouter01
Copy link
Member

@Wouter01 Wouter01 commented Feb 3, 2023

Description

This PR simplifies the code for the Recent Projects List, adds multiselection behavior to that list, and unifies it with the built-in macOS recent files list.

This solves the problem where the recent files list in the welcome window would differ from the one provided by the system in File -> Open, and CodeEdit Icon -> Right click. The welcome window now gets updated instantly, also when a new project has been openend by e.g. dragging it to the CodeEdit icon in the dock.

Certain list features, like selection multiple items, don't have any lag anymore.

Small extra change: Changed @NSApplicationMain to @main in AppDelegate, as the former will be deprecated in the future.

Checklist

  • I read and understood the contributing guide as well as the code of conduct
  • My changes generate no new warnings
  • My code builds and runs on my machine
  • I documented my code
  • Review requested

Signed-off-by: Wouter01 <wouterhennen@gmail.com>
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@Wouter01 Wouter01 added the enhancement New feature or request label Feb 3, 2023
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@Wouter01 Wouter01 marked this pull request as ready for review February 20, 2023 03:24
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@Wouter01 Wouter01 enabled auto-merge (squash) February 20, 2023 12:51
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@austincondiff
Copy link
Collaborator

Can you post a screenshot of the welcome window or is there no visible change to the UI?

@Wouter01
Copy link
Member Author

Can you post a screenshot of the welcome window or is there no visible change to the UI?

There are no visible changes :)

austincondiff
austincondiff previously approved these changes Feb 20, 2023
0xWDG
0xWDG previously approved these changes Feb 20, 2023
Signed-off-by: Wouter01 <wouterhennen@gmail.com>
@Wouter01 Wouter01 merged commit feddd82 into CodeEditApp:main Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants