status-desktop/ui/imports/shared/controls
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
..
chat feat: Add settings card to control link previews settings in chat input 2023-10-12 15:40:01 +03:00
delegates fix: do not display ENS name when not ENS verified 2023-04-21 00:24:32 +02:00
AddressInput.qml fix(@desktop/statusq): Fix StatusQ and shared components as part of 2023-03-01 13:59:49 +03:00
AmountInput.qml chore(AmountInput): Allow custom err msg for exceeding max, custom label and flag for zero as valid input 2023-08-31 00:37:23 +02:00
AssetDelegate.qml fix(@desktop): use system locale across the application 2023-01-17 16:39:56 -03:00
AssetsDetailsHeader.qml feat(@desktop/wallet): Implement connection error screens 2023-03-23 15:26:22 +01:00
ContactSelector.qml
ContactsListAndSearch.qml fix(@desktop/statusq): Fix StatusQ and shared components as part of 2023-03-01 13:59:49 +03:00
CopyButton.qml feat(@desktop/general): copy button identified, will be mostly used as a built in component 2023-04-03 14:13:53 +02:00
CopyToClipBoardButton.qml fix(@wallet): trim tx data 2023-02-23 14:53:45 +01:00
DisabledTooltipButton.qml fix: don't display bogus empty tooltip with no text 2023-08-17 14:05:40 +02:00
EmojiHash.qml feat: New Profile Modal 2022-10-17 12:05:54 +02:00
ErrorDetails.qml fix: Device syncing 2023-03-16 00:27:21 +13:00
FormGroup.qml
GetSyncCodeDesktopInstructions.qml fix(GetSyncCodeInstructionsPopup): mention same network 2023-10-05 10:12:48 +02:00
GetSyncCodeInstruction.qml fix(GetSyncCodeInstructionsPopup): mention same network 2023-10-05 10:12:48 +02:00
GetSyncCodeMobileInstructions.qml fix(GetSyncCodeInstructionsPopup): mention same network 2023-10-05 10:12:48 +02:00
ImportKeypairInfo.qml fix(@desktop/wallet): Wallet settings - various small enhancements identified via mobile wallet settings work 2023-10-09 18:46:57 +02:00
InformationTag.qml feat(@desktop/wallet): Complete Filter Activity List 2023-06-14 20:18:44 +02:00
InformationTile.qml feat(@desktop/wallet): Implement connection error screens 2023-03-23 15:26:22 +01:00
Input.qml fix(HoldingsDropdown): Add basic focus management and keyboard support 2023-03-23 12:24:05 +02:00
LoadingTokenDelegate.qml fix(@desktop/wallet): Wallet: user can click on dummy loading items from activity-history and open an empty transaction view 2023-04-17 15:47:56 +02:00
MockedKeycardReaderStateSelector.qml feat(@desktop/keycards): managing mocked keycards when running keycard flows 2023-09-27 18:20:43 +02:00
MockedKeycardStateSelector.qml feat(@desktop/keycards): managing mocked keycards when running keycard flows 2023-09-27 18:20:43 +02:00
RadioButtonSelector.qml feat: Add scrolling velocity and deceleration settings to advanced 2023-06-16 15:54:33 +02:00
RecipientSelector.qml fix(@desktop/wallet): correct error message when adding own ENS name to saved addresses 2022-11-15 07:26:45 -03:00
SearchBox.qml fix(StatusBaseInput): No padding for input fields 2023-01-06 00:59:42 +01:00
SendToContractWarning.qml
SettingsRadioButton.qml
ShapeRectangle.qml feat: Generate link previews in StatusChatInput - introduce LinkPreviewMiniCard 2023-10-12 14:08:28 +03:00
SocialLinkPreview.qml feat: implement ProfileShowcase settings 2023-04-12 11:39:37 +02:00
StatusSyncCodeInput.qml feat(@desktop/syncing): make a not operable account fully operable, part 3 2023-08-22 12:22:32 +02:00
StatusSyncCodeScan.qml fix(SyncingEnterCode): tweak to local pairing messaging 2023-10-05 10:12:48 +02:00
StyledButton.qml
StyledTextArea.qml fix(general): buttons font fixed, font loading refactored 2022-09-19 22:10:25 +02:00
StyledTextEdit.qml fix(general): buttons font fixed, font loading refactored 2022-09-19 22:10:25 +02:00
StyledTextEditWithLoadingState.qml feat(@desktop/wallet): Add loading State for Assets view and Wallet main navigation page 2023-01-31 07:57:37 +01:00
StyledTextField.qml fix: Use `StatusCursorDelegate` for password inputs (#10890) 2023-06-01 21:23:22 +03:00
Timer.qml
TokenDelegate.qml fix(@desktop/wallet): Speedup wallet view loading (#11736) 2023-08-04 10:41:45 +02:00
TransactionAddress.qml feat(@desktop/wallet): Handle multitransactions (#11124) 2023-06-30 17:07:53 +02:00
TransactionAddressTile.qml feat(@desktop/wallet): Transaction activity summary (#10809) 2023-05-31 11:25:16 +02:00
TransactionDataTile.qml feat(@desktop/wallet): Fetch multi tx details (#12002) 2023-08-30 14:10:59 +02:00
TransactionDelegate.qml fix(storybook): fix broken pages 2023-10-06 14:59:02 +02:00
qmldir feat(@desktop/keycards): managing mocked keycards when running keycard flows 2023-09-27 18:20:43 +02:00