status-desktop/storybook/pages
Alex Jbanca fcd9567677 feat: Add settings card to control link previews settings in chat input
This commit adds the link preview settings card in the chat input area and connects the settings to the controller.

Not included in this commit: Backend for the preserving the settings, syncing the settings and enforcing the settings on the backend side.

Whenever an url is detected in the chat input area, the link preview settings card is presented. This card enables the user to choose one of the following options:

1. `Show for this message` - All the link previews in the current message will be loaded without asking again. The current message can be defined as the message currently typed/pasted in the chat input. Deleting or sending the current content is resetting this setting and the link preview settings card will be presented again when a new url is detected.
2. `Always show previews` - All the link previews will be loaded automatically. The link preview settings card will not be presented again (in the current state, this settings is enabled for the lifetime of the controller. This will change once the settings are preserved and synced)
3. `Never show previews` - No link preview will be loaded. Same as the `Always show previews` option, this will be preserved for the lifetime of the controller for now.
4. Dismiss (x button) - The link preview settings card will be dismissed. It will be loaded again when a new link preview is detected

The same options can be loaded as a context menu on the link preview card.

Changes:
1. Adding `LinkPreviewSettingsCard`
2. Adding the settings context menu to `LinkPreviewSettingsCard` and `LinkPreviewMiniCard`
3. Connect settings events to the nim controller
4. Adding the controller logic for settings change
5. Adding the link preview dismiss settings flag to the preserverd properties and use it as a condition to load the settings.
6. Adding/Updating corresponding storybook pages
2023-10-12 15:40:01 +03:00
..
AboutViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
AccountViewPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
ActivityFilterMenuPage.qml fix(storybook): fix broken pages 2023-10-06 14:59:02 +02:00
ActivityNotificationCommunityMembershipRequestPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
AddressesInputListPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
AddressesSelectorPanelPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
AirdropRecipientsSelectorPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
AirdropTokensSelectorPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
AirdropsSettingsPanelPage.qml fix(Update fees periodically): Update airdrop flows to use fees subscriber 2023-09-08 23:25:04 +03:00
AlertPopupPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
AmountToSendPage.qml feat: Refactor AmountToSend to use exact amounts for transactions 2023-09-20 15:15:29 +02:00
BrowserSettingsPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
BurnTokensPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ChatAnchorButtonsPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ChatInputLinksPreviewAreaPage.qml feat: Add settings card to control link previews settings in chat input 2023-10-12 15:40:01 +03:00
ChatPermissionQualificationPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ColumnHeaderPanelPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
CommunitiesPortalDummyModel.qml feat(CommunityPortal/StatusCommunityCard): Prepared `StatusCommunityCard` to display permissions row 2023-04-27 16:10:20 +02:00
CommunitiesPortalLayoutPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
CommunitiesPortalModelEditor.qml feat(storybook): extended editing of communities portal page 2022-10-27 13:55:06 +02:00
CommunitiesViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
CommunityInfoEditor.qml feat: add ManageShardingPopup 2023-10-02 15:04:17 +02:00
CommunityIntroDialogPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
CommunityPermissionsHoldingItemEditor.qml feat(Communities): Communities folder reorganization 2023-06-28 14:28:47 +02:00
CommunityPermissionsSettingsPanelEditor.qml feat(communities): integrate token permissions pending state 2023-09-18 15:29:03 +02:00
CommunityTokenViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ContactsListAndSearchPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
CreateChannelPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
DerivationPathInputPage.qml fix(storybook): fix broken pages 2023-10-06 14:59:02 +02:00
DidYouKnowSplashScreenPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
EditAirdropViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
EditCommunityTokenViewPage.qml fix(storybook): fix broken pages 2023-10-06 14:59:02 +02:00
EditNetworkViewPage.qml fix(@desktop/wallet): Edit Networks: Add warning when failover and main rpc are the same 2023-09-05 16:56:27 +02:00
EditOwnerTokenViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
EditPermissionViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
EditSettingsPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
EnableShardingPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ExportControlNodePopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
FeeRowPage.qml fix: Gradient mask of replied message doesn't work 2023-09-20 10:46:25 +02:00
FeesBoxPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
FeesPanelPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
FinaliseOwnershipDeclinePopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
FinaliseOwnershipPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
HoldingsDropdownPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ImagesGridViewPage.qml feat(Storybook): read Figma links directly from pages 2023-10-03 21:32:41 +02:00
ImportControlNodePopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
InDropdownPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
InlineNetworksComboBoxPage.qml chore(Communities): Refactor amounts handling for displaying, minting, airdropping and burning 2023-08-17 11:26:25 +02:00
IntroPanelPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
InviteFriendsToCommunityPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
JoinCommunityPermissionsEditor.qml feat(communities): add check permissions pending state 2023-08-08 08:58:26 +02:00
JoinCommunityViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
JoinPermissionsOverlayPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
KickBanPopupPage.qml feat(Communities): Integrate kick/ban actions with token holders list 2023-09-01 14:11:31 +02:00
LanguageCurrencySettingsPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
LinkPreviewCardPage.qml feat: Implement the new Link Preview cards 2023-09-18 09:28:22 +03:00
LinkPreviewMiniCardPage.qml feat: Generate link previews in StatusChatInput - introduce LinkPreviewMiniCard 2023-10-12 14:08:28 +03:00
LinkPreviewSettingsCardPage.qml feat: Add settings card to control link previews settings in chat input 2023-10-12 15:40:01 +03:00
LinksMessageViewPage.qml feat: Implement the new Link Preview cards 2023-09-18 09:28:22 +03:00
LoginViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ManageShardingPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
MembersDropdownPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
MembersSelectorPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
MembersTabPanelPage.qml Feat/issue 11795 introduce KickedPending and BannedPending states (#12068) 2023-10-05 00:41:51 +03:00
MessageContextMenuPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
MintTokensSettingsPanelPage.qml feat(@desktop/communities): Adjust owner and master tokens deployment flow to new API 2023-10-04 12:08:50 +02:00
MintedTokensViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
NetworkFilterPage.qml fix(MintTokens): Network chosen locks in the network used for all future tokens minted for that community 2023-09-14 16:19:09 +02:00
NetworkSelectPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
OverviewSettingsChartPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
OverviewSettingsFooterPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
OverviewSettingsPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
OwnerTokenWelcomeViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
PasswordViewPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
PermissionConflictWarningPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
PermissionQualificationPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
PermissionsRowPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
PermissionsSettingsPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
PermissionsViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
PlaygroundPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
PopupSizingPage.qml fix(StatusDropdown, StatusDialog): height calculation improved 2023-08-03 14:52:19 +02:00
PrivilegedTokenArtworkPanelPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
ProfileAccountsPage.qml feat(@desktop/wallet): Update remove keypair popup to match the Figma 2023-08-10 19:56:59 +02:00
ProfileDialogViewPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ProfileFetchingModelEditor.qml fix(storybook): profile fetching updated 2023-01-04 11:15:58 +01:00
ProfileFetchingViewPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
ProfilePopupInviteFriendsPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ProfilePopupInviteMessagePanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ProfileShowcaseAccountsPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ProfileShowcaseAssetsPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ProfileShowcaseCollectiblesPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ProfileShowcaseCommunitiesPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
ProfileSocialLinksPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
RemotelyDestructPopupPage.qml fix(Update fees periodically): Implementing periodic fee update for airdrops, minting, self destruct and burning transactions 2023-09-08 23:25:04 +03:00
SendModalPage.qml chore(@desktop/wallet): SendModal: complete storybook flow 2023-10-02 12:27:15 +02:00
SequenceColumnLayoutPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
SettingsPageHeaderPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
SharedAddressesPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
SignTransactionsPopupPage.qml chore(Communities): rename SignMultiTokenTransactionsPopup to SignTransactionsPopup 2023-09-22 10:43:05 +02:00
SortableTokenHoldersListPage.qml fix(TokenHoldersPanel): Added sorting feature 2023-08-08 17:32:49 +03:00
SortableTokenHoldersPanelPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
StatusBlockProgressBarPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusButtonPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
StatusChatInputPage.qml feat: Add settings card to control link previews settings in chat input 2023-10-12 15:40:01 +03:00
StatusChatListAndCategoriesPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusChatListItemPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusCommunityCardPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
StatusDatePickerPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusDateRangePickerPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusDotsLoadingIndicatorPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusEmojiAndColorComboBoxPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusFlowSelectorPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusGroupBoxPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusImageCropPanelPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusInfoBoxPanelPage.qml fix(Minting): After minting completed 1 airdrop button is enabled and the other disabled 2023-08-01 13:20:31 +02:00
StatusInputPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusItemSelectorPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusMessagePage.qml fix: Gradient mask of replied message doesn't work 2023-09-20 10:46:25 +02:00
StatusScrollViewPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
StatusTxProgressBarPage.qml fix(storybook): fix broken pages 2023-10-06 14:59:02 +02:00
SyncingEnterCodePage.qml fix(SyncingEnterCode): tweak to local pairing messaging 2023-10-05 10:12:48 +02:00
SyncingViewPage.qml fix(SyncingEnterCode): tweak to local pairing messaging 2023-10-05 10:12:48 +02:00
TokenHoldersPanelPage.qml fix(TokenHoldersPanel): Added sorting feature 2023-08-08 17:32:49 +03:00
TokenItemPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
TokenListViewPage.qml fix(storybook): fix broken pages 2023-10-06 14:59:02 +02:00
TokenMasterActionPopupPage.qml feat(Communities): TokenMasterActionPopup added for Remote destruct, Kick and Ban actions 2023-08-03 16:26:34 +02:00
TokenPanelPage.qml chore(Communities): Refactor amounts handling for displaying, minting, airdropping and burning 2023-08-17 11:26:25 +02:00
TokenPermissionsPopupPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
TransactionAddressPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
TransactionAddressTilePage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
TransactionDelegatePage.qml fix(storybook): fix broken pages 2023-10-06 14:59:02 +02:00
TransactionDetailViewPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
TransferOwnershipAlertPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
TransferOwnershipPopupPage.qml feat(TransferOwnershipPopup): Updated transfer ownership popup according to new design 2023-09-20 11:08:29 +02:00
UserAgreementPopupPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
UserListPanelPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00
UserProfileCardPage.qml chore(Storybook): Figma links moved from figma.json to pages 2023-10-03 21:32:41 +02:00
UsersModelEditor.qml Adding StatusChatInput to storybook 2022-12-08 12:09:40 +02:00
WalletHeaderPage.qml Storybook: `PagesModel.qml` removed, adding new pages simplified 2023-08-01 13:10:56 +02:00