Commit Graph

29 Commits (unstable)

Author SHA1 Message Date
Audric Ackermann 5a7da00d00 feat: remove moment and replace with date-fns 8 months ago
yougotwill ad7798dd4d fix: remove uneeded cleanup() calls in component unit tests 9 months ago
yougotwill 4a3adaa5e4 fix: aded simple test for sessioninput
made note to migratie to storybook in the future
9 months ago
yougotwill 362e360f40 fix: replace chai with react-test-renderer for unit testing components
rewrite avatar placeholder test
9 months ago
William Grant b08c4592c2 feat: added error boundary to component rendering in unit tests, resolve issues SVGElement in JSDOM 9 months ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
9 months ago
William Grant da64ee746c fix: dont export react testing library from renderComponent
prefer to import it explcitly when needed
10 months ago
William Grant 01667083cd fix: there is already a unit test for initials 11 months ago
William Grant bc5615e880 feat: test for correct background color order is done
use libsodium for hash so we can unit test, remove crypto stub
11 months ago
William Grant 91d1229023 feat: made good progress on avatar place holder unit test
feat added stubCrypto function
11 months ago
William Grant 1d5c2de531 feat: added custom render function for react testing library
so we can load our own providers
11 months ago
William Grant 192cbd268e feat: added react testing library and chai dom
setup inital work for unit testing avatar placeholder bg color generation
11 months ago
Audric Ackermann d43d6abbae chore: replace tslint with eslint and fix linting issues 2 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 9e37985d03 enable no-unused local and imports and fix tslint 4 years ago
Audric Ackermann 78caaa2bfd
fix tests 4 years ago
Audric Ackermann c8aa73626e
do not load right panel data unless it is visibl 4 years ago
Audric Ackermann 810ccdf675
send dataExtractionNotificaionMessage on saving attachment on priv chats 4 years ago
Audric Ackermann def03c8baa
working encrypt/decrypt of attachments 4 years ago
Scott Nonnenberg 99252702e1 Support receiving multiple images in one messages 6 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 87d374ea78 Remove `@prettier` pragmas 7 years ago
Daniel Gasienica b74b761255 Implement click to save for document list 7 years ago
Daniel Gasienica fca8de16c8 Add required `Message.id: string` 7 years ago
Daniel Gasienica 45d89d1e44 Create `UserMessage` type
Describes user visible messages that can have attachments.
7 years ago
Daniel Gasienica b0fefdbb98 Implementing grouping messages by date 7 years ago
Daniel Gasienica 424965f876 🎨 Autoformat code 7 years ago
Daniel Gasienica 3d70e46aea Calculate dates in UTC 7 years ago
Daniel Gasienica e34347f290 Add `groupMessagesByDate` 7 years ago