Commit Graph

20 Commits

Author SHA1 Message Date
Iuri Matias eda3df5f88 chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global 2022-10-24 10:25:56 -04:00
Iuri Matias e6b2b43504 chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global 2022-10-24 10:25:56 -04:00
Lukáš Tinkl 6e664564e0 feat(storybook): add Profile Popup
This adds the ProfileDialogView to storybook pages

For now, there's just one control to switch between own profile and
another profile; more to come in later PRs.

The mocked global objects (mainModuleInst and globalUtilsInst) are
injected via QML

Fixes: #7820
2022-10-21 18:12:39 +02:00
Michał Cieślak dfc5db27d5 feat(Storybook): in-page, state-preserving hot reloading
In comparison to generic page-wise hot reloading, this technique
requires using dedicated component within a storybook page but
provides greater flexibility e.g. preserving component state across
source reloads.

Closes: #7975
2022-10-20 20:34:35 +02:00
Michał Cieślak 8981b8615a feat(Storybook): Hot reloading for pages
Closes: #7975
2022-10-20 20:34:35 +02:00
Patryk Osmaczko fa1f396a86 fix(communities/portal): navigate or spectate community
fixes: #7244
2022-10-18 21:21:10 +02:00
Patryk Osmaczko a543f46de5 chore(communities/portal): extend curated communites model 2022-10-18 21:21:10 +02:00
Patryk Osmaczko a2b88d7b77 feat(storybook): extend communities portal cards with tags 2022-10-18 12:53:41 +02:00
Michał Cieślak de4ef7daf0 fix(Storybook): mock for DotherSide types added
Additionally `ui/imports/shared/views/chat/qmldir` fixed.

Closes: #7932
2022-10-17 10:50:12 -04:00
Iuri Matias 440d0a9017 chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global
chore(@storybook): add about view to storybook, refactor about view to use calls from store instead of global

fix storybook menu
2022-10-17 10:03:17 -04:00
Michał Cieślak 5537f5edd7 feat(Storybook): Light/dark mode switch
Moreover:
- load asynchronously switch fixed
- storybook refactored to rely on build-in components only
- some explicit sizes/spacings removed
- some bigger components split into smaller

Closes: #7898
2022-10-14 09:27:19 -04:00
Patryk Osmaczko 8a45e34870 fix(storybook): fix build on mac 2022-10-14 13:57:18 +02:00
Patryk Osmaczko 89f6b5f3cc chore(storybook): fix clang-tidy `readability-static-accessed-through-instance` 2022-10-14 13:57:18 +02:00
Patryk Osmaczko 148d0518f8 fix(storybook): fix build on linux
CMake's GLOB is capturing source files from `build/*` resulting in
multiple `main` definitions.

Generally, usage of GLOB is discouraged.
2022-10-14 13:57:18 +02:00
Michał Cieślak d5a4ab5967 feat(Storybook): LoginView - initial setup
Closes: #7865
2022-10-12 10:54:55 -04:00
Michał Cieślak 7ffb99e724 feat(Storybook): Allow loading pages asynchronously
Closes: #7868
2022-10-12 10:51:15 -04:00
Michał Cieślak cb7e67ce8c chore(Storybook): LogsView added
Closes: #7818
2022-10-11 16:39:39 +02:00
Michał Cieślak 347c9b2fc3 chore(CommunitiesPortalLayoutPage): model editor added
Closes: #7816, #7819
2022-10-11 16:39:39 +02:00
Michał Cieślak 2b6150177b feat(Storybook): First sample page (CommunitiesPortalLayout) 2022-10-10 15:09:12 +02:00
Michał Cieślak 38299f7169 feat(Storybook): Initial project config and main qml/cpp
Closes: #7547
2022-10-10 15:09:12 +02:00