Commit Graph

66 Commits

Author SHA1 Message Date
Noelia 5676fb96ef fix(Community Permissions): Update `Who holds` add new item with always AND action
- Logic related to operators removed.
- Dropdown `and/or` removed.
- Updated `PermissionItem` to display only the tag and not the operator.
- Updated `storybook` according to new changes.

Fixes #8500
2023-01-13 10:51:10 +01:00
Dario Gabriel Lipicar 7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Patryk Osmaczko 3cc3f3ea85 feat(storybook): add CommunityIntroDialogPage 2023-01-10 16:51:55 +01:00
Sale Djenic 9d382b1c81 fix(storybook): profile fetching updated
Profile fetching page, which is part of onboarding flow, is updated so it matches
the latest figma changes now.
2023-01-04 11:15:58 +01:00
Michał Cieślak 4fc52dddcb chore(Storybook): Basic page for CommunityNewPermissionView added 2022-12-21 21:48:51 +01:00
Michał Cieślak 7954b0f330 chore(Storybook): Basic page for InDropdown (community permissions) added 2022-12-21 21:48:51 +01:00
Michał Cieślak 80b46ce788 chore(Storybook): Basic page for StatusChatListAndCategories added 2022-12-21 21:48:51 +01:00
Alex Jbanca 6cba8810e0 Fix Mentions in statusChatInput
1. Don't allow mention invalidation by altering mention with mouse or keyboard
2. Don't allow mention duplication on the same position
3. Clean mentions after text with mentions changes
4. Fix mention selection
5. Make sure mention is separated by text with valid separators (we're using only space)
6. Cursor will consider the mention as an object and will jump over it as it would be a single character (placing cursor inside leaves room for mention invalidation)
2022-12-21 12:23:39 +02:00
Noelia a9d25697dd feat(CommunitySettings): Implement UI for`edit`, `duplicate` and `remove` actions in community permissions page
feat(CommunitySettings): Implement UI for`edit`, `duplicate` and `remove` actions in community permissions page

- Enabled `duplicate` action (mocked).
- Enabled `delete` action (mocked) and added / updated navigations in case all permissions are removed.
- Added delete confirmation popup.
- Enabled `edit` action (mocked) where changes are detected and the `dirty changes toast` appears properly.

Closes #8581
2022-12-19 15:25:16 +01:00
Alex Jbanca 3059631226 Add qml tests for StatusChatInput
Test parts of the working functionality
2022-12-19 10:11:53 +02:00
Michał Cieślak 7234e49fee chore(Storybook): Add HoldingsDropdown page 2022-12-16 00:52:09 +01:00
MishkaRogachev ddf27d3038 feat(Contacts): Handle cancel identity verification on the reciever side
Close #8437
2022-12-15 15:44:45 +04:00
Noelia 2087a5322b feat(storybook): Added `CommunityPermissionsViewPage` to storybook
- Created page and added editor for specific page.
- Created needed mocked models.
- Added background in permission related pages to ensure correct dark mode visualization.
2022-12-10 14:02:02 +01:00
Noelia 1db0a0077d feat(storybook): Added `CommunityPermissionsSettingsPanel`
- Added `CommunityPermissionsSettingsPanel`.

- Created panel item editor and basic panel editor layout for `CommunityPermissionsSettingsPanelPage`. Still not linked to a model.

- Added mocked data for collectibles and tokens.

- Created `ChannelsModel` mocked data.

- Added edit / duplicate / remove signals logs.
2022-12-10 14:02:02 +01:00
Alex Jbanca b414a829e8 Adding qml tests to storybook
+ dummy StatusChatInput test
2022-12-08 15:31:43 +02:00
Alex Jbanca 007ed915cc Adding StatusChatInput to storybook 2022-12-08 12:09:40 +02:00
Lukáš Tinkl e13726e4af feat(SocialLinkPreview): links are too short to display even short urls
- rework the way social links are displayed/editted; we now only allow to
enter a so called "handle" and then substitute that in the final URL
template
- move the "icon" model role to NIM backend

This has several advantages:
- we display only the "handle" and don't have to elide some long URL
- we won't let users enter random URLs into their profile and spoof the
viewing part into clicking it

Additionally, make the social link "button" clickable -> navigate to the
target URL, and make the tooltip behave as "usual" (on mouse hover).
2022-12-07 12:40:58 +01:00
Patryk Osmaczko c3dbe66e02 fix(storybook): add missing <optional> include
- fixes build on linux
2022-12-05 13:47:40 +01:00
Michał Cieślak 55668f160c chore(Storybook): page for ContactsListAndSearch added 2022-12-02 13:38:57 +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 5dcd3dde23 chore(Storybook): CMakeLists - common lib for app and tests defined 2022-11-29 11:30:13 +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 f934eeebb3 feat(Storybook): Prevent building for desktop using Storybook.pro
Closes #8451
2022-11-28 17:28:56 +01:00
Michał Cieślak a998f654a2 fix(Storybook): linking WebEngine causes errors on Linux
Linking to WE is not needed. Setting Qt::AA_ShareOpenGLContexts
attribute is sufficient to make QWebEngine working properly.

Closes: #8454
2022-11-28 15:04:31 +01:00
alexjba 1b2fd40b20 Adding qmake project file for wasm
This changeset contains the prerequisites required to compile StoryBook on wasm_32 and the README file with instructions
2022-11-23 16:20:37 +02:00
Michał Cieślak 284302b486 feat(Storybook): Pages model excluded to a separate file, figma links added 2022-11-22 15:34:18 +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 c1d5fdd04a feat(Storybook): sections decorator model impl and basic tests
Proxy model extending source model by adding foldable sections
based on "section" role from the source model.
2022-11-21 12:51:22 +01:00
Patryk Osmaczko bd7f890cce feat(storybook): add MembersSelector to storybook
closes: #8178
fixes: #8210
2022-11-18 13:13:38 +01:00
alexjba 6474e73b85 Add profile fetching view to storyBook
The profile fetching view is part of the onboarding process. This view should be displayed on existing user onboarding flow, while the profile is being fetched in the backend.
It has 3 states:
1. Fetching in progress
2. Fetching completed
3. Fetching error
2022-11-17 21:48:53 +02:00
Michał Cieślak 93428d8b2e feat(Storybook): adding UsersList in storybook
Closes #8186
2022-11-16 11:37:35 +01:00
Lukáš Tinkl 77fa884a36 chore: fix storybook regressions 2022-11-14 14:14:32 +01:00
Lukáš Tinkl c0e9c28ff5 chore: add correct QML import paths for QtCreator 2022-11-14 14:14:32 +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
Lukáš Tinkl 2b6164fc8d fix: ens names should not display `@`
Fixes #8122
2022-11-10 10:42:05 +01:00
Michał Cieślak 6237d3c7c1 fix(InviteFriendsToCommunityPopup): adaptive popup height, consistent footer height
Closes: #7604
Closes: #7605
2022-11-08 22:03:56 +01:00
Michał Cieślak c32973b731 fix(Storybook): PagesList minor fix 2022-11-08 22:03:56 +01:00
Michał Cieślak c21337a02f fix(Storybook): update InviteFriendsToCommunityPopup page 2022-11-08 22:03:56 +01:00
Patryk Osmaczko 339cc8826e chore(storybook): remove unused utils 2022-10-27 13:55:06 +02:00
Patryk Osmaczko db2be47ee1 feat(storybook): extended editing of communities portal page
- added tags editor
- added active members editor
- refactored icon/banner models (removed imperative transforms)
- refactored icon/banner selection (removed single shots)

closes: #8032
2022-10-27 13:55:06 +02:00
Jonathan Rainville cea4945cba feat(storybook): add browser settings in the storybook 2022-10-25 14:27:50 -04: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 5d0d3e7135 feat(storybook): add controls to profile page
now one can play around with various UI aspects of the new Profile Dialog
2022-10-24 16:55:12 +02:00
Iuri Matias fbccb31960 chore(@storybook): add language & currency settings view to storybook
chore(@storybook): add language & currency settings view to storybook

chore(@storybook): add language & currency settings view to storybook

fix storybook menu

remove qsTr
2022-10-24 10:25:56 -04:00
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