status-desktop/ui/imports/shared/status/StatusGifPopup
Stefan d81b6ca518 fix(Chat): improve gif confirmation popup and fix preview whitelisting
Enable preview for gifs after enabling the gif functionality
Disable gif functionality if the preview was disabled

Addition fixes
- The gifs weren't checked if all images weren't enabled
- The subdomain wasn't checked for whitelisting if the main domain wasn't enabled
- Image clicking
- Dismiss asking for unfurling was not updating the state

Considerations
- Looked into having the "gif enabled" - "tenor unfurling" relation
embedded in the controller but it would require extensive refactoring
by implementing a data-model for unfurling whitelisted domains

Closes: #6829
2022-09-05 12:41:48 +02:00
..
ConfirmationPopup.qml fix(Chat): improve gif confirmation popup and fix preview whitelisting 2022-09-05 12:41:48 +02:00
EmptyPlaceholder.qml fix(Chat): improve gif confirmation popup and fix preview whitelisting 2022-09-05 12:41:48 +02:00
GifPopupDefinitions.qml chore(Chat/StatusGifPopup): refactor and simplify gif popup 2022-09-05 12:41:48 +02:00
StatusGifColumn.qml chore(Chat/StatusGifPopup): refactor and simplify gif popup 2022-09-05 12:41:48 +02:00