Skip to content

Force a full page reload for top menu links#18136

Merged
MauricioFauth merged 1 commit intophpmyadmin:masterfrom
MauricioFauth:top-menu-full-reload
Feb 26, 2023
Merged

Force a full page reload for top menu links#18136
MauricioFauth merged 1 commit intophpmyadmin:masterfrom
MauricioFauth:top-menu-full-reload

Conversation

@MauricioFauth
Copy link
Copy Markdown
Member

Each page is a different page, so it makes more sense to do a full page reload instead of using AJAX to load the main content.

This also avoid some possible issues with broken event handlers and not properly loaded pages.

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 26, 2023

Codecov Report

Base: 53.36% // Head: 53.33% // Decreases project coverage by -0.04% ⚠️

Coverage data is based on head (36a77f7) compared to base (d9430f7).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #18136      +/-   ##
============================================
- Coverage     53.36%   53.33%   -0.04%     
  Complexity    16428    16428              
============================================
  Files           629      629              
  Lines         67963    67963              
============================================
- Hits          36268    36245      -23     
- Misses        31695    31718      +23     
Flag Coverage Δ
dbase-extension 53.33% <ø> (-0.02%) ⬇️
recode-extension 53.29% <ø> (-0.02%) ⬇️
unit-8.1-ubuntu-latest 53.29% <ø> (ø)
unit-8.2-ubuntu-latest 53.29% <ø> (-0.02%) ⬇️
unit-nightly-ubuntu-latest 53.29% <ø> (ø)

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

Impacted Files Coverage Δ
libraries/classes/ResponseRenderer.php 6.04% <0.00%> (-8.06%) ⬇️
libraries/classes/Core.php 71.83% <0.00%> (-2.26%) ⬇️
libraries/classes/Header.php 88.60% <0.00%> (-1.11%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Each page is a different page, so it makes more sense to do a full page
reload instead of using AJAX to load the main content.

This also avoid some possible issues with broken event handlers and
not properly loaded pages.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
@MauricioFauth MauricioFauth merged commit 54941a2 into phpmyadmin:master Feb 26, 2023
@MauricioFauth MauricioFauth deleted the top-menu-full-reload branch February 26, 2023 18:58
@MauricioFauth MauricioFauth self-assigned this Feb 26, 2023
@williamdes williamdes added this to the 6.0.0 milestone Feb 26, 2023
@williamdes williamdes removed their request for review April 22, 2024 14:17
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.

2 participants