Commit Graph

39 Commits

Author SHA1 Message Date
Michał Cieślak fc5daf2ee2 feat(GenericListView): reinitialize on model reset and handle delayed roles initialization 2024-04-02 12:18:36 +02:00
Alex Jbanca 4d6082e806 feat(ProfileShowcase): Updates based on comments 2024-03-06 14:49:54 +02:00
Michał Cieślak 2ffb0feedd feat(Storybook): Utility allowing quickly visualize any model.
It makes work with model in Storybook much faster bc eliminates work
related to creating delegates and also (when needed) handling dnd logic.

Closes: #13599
2024-02-21 09:42:05 +01:00
Michał Cieślak ba7d775dac feat(Storybook): Re-run tests automatically for opened page
Closes: #12331
2023-10-16 13:37:08 +02:00
Michał Cieślak 8e5cf758fd chore(Storybook): Exclude TestRunnerController component for handling test runs 2023-10-16 13:37:08 +02:00
Michał Cieślak 5784f4cd87 feat(Storybook): Open tests dir from the app 2023-10-16 13:37:08 +02:00
Michał Cieślak 8a996a9175 feat(Storybook): Add tests runner available from the app 2023-10-16 13:37:08 +02:00
Michał Cieślak a567910f3b chore(Storybook): Add label to Figma preview window when empty 2023-10-16 13:37:08 +02:00
Alex Jbanca 422bb2c064 feat: Generate link previews in StatusChatInput - Small updates + Add basic zoom to Storybook InspectionWindow 2023-10-12 14:08:28 +03:00
Michał Cieślak 15fcdc9314 feat(Storybook): Drag and drop pages to QtCreator 2023-10-03 21:32:41 +02:00
Michał Cieślak 853641fb89 feat(Storybook): read Figma links directly from pages 2023-10-03 21:32:41 +02:00
Lukáš Tinkl c155c9c9d0 feat: add objectName to Inspect window (if present)
Closes #12314
2023-10-03 14:07:18 +02:00
Michał Cieślak cb07625a57 Storybook: `PagesModel.qml` removed, adding new pages simplified
Closes: #11716
2023-08-01 13:10:56 +02:00
Michał Cieślak 453d75b304 feat(Storybook): Utility proxy model for limiting model's count
It's convenient for testing some corner cases (especially when
used with Slider)  when e.g. model is empty or has only one item.
2023-07-24 17:14:00 +02:00
Alex Jbanca 27c159d464 feat: Export control node (except backend for primary action)
Adding the export control node popup. The popup is behind an authentication wall.
1. Create ExportControlNodePopup qml
2. Add the popup in storybook
3. Create authentication flow with qml callback to open the popup after authentication
4. Add the popup open action in Global.qml
2023-07-20 12:11:17 +03:00
Michał Cieślak 3a801955e8 chore(CommunityTokensMinting): TokenObject usage refactored
AssetObject and CollectibleObject removed to avoid distinguishing
between those two types in many places.
2023-06-26 10:01:14 +02:00
Michał Cieślak 75e2fff7c0 chore(Storybok): Inspection tool - more readable component names 2023-06-20 23:26:21 +02:00
Michał Cieślak 2663d4a4c2 feat(Storybok): Inspection tool - better selection of parent item to draw auxiliary lines 2023-06-20 23:26:21 +02:00
Michał Cieślak 40adfa2d90 feat(Storybok): Inspection tool - draw auxiliary lines without clipping
Drawing auxiliary lines have been moved outside the items hierarchy
to avoid clipping. Previously auxiliary lines were incorrectly
truncated in some cases.
2023-06-20 23:26:21 +02:00
Michał Cieślak 5315f94e40 chore(Storybok): Inspection tool - handle SpritSequence type properly 2023-06-20 23:26:21 +02:00
Michał Cieślak 55ea4d0044 feat(Storybok): Inspection tool - find item on the list by clicking 2023-06-20 23:26:21 +02:00
Lukáš Tinkl 5b94cad94e fix(storybook): make it possible to inspect popups
add a kbd shortcut (Ctrl+Shift+I) to be able to invoke the "Inspect"
feature for Popup based components; as clicking the "Inspect" button in
the status bar closes the popup itself
2023-06-13 11:24:07 +02:00
Michał Cieślak b87231e14b Storybook: Inspection tool - support for popups added 2023-05-10 12:50:52 +02:00
Michał Cieślak cbaf1b8a78 Storybook: Generic, figma-like inspection tool for checking structure/sizes/paddings
Closes: #10574
2023-05-10 12:50:52 +02:00
Michał Cieślak 1ac4c34a63 feat(Storybook): scrollbar and button for clearing search input added 2023-04-21 10:26:00 +02:00
Michał Cieślak 1c80cbb3df fix(Storybook): correct parsing of figma urls with in node-id 2023-03-29 14:25:46 +02:00
Michał Cieślak 4d5d557dfd feat(Storybook): Add button for copying component name to clipboard
Closes: #9673
2023-03-03 00:16:40 +01:00
Michał Cieślak cda881af46 feat(Storybook): Possibility to modify Figma links directly from the app
Closes: #8450
2022-11-29 22:28:57 +01:00
Michał Cieślak 8e39d761dc feat(Storybook): Figma links loaded from json file
Closes: #8187
2022-11-29 11:30:13 +01:00
Michał Cieślak ec38dca735 feat(Storybook): add basic Figma integration
After setting Figma private token, Figma desings related
to a given Storybook page can be browsed directly via the
Storybook app.

Closes: #8188
2022-11-22 15:34:18 +01:00
Michał Cieślak c5b409a42a feat(Storybook): Foldable sections in pages list
Based on SectionsDecoratorModel extending source model
by foldable sections.

Closes: #7928
2022-11-21 12:51:22 +01:00
Michał Cieślak 1ca1866993 chore(Storybook): page for CreateChannelPopup added 2022-11-11 15:14:44 +02:00
Michał Cieślak a2e6bc00dd feat(Storybook): pages search
Closes: #8173
2022-11-10 15:19:41 +01:00
Michał Cieślak c32973b731 fix(Storybook): PagesList minor fix 2022-11-08 22:03:56 +01:00
Patryk Osmaczko 339cc8826e chore(storybook): remove unused utils 2022-10-27 13:55:06 +02:00
Michał Cieślak 6b90d4d5a6 chore(Storybook): add pages for InviteFriendsToCommunityPopup and related components
Closes: #8004
2022-10-25 17:03:44 +02: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