status-desktop/ui/imports/shared/status
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
..
StatusGifPopup fix: revert to not destroy popups on close by default 2023-06-09 00:44:27 +02:00
StatusChatImage.qml fix: Pinning messages - tweaks to UI and interactions 2023-02-17 11:22:21 +01:00
StatusChatImageExtensionValidator.qml fix(images): fix second pasted image replaces the first one 2023-03-28 13:48:10 -04:00
StatusChatImageLoader.qml fix: reduce Image cache 2023-04-27 13:56:39 +02:00
StatusChatImageQtyValidator.qml feat: New Profile Modal 2022-10-17 12:05:54 +02:00
StatusChatImageSizeValidator.qml fix(images): fix second pasted image replaces the first one 2023-03-28 13:48:10 -04:00
StatusChatImageValidator.qml refactor(desktop) Made shared a QML module 2021-10-27 18:05:45 -04:00
StatusChatInput.qml feat: Add settings card to control link previews settings in chat input 2023-10-12 15:40:01 +03:00
StatusChatInputImageArea.qml feat: Add settings card to control link previews settings in chat input 2023-10-12 15:40:01 +03:00
StatusChatInputReplyArea.qml feat(image-album): Display album of images in replies 2023-05-02 11:24:48 +03:00
StatusChatInputTextFormationAction.qml refactor: removed dynamic scoping from shared module 2022-02-01 11:46:39 +01:00
StatusEmojiPopup.qml fix(StatusScrollView): Change implementation to inherit ScrollView (#10789) 2023-05-31 23:58:23 +03:00
StatusEmojiSection.qml fix(StatusEmojiPopup): 'Flags' section is cut off in the emoji modal 2022-09-01 19:28:21 +02:00
StatusEmojiSuggestionPopup.qml fix(StatusEmojiSuggestionPopup): emoji is blurry in the suggestions popup 2022-11-24 14:35:54 +01:00
StatusExpandableAddress.qml fix(@wallet): trim tx data 2023-02-23 14:53:45 +01:00
StatusGifPopup.qml fix: Create only one instance of `StatusChatInput` (#10928) 2023-06-07 16:18:29 +03:00
StatusImageModal.qml fix(URLUnfurling): Updated image context menu 2023-09-12 00:04:08 +03:00
StatusImageRadioButton.qml fix(AppearanceView): UI issue fixes 2022-07-26 23:41:30 +02:00
StatusInputListPopup.qml chore: reduce the number of (verification) RPC calls 2022-12-01 16:50:23 +01:00
StatusNotification.qml chore: remove public chat functionnalities 2023-01-25 10:05:55 -05:00
StatusSearchListPopup.qml fix: Channel picker doesn't render 1-1 chats correctly 2023-06-15 11:13:36 +02:00
StatusSectionDescItem.qml fix(@wallet): trim tx data 2023-02-23 14:53:45 +01:00
StatusSectionHeadline.qml refactor(desktop) Made shared a QML module 2021-10-27 18:05:45 -04:00
StatusSettingsLineButton.qml chore: use the "next" icon consistently 2023-04-25 13:24:17 +02:00
StatusSticker.qml fix: Pinning messages - tweaks to UI and interactions 2023-02-17 11:22:21 +01:00
StatusStickerButton.qml chore(StatusStickerButton): refactor to use StatusButton 2023-04-18 13:45:38 +02:00
StatusStickerList.qml fix(StatusStickerList): add scrollbar to the grid view 2023-04-18 13:45:38 +02:00
StatusStickerMarket.qml chore(@desktop/wallet): SendModal: complete storybook flow 2023-10-02 12:27:15 +02:00
StatusStickerPackClickPopup.qml chore(@desktop/wallet): SendModal: complete storybook flow 2023-10-02 12:27:15 +02:00
StatusStickerPackDetails.qml fix(general): buttons font fixed, font loading refactored 2022-09-19 22:10:25 +02:00
StatusStickerPackIconWithIndicator.qml fix: Create only one instance of `StatusChatInput` (#10928) 2023-06-07 16:18:29 +03:00
StatusStickersPopup.qml fix: Create only one instance of `StatusChatInput` (#10928) 2023-06-07 16:18:29 +03:00
StatusTextFormatMenu.qml feat(@desktop/chat): add textformat quote option functionality 2022-09-01 12:45:45 +03:00
TextEditHyperlinksFormatter.qml feat: Generate link previews in StatusChatInput - Small updates + Add basic zoom to Storybook InspectionWindow 2023-10-12 14:08:28 +03:00
qmldir feat(@desktop/wallet): Updated UI for bridge and multi routing support 2022-10-26 18:48:30 +02:00