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(*): Various minor improvements #46

Merged
merged 3 commits into from
Jul 12, 2024
Merged

Conversation

grafakus
Copy link
Contributor

✨ Description

Related issue(s): -

Just some cosmetics changes, among them:

  • Panel actions → wording: "Profiles" becomes "Profile types"
  • Panel actions: new tooltips to describe the action behaviour
  • Favourited visualizations now appears at the top of the grid
  • New E2E smoke tests for the Explore Profiles page (will catch early issues like fix(SceneFlameGraph): Fix runtime error #45)
  • Other minor (cosmetics) changes and refactorings

📖 Summary of the changes

See diff tab for more details

🧪 How to test?

  • The build with the new E2E tests should pass

Copy link
Contributor

github-actions bot commented Jul 12, 2024

Unit test coverage

Lines Statements Branches Functions
Coverage: 12%
12.62% (446/3532) 10.31% (134/1299) 9.55% (102/1068)

@@ -371,37 +369,15 @@ export class SceneProfilesExplorer extends SceneObjectBase<SceneProfilesExplorer
<>
<div className={styles.header}>
<div className={styles.controls}>
<Stack justifyContent="space-between" wrap="wrap">
<Stack justifyContent="space-between">
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This unfortunately does not completely fix #41, the time picker does not shrink on narrow screen. I will have to investigate further why

}

if (bIsFav) {
return +1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting that +1 is a valid js number. I did not know this

@grafakus grafakus merged commit 877b009 into main Jul 12, 2024
6 checks passed
@grafakus grafakus deleted the fix/minor-improvements branch July 12, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants