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

Fix link selection of internal root or locale urls #2892

Merged
merged 1 commit into from
May 24, 2024

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented May 23, 2024

What is this pull request for?

The url for rootpages (/) or locales (/en) are not the urlname of a page. This fixes the selection of internal links for these pages in the Link Dialog.

Checklist

  • I have followed Pull Request guidelines
  • have added a detailed description into each commit message
  • I have added tests to cover this change

@tvdeyen tvdeyen added this to the 7.2 milestone May 23, 2024
@tvdeyen tvdeyen requested a review from a team as a code owner May 23, 2024 18:58
The url for rootpages (`/`) or locales (`/en`) are not the urlname
of a page. This fixes the selection of internal links for these pages
in the Link Dialog.
@tvdeyen tvdeyen force-pushed the fix-internal-link-selection branch from 58c6e22 to 1fe1918 Compare May 24, 2024 07:59
Copy link

codecov bot commented May 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.96%. Comparing base (70b0d49) to head (1fe1918).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2892   +/-   ##
=======================================
  Coverage   95.95%   95.96%           
=======================================
  Files         230      230           
  Lines        6258     6269   +11     
=======================================
+ Hits         6005     6016   +11     
  Misses        253      253           

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

@tvdeyen tvdeyen enabled auto-merge May 24, 2024 08:18
@tvdeyen tvdeyen merged commit a337dab into main May 24, 2024
35 checks passed
@tvdeyen tvdeyen deleted the fix-internal-link-selection branch May 24, 2024 08:34
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.

None yet

2 participants