Repository navigation
Panel extension pain points: support link, icons, section slots, header action styling #2735
wychoong
started this conversation in
Feedback & Requests
Replies: 1 comment
|
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Extending the Vue panel. These are the gaps that keep showing up.
Support link still shows when
support_urlis emptylunar.panel.support_urldefaults to the docs URL. Setting it tonull/false/''should remove Support from the sidebar.NavBody.vueonly drops the href. The Help row still renders as a non-link:Ask: hide the whole footer item when the config is
null,false, or empty.Extra icon sets for sidebar items
Pages and navigation says:
Icon.vueis a closed name → SVG map. A nav item whose icon isn't in that map renders blank.Ask: a documented way to register extra icons (or a set) so sidebar / settings items can use them.
Start/end slots around every section
Slots only exist where a page put
<PageZone>. Product edit is the richest (main,content,variants,sidebarbefore/after). Most pages are onlymain:before/main:after. Cards and field groups inside a page usually have no zone.Ask: wrap each section/card with start and end zones (
*:before/*:after) so an extension can inject around existing blocks without waiting for a one-off zone.Section page-header actions don't match Lunar's header buttons
Lunar's own header actions live in
<PageHeader>#actions(Button variant="primary"). SectionpageActions()go throughPageAction, which defaults toprimary(): falseand lands in the ellipsis.Even with
primary(): true, they don't sit in the same slot / visual language as the page's own buttons (Save, etc.).Ask: registered header actions should be able to look and sit like Lunar's default header buttons, not only the overflow menu.
Refs:
All reactions