Skip to content

Commit

Permalink
feat: Add a Document activity (close #150)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Mar 20, 2024
1 parent cc1d118 commit 3cd1851
Show file tree
Hide file tree
Showing 10 changed files with 69 additions and 23,588 deletions.
17 changes: 7 additions & 10 deletions config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const widgets = [
id: 'widget-4', label: 'Widget 4', content: { component: 'layout/Widget'}
},
{
id: 'widget-Store', label: 'Store', content: { component: 'layout/WidgetStore'}, scrollable: true
id: 'widget-Store', label: 'Store', content: { component: 'KStore'}, scrollable: true
}
]

Expand Down Expand Up @@ -307,21 +307,18 @@ module.exports = {
content: {
html: [
{ id: 'html', label: 'Html', color: 'primary', disabled: true },
{ id: 'md', label: 'Markdown', color: 'primary', route: { name: 'document-activity', params: { type: 'md' } } },
{ id: 'pdf', label: 'Pdf', color: 'primary', route: { name: 'document-activity', params: { type: 'pdf' } } }
{ id: 'md', label: 'Markdown', color: 'primary', route: { name: 'document-activity', params: { type: 'md' } } }
],
md: [
{ id: 'html', label: 'Html', color: 'primary', route: { name: 'document-activity', params: { type: 'html' } } },
{ id: 'md', label: 'Markdown', color: 'primary', disabled: true },
{ id: 'pdf', label: 'Pdf', color: 'primary', route: { name: 'document-activity', params: { type: 'pdf' } } }
],
pdf: [
{ id: 'html', label: 'Html', color: 'primary', route: { name: 'document-activity', params: { type: 'html' } } },
{ id: 'md', label: 'Markdown', color: 'primary', route: { name: 'document-activity', params: { type: 'md' } } },
{ id: 'pdf', label: 'Pdf', color: 'primary', disabled: true }
{ id: 'md', label: 'Markdown', color: 'primary', disabled: true }
]
},
mode: 'html'
},
rightPane: {
content: [{ component: 'KStore' }],
visible: false
}
},
collectionActivity: {
Expand Down
Loading

0 comments on commit 3cd1851

Please sign in to comment.