Commit Graph

3586 Commits (9c2ef47988d051c46b57b0eb8b54a8d5368ae5c2)

Author SHA1 Message Date
yougotwill 39d8ad11e5 fix: a whole bunch of circular depdencies
for various convo duck, convo interactions, convo model and opengroup types
10 months 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
10 months ago
yougotwill da8fe92cc9 fix: disable join button when already joining a community 10 months ago
yougotwill 0f2f2bee6e fix: error test for input should be selectable
makes error reporting easier
10 months ago
yougotwill 182f5605a5 fix: replace MAX_GROUP_NAME_LENGTH
using libsession BASE_GROUP_MAX_NAME_LENGTH
10 months ago
yougotwill 42813c0926 fix: replace MAX_COMMUNITY_NAME_LENGTH
using libsession COMMUNITY_FULL_URL_MAX_LENGTH
10 months ago
yougotwill cbf0a5b877 feat: convert privKeyBytes to hex
redux doesnt like uint8Array, rename shouldQuit to shouldQuitOnClick
10 months ago
yougotwill 9a4356a6b7 fix: review feedback - lightbox defaults 10 months ago
yougotwill 3ad09b38a4 fix: update translation link
show external link on hover
10 months ago
William Grant e05d3a6874 fix: formatting fixes
use profile manager name validation in CreateAccount component
10 months 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
10 months ago
William Grant bc2e28b6b7 feat: use CONTACT_MAX_NAME_LENGTH
as max length for session inputs for user profile name
10 months ago
William Grant 5ef5fc59a8 fix: correctly trim usernames 10 months ago
William Grant 6fa6e5c189 feat: start of using updateOurProfileDisplayName in onboarding 10 months ago
William Grant 0b811bc641 feat: added updateOurProfileDisplayName
which uses libsession to check the display name length, not yet used in onboarding
10 months ago
William Grant 55f5cf5c9b feat: added quit modal
when going back during critical onboarding steps it's better to restart the app entirely
10 months 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
10 months ago
William Grant cebe7c884d feat: move db deletion methods to accountManager 10 months ago
William Grant 490e4957f4 feat: click on qr codes now opens the lightbox
lightbox now supports saving data blobs
10 months ago
William Grant 009795eb3b feat: migrated lightbox to modal state 10 months ago
William Grant bf218f0ec6 fix: play pause button in audio attachment 10 months ago
William Grant 9264aa7999 fix: correct admin crown color 10 months ago
William Grant 3b17e08ea6 fix: more review feedback part 2 11 months ago
William Grant 8915971c48 fix: more review feedback 11 months 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
11 months ago
William Grant 9e9fffd9d2 fix: name showHide button props more explcitly 11 months ago
William Grant cf34db53c8 feat: added new hot key hook since useKey doesnt ignore special keys
replaced all alpha numeric shortcuts
11 months ago
William Grant f5cd3ba1f9 fix: move left pane header label into a function 11 months ago
William Grant 83a57a3bc6 fix: move shortcuts back into edit profile
use region comments
11 months ago
William Grant 903cfcb613 fix: added skinny brand icon instead of messing with ratios 11 months ago
William Grant d1a06a93de feat: option to save qr codes with no colors by default 11 months ago
William Grant b102a0675f fix: first load flicker on qr code 11 months 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
11 months ago
William Grant 64b98a70d2 feat: added motion props to AnimatedFlex 11 months ago
William Grant 64d4712902 feat: updated shield icon and default colors 11 months ago
William Grant 11b3a0ece1 feat: upgraded react-qrcode-logo to v3 11 months 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
11 months ago
William Grant 268266d808 fix: pick keys for icon prop in setting list item title since we dont use all of them 11 months ago
William Grant fb68af94f1 fix: no need for reactnode or string type
reactnode supports strings
11 months ago
William Grant 87fb386ae5 fix: isSubtitle eval in search section header moved to parent 11 months ago
William Grant 7b634df2b5 fix: sanitizeDisplayNameOrToast setDisplayNameError to onDisplayNameError
since it can be useState or redux
11 months ago
William Grant 1e16be1be0 fix: use i18n for aria labels on the enter display name button 11 months ago
William Grant 8d8a25a965 fix: remove commented css on spinner 11 months ago
William Grant b938d2a353 fix: use i18n for continue button aria label 11 months ago
William Grant 819d67aa97 fix: improvements to closedGroupOverlay including virtualize member list
createClosedGroupWithErrorHandling errorHandler changed to onError, simplify search checks
11 months ago
William Grant 4f44a7a5fa feat: refactor theme state
added hooks for is light or dark theme and cleaned up any references
11 months ago
William Grant c20bda442e fix: improved global window types for persistStore and inboxStore
we now await the persist store purge in deleteDbLocally
11 months ago
William Grant 506bdbf746 fix: replace convo list render functions with components 11 months ago
William Grant 69f4fd2892 feat: added heading component
improved join community suggested rooms stylings
11 months ago
William Grant 692f1f51d0 fix: updated deblug log to use new font variable 11 months ago
William Grant d6544efaa6 fix: ses-2089 update tos datatestid to open-url to match other platforms
backported from chunk 1 qa feedback
11 months ago
William Grant bb48971fa6 fix: ses-2087 recovery password banner heading is too large
backported from chunk 1
11 months ago
William Grant edeed6e4cc fix: separate p tag styles into a component from styledprofilename 11 months ago
William Grant d7a874d0fb fix: specify seconds in onion status glow duration comment 11 months ago
William Grant 3b90d7d1d1 fix: replace keyup event listener with usekey hook
focus password input on mount for convenience
11 months ago
William Grant 2906b3200e fix: use input ref for password value instead of document lookup on pasword modal 11 months 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
11 months ago
William Grant db7fba0dc1 fix: remove extra className prop
it is already included from the button types which we pass through the spread props
11 months 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
11 months ago
William Grant 8e5ac58bc1 fix: properly type button and input ref 11 months ago
William Grant 8705fddd36 fix: isEmpty is not needed for searchTerm
because an empty string is falsy
11 months ago
William Grant 6f77b9a17d Merge branch 'unstable' into feat/ses-825/onboarding2 12 months ago
William Grant 4174ed5715 fix: resolve typos 12 months ago
William Grant 273fc42be4 feat: session input show hide button improvments
better aria labeling and dataTestIds
12 months ago
William Grant aa87675ad4 feat: added aria label to edit profile qr code 12 months ago
William Grant 0f89b1134d fix: revert naming convo render functions as components
it broke the search input for some reason
12 months ago
William Grant 93d1a9d430 feat: profile modal flow done
refactored edit profile dialog and extracted out components and keyboard shortcuts
12 months ago
William Grant 2fedce16df feat: invite a friend flow done
consolidate help desk buttons into one component
12 months ago
William Grant 341fa8b774 feat: recovery password settings flow done
added aria label and datatestid support to SessionQRCode
12 months ago
William Grant d14024d718 feat: account restoration flow done
updated some testids and aria labels, consolidated continue buttons into one component
12 months ago
William Grant 293a733806 feat: account creation flow done
updated some testids and aria labels, SessionInput now has aria label support
12 months ago
William Grant 4507669961 feat: added aria labels ot tos buttons in modal 12 months ago
William Grant 2e2f526405 feat: added aria label support to buttons 12 months ago
William Grant cc92d172f7 feat: update invite a friend iniital string 12 months ago
William Grant b74de3f6be fix: quote icons were not appearing if media failed to create a preview 12 months ago
William Grant 48fe7b4faa fix: resolve outstanding react-use imports 12 months ago
William Grant afca070e76 feat: added copy to clipboard icon button 12 months ago
William Grant 06b4ee0d7c feat: updated onboarding container and progress bar 12 months ago
William Grant 7349e27dc1 fix: prevent the buttons from flashing when the app starts 12 months ago
William Grant e6a26945d5 feat: updated message highlight durations 12 months ago
William Grant 6477d73c7b feat: updated onion status and spinner aimations 12 months ago
William Grant e4b27988b0 feat: updated empty message image, typing animation and right panel slide durations 12 months ago
William Grant 8271a6546d fix: typing animation alignment inside of the messages list 12 months ago
William Grant 6039d9f526 feat: fixed update group name error and session recording light animations 12 months ago
William Grant 17250a4609 fix: reset right panel when we swap conversations 12 months ago
William Grant fe64b26012 feat: improved about screen info
more info and copy to clipboard
12 months ago
William Grant f68fc684fe feat: improved search for create group 12 months ago
William Grant 7d7911421e fix: borders on member list items and session radio 12 months ago
William Grant cfc7d3350b fix: message search results will use shortened pubkeys for authors
and will now resolve your blinded ids
12 months ago
William Grant 521938b5eb fix: hide message preview for contact during search 12 months ago
William Grant 1e815f6f41 fix: show no results text when search finds nothing 12 months 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
12 months ago
William Grant 8918598a0a fix: clear search when change left pane modes 12 months ago
William Grant 6c65c41a09 feat: added subtitle header to search results 12 months ago
William Grant 6f7001e32b fix: contact list should not be case sensitive 12 months ago
William Grant 4ae133bb67 feat: only center textarea placeholder text and not value in sessioninput 12 months ago
William Grant 94abe60af1 feat: added SessionInput to Profile Modal
layout and style improvements, disable ui during name change, improved keyboard navigation
12 months ago
William Grant 698eb147f0 fix: rename fontSize and disableOnBlur on Sessioninput 12 months 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
12 months ago
William Grant e5625cac76 feat: updated SessionInput to support multiple font sizes
this replaces the bigger text option, new props required, tabIndex, inputRef
12 months ago
William Grant 33b68a2123 feat: created copy to clipboard button 12 months ago
William Grant f726fa5575 fix: pass through events to onClose for modals
we can then use this to programmatically disable the onclose when necessary
12 months ago
Audric Ackermann 6282ed6ea4
Merge pull request #3109 from yougotwill/fix/ses-1945/admins_clear_reactions
Fix 'clear all' reactions in communities
12 months ago
William Grant 5e285043b7 feat: added flex gap support to Flex component 12 months ago
William Grant ccee83596e feat: updated profile modal with style changes
cleaned up old sass and used style components instead
12 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
12 months ago
William Grant 70a987453d fix: sender name in react list modal is now truncated 12 months ago
William Grant 40d81d0c66 fix: admins should also be able to clear reactions in communities
not just moderators
12 months ago
William Grant 91d1229023 feat: made good progress on avatar place holder unit test
feat added stubCrypto function
12 months ago
William Grant 523c95447c feat: added datatestids to avatarplaceholder and member placeholder 12 months ago
William Grant b13e907753 fix: resolve cyclic imports in avatarplaceholder
bt moving types from data module identitykey, guardnode, snode, swarmnode to a separate file
12 months ago
William Grant 6db6a1f65d fix: resolve cyclic imports with LokiProfile and MessageResultProps 12 months ago
William Grant 51a36e6cb0 fix: repair placeholder selectors
required since upgrading styled-components
12 months ago
William Grant 96f058511d fix: welcome message should use text-primary-color for light themes 12 months ago
William Grant 9bf7126f02 fix: replace setAccountPasswordTitle with lockApp string 12 months ago
William Grant d662b7d17b fix: use recoveryPasswordOutline for light themes
updated to use building block svgs
12 months ago
William Grant aa4a42caa6 fix: sessioninput color should be danger when there is an error 12 months ago
William Grant df515cacb6 feat: improved zoom slider behaviour and styling
updated rc-slider, fixes issue where zoom happens before you release the mouse
12 months ago
William Grant 9dce5c1fd9 fix: repair global styling after styled upgrade improved match system setting
set each value on root instead of declaring one global css string. Use setThemeValues in all cases
12 months ago
William Grant f245f6d1d9 fix: added missing & selector to all pseudo events 12 months ago
William Grant dfd4631f40 feat: updated styled components and typings
cleaned up some extra SessionTheme declarations
12 months ago
William Grant 1b6abb8b59 feat: restrict importing useMount from react-use directly
it causes app start crashes
12 months ago
William Grant 452b1b8539 fix: use localised strings for qr password toggle button 12 months ago
William Grant 67f27636d8 Merge branch 'unstable' into feat/ses-825/onboarding2 12 months ago
William Grant 39dc918e3d fix: open recovery password settings page from left banner 12 months ago
William Grant 51a0fa3b1e fix: removed SeedModal code 12 months ago
William Grant fb3a87a5f5 feat: added new hide recovery password modal
when we turn on the setting we prevent any recovery phrase ui from loading and return null
12 months ago
William Grant 51534d4cc9 feat: added new hide recovery password setting 12 months ago
William Grant 7cd7dea2b6 fix: brand logo in onboard header should not block buttons 12 months ago
William Grant 862b8343e7 feat: added hide password permenantly ui 12 months ago
William Grant bddac7a849 feat: added icons to all settings categories 1 year ago
William Grant 705d9622cd fix: recovery password text now uses primary text color for light modes 1 year ago
William Grant 2eca1447ef fix: improve qr code icon
fixed styling of qr icon on profile modal
1 year ago
William Grant bb27570a90 fix: make qr code update correctly if theme changes
even if visible, there is some flickering with the logo that I have been unable to fix.
1 year ago
William Grant a629fa560c feat: created new recovery phrase ui and qr code with toggling
also allow setting description to render html so we can have line breaks
1 year ago
William Grant 12caf66cde fix: message preview status icon was shrinking due to text overflow
also added session icon improvements from onboarding branch
1 year ago
William Grant fd722d1f2f feat: swapped out seed modal for settings category page
still work on category component but password protection works nicely
1 year ago
William Grant 01bdc6e1cf fix: make sure qr code fits the canvas contents 1 year ago
William Grant 7d890973d5 fix: usemount imports have to be specific
otherwise we can get start errors due to an invalid import by react-use
1 year ago
William Grant 3e1bf049e5 fix: remove extra window 1 year ago
William Grant d346f28942 feat: extracted password to new modal
added shiny hook to password protect anywhere
1 year ago
William Grant b6d5c24af4 feat: added updated group icon
add the ability to set custom icon sizes for some buttons
1 year ago
William Grant 20c0453b9f fix: dont disable text area for outgoing message requests
we only want to disable some of the buttons
1 year ago
William Grant 8ae6dabfd1 feat: hide message preview in convo list item for outgoing requests 1 year ago
William Grant d74edc5b24 feat: disable composition for outgoing message requests
moved composition textarea to functional component
1 year ago
William Grant d6ad37ec38 feat: show description text when making a message request
disabled conversation header functionality
1 year ago
William Grant 6e3df83aed fix: overlayInvite errors 1 year ago
William Grant d4a8b555c6 Merge branch 'unstable' into feat/ses-825/onboarding2 1 year ago
William Grant aac90ccd96 feat: finished invite a friend overlay 1 year ago
William Grant 2b95e6a283 feat: session input styles are now separated into per styling
monospaced, biggerText, isTextArea
1 year ago
William Grant dd7f13ed1f feat: invite a friend screen is mostly done 1 year ago
Audric Ackermann 4eafe8c68c
Merge pull request #3080 from Bilb/fix-retrieve-snode-down
fix: randomly pick a snode to poll from until we build a better way with changes server side
1 year ago
William Grant 44cc8594a5 fix: saved qr codes will be black and white by default
qr code logos can now be svgs for better rendering performance
1 year ago
Audric Ackermann 51c307af25 chore: fix PR reviews 1 year ago
William Grant 8a4e5d52ff fix: add background colors to logos so the background matches 1 year ago
William Grant 04dc4fe861 fix: the modal header now always centers content correctly 1 year ago
William Grant 0d3c058137 feat: new sessionqrcode component
updated account id and recovery password qr codes with logos
1 year ago
William Grant ab093ffc62 feat: replace react-qr-svg with react-qrcode-logo
updated error correction to 25%
1 year ago
Audric Ackermann 42bea0264c fix: improve retrieve timeout to 10s
also:
- add comments about not adding the limit:256 on snode list fetch
- fix an issue when no audio are found when starting a webrtc call
1 year ago
William Grant 76f5ad1322 feat: consolidate remaining sessioneditable instances
fix styles for other overlays
1 year ago
Audric Ackermann 4589bde672 chore: moved more types to ReduxTypes.d.ts 1 year ago
Audric Ackermann fb99c3491c chore: remove calls to Storage from settings.tsx 1 year ago
Audric Ackermann 49ab04d2fd chore: move SessionSettingsCategory to .d.ts file
and remove the enum (instead use string union)
1 year ago
William Grant cd3bc727c2 feat: updated ContactsListWithBreaks to show text when empty 1 year ago
William Grant 093da15ba3 feat: updated style for choose action overlay
created new ActionRow component
1 year ago
Audric Ackermann 7f7f0fe26c fix: clear swarms from snodes not in pool on full fetch 1 year ago
William Grant 2a75a715a3 feat: update continue button styles
only show button when users enters something
1 year ago
William Grant 31ef730c8c fix: correct type for style prop on SessionInput 1 year ago
William Grant edb9a24863 feat: new message description and added zendesk link 1 year ago
William Grant 2d7b957d8c feat: closed group pubkeys cannot be used to create new messages 1 year ago
William Grant 20766c4aba feat: added conversation id to debugmessageinfo 1 year ago
William Grant 4decf22241 feat: improved error messaging when starting a new message 1 year ago
William Grant 30118c3426 feat: added monospace textarea support to sessioninput
this will replace the sessionideditable eventually still needs error handling etc
1 year ago
William Grant e96519445d feat: removed overlayheader
moved some parts into the leftpanesectionheader
1 year ago
Ryan Miller 87fb1701d4
chore: rename fetch functions 1 year ago
William Grant 38c390355d refactor: leftpanemessagesection is now a functional component 1 year ago
William Grant c93cc932fc fix: replaced eye svgs with better aligned ones
fixed style position
1 year ago
William Grant 2e664bfa09 fix: right panel transition is now smoother
transition duration is now set via a function for integration testing  purposes
1 year ago
William Grant 208d9cc0eb Merge branch 'unstable' into feat/ses-50/onboarding 1 year ago
William Grant efc790120a fix: hr in emptymessageview should not use 0.5px 1 year ago
William Grant 425319785f fix: prevent flickering on EmptyMessageView 1 year ago
William Grant ab544070dd fix: repaired rounding on upload profile image component 1 year ago
William Grant dad09a75a6 fix: compressed all new svgs
tweaked svg styling
1 year ago
William Grant 7b221febc1 fix: moved some things outside of the OnboardContainer
this prevents refreshing of the entire styled component on render
1 year ago
William Grant d05c3e41eb feat: converted stagedGenericAttachment to be functional 1 year ago
William Grant c3334d09e4 fix: improved check for disabling continue button
more human readable
1 year ago
William Grant 04d053a0e9 fix: used better naming for value changed in restore account 1 year ago
William Grant bad21725d9 fix: dont pass redux args to restoration hook
we can use the selectors inside of it
1 year ago
William Grant ca0497051b fix: destructure args in sign in methods
cleaned up logging
1 year ago
William Grant c1a961477e fix: used better naming for value changed in create account
cleaned up logging
1 year ago
William Grant 86baed64ba fix: make useRecoveryProgressEffect use a switch for better readability 1 year ago
William Grant 6d7ebb7a86 fix: backbuttonwithinincontainer to backbuttonwithincontainer 1 year ago
William Grant 83e0a61799 fix: simplified SpacerStyled component
added matching css variable to each spacers docstring
1 year ago
William Grant 5cda16d845 fix: renamed button modal-confirm to ghost
moved SessionButton defaults into component
1 year ago
Audric Ackermann 99562a5073
Merge pull request #3075 from yougotwill/fix/ses-1734/link_device_fails
fix: recover an account with a new display name if linking fails
1 year ago
Audric Ackermann b887850388 chore: disable animations when running in integrationTests 1 year ago
William Grant 2265c59dcc fix: recover an account with a new display name if linking fails
added stop function to swarm polling
1 year ago
Audric Ackermann 63fa2538fc chore: fix integration tests 1 year ago
Audric Ackermann 53aeb63894 fix: focustrap activates on mount to prevent throw 1 year ago
William Grant 0f6d80b847 Merge branch 'unstable' into feat/ses-50/onboarding 1 year ago