Commit Graph

5389 Commits (0deb79b4b6e4be3bcab021ed4615ea08a417ae36)

Author SHA1 Message Date
yougotwill c8b7d67c86 Merge branch 'unstable' into feat/ses-825/onboarding2 1 year ago
yougotwill 66fa34b165 feat: use testkey for user profile update in onboarding for testing a display name
remove privateKeyBytesHex since we don't use it
1 year ago
yougotwill e69ffc6bbe feat: use promise all settled for clear sogs inboxes 1 year ago
yougotwill da8fe92cc9 fix: disable join button when already joining a community 1 year ago
yougotwill 0f2f2bee6e fix: error test for input should be selectable
makes error reporting easier
1 year ago
Audric Ackermann 45eb547299 Merge remote-tracking branch 'origin/clearnet' into unstable 1 year ago
yougotwill 182f5605a5 fix: replace MAX_GROUP_NAME_LENGTH
using libsession BASE_GROUP_MAX_NAME_LENGTH
1 year ago
yougotwill 42813c0926 fix: replace MAX_COMMUNITY_NAME_LENGTH
using libsession COMMUNITY_FULL_URL_MAX_LENGTH
1 year ago
Audric Ackermann 2357368ddf feat: fetch snode storage version and filter for edge snode 1 year ago
yougotwill bbe26f7404 fix: move finally to outer try catch for delete method 1 year ago
yougotwill 1737d4507b fix: review feedback - unmount qr generated with finally on save 1 year ago
yougotwill cbf0a5b877 feat: convert privKeyBytes to hex
redux doesnt like uint8Array, rename shouldQuit to shouldQuitOnClick
1 year ago
yougotwill 9a4356a6b7 fix: review feedback - lightbox defaults 1 year ago
yougotwill 3ad09b38a4 fix: update translation link
show external link on hover
1 year ago
yougotwill 4a3adaa5e4 fix: aded simple test for sessioninput
made note to migratie to storybook in the future
1 year ago
yougotwill bde96d14e2 fix: remove unneeded catch 1 year ago
yougotwill 362e360f40 fix: replace chai with react-test-renderer for unit testing components
rewrite avatar placeholder test
1 year ago
William Grant b08c4592c2 feat: added error boundary to component rendering in unit tests, resolve issues SVGElement in JSDOM 1 year ago
William Grant 3cec666979 feat: commment on libsession constants
give context that CONSTANTS is not a object but an immediately invoked
function
1 year ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
1 year ago
William Grant d252662630 fix: truncate submitted display names
we dont look for libsession throws when setting a display name.
libsession now truncates by default
1 year ago
William Grant bc2e28b6b7 feat: use CONTACT_MAX_NAME_LENGTH
as max length for session inputs for user profile name
1 year ago
William Grant 5ef5fc59a8 fix: correctly trim usernames 1 year ago
William Grant 6fa6e5c189 feat: start of using updateOurProfileDisplayName in onboarding 1 year ago
William Grant 0b811bc641 feat: added updateOurProfileDisplayName
which uses libsession to check the display name length, not yet used in onboarding
1 year ago
William Grant 55f5cf5c9b feat: added quit modal
when going back during critical onboarding steps it's better to restart the app entirely
1 year ago
William Grant 150ea61b03 feat: remove modal confirm button container
use no padding class on modal instead, less messing around with ghost buttons in certain cases
1 year ago
William Grant cebe7c884d feat: move db deletion methods to accountManager 1 year ago
William Grant 490e4957f4 feat: click on qr codes now opens the lightbox
lightbox now supports saving data blobs
1 year ago
William Grant 009795eb3b feat: migrated lightbox to modal state 1 year ago
William Grant bf218f0ec6 fix: play pause button in audio attachment 1 year ago
William Grant 9264aa7999 fix: correct admin crown color 1 year ago
William Grant b40cf49acf Merge branch 'unstable' into feat/ses-825/onboarding2
bumped react and redux to the latest minior versions
1 year ago
Audric Ackermann 60c6f47bfa fix: compilation issues since merge
unwrapped was duplicating in onboarding1, so I had to duplicate my fix
to not unwrap it
1 year ago
Audric Ackermann 8ce2bf6d2a Merge remote-tracking branch 'origin/clearnet' into unstable 1 year ago
Audric Ackermann 2988420e50 chore: fix lint 1 year ago
Audric Ackermann 534cebf5c4 fix: bump libsession and remove manual unwrapping/wrapping of push() 1 year ago
William Grant 3b17e08ea6 fix: more review feedback part 2 1 year ago
William Grant 8915971c48 fix: more review feedback 1 year ago
William Grant 5cd7262fa2 fix: search now works correctly and we include groups again
heading for unamed contacts is #, groups go above note to self, trust in the sql query
1 year ago
William Grant 301af68eee fix: single line linux target in package json
otherwise appimages fail to build
1 year ago
William Grant b219a8526e fix: suggest window log stubbing if it's not working when printing render or html elements 1 year ago
William Grant da64ee746c fix: dont export react testing library from renderComponent
prefer to import it explcitly when needed
1 year ago
William Grant 2dbcfe565a fix: remove unecessary length check on idsWithDisplayNames 1 year ago
William Grant 8454a676b5 chore: left comment to use GenericWrapperActions.makeDump once it has been merged 1 year ago
William Grant 0a6b0d6950 fix: cleanup 1 year ago
William Grant 9e9fffd9d2 fix: name showHide button props more explcitly 1 year ago
William Grant cf34db53c8 feat: added new hot key hook since useKey doesnt ignore special keys
replaced all alpha numeric shortcuts
1 year ago
William Grant f5cd3ba1f9 fix: move left pane header label into a function 1 year ago
William Grant 83a57a3bc6 fix: move shortcuts back into edit profile
use region comments
1 year ago
William Grant cdc147cd33 fix: clean wip logs 1 year ago
William Grant 903cfcb613 fix: added skinny brand icon instead of messing with ratios 1 year ago
William Grant d1a06a93de feat: option to save qr codes with no colors by default 1 year ago
William Grant 5df14e74ff fix: pass resoled colors to session icon on first render 1 year ago
William Grant b102a0675f fix: first load flicker on qr code 1 year ago
William Grant 5e3742e281 fix: resolve colors in convertIconToImageURL for qr code 1 year ago
William Grant b459bf9570 fix: generate colors for the QR code in a hook that also converts svgs to data urls
we no longer need to update the svgs manually
1 year ago
William Grant 64b98a70d2 feat: added motion props to AnimatedFlex 1 year ago
William Grant 64d4712902 feat: updated shield icon and default colors 1 year ago
William Grant 11b3a0ece1 feat: upgraded react-qrcode-logo to v3 1 year ago
William Grant db7355ef8e fix: about window is now resizable 1 year ago
William Grant 59e6074429 fix: since the pass hash is in the items table we can call it from storage
added storage function getPasswordHash and use everywhere, warn user to restart the app
1 year ago
William Grant 268266d808 fix: pick keys for icon prop in setting list item title since we dont use all of them 1 year ago
William Grant fb68af94f1 fix: no need for reactnode or string type
reactnode supports strings
1 year ago
William Grant 87fb386ae5 fix: isSubtitle eval in search section header moved to parent 1 year ago
William Grant 7b634df2b5 fix: sanitizeDisplayNameOrToast setDisplayNameError to onDisplayNameError
since it can be useState or redux
1 year ago
William Grant 1e16be1be0 fix: use i18n for aria labels on the enter display name button 1 year ago
William Grant 8d8a25a965 fix: remove commented css on spinner 1 year ago
William Grant b938d2a353 fix: use i18n for continue button aria label 1 year ago
William Grant 819d67aa97 fix: improvements to closedGroupOverlay including virtualize member list
createClosedGroupWithErrorHandling errorHandler changed to onError, simplify search checks
1 year ago
William Grant 4f44a7a5fa feat: refactor theme state
added hooks for is light or dark theme and cleaned up any references
1 year ago
William Grant bcdfc93764 fix: revert swarmpolling to before merging unstable 1 year ago
William Grant c20bda442e fix: improved global window types for persistStore and inboxStore
we now await the persist store purge in deleteDbLocally
1 year ago
William Grant 685469438d Merge branch 'unstable' into feat/ses-50/onboarding
improved global window types for persistStore and inboxStore, we now await the persist store purge in deleteDbLocally
1 year ago
William Grant 506bdbf746 fix: replace convo list render functions with components 1 year ago
William Grant 69f4fd2892 feat: added heading component
improved join community suggested rooms stylings
1 year ago
William Grant 692f1f51d0 fix: updated deblug log to use new font variable 1 year ago
William Grant 2ca75560a2 fix: ses-2089 update tos datatestid to open-url to match other platforms 1 year ago
William Grant d6544efaa6 fix: ses-2089 update tos datatestid to open-url to match other platforms
backported from chunk 1 qa feedback
1 year ago
William Grant bb48971fa6 fix: ses-2087 recovery password banner heading is too large
backported from chunk 1
1 year ago
William Grant 8bebf28eb7 fix: ses-2087 recovery password banner heading is too large 1 year ago
William Grant edeed6e4cc fix: separate p tag styles into a component from styledprofilename 1 year ago
William Grant d7a874d0fb fix: specify seconds in onion status glow duration comment 1 year ago
William Grant 3b90d7d1d1 fix: replace keyup event listener with usekey hook
focus password input on mount for convenience
1 year ago
William Grant 2906b3200e fix: use input ref for password value instead of document lookup on pasword modal 1 year ago
William Grant 1a13839d9d fix: properly type send message input reference
this means we are properly typed for the composition mentions input and the paste handler
1 year ago
William Grant db7fba0dc1 fix: remove extra className prop
it is already included from the button types which we pass through the spread props
1 year ago
William Grant 111541f228 fix: members list in the group overlay doesnt need a set bg color
removed !important from the transparent color assignment in the session radio
1 year ago
William Grant 8e5ac58bc1 fix: properly type button and input ref 1 year ago
William Grant 8705fddd36 fix: isEmpty is not needed for searchTerm
because an empty string is falsy
1 year ago
William Grant 6f77b9a17d Merge branch 'unstable' into feat/ses-825/onboarding2 1 year ago
William Grant 4174ed5715 fix: resolve typos 1 year ago
William Grant 273fc42be4 feat: session input show hide button improvments
better aria labeling and dataTestIds
1 year ago
William Grant aa87675ad4 feat: added aria label to edit profile qr code 1 year ago
William Grant 0f89b1134d fix: revert naming convo render functions as components
it broke the search input for some reason
1 year ago
William Grant 93d1a9d430 feat: profile modal flow done
refactored edit profile dialog and extracted out components and keyboard shortcuts
1 year ago
William Grant 2fedce16df feat: invite a friend flow done
consolidate help desk buttons into one component
1 year ago
William Grant 341fa8b774 feat: recovery password settings flow done
added aria label and datatestid support to SessionQRCode
1 year ago
William Grant d14024d718 feat: account restoration flow done
updated some testids and aria labels, consolidated continue buttons into one component
1 year ago
William Grant 293a733806 feat: account creation flow done
updated some testids and aria labels, SessionInput now has aria label support
1 year ago
William Grant 4507669961 feat: added aria labels ot tos buttons in modal 1 year ago
William Grant 2e2f526405 feat: added aria label support to buttons 1 year ago
William Grant cc92d172f7 feat: update invite a friend iniital string 1 year ago
William Grant b74de3f6be fix: quote icons were not appearing if media failed to create a preview 1 year ago
William Grant 48fe7b4faa fix: resolve outstanding react-use imports 1 year ago
William Grant afca070e76 feat: added copy to clipboard icon button 1 year ago
William Grant 06b4ee0d7c feat: updated onboarding container and progress bar 1 year ago
William Grant 7349e27dc1 fix: prevent the buttons from flashing when the app starts 1 year ago
William Grant e6a26945d5 feat: updated message highlight durations 1 year ago
William Grant 6477d73c7b feat: updated onion status and spinner aimations 1 year ago
William Grant e4b27988b0 feat: updated empty message image, typing animation and right panel slide durations 1 year ago
William Grant 8271a6546d fix: typing animation alignment inside of the messages list 1 year ago
William Grant 6039d9f526 feat: fixed update group name error and session recording light animations 1 year ago
William Grant 17250a4609 fix: reset right panel when we swap conversations 1 year ago
William Grant fe64b26012 feat: improved about screen info
more info and copy to clipboard
1 year ago
William Grant f68fc684fe feat: improved search for create group 1 year ago
William Grant 7d7911421e fix: borders on member list items and session radio 1 year ago
William Grant cfc7d3350b fix: message search results will use shortened pubkeys for authors
and will now resolve your blinded ids
1 year ago
William Grant 521938b5eb fix: hide message preview for contact during search 1 year ago
William Grant 1e815f6f41 fix: show no results text when search finds nothing 1 year ago
William Grant 26abb2bcf7 fix: note to self always appears when there is a match regardless of case sensitivity
start search on first character since we limit the results
1 year ago
William Grant 8918598a0a fix: clear search when change left pane modes 1 year ago
William Grant 71cc46dfe4 feat: search results are now sorted alphabetically without case sensitivity
also includes unknown contacts
1 year ago
William Grant 6c65c41a09 feat: added subtitle header to search results 1 year ago
William Grant 6f7001e32b fix: contact list should not be case sensitive 1 year ago
William Grant a159616514 feat: added filters to convo and contact query
search screen only shows contacts and not convos
1 year ago
William Grant 4ae133bb67 feat: only center textarea placeholder text and not value in sessioninput 1 year ago
William Grant 94abe60af1 feat: added SessionInput to Profile Modal
layout and style improvements, disable ui during name change, improved keyboard navigation
1 year ago
William Grant 698eb147f0 fix: rename fontSize and disableOnBlur on Sessioninput 1 year ago
William Grant 08487bcffc feat: spinner can now set width and height surrounding the svg
this is useful when we need it to take up less space
1 year ago
William Grant e5625cac76 feat: updated SessionInput to support multiple font sizes
this replaces the bigger text option, new props required, tabIndex, inputRef
1 year ago
William Grant 681f488874 feat: added --font-size-xl 1 year ago
William Grant 33b68a2123 feat: created copy to clipboard button 1 year ago
William Grant f726fa5575 fix: pass through events to onClose for modals
we can then use this to programmatically disable the onclose when necessary
1 year ago
Audric Ackermann 6282ed6ea4
Merge pull request #3109 from yougotwill/fix/ses-1945/admins_clear_reactions
Fix 'clear all' reactions in communities
1 year ago
William Grant 5e285043b7 feat: added flex gap support to Flex component 1 year ago
William Grant ccee83596e feat: updated profile modal with style changes
cleaned up old sass and used style components instead
1 year ago
William Grant 01667083cd fix: there is already a unit test for initials 1 year 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
1 year ago
William Grant 70a987453d fix: sender name in react list modal is now truncated 1 year ago
William Grant 40d81d0c66 fix: admins should also be able to clear reactions in communities
not just moderators
1 year ago
William Grant 91d1229023 feat: made good progress on avatar place holder unit test
feat added stubCrypto function
1 year ago
William Grant 121d968ad3 feat: add component name support to printing functions
use prettyDom function for formatting instead of prettier directly
1 year ago
William Grant 7d4b96145d feat: added print functions for react render results and html elements
used for unit testing
1 year ago
William Grant 523c95447c feat: added datatestids to avatarplaceholder and member placeholder 1 year ago
William Grant b13e907753 fix: resolve cyclic imports in avatarplaceholder
bt moving types from data module identitykey, guardnode, snode, swarmnode to a separate file
1 year ago
William Grant 1d5c2de531 feat: added custom render function for react testing library
so we can load our own providers
1 year ago
William Grant 3f3c2f92ed fix: resolve cyclic import with outgoing message type
avatar placeholder unit test now runs
1 year ago
William Grant 6db6a1f65d fix: resolve cyclic imports with LokiProfile and MessageResultProps 1 year ago
William Grant e41366b03c fix: brand logo in onboard header should not block buttons 1 year ago