Skip to content

Use hsplit for Navigation#1917

Merged
ahuang11 merged 6 commits into
mainfrom
use_hsplit_nav
Jul 17, 2026
Merged

Use hsplit for Navigation#1917
ahuang11 merged 6 commits into
mainfrom
use_hsplit_nav

Conversation

@ahuang11

@ahuang11 ahuang11 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Ported styling to panel-extensions/panel-splitjs#30 and made Navigation bar also SplitJS, so it can be resized, and doesn't need to be in the left bar, which was confusing.

out.mp4

@ahuang11
ahuang11 requested a review from philippjfr July 8, 2026 23:24
@ahuang11 ahuang11 changed the title Use hsplit nav Use hsplit for Navigation Jul 8, 2026
@codecov

codecov Bot commented Jul 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.29%. Comparing base (ea77463) to head (7ee8593).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1917   +/-   ##
=======================================
  Coverage   71.28%   71.29%           
=======================================
  Files         198      198           
  Lines       34268    34268           
=======================================
+ Hits        24427    24430    +3     
+ Misses       9841     9838    -3     

☔ View full report in Codecov by Harness.
📢 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.

@philippjfr

Copy link
Copy Markdown
Member

I'd also like to explore using a docked inline Drawer.

@ahuang11

Copy link
Copy Markdown
Contributor Author
sidebar.mp4

Looks clean!

@ahuang11
ahuang11 requested a review from ghostiee-11 July 17, 2026 15:04
Comment thread pyproject.toml Outdated
"panel-graphic-walker[kernel] >=0.6.4",
"panel-material-ui >=0.8.1",
"panel-material-ui >=0.14.0",
"panel-splitjs >=0.3.2",

@ghostiee-11 ghostiee-11 Jul 17, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

collapse_threshold=15 in _render_main was only added in panel-splitjs 0.4.0 (0.3.4 raises TypeError: unexpected keyword argument 'collapse_threshold'). CI passes because it resolves to 0.4.0, but anyone on 0.3.2-0.3.4 will crash when the UI builds. Should this be >=0.4.0?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for reviewing, yes!

Comment thread pyproject.toml Outdated
@ahuang11
ahuang11 merged commit fd0b208 into main Jul 17, 2026
14 checks passed
@ahuang11
ahuang11 deleted the use_hsplit_nav branch July 17, 2026 16:30
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.

3 participants