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

feat: Update splashscreen #573

Merged
merged 3 commits into from
Mar 20, 2025
Merged

feat: Update splashscreen #573

merged 3 commits into from
Mar 20, 2025

Conversation

going-confetti
Copy link
Collaborator

@going-confetti going-confetti commented Mar 18, 2025

Description

How to Test

Comment out splashscreenWindow.close() in main.ts

Screenshots (if appropriate):

Screen.Recording.2025-03-19.at.12.27.50.mov
Screen.Recording.2025-03-19.at.12.28.44.mov

Comment on lines -261 to +264
await createSplashWindow()
await initSettings()
appSettings = await getSettings()
nativeTheme.themeSource = appSettings.appearance.theme
await createSplashWindow()
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the OS settings don't match whatever is saved in the k6 Studio settings, there's a noticeable flash that occurs once the settings are loaded.

Comment on lines +7 to +12
<stop offset="0.26" stop-color="#F35D29">
<animate attributeName="stop-color" values="#F35D29; #FAAF13; #F35D29" dur="2s" repeatCount="indefinite" />
</stop>
<stop offset="1" stop-color="#FAAF13">
<animate attributeName="stop-color" values="#FAAF13; #F35D29; #FAAF13" dur="2s" repeatCount="indefinite" />
</stop>
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The gradient animation in the k6 logo. The values are identical in both files.

Comment on lines +148 to +149
width: 600,
height: 400,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new size has the same aspect ratio as the default one for the main window. I don't feel strongly about that, but I think it looks better with less white space on the sides

opacity: 1;
}
100% {
content: 'Almost there...';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I chose the "boring" option for now.

@going-confetti going-confetti marked this pull request as ready for review March 19, 2025 11:32
@going-confetti going-confetti requested a review from a team as a code owner March 19, 2025 11:32
Copy link
Collaborator

@e-fisher e-fisher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

Copy link
Member

@Llandy3d Llandy3d left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌

Copy link
Collaborator

@cristianoventura cristianoventura left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@going-confetti going-confetti merged commit 197bdf4 into main Mar 20, 2025
4 checks passed
@going-confetti going-confetti deleted the feat/update-splashscreen branch March 20, 2025 10:31
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.

4 participants