Skip to content

Commit e1eb458

Browse files
committed
fix: knowledge
1 parent 8ed304c commit e1eb458

4 files changed

Lines changed: 365 additions & 198 deletions

File tree

src/components/DigitalColleagues/Views/KnowledgeView.stories.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,36 @@ This example shows a "Priority View" that groups documents by difficulty and pri
771771
},
772772
}
773773

774+
export const DefaultContextExample: Story = {
775+
name: 'Default Context Configuration',
776+
parameters: {
777+
docs: {
778+
description: {
779+
story: `Demonstrates the default context configuration with basic grouping and sorting rules.`
780+
}
781+
}
782+
},
783+
args: {
784+
documents: sampleDocuments,
785+
contexts: [
786+
{
787+
id: 'default',
788+
label: 'Default View',
789+
description: 'Documents organized by default grouping and sorting',
790+
// icon: <ViewList className="h-4 w-4" />,
791+
menuConfig: {
792+
groupBy: [],
793+
sortBy: 'name',
794+
sortOrder: 'asc',
795+
showDocumentCount: true
796+
}
797+
}
798+
],
799+
},
800+
}
801+
802+
803+
774804
export const DocumentSwitchingWithPreview: Story = {
775805
name: 'Document Selection with Preview',
776806
parameters: {

0 commit comments

Comments
 (0)