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: Workaround header dropdown rendering issue #1298

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

scott-huberty
Copy link
Contributor

Closes #1295

On the mne-bids website, this suppresses the dropdown from kicking in the header bar. Instead, this just shows all 6 items in the header bar (before, 5 items were shown in the header, 1 item in the dropdown menu).

If a dropdown is ever introduced again, the issue raised in #1295 may rear its head again.

Note

  • Locally, I'm not seeing this new variable actually change the dropdown behavior. I wanted to open up the PR nonetheless to see if the change takes effect in the built docs here

Merge checklist

Maintainer, please confirm the following before merging.
If applicable:

  • All comments are resolved
  • This is not your own PR
  • All CIs are happy
  • PR title starts with [MRG]
  • whats_new.rst is updated
  • New contributors have been added to CITATION.cff
  • PR description includes phrase "closes <#issue-number>"

…der.

This suppresses a dropdown from kicking in after 5 items, effectively creating a dropdown with only 1 item.
Instead, this just shows all 6 items in the header bar.

Closes mne-tools#1295 , which raised an issue with the rendering of the dropdown. If a dropdown is ever introduced again, this issue may rear its head again.
@scott-huberty scott-huberty marked this pull request as draft August 21, 2024 17:07
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.45%. Comparing base (87eea28) to head (1f0f068).
Report is 58 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1298      +/-   ##
==========================================
- Coverage   97.61%   97.45%   -0.17%     
==========================================
  Files          40       40              
  Lines        8685     8716      +31     
==========================================
+ Hits         8478     8494      +16     
- Misses        207      222      +15     

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

@scott-huberty
Copy link
Contributor Author

Rendering correctly on the built docs:

Screenshot 2024-08-21 at 10 19 59 AM

@scott-huberty scott-huberty marked this pull request as ready for review August 21, 2024 17:21
@scott-huberty scott-huberty changed the title FIX, WIP: Workaround header dropdown rendering issue FIX: Workaround header dropdown rendering issue Aug 21, 2024
@sappelhoff
Copy link
Member

wonderful, thanks a lot!

@sappelhoff sappelhoff merged commit f919962 into mne-tools:main Aug 23, 2024
22 of 23 checks passed
@scott-huberty scott-huberty deleted the drop_more_dropdown branch August 23, 2024 14:28
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.

The 'More' dropdown doesn't render properly on macOS with Safari
2 participants