Skip to content

Commit fa07511

Browse files
fix: place desktop bell before the secondary-nav cluster
INSERT_BEFORE the desktopSecondaryLinks widget rather than the auth menu so the bell renders to the left of any secondary nav links (e.g. the help button from frontend-base#245) instead of between those links and the user avatar dropdown. Mobile is left as-is — mobileRight has no secondary-nav cluster to position relative to (just bell + auth menu), so INSERT_BEFORE the mobile auth menu remains correct. Refs openedx/frontend-base#245
1 parent 97ca175 commit fa07511

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/slots.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const slots: SlotOperation[] = [
77
slotId: 'org.openedx.frontend.slot.header.desktopRight.v1',
88
id: `${appId}.widget.notificationsBell.desktop.v1`,
99
op: WidgetOperationTypes.INSERT_BEFORE,
10-
relatedId: 'org.openedx.frontend.widget.header.desktopAuthenticatedMenu.v1',
10+
relatedId: 'org.openedx.frontend.widget.header.desktopSecondaryLinks.v1',
1111
element: <NotificationsTray />,
1212
condition: { authenticated: true },
1313
},

0 commit comments

Comments
 (0)