The dots on the sidebar's anchors (06 「角标」): Agents' kernel trail on its row; the system apps' trails (Plugins, Models and the Cost Center, which have no rows of their own) on the App Center's row, as one dot whose hint joins their sentences, and from there on each app's tile (lib/system-app-notes.ts); the software update on the account row; and every trail on the phone's drawer button.
API
@Module({
contributes: {
"WebAppModule.sessionProviders": [{ id: "main.badges-owner", order: 20 }],
"SidebarModule.navBadges": [
{ id: "main.agents-badge", anchor: "agents", order: 0 },
{ id: "main.apps-badge", anchor: "apps", order: 0 },
{ id: "main.account-badge", anchor: "account", order: 0 },
{ id: "main.menu-badge", anchor: "menu", order: 0 },
],
},
})
export class MainSidebarBadgesModule {
@Bind("main.badges-owner") owner = MainUpdateBadgesOwner;
@Bind("main.agents-badge") agents: NavBadge = {
useNote: () => navNoteFor(useUpdateBadges(), "/agents"),
};
@Bind("main.apps-badge") apps: NavBadge = {
useNote: () => joinedNote(useSystemAppNotes().values()),
};
@Bind("main.account-badge") account: NavBadge = {
useNote: () => useUpdateBadges().softwareNote,
};
@Bind("main.menu-badge") menu: NavBadge = { useNote: () => useUpdateBadges().note };
}Dependencies & Wiring
Extracted from class decorators@Bindbinds (5)
owner → main.badges-owner: unknown · agents → main.agents-badge: NavBadge · apps → main.apps-badge: NavBadge · account → main.account-badge: NavBadge · menu → main.menu-badge: NavBadgeContributes
{
"WebAppModule.sessionProviders": [
{
"id": "main.badges-owner",
"order": 20
}
],
"SidebarModule.navBadges": [
{
"id": "main.agents-badge",
"anchor": "agents",
"order": 0
},
{
"id": "main.apps-badge",
"anchor": "apps",
"order": 0
},
{
"id": "main.account-badge",
"anchor": "account",
"order": 0
},
{
"id": "main.menu-badge",
"anchor": "menu",
"order": 0
}
]
}Target slots: WebAppModule.sessionProviders · SidebarModule.navBadges
Children (0)
No child modules or components declared in @Module.
Exports (0)
None (module-private).