Commit Graph

81 Commits (aeb5caf921ad0460f3c5cd84005080d8c8523b82)

Author SHA1 Message Date
Audric Ackermann 00d70db0be
queue user profile avatars update
also add some tests for the promise utils
3 years ago
Audric Ackermann 46d838218d
remove unused .md files for components 3 years ago
Audric Ackermann 28c7445dce
refactor most of the components to outside of their Session folder (#2072)
* refactor most of the components to outside of their Session folder

* finish moving overlay and memberListItem to react hook

* fix bug with kicked member len >2 not being displayed

also sort admins first in UpdateGroupMembers dialog

* fix admin leaving text of groupNotification

* add a useFocusMount hook to focus input fields on mount

* make click avatar convo item open only user dialog

* cleanup config default.json

* make sure to use convoController to build sync message

* disable showing pubkey on opengroups

* add a pause on audio playback

Fixes #2079
3 years ago
Audric Ackermann cf44896a03
Minor call tweaks (#2051)
* show missed-call,started-call and answered call notification in chat

* fix types for createLastMessageUpdate

* show incoming dialog if we have a pending call when enable call receptio

* simplify a bit the avatar component

* move disableDrag to a custom hook

* speed up hash colors of avatarPlaceHolders

* fixup text selection and double click reply on message

* keep avatar decoded items longer before releasing memory

* add incoming/outgoing/missed call notification

also, merge that notification with the timer and group notification
component

* hangup call if no answer after 30sec

* refactor SessionInput using hook + add testid field for recovery

* disable message request feature flag for now

* fix merge issue

* force loading screen to be black instead of white

for our dark theme user's eyes safety
3 years ago
Audric Ackermann 4ce1b7813a
add data-testid for leftpane sections and edit profile dialog 3 years ago
audric 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
audric 1fb3f74f6e disable drag on images 4 years ago
Audric Ackermann 9a380b716b
put saveAttachemntToDisk outside of component 4 years ago
Audric Ackermann 5c8bb358c6
mmeoise callbacks for right panel attachments 4 years ago
Audric Ackermann 511adcf388
refactored right panel to hook 4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 4 years ago
Audric Ackermann dd9341a196
remove i18n from props everywhere where possible 4 years ago
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 4 years ago
Audric Ackermann f7581cf4eb
increase prettier maxWidth to 100 4 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 4 years ago
Audric Ackermann 3e56eb6133
add beta german translation copy pasted from android 5 years ago
Vincent cf46548761 Simplification of keyup 5 years ago
Vincent f55e20d8ac Cleanup media view formatting 5 years ago
Audric Ackermann 213db6c1ed fix lint 5 years ago
Audric Ackermann ddaf62a499 add group settings page with media downladable and docs only 5 years ago
Scott Nonnenberg b3ac1373fa Move left pane entirely to React 6 years ago
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 7 years ago
Scott Nonnenberg 8290146721 Show generic attachment for non-loading/too-large images/videos 7 years ago
Scott Nonnenberg 5933a34a18 Use window.log in browser context, turn on console eslint rule 7 years ago
Scott Nonnenberg 643739f65d
Responding to feedback on the updated visuals (#2549)
* Conversation List Item: timestamp bold only when convo has unread

* Preserve the positioning of overlays on re-entry into convo

* ConversationListItem: Handle missing and broken thumbnails

* Shorten timestamp in left pane for better Android consistency

* Update convo last updated if last was expire timer change

But not if it was from a sync instead of from you or from a contact.

* Make links in quotes the same color as the text

* MediaGridItem: Update placeholder icon colors for dark theme

* Ensure turning off timer shows 'Timer set to off' in left pane

* ConversationListItem: Show unread count in blue circle

* Add one pixel margin to blue indicator for text alignment

* Ensure replies to voice message can bet sent successfully
7 years ago
Scott Nonnenberg 4fa6a785f4 Remove unused code 7 years ago
Scott Nonnenberg 66bd6c826d Fix MediaGallery handling of videos - show thumbnail and overlay 7 years ago
Scott Nonnenberg 7e2d7b5e60 Media Gallery: Support for dark theme 7 years ago
Scott Nonnenberg 3c69886320 Finish new Message component, integrate into application
Also:
- New schema version 8 with video/image thumbnails, screenshots, sizes
- Upgrade messages not at current schema version when loading messages
  to show in conversation
- New MessageDetail react component
- New ConversationHeader react component
7 years ago
Scott Nonnenberg 2988da0981 Turn on all of Microsoft's recommend lint rules
Biggest changes forced by this: alt tags for all images, resulting in
new strings added to messages.json, and a new i18n paramter/prop added
in a plot of places.

Another change of note is that there are two new tslint.json files under
ts/test and ts/styleguide to relax our rules a bit there. This required
a change to our package.json script, as manually specifying the config
file there made it ignore our tslint.json files in subdirectories
7 years ago
Daniel Gasienica d349dd903d Add `AttachmentSection` to style guide 7 years ago
Daniel Gasienica 121bb0ecef Style guide: Fix empty state 7 years ago
Daniel Gasienica f19e6ea93d Wrap JSX siblings in container 7 years ago
Daniel Gasienica a8cd0b782e Rename `DocumentListItem::isLast` to `shouldShowSeparator` 7 years ago
Daniel Gasienica 05f67dc04a Hide separator for last document list entry 7 years ago
Daniel Gasienica 5789b3eb75 Add `Attachment.isVoiceMessage` 7 years ago
Scott Nonnenberg 322d307655 Turn on prettier support for markdown files, update all files 7 years ago
Daniel Gasienica 87d374ea78 Remove `@prettier` pragmas 7 years ago
Daniel Gasienica c6599d2e14 Add another permutation of `EmptyState` 7 years ago
Daniel Gasienica fa45656e8e Wire up media gallery empty state 7 years ago
Daniel Gasienica 4d01264c09 Fix layout of media gallery 7 years ago
Daniel Gasienica 78f15b654d Add `EmptyState` component 7 years ago
Daniel Gasienica b3d0438537 Show hand cursor on media grid items 7 years ago
Daniel Gasienica 45d6c7a5a8 Implement video support in lightbox 7 years ago
Daniel Gasienica b74b761255 Implement click to save for document list 7 years ago
Daniel Gasienica b27fdd1559 Use `pointer` cursor for `DocumentListItem` 7 years ago
Daniel Gasienica f8119be97b Include videos in media gallery 7 years ago
Daniel Gasienica 37d73accde Show ‘Documents’ tab 7 years ago
Daniel Gasienica 59650035ec Use 🇺🇸 spelling 7 years ago
Daniel Gasienica feff820cd4 Prefer custom styles over `strong` 7 years ago