Pascal Precht
213924f6e9
feat(chat): support copy & pasting images into chat input
...
This adds support for receiving copied images from the clipboard
and pasting it into the chat input.
After pasting, chat input will recognize the image and render a preview
similar to how it would do it when selecting images via the file dialog.
**Also important to note**:
At the time of this PR, it seems that desktop only supports sending
jpegs to status-go. I'm not sure if this was deliberately done this way
because the protocol says it supports jpg, png, webp and gif.
Because of this, pasting for example pngs will work, however
transparency will be lost (which is also most likely the cause of #8820 )
This PR operates on that assumption. So while it adds support for
copy/pasting images, it does not address the lack of file type support.
Closes #3395
2022-11-29 12:31:18 +01:00
Lukáš Tinkl
6b7eea8db9
fix: unbreak suggestions for emojis containing an underscore
...
- don't consider `_` as a "punct" or invalid character, some emojis like
flags do contain it in their name
Fixes : #8446
2022-11-28 12:11:23 +01:00
Patryk Osmaczko
d0725d451e
fix(ui-test/ChatFlow): retry to load stickers
...
For some reason stickers are not loaded for the first time. User has now
the ability to retry the loading procedure. Retry action loads stickers
successfully in most cases.
fixes : #7995
2022-11-25 17:06:59 +01:00
Patryk Osmaczko
56fc768d6f
refactor(StatusStickersPopup): do general popup refactor
...
- remove imperative state assignments, rely on bidings
- move private stuff to QtObject{id: d}
- restructure object attributes to follow QML Coding Conventions
2022-11-25 17:06:59 +01:00
Lukáš Tinkl
c1fd4cc680
fix(StatusEmojiSuggestionPopup): emoji is blurry in the suggestions popup
...
use an SVG icon instead of a potentially lowres PNG
Fixes #8409
2022-11-24 14:35:54 +01:00
alexjba
f8293a12f4
StatusChatInput.qml - Fixing emoij suggestion keyNav
...
Fixing up/down key handler when emojiSuggestions are visible
2022-11-23 16:21:31 +02:00
Jonathan Rainville
312dd72955
fix(windows): fix windows chat list empty because of popup overflow
...
Fixes #7906
2022-11-16 15:41:32 -05:00
Lukáš Tinkl
bab0fee0ee
chore(StatusChatInput): add Esc handler to close reply area
...
similar to what pressing Esc does when editing a message
2022-11-16 09:58:19 +01:00
Lukáš Tinkl
c7efcdd09f
fix(StatusChatInput) unbreak upload image shortcut
...
fixes shortcut Ctrl+U being broken when trying to upload an image
2022-11-16 09:58:19 +01:00
Khushboo Mehta
aec7a30d03
feat(@desktop/wallet): Updated UI for bridge and multi routing support
...
fixes #7334
2022-10-26 18:48:30 +02:00
Lukáš Tinkl
025a45d1a4
chore(AppMain): improve startup time
...
- wrap everything we can in AppMain with a (async) Loader
- do not access globals w/o a proper store
- drop some dead code
Although I wasn't able to completely fix the bug, the ~50% improvement in
startup time is still worth trying imho. On my machine, the startup time
went down from ~7s to under 4s.
Related: #7292
2022-10-19 10:48:20 +02:00
Lukáš Tinkl
7a407662e2
feat: New Profile Modal
...
Fixes : #7360
2022-10-17 12:05:54 +02:00
Alexandra Betouni
6fa4553d08
fix(DragnDrop): re-enabled drag and drop
...
Closes #7484
2022-10-12 10:34:46 -04:00
Michał Cieślak
62b0269fff
fix(StatusChatInput): paste mentions without changing msg content
...
Closes : #7109
2022-10-12 10:24:20 -04:00
Michał Cieślak
a893d100ab
fix(LinksMessageView): Reload images when back online
...
Closes : #7665
2022-10-11 17:01:30 +02:00
PavelS
c74d1086c0
fix(@desktop/chat): update paste logic
...
Fixes #7772
2022-10-06 12:40:00 +02:00
PavelS
8bd194eb48
fix(@desktop/chat): add cut mention handle
...
Add mentions copy logic with pasting mentions with pubKey information
Fixes #7110
2022-10-06 11:44:30 +02:00
Boris Melnik
81e5aefbca
fix(StatusChatInput): Move formatting menu from scroll
...
Closes : #7751
2022-10-05 13:51:40 -04:00
Lukáš Tinkl
99272c580c
fix(ChatMessagesView): Loading spinner and scroll to bottom button overlap
...
- remove the extra spinner (ok'ed by John and Benj)
- use the more modern StatusIcon, w/o the unconditional ColorOverlay
- some minor cleanup
Closes : #7645
2022-10-05 02:59:37 +02:00
Lukáš Tinkl
12fc331cc6
fix(StatusGifPopup): fix GIF search reset
...
- react on text changes, not when a key is released; fixes #7728
- if the search is empty, reset back to Trending; fixes ##7727
2022-10-04 13:07:24 -04:00
Michał Cieślak
abc570006c
chore(StatusChatImageLoader): uses mipmap filtering for unfurled images
...
Closes : #7689
2022-09-30 16:00:09 +02:00
PavelS
c931f716e8
fix(@desktop/chat): adjust chat input logic to allow emojis
...
Fixes #7622
2022-09-28 15:02:50 -04:00
PavelS
6a96bc93b3
fix(@desktop/chat): handle same name mentions
...
Fixes #7220
2022-09-22 15:01:55 +03:00
Michał Cieślak
f900e7c00e
fix(general): buttons font fixed, font loading refactored
...
Fixes : #7389
2022-09-19 22:10:25 +02:00
Lukáš Tinkl
d7cfa3318c
fix broken contact/chat images in StatusSearchListPopup
...
Fixes : #7409
2022-09-19 07:57:45 +02:00
Lukáš Tinkl
f4a78a1f10
fix: port to StatusButton changes in master
...
and pull in changes from StatusQ master
2022-09-14 09:16:58 +02:00
PavelS
abb2254e59
fix(@desktop/chat): adjust message length check condition
...
Fixes #7131
2022-09-12 13:02:03 +03:00
PavelS
cdfbb4ac87
fix(@desktop/chat): adjust mentions handing logic
...
Fixes #7099
2022-09-09 18:15:13 +03:00
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
Stefan
b691d358e5
chore(Chat/StatusGifPopup): refactor and simplify gif popup
...
Updates: #6829
2022-09-05 12:41:48 +02:00
Alexandra Betouni
e1c548696f
feat(Desktop)!: Updating desktop app due to IconSettings refactor
...
As part of https://github.com/status-im/StatusQ/issues/781
2022-09-02 18:41:21 +03:00
PavelS
ad484d7d01
fix(@desktop/chat): adjust emoji popup behaviour
...
Fixes #7094
2022-09-02 17:22:00 +03:00
Lukáš Tinkl
b1259a83f4
fix(StatusEmojiPopup): 'Flags' section is cut off in the emoji modal
...
account for top/bottom padding in the scroll view to fix the overall
height calculation
plus some smaller, mostly correct margins, cleanup
Fixes #7174
2022-09-01 19:28:21 +02:00
Lukáš Tinkl
65a1f06382
fix(StatusEmojiPopup): fix initial loading of recent emojis
...
the "Recent emojis" was always empty until the user has clicked
additional emoji
loading the recent emojis in `Global.onSettingsLoaded` is too late; it's
executed long before the popup is opened; instead do it at the end of
parsing the categories
2022-09-01 19:28:21 +02:00
Lukáš Tinkl
2606de5ccb
fix(StatusEmojiPopup): fix emoji popup "y" position
...
it was off by `Style.current.halfPadding`
2022-09-01 19:28:21 +02:00
PavelS
a01e0822b7
feat(@desktop/chat): add textformat quote option functionality
...
Adjust text format popup position
Fixes #6988
Requires https://github.com/status-im/StatusQ/pull/876
2022-09-01 12:45:45 +03:00
PavelS
8de1e42a0f
fix(@desktop/chat): add autoscroll to cursor in chat input
...
Requires https://github.com/status-im/StatusQ/pull/868
Fixes #7093
Fixes #7171
2022-08-31 12:02:44 +03:00
Jonathan Rainville
6bd1cfde72
test(chat): add a test that install a sticker pack and sends a sticker
...
Fixes #6962
2022-08-29 10:52:00 -04:00
Jonathan Rainville
7544bd6fb5
fix: change gateway and remove old code to decode the hash
...
Fixes:
- https://github.com/status-im/status-desktop/issues/6964
Depends on:
- https://github.com/status-im/status-go/pull/2795
- https://github.com/status-im/status-jenkins-lib/pull/44
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 19:47:02 +02:00
Boris Melnik
02b9ceff78
fix(EmojiPopup): Fix emoji suggestions and add tests for it
...
Closes : #7020
2022-08-26 12:41:28 +03:00
Boris Melnik
10d53454b3
test(chat): Can send a gif
...
Closes : #6882
2022-08-26 12:18:42 +03:00
Michał Cieślak
dfc7a6a951
fix(StatusChatInput): Remove formatting when pasting, pasting on selection fixed
...
Fixes #7015
Fixes #7097
2022-08-26 10:05:46 +02:00
Jonathan Rainville
6a603413c6
test(community-chat): add test to send images in chat
...
Fixes #6880
2022-08-25 10:23:43 -04:00
Richard Ramos
83079cd147
fix: remove recipient selector from StatusETHTransactionModal
2022-08-23 08:52:01 -04:00
Anastasiya S
9283e68421
fix: calculate estimated time in ens modal
...
fix: calculate estimated time in ens modal
2022-08-23 08:52:01 -04:00
Michał Cieślak
7ef4a2d257
fix(StatusChatInput): infinite loop when pasting mention
2022-08-22 13:37:18 +02:00
Igor Sirotin
42a1cf995c
fix(ChatMessagesView): Usage of `StatusMessage` WIP
2022-08-20 03:02:41 +03:00
Michał Cieślak
91bae9c3da
fix(@desktop/chat): gif selector UI adjustments
2022-08-19 12:09:44 +02:00
Alexandra Betouni
07dbca905c
fix(Chat/CompactMessageView): removed space above image in msg
...
Closes #6855
2022-08-18 17:44:17 +03:00
Anthony Laibe
ade9086b81
test(@wallet): add test for ens name
2022-08-18 13:11:36 +02:00