Skip to content

PMM-14930 Settings page native UI#5163

Draft
matejkubinec wants to merge 17 commits intov3from
PMM-14930-settings-page-native-ui
Draft

PMM-14930 Settings page native UI#5163
matejkubinec wants to merge 17 commits intov3from
PMM-14930-settings-page-native-ui

Conversation

@matejkubinec
Copy link
Copy Markdown
Contributor

@matejkubinec matejkubinec commented Mar 19, 2026

PMM-14930

SUBMODULES-4273

Grafana PR: percona/grafana#891

Screenshots:
image
image
screenshot-2026-03-23-09-06-03

…tings hook with query invalidation

Made-with: Cursor
… forms

- Add Settings page with SSH Key, Metrics Resolution, Advanced Settings tabs
- Add Settings.messages.ts with all copy from Grafana
- Add placeholder form components (to be implemented in next commits)
- Fix useUpdateSettings onSuccess signature for react-query v5
- Fix updateSnoozeDuration optional handling in useSnooze

Made-with: Cursor
@matejkubinec matejkubinec changed the title Pmm 14930 settings page native UI PMM-14930 Settings page native UI Mar 19, 2026
- Updated esbuild packages in yarn.lock from version 0.21.5 to 0.25.12.
- Added scrollbar stability in GlobalStyles for improved UI experience.
- Refactored Page component layout to ensure proper flex behavior and added a Divider for better separation of the footer.
- Enhanced Sidebar component for better usability on narrow screens, so now it overlaps, instead of pushing, to open it in smaller screens.
@it-percona-cla
Copy link
Copy Markdown
Contributor

it-percona-cla commented Apr 2, 2026

CLA assistant check
All committers have signed the CLA.

- Promoted Metrics resolution as the 1st tab.
- Updated text capitalization in Settings.messages.
- Improved layout and styling in MetricsResolutionForm for better accessibility.
- Transformed the MetricsResolutionForm into inline info, for better accessibility.
- Updated tooltip texts and labels in Settings.messages for clarity.
- Refined layout and styling in AdvancedSettingsForm and SshKeyForm for better accessibility and usability.
- Added a sticky footer to all tabs for improved action visibility during form submission.
- Adjusted spacing and alignment in various components to enhance overall UI consistency.
- Added a new 'surface' prop to the Page component for customizable background styling.
- Integrated GlobalStyles to manage background color based on the 'surface' prop.
- Updated Settings page to utilize the new 'surface' prop for improved visual consistency.
@pmcf-percona
Copy link
Copy Markdown
Contributor

Done with my review and proposals for improvement ✔️

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 47.71%. Comparing base (94a8535) to head (0be67d2).
⚠️ Report is 6 commits behind head on v3.

Additional details and impacted files
@@           Coverage Diff           @@
##               v3    #5163   +/-   ##
=======================================
  Coverage   47.70%   47.71%           
=======================================
  Files         410      410           
  Lines       41967    41967           
=======================================
+ Hits        20022    20026    +4     
+ Misses      19964    19962    -2     
+ Partials     1981     1979    -2     
Flag Coverage Δ
admin 35.80% <ø> (ø)
agent 53.02% <ø> (+0.01%) ⬆️
managed 47.72% <ø> (+<0.01%) ⬆️
vmproxy 72.09% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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