feat(Storybook): Pages model excluded to a separate file, figma links added
This commit is contained in:
parent
ec38dca735
commit
284302b486
|
@ -29,7 +29,7 @@ add_executable(
|
|||
cachecleaner.cpp cachecleaner.h
|
||||
directorieswatcher.cpp directorieswatcher.h
|
||||
sectionsdecoratormodel.cpp sectionsdecoratormodel.h
|
||||
${QML_FILES} main.qml
|
||||
${QML_FILES} main.qml PagesModel.qml
|
||||
${JS_FILES}
|
||||
)
|
||||
|
||||
|
|
|
@ -0,0 +1,198 @@
|
|||
import QtQuick 2.14
|
||||
|
||||
ListModel {
|
||||
ListElement {
|
||||
title: "ProfileDialogView"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=733%3A12552"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=682%3A15078"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=682%3A17655"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=682%3A17087"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=4%3A23525"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=4%3A23932"
|
||||
}
|
||||
]
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "CommunitiesPortalLayout"
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A415655"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A415935"
|
||||
}
|
||||
]
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "ProfileFetchingView"
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "LoginView"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=1080%3A313192"
|
||||
}
|
||||
]
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "AboutView"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=1159%3A114479"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=1684%3A127762"
|
||||
}
|
||||
]
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "StatusCommunityCard"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A416159"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A416160"
|
||||
}
|
||||
]
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "CommunityProfilePopupInviteFriendsPanel"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2927%3A343592"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2990%3A353179"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2927%3A344073"
|
||||
}
|
||||
]
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "CommunityProfilePopupInviteMessagePanel"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=4291%3A385536"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=4295%3A385958"
|
||||
}
|
||||
]
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "UserListPanel"
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "InviteFriendsToCommunityPopup"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2927%3A343592"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2990%3A353179"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2927%3A344073"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=4291%3A385536"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=4295%3A385958"
|
||||
}
|
||||
]
|
||||
section: "Popups"
|
||||
}
|
||||
ListElement {
|
||||
title: "CreateChannelPopup"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2975%3A488608"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2975%3A488256"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2903%3A348301"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2975%3A488848"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2975%3A489237"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2975%3A489607"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=2975%3A492910"
|
||||
}
|
||||
]
|
||||
section: "Popups"
|
||||
}
|
||||
|
||||
ListElement {
|
||||
title: "MembersSelector"
|
||||
section: "Components"
|
||||
}
|
||||
ListElement {
|
||||
title: "BrowserSettings"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=448%3A36296"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=1573%3A296338"
|
||||
}
|
||||
]
|
||||
section: "Settings"
|
||||
}
|
||||
ListElement {
|
||||
title: "LanguageCurrencySettings"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=701%3A74776"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=1592%3A112840"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/idUoxN7OIW2Jpp3PMJ1Rl8/%E2%9A%99%EF%B8%8F-Settings-%7C-Desktop?node-id=701%3A75345"
|
||||
}
|
||||
]
|
||||
section: "Settings"
|
||||
}
|
||||
}
|
|
@ -26,101 +26,8 @@ ApplicationWindow {
|
|||
onReloaded: hotReloaderControls.notifyReload()
|
||||
}
|
||||
|
||||
ListModel {
|
||||
PagesModel {
|
||||
id: pagesModel
|
||||
|
||||
ListElement {
|
||||
title: "ProfileDialogView"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=733%3A12552"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=682%3A15078"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=682%3A17655"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=682%3A17087"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=4%3A23525"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/ibJOTPlNtIxESwS96vJb06/%F0%9F%91%A4-Profile-%7C-Desktop?node-id=4%3A23932"
|
||||
}
|
||||
]
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "CommunitiesPortalLayout"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A415655"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A415935"
|
||||
}
|
||||
]
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "LoginView"
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "AboutView"
|
||||
section: "Views"
|
||||
}
|
||||
ListElement {
|
||||
title: "CommunityProfilePopupInviteFriendsPanel"
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "CommunityProfilePopupInviteMessagePanel"
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "StatusCommunityCard"
|
||||
|
||||
figma: [
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A416159"
|
||||
},
|
||||
ListElement {
|
||||
link: "https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba%E2%8E%9CDesktop?node-id=8159%3A416160"
|
||||
}
|
||||
]
|
||||
section: "Panels"
|
||||
}
|
||||
ListElement {
|
||||
title: "InviteFriendsToCommunityPopup"
|
||||
section: "Popups"
|
||||
}
|
||||
ListElement {
|
||||
title: "CreateChannelPopup"
|
||||
section: "Popups"
|
||||
}
|
||||
ListElement {
|
||||
title: "LanguageCurrencySettings"
|
||||
section: "Settings"
|
||||
}
|
||||
ListElement {
|
||||
title: "BrowserSettings"
|
||||
section: "Settings"
|
||||
}
|
||||
ListElement {
|
||||
title: "UserListPanel"
|
||||
}
|
||||
ListElement {
|
||||
title: "ProfileFetchingView"
|
||||
}
|
||||
ListElement {
|
||||
title: "MembersSelector"
|
||||
}
|
||||
}
|
||||
|
||||
SplitView {
|
||||
|
|
Loading…
Reference in New Issue