Commit Graph

5078 Commits (0bf616496f8b1bd2687dfb37cbb439297437aab2)

Author SHA1 Message Date
Alex Gleason 3f04d0a049
Followers/Following: convert to TSX
2 years ago
Alex Gleason 0355d2a927
Favourites: refactor, clean up, make it sane
2 years ago
Alex Gleason aca2df0775
Favourites: quick & dirty conversion to TSX
2 years ago
Alex Gleason 2681b32f7d
StatusList: incorporate feed injection algorithms
2 years ago
Alex Gleason ec225ea1c5
abovefoldAlgorithm: wrap item selection
2 years ago
Alex Gleason 5749821b36
Algorithms: index --> iteration
2 years ago
Alex Gleason fe8966fc3e
Scaffold out timeline insertion modules
2 years ago
marcin mikołajczak 6a1c3a7975 Merge branch 'search-own-posts' into 'develop'
2 years ago
marcin mikołajczak 30a420acaf Allow searching your own posts
2 years ago
marcin mikołajczak ac52071e2f Do not reset tab/searched account when clearing search input
2 years ago
Justin 3bef7c69ff Map paginated results into normalized Tag
2 years ago
Justin 1c179cd4a0 Add error states
2 years ago
Justin c48b4adc81 Error handling for bad sends
2 years ago
Justin e333a5042e Merge branch 'chats' into alex-chats
2 years ago
Justin 6b38e37019 Merge remote-tracking branch 'origin/develop' into chats
2 years ago
Justin 999c5caafd Merge branch 'improve-input' into 'develop'
2 years ago
Justin d4d561638d Merge branch 'bug-fixes' into 'develop'
2 years ago
Justin 7063ce759d Add JSDOC
2 years ago
Justin 75472247d8 Merge branch 'improve-danger-button' into 'develop'
2 years ago
Justin 9aebaa96a8 Fix tests
2 years ago
Justin 07cbd02737 Lint
2 years ago
Justin a190eba006 Add polyfill for ResizeObserver
2 years ago
Justin c47eda8a0a Fix non-valid DOM attributes getting passed to input
2 years ago
Justin 6486f3b539 Fix ref passed to Stack error
2 years ago
Justin 0940896448 Fix nested <div> within <p> error
2 years ago
Justin 494cd622a5 Update usage of input
2 years ago
Justin d4209c86b7 Extend input with new prepend/append options
2 years ago
Justin 2682116151 Update 'danger' button styles
2 years ago
Justin 81ea892ff7 Export TextSizes type
2 years ago
Justin 99e5e4492a Extend Divider with 'textSize' prop
2 years ago
Alex Gleason 57b2527b55
StatusActionBar: copy status.url --> status.uri
2 years ago
marcin mikołajczak d074553e21 Wrap HStack in some places
2 years ago
Alex Gleason d9d9c4521f
soapbox-pub/soapbox-fe --> soapbox-pub/soapbox
2 years ago
marcin mikołajczak 4c6b2ab2f0 Merge branch 'language-pl' into 'develop'
2 years ago
marcin mikołajczak 005f317a93 Change active tab when navigated to another profile page
2 years ago
marcin mikołajczak 08702248b9 Update Polish translation
2 years ago
marcin mikołajczak cd93399569 Update Polish translation
2 years ago
marcin mikołajczak 591aba83d9 Use content_type from backend when editing a status
2 years ago
Alex Gleason 09e86eda97 Merge branch 'fix-page-crashes' into 'develop'
2 years ago
Alex Gleason 0ac3b0824b
Add header to desktop chats
2 years ago
Alex Gleason 624720a7bc
ChatIndex: clamp to screen height-ish
2 years ago
Alex Gleason 90ece157e6
ChatIndex: improve the desktop layout
2 years ago
Alex Gleason 7fc732d0d0
Chat: fix various overflow issues
2 years ago
Alex Gleason 2a5a43d914
ChatIndex: break layout into columns
2 years ago
Alex Gleason bb535b10ed
Add ChatsPage for bigger layout
2 years ago
Alex Gleason 471ee4d179
Rename chats to messages
2 years ago
Alex Gleason 2f0a41cc36
ChatMessageList: fix horizontal overflow for long messages in UI
2 years ago
Alex Gleason 271bc271f7
Chats: normalize chat messages from the API
2 years ago
Alex Gleason 2f5caad67f
Chats: use compareId to sort messages (fix Pleroma)
2 years ago
Alex Gleason 1876af9be7 Merge branch 'relative-timestamp-tsx' into 'develop'
2 years ago
Alex Gleason babac13493
Bundle: convert to TSX
2 years ago
Alex Gleason 5f1d9ac56a
relative_timestamp --> relative-timestamp
2 years ago
Alex Gleason 38b6f87a83
RelativeTimestamp: convert to TSX
2 years ago
Justin fc81cda6bb Fix classnames import
2 years ago
Justin c63fdec916 Reset state on failure
2 years ago
Justin 7535862a40 Autogrow the textarea
2 years ago
Justin 3939e27827 Add ability to copy the message
2 years ago
Justin 5dd44d3094 Add last_message_id param to API
2 years ago
Justin 2a02f6dcc7 Rename snooze endpoint
2 years ago
Justin cfa183531e Fix text alignment
2 years ago
Justin b04bc6a7ae Add shadow when scrolling
2 years ago
Justin 01167af69e Add infinite scroll to ChatList
2 years ago
Justin e384d1f40d Setup websockets
2 years ago
Justin 0f7cfada50 Improve dark mode of chats
2 years ago
Justin ba2ffd1501 Snooze
2 years ago
Justin e7bd56f959 Refactor
2 years ago
Justin a2e2d60fc7 Add Message List Intro component
2 years ago
Justin 396a1f1f46 Add Chat Settings
2 years ago
Justin d2d64e4ec4 Refactor and auto-accept chats
2 years ago
Justin ea5525d02c Refactor leave/report chat
2 years ago
Justin 0cb0e8af9e Add ability to leave chat
2 years ago
Justin 8492cc59e2 Add ability to accept chat
2 years ago
Justin 1ed1f3fd2e Add ability to delete message
2 years ago
Justin 7557445a3e Disable submit button
2 years ago
Justin 751c031420 Disable submit button
2 years ago
Justin 84dc06db42 d
2 years ago
Justin 3a48082dc9 Remove old React Query stuff
2 years ago
Justin 2c6c281568 Add "useDebounce" hook
2 years ago
Justin 27df2b617e Update Input with append and prepend props
2 years ago
Justin f0b3cc67aa Add "items-start" support to Stack
2 years ago
Justin 2f568ffc84 Extend Textarea component with resizeable prop
2 years ago
Justin 2aab3bb736 Change translations for chat
2 years ago
Alex Gleason 58322862e4 Make chat panes REALLY BIG
2 years ago
Alex Gleason 0b4fc43172 Chats: break out Pane into a UI component
2 years ago
Justin f16da850fd Add React Query
2 years ago
Alex Gleason b67c454144
findAccountByUsername: safely check account?.acct
2 years ago
marcin mikołajczak 03d6211e1c Replace classnames with clsx
2 years ago
marcin mikołajczak 7f99568c73 Merge branch 'close-compose-modal' into 'develop'
2 years ago
marcin mikołajczak 05d296f1ee Consistent behavior of compose modal close confirmation
2 years ago
Alex Gleason 27581fa776
Ads: fix expiry filter logic
2 years ago
Alex Gleason 7d5a8ecf6f Merge branch 'drop-fe' into 'develop'
2 years ago
marcin mikołajczak 4678acc94e Change dark styles for datepicker input
2 years ago
Alex Gleason 5fec9c580b
Soapbox FE --> Soapbox
2 years ago
Alex Gleason 4f11f3288d
Ad: add missing jsx comment
2 years ago
Alex Gleason 194cf89dd9
Ads: bust query-cache when an ad expires
2 years ago
Alex Gleason d5a066050f
Ads: move isExpired to tested utils function
2 years ago
Alex Gleason f4af1687bf
Filter out expiring ads
2 years ago
Alex Gleason c29bf4040a Merge branch 'sentry-sanity' into 'develop'
2 years ago
Alex Gleason 0349a57f55 Merge branch 'embeds-improvements' into 'develop'
2 years ago
Justin 7191c2af72 Merge branch 'fetch-relationships' into 'develop'
2 years ago
Alex Gleason 954e02067e
Remove unused import from features/forms
2 years ago
Alex Gleason 764b2302d9
Embeds: enable for TruthSocial
2 years ago
Alex Gleason 9c7274ee01
Delete legacy CopyableInput component
2 years ago
Alex Gleason 82aad21900
CopyableInput: oh yeah, make the input actually copy
2 years ago
Alex Gleason 48ba485a0d
CryptoAddress: use new CopyableInput component
2 years ago
Alex Gleason 3909c74c00
Add new CopyableInput component, use in EmbedModal
2 years ago
Alex Gleason 5a6dcf0c4d
Embeds: render embeds before anything else
2 years ago
Alex Gleason c311ac4f80
Sentry: actually, filter out all AbortErrors
2 years ago
Alex Gleason f8f8b4f2b9
Sentry: filter out useless events, tag ErrorBoundary page crashes
2 years ago
Justin d4bcdd821c Lint
2 years ago
Justin edce9d0876 Fetch relationships when opening favourites/reblogs modal
2 years ago
Justin b443c1c6ae Improve formatting of short numbers
2 years ago
Justin 3f6f26788c Merge branch 'increase-space' into 'develop'
2 years ago
Justin b5cf943f45 Increase space between icon and counter
2 years ago
Justin 2fded6daa9 Improve dark mode
2 years ago
Justin 8f176f4d72 Add back spacing to Card
2 years ago
Justin 1837dbef1c Merge branch 'self-status' into 'develop'
2 years ago
marcin mikołajczak 049a40a6a6 Merge branch 'language-pl' into 'develop'
2 years ago
marcin mikołajczak fa20f7092c Update Polish translation
2 years ago
marcin mikołajczak fd1ca839cb Śledzić -> obserwować
2 years ago
marcin mikołajczak 4b1be99639 this should be a HStack, actually
2 years ago
Alex Gleason 6ea4129cb7
EmbedModal: use Divider component
2 years ago
Alex Gleason 058746103f
EmbeddedStatus: move history.block() into useEffect
2 years ago
Alex Gleason 83103294d3
SafeEmbed: remove unnecessary conditional
2 years ago
Justin fc78f8fa1a fix operator
2 years ago
Alex Gleason c79506e1fd
SafeEmbed: autosize iframe height
2 years ago
Alex Gleason f1248018e6
EmbeddedStatus: improve size of SiteLogo and background color
2 years ago
Justin 347897cd9d Add custom support link
2 years ago
Justin 18afb586fa I18n
2 years ago
Alex Gleason 2e6b826c46
EmbedModal: improve dark mode styles
2 years ago
Alex Gleason 75b015d608
embed_modal.tsx --> embed-modal.tsx
2 years ago
Alex Gleason 393f6a9b60
EmbedModal: improve styling
2 years ago
Alex Gleason 2780027363
Merge remote-tracking branch 'origin/develop' into embedded-status
2 years ago
Alex Gleason cddf70f0ab
Fix status style regressions
2 years ago
Justin dd0f2fcf5b Support 'in review' sensitive content
2 years ago
Justin 8fbe8a90e0 Use current trends for hashtag searching in composer
2 years ago
Alex Gleason 6e5689e3a3
EmbedModal: allow-scripts
2 years ago
Alex Gleason 2cc8dcd69c
EmbeddedStatus: set SiteLogo max width
2 years ago
Alex Gleason c013dcf01b
EmbeddedStatus: add SiteLogo
2 years ago
Alex Gleason 9ca87c1eec
EmbeddedStatus: listen for embed.js iframe events and autosize height
2 years ago
Alex Gleason 7f7f9a6fae
EmbeddedStatus: open URL in new tab on click
2 years ago
Alex Gleason 9fb9523a4e
EmbeddedStatus: block navigation
2 years ago
Alex Gleason 54ff81afc6
StatusActionBar: only show embed option for local accounts
2 years ago
Alex Gleason 491c0e9152
EmbedModal: react-query, add useEmbed
2 years ago
Alex Gleason 0dd0742752
EmbedModal: abstract embed code to new SafeEmbed component
2 years ago
Alex Gleason 33e13aa6e2
Status: fix position of reblogElementMobile
2 years ago
Alex Gleason 6f38b19b5b
Restore using embeds from the API
2 years ago
Alex Gleason c4849ad38d
Merge remote-tracking branch 'origin/develop' into embedded-status
2 years ago
marcin mikołajczak 67e8d6a0cd Use account.acct in push notification URLs
2 years ago
marcin mikołajczak 259760311e Dark theme for consumers list
2 years ago
Justin 35d32e7391 Handle dyanmic error message of API
2 years ago
Alex Gleason 5dc5407c12
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies
2 years ago
marcin mikołajczak ffba24bc94 Minor styles improvements
2 years ago
marcin mikołajczak 62d90d9a8f Fetch accounttimeline when switching tabs
2 years ago
Alex Gleason bc25e9d0f4 Merge branch 'status-fixes' into 'develop'
2 years ago
Alex Gleason 7b75faf74c
Notifications: actually, do still use the legacy StatusContainer as it does a selector we need
2 years ago
Alex Gleason a0e79bfe10
StatusContainer: pass all props through, fix pinned posts not showing as pinned
2 years ago
Alex Gleason 19b6973667
Notifications: StatusContainer --> Status, fix not being able to mute a conversation
2 years ago
Alex Gleason f751104c0f
StatusActionBar: hide DM menu item unless privacyScopes are enabled
2 years ago
Alex Gleason 30df3808e7
ConsumerButton: use 'outlined' theme
2 years ago
Alex Gleason 5b2894cd8d
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies
2 years ago
Alex Gleason 32b6c646cf Merge branch 'icon-button-themes' into 'develop'
2 years ago
Alex Gleason 34b7aad6dd Merge branch 'status-page-tsx' into 'develop'
2 years ago
marcin mikołajczak 67f5f5fb8b Merge branch 'cleanup' into 'develop'
2 years ago
marcin mikołajczak 6c54d50839 Merge branch 'feed-carousel-conditional' into 'develop'
2 years ago
marcin mikołajczak 771abfb8fb Move condition for FeedCarousel to HomePage
2 years ago
marcin mikołajczak 541521ae6f Restore hotkey navigataion for statuses
2 years ago
marcin mikołajczak 12eeffecc4 Merge remote-tracking branch 'soapbox/develop' into cleanup
2 years ago
Alex Gleason ee754915aa
EmbeddedStatus: make it unclickable
2 years ago
Alex Gleason 5f8a22b452
Native status embeds from Soapbox
2 years ago
marcin mikołajczak aa5b5dbaf6 Merge branch 'edits-notification' into 'develop'
2 years ago
Alex Gleason 7615111eb0
IconButton: add themes
2 years ago
Alex Gleason 5386135112
WrappedRoute: fix PageProps type to include children
2 years ago
Alex Gleason e402660bc1
StatusPage: convert to TSX
2 years ago
Alex Gleason 9cd19c2003
Merge remote-tracking branch 'origin/develop' into oauth-consumer-strategies
2 years ago
Alex Gleason 0466c97863
Merge remote-tracking branch 'origin/develop' into account-refactoring
2 years ago
Alex Gleason cb984bd925
Header: hide DM menu item unless privacyScopes are available
2 years ago
Alex Gleason d54b3b1ec6 Merge branch 'status-fc' into 'develop'
2 years ago
marcin mikołajczak 66216bd5b6 Use Array.includes instead of indexOf
2 years ago
marcin mikołajczak d59fa05812 Add more context to post edit notification
2 years ago
marcin mikołajczak 2d9ac9e22e Merge branch 'reply-indicator-styles' into 'develop'
2 years ago
Alex Gleason bc72739dda
Normalize instance in login tests
2 years ago
Alex Gleason 386af1ea2c
i18n pepe locales
2 years ago
Alex Gleason f2fc369877
Allow configuring authProvider in place of registrations
2 years ago
Alex Gleason d6e809083b
Make consumer strategy buttons work
2 years ago
Alex Gleason 609eb543ba
Style ConsumersList
2 years ago
Alex Gleason 304e9aa880
Move oauth ConsumersList into its own component
2 years ago
Alex Gleason b7e2d3e0a7
Add inert oauth consumer buttons
2 years ago
marcin mikołajczak d9aee6d98e Fix styles in reply indicator
2 years ago
Alex Gleason e4c829da76
AccountTimeline: improve loading spinner
2 years ago
Alex Gleason eccfdb90f8
Header: make account optional again
2 years ago
Alex Gleason 8c94a4b882
ProfilePage: more pathname.endsWith fixes
2 years ago
Alex Gleason e37611d55b
ProfilePage: load full account correctly, fix hidden tabs from !1630
2 years ago
Alex Gleason 9a0531db37
Nuke HeaderContainer
2 years ago
Alex Gleason 6887852586
AccountTimeline: dirty TSX+FC conversion
2 years ago
Alex Gleason 7ab5ae6f1e
MediaItem: convert to TSX+FC
2 years ago
Alex Gleason d84156219d
Delete unused account column settings components
2 years ago
Alex Gleason 632726ef1c
Header: hide message button again (for now)
2 years ago
Alex Gleason d0ec2af4ee
Header: remove unused import
2 years ago
Alex Gleason 4d5a32edcb
Delete unnecessary middleman account Header component
2 years ago
Alex Gleason f3f230aece
Simplify profile Header components
2 years ago
Justin 22294b8a6e Fix test
2 years ago
Justin 6c03b6ddd3 fix tests
2 years ago
Justin 4d98046627 Improve types
2 years ago
Justin 06d1ad2efe Remove sort
2 years ago
Justin b377689ed2 Grammar fix
2 years ago
Justin cbe9f47a59 Fix Trends Panel test
2 years ago
Justin 968ec3a7d2 Clear React Query cache before each test
2 years ago
Justin b2530dadd5 Convert trends to React Query
2 years ago
Justin e72476d577 Update suggestions query with new api hook
2 years ago
Justin ae0fd07580 Use v2 suggestions endpoint for Onboarding
2 years ago
Alex Gleason 1bd2814aec
ProfilePage: clean up unused/legacy code
2 years ago
Alex Gleason 56568e2528
To crush your enemies, see them driven before you, and hear the lamentation of their women
2 years ago
Alex Gleason d668bb370f
Fix Like button
2 years ago
Alex Gleason 168cee0636
StatusActionBar: fix styles in Thread
2 years ago
Alex Gleason ca4821abf7
Nuke ActionBar component
2 years ago
Alex Gleason 518a813235
status_action_bar --> status-action-bar
2 years ago
Alex Gleason 4c7491d81d
Strip down StatusContainer, offload actions into Status component itself
2 years ago
Alex Gleason 522eba4b25
StatusActionBar: create toggle actions for status interactions
2 years ago
Alex Gleason 33fbb0f147
StatusActionBar: move action code directly into component, clean up
2 years ago
Alex Gleason 4970c6c307
StatusActionBar: convert to React.FC
2 years ago
Justin 1d5428be2c Merge branch 'react-query' into 'develop'
2 years ago
Alex Gleason 8d089805ea
Don't export getAuthBaseURL
2 years ago
Alex Gleason 5f2532c3d7
Throw out unnedeed QueryClientProvider changes
2 years ago
Alex Gleason 28d5461295
Fix react-query tests
2 years ago
Justin bec42a3633 Visual tweaks for new branding
2 years ago
Justin b87768967b Fix badge color and quoted status border
2 years ago
marcin mikołajczak 070ca176a7 Merge branch 'actions-modal-center' into 'develop'
2 years ago
Alex Gleason 8eec8f3a09
react-query: use legacy API client with hooks
2 years ago
Alex Gleason 7d100193c3 Merge branch 'about-tsx' into 'develop'
2 years ago
Alex Gleason 70a84d74ad Merge branch 'ads-locale' into 'develop'
2 years ago
marcin mikołajczak 0f4a755693 Merge branch 'search-from-account' into 'develop'
2 years ago
marcin mikołajczak 10c03c9f56 Merge branch 'styles' into 'develop'
2 years ago
marcin mikołajczak 5c5113aff3 Minor dark theme improvements
2 years ago
Alex Gleason f87be8ce9a
Use StatusActionBar for both types of statuses
2 years ago
Alex Gleason 4edd28a08b
Clean up _properStatus() nonsense
2 years ago
Alex Gleason 82d717d8ce
Move getActualStatus logic to utils
2 years ago
Alex Gleason 89390083a9
Move textForScreenReader to utils/status
2 years ago
Alex Gleason 1cfc16c477
Status: convert to React.FC
2 years ago
Alex Gleason 748b48f84c
DetailedStatus: clean up unused props
2 years ago
Alex Gleason 3ced53a948
DetailedStatus: convert to React.FC
2 years ago
Alex Gleason f4d1cb93cd
Status --> Thread
2 years ago
Alex Gleason e0e64f0f5c
Thread: convert to functional component
2 years ago
Alex Gleason 85786bc07d
Delete unused SettingsCheckbox component
2 years ago
Alex Gleason d511b673ae
Convert About page to TSX
2 years ago
Alex Gleason f68730de20
RumbleAdProvider: send Accept-Language header with request
2 years ago
Justin 6b297c3a7e Add tests
2 years ago
marcin mikołajczak 2e47180c08 Change color of edited status indicator icon
2 years ago
marcin mikołajczak 052547dc6b Fix debounce in search, clear accountId on submit from navbar
2 years ago
Justin 15f536e949 Use redux auth for now
2 years ago