a8a1567917
Merge remote-tracking branch 'soapbox/develop' into ts
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-09 00:05:04 +02:00
Alex Gleason
4457a0613c
Merge branch 'quote-sensitive' into 'develop'
...
Sensitive quotes
Closes #930
See merge request soapbox-pub/soapbox-fe!1504
2022-06-08 16:34:50 +00:00
Alex Gleason
f3178ac911
Move/rename QuotedStatus file
2022-06-08 11:07:41 -05:00
5fe442b684
ESLint: add no-duplicate-imports rule
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 22:21:18 +02:00
Alex Gleason
da70097960
Convert QuotedStatus containers to TSX
2022-06-07 14:48:24 -05:00
Alex Gleason
edffe9a837
SensitiveButton: use UI components
2022-06-07 13:55:34 -05:00
Alex Gleason
08daa19f2c
Add back SensitiveButton, convert to TSX
2022-06-07 13:46:21 -05:00
6c45dcb109
TypeScript, FC (reducers, search)
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-06-07 18:25:53 +02:00
Alex Gleason
2c4a28288d
PollForm: autosuggest fix
2022-06-06 13:38:48 -05:00
Alex Gleason
7e7dd19b02
Merge branch 'chats-fixes' into 'develop'
...
Small chats fixes & TSX conversions
See merge request soapbox-pub/soapbox-fe!1496
2022-06-06 18:31:27 +00:00
Justin
6f030011ba
Convert PollForm to TSX
2022-06-06 13:19:45 -04:00
Alex Gleason
e6c25a1887
AutosuggestAccountInput: convert to TSX
2022-06-04 17:47:40 -05:00
Alex Gleason
edcbf1f849
PrivacyDropdownMenu: pass useEffect dependency array
2022-05-31 10:20:03 -05:00
Justin
bd13cba65b
Apply 1 suggestion(s) to 1 file(s)
2022-05-31 15:04:57 +00:00
Justin
07ce1b4873
Apply 2 suggestion(s) to 1 file(s)
2022-05-31 15:03:41 +00:00
Alex Gleason
4bbc6d02b7
Merge remote-tracking branch 'origin/develop' into compose-tsx
2022-05-30 16:21:23 -05:00
Alex Gleason
887302d642
Upload: fix backgroundPosition
2022-05-30 14:53:50 -05:00
Alex Gleason
0051fd8eec
PrivacyDropdown: fix Overlay target
2022-05-30 14:50:10 -05:00
Alex Gleason
faf48d17b9
PrivacyDropdown: convert to TSX
2022-05-30 14:43:35 -05:00
Alex Gleason
b02c80341b
ReplyIndicator: convert to TSX
2022-05-30 14:05:15 -05:00
Alex Gleason
6e2cc63b7d
ScheduleButton: convert to TSX
2022-05-30 13:55:46 -05:00
Alex Gleason
e813eecacb
Upload: convert to TSX
2022-05-30 13:53:14 -05:00
Alex Gleason
4821703edb
UploadButton: convert to TSX
2022-05-30 13:26:24 -05:00
7a35aa727b
import from 'soapbox/…
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 20:23:55 +02:00
Alex Gleason
1beaccd3ac
TextIconButton: convert to TSX
2022-05-30 13:15:35 -05:00
Alex Gleason
a5fdfb31fd
Warning: convert to TSX
2022-05-30 13:11:44 -05:00
88637f55fb
Fix: Change scope button no longer works
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-30 10:01:52 +02:00
1e74c6d3d7
TypeScript, FC, styles and fixes
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-28 18:03:19 +02:00
Justin
03e97edff7
Improve Quote Status visuals
2022-05-26 15:19:44 -04:00
682d2a3647
Avoid inline message definitions
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-24 12:24:26 +02:00
marcin mikołajczak
28c7a87913
Merge branch 'formatted-lists' into 'develop'
...
Use FormattedList for 'Replying to'
See merge request soapbox-pub/soapbox-fe!1396
2022-05-20 18:58:34 +00:00
Alex Gleason
a20328b66c
Revert "Merge branch 'search-results-tsx' into 'develop'"
...
This reverts merge request !1384
2022-05-17 15:37:16 +00:00
Alex Gleason
ef54e44702
Merge branch 'search-results-tsx' into 'develop'
...
Search results: convert to TSX
See merge request soapbox-pub/soapbox-fe!1384
2022-05-17 15:18:43 +00:00
Justin
990214d02c
Convert 'AttachmentThumbs' to TSX
2022-05-17 10:03:37 -04:00
eecbbb839a
Use FormattedList for 'Replying to'
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16 20:30:42 +02:00
Alex Gleason
295eb40f14
SearchResults: remove unused import
2022-05-14 13:23:37 -05:00
Alex Gleason
640a6ab8eb
Delete SearchResultsContainer
2022-05-14 13:20:21 -05:00
Alex Gleason
88404f32b6
Search reducer: convert to TypeScript
2022-05-14 13:18:31 -05:00
Alex Gleason
5bbfb0cc39
Convert Trends, Suggestions, and TrendingStatuses reducers to TypeScript
2022-05-14 13:07:32 -05:00
Alex Gleason
41b01382ac
SearchResults: convert to TSX
2022-05-14 12:35:12 -05:00
Alex Gleason
dc05a4a11d
SearchResults: use padding, not margins
2022-05-14 12:20:39 -05:00
c942c494c8
Convert ScheduleForm to typescript, remove openDatePicker()
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-12 15:42:04 +02:00
f6d45b8b1b
Fix post scheduling styles
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-12 14:17:38 +02:00
Alex Gleason
b64be353cc
eslint: indent switch statements
2022-05-11 16:06:35 -05:00
Alex Gleason
ae01b845de
eslint: enforce spacing of imports (and infix ops)
2022-05-11 12:40:34 -05:00
Justin
03381c8fb2
Fix primary text on dark
2022-05-09 08:55:53 -04:00
marcin mikołajczak
f40fdc3448
Merge branch 'search-results-divide' into 'develop'
...
Dark style for divide-gray-200
See merge request soapbox-pub/soapbox-fe!1316
2022-05-06 13:29:27 +00:00
80532116af
Use Tabler Icons for attachment icons
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-06 14:34:38 +02:00
801b5cb0cc
Dark style for divide-gray-200
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-06 11:21:00 +02:00
b8be588b60
Post editing: Compose improvements
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-03 23:00:07 +02:00
387ebfc56c
Allow editing posts on Mastodon
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-28 16:26:47 +02:00
Alex Gleason
d92330cbfc
ComposeForm: move EmojiPickerDropdown beside UploadButton
2022-04-25 17:38:42 -05:00
Alex Gleason
0c98157fb3
Delete WelcomeButton, remove TruthSocial remnants
2022-04-19 15:24:12 -05:00
Alex Gleason
eaf42370b9
ComposeForm: make all buttons acessible on mobile (hotfix)
2022-04-13 15:49:36 -05:00
b5ae9adf63
Chats: typescript
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-12 18:52:56 +02:00
Alex Gleason
04e3b91c29
Merge branch 'next-icons' into 'next'
...
Use custom SvgIcon component wrapper around InlineSVG
See merge request soapbox-pub/soapbox-fe!1195
2022-04-10 18:42:19 +00:00
b7e1fbb693
lint
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 14:26:30 +02:00
98ff406ddf
typescript
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:46:25 +02:00
4f358b9632
Remove ReplyMentionsContainer
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 12:07:03 +02:00
7d2a62b181
ReplyMentions component to ts
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:48:56 +02:00
fb3b88b80b
reply mentions modalto tsx
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-10 10:20:12 +02:00
Alex Gleason
423c005437
Use custom SvgIcon component wrapper around InlineSVG
2022-04-07 13:48:04 -05:00
Justin
f8b6f8db28
Add tests for Search
2022-04-07 09:50:50 -04:00
0661ca25be
styles
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-02 16:10:16 +02:00
Justin
6099b520a3
Merge branch 'video-upload-progress' into 'next'
...
Convert VideoProgress to TW and TSX
See merge request soapbox-pub/soapbox-fe!1164
2022-03-30 15:48:38 +00:00
Justin
6ccc1f10ec
Improve style of UploadProgress
2022-03-30 11:22:37 -04:00
Justin
a15697faef
Convert UploadProgress to TSX
2022-03-30 10:51:07 -04:00
Justin
08a56082a9
Use intl to format messages
2022-03-30 10:40:09 -04:00
dbeb292009
wip dark mode
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 15:40:02 +02:00
Alex Gleason
32085632fa
ComposeForm minor improvements
2022-03-26 23:53:44 -05:00
Alex Gleason
ef0de13c91
Improve dark mode
2022-03-24 18:56:22 -05:00
Alex Gleason
2940a3ff4d
Put Typescript in "strict" mode, fix or ignore errors
2022-03-24 14:27:27 -05:00
Justin
f0a9ed8ad4
Fix prop warnings
2022-03-23 13:50:45 -04:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors
2022-03-23 12:14:42 -05:00
Justin
40cc960985
Use React Router hook for 'history'
2022-03-22 08:42:26 -04:00
Alex Gleason
61fd48204b
ComposeForm: convert some buttons into TSX
2022-03-21 17:28:57 -05:00
Alex Gleason
890299ead0
ComposeForm: convert buttons to ComposeFormButton component
2022-03-21 17:04:44 -05:00
Alex Gleason
228f16f930
Merge remote-tracking branch 'origin/develop' into next-react-router-5
2022-03-21 16:05:25 -05:00
Alex Gleason
5cd894ab02
Truth Social
2022-03-21 13:14:26 -05:00
Alex Gleason
1f0341aa2b
Upgrade react-router-dom to v5.3
2022-03-17 20:17:28 -05:00
Alex Gleason
1d4daee53b
Merge branch 'datepicker-async' into 'develop'
...
Load react-datepicker asynchronously
Closes #855
See merge request soapbox-pub/soapbox-fe!1086
2022-03-16 21:42:13 +00:00
a29019dbb0
Load react-datepicker asynchronously
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-09 22:59:51 +01:00
marcin mikołajczak
edb80c705d
Merge branch 'attachment-thumbs-sensitive' into 'develop'
...
Fix: Quote posts do not carry sensitive tag
Closes #852
See merge request soapbox-pub/soapbox-fe!1079
2022-03-06 23:22:01 +00:00
06b8b407c5
AttachmentThumbs: sensitive tag
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:39:13 +01:00
Alex Gleason
664dfa2688
MarkdownButton: don't do the availability check in the component itself
2022-03-04 13:01:22 -06:00
Alex Gleason
d98c54de4f
ComposeForm: conditional features
2022-03-04 12:47:59 -06:00
f1b5482b2d
Merge remote-tracking branch 'soapbox/develop' into in-reply-to-self
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-21 09:58:23 +01:00
2635d9b109
Compose: Show 'Replying to a post' if unchecked all mentions
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-21 09:56:23 +01:00
Alex Gleason
635f88f5e8
Rewrite code with optional chaining (?.)
2022-02-18 21:04:18 -05:00
5f73f96735
Minor modals cleanup
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-14 22:38:15 +01:00
a041a4452b
Rename modal -> modals
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
e0f0370579
Merge remote-tracking branch 'soapbox/develop' into modals-stack
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 14:30:38 +01:00
Alex Gleason
04979486e8
Normalize instance configuration for Mastodon
2022-01-31 16:51:11 -06:00
807b3c7e5b
Use stack for modals
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-30 18:53:47 +01:00
22a70a7595
Quote posts: Compose box improvements
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 18:18:10 +01:00
15d4910db5
wip quote post composing
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00
Alex Gleason
6323c7d70e
eslint: enforce gaps between groups with import/order
2022-01-10 16:25:06 -06:00
Alex Gleason
966ca91e1a
eslint: alphabetize imports with import/order
2022-01-10 16:17:52 -06:00
Alex Gleason
2a0e2001d6
eslint: enforce import/order
2022-01-10 16:01:24 -06:00
98e11bbb37
Merge branch 'develop' into filter-bar-animation
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 18:58:51 +01:00
b06596bbb6
Filter bar animation
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-05 22:03:54 +01:00
Alex Gleason
dc49ef9999
ReplyMentions: to.length --> to.size, fix bug replying to self
2022-01-04 20:27:58 -06:00
marcin mikołajczak
3dffc46fc1
Support explicit addressing
2022-01-04 20:06:08 +00:00
99e3ec9ff9
Replace LineAwesome with Tabler icons in some more places
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-16 23:05:33 +01:00
68e05c803b
Replace LineAwesome with Tabler Icons in some places
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-14 19:48:18 +01:00
user
47304e0478
fix hint messages when creating new poll
2021-11-20 22:16:34 -05:00
Alex Gleason
3e3433218c
Column: remove top gap on mobile, implement pulling feedback
2021-11-03 20:35:40 -05:00
Alex Gleason
52512ec110
Trends: fix Hashtag component and TrendsPanel, display trends in Search
2021-11-01 20:37:39 -05:00
Alex Gleason
b32745a36d
Search: only show suggestions when not submitted
2021-11-01 14:13:13 -05:00
Alex Gleason
23393710c7
AutosuggestInput: add icon to menu
2021-11-01 13:53:30 -05:00
Alex Gleason
4ef9a88f72
Search: add menu to AutosuggestInput
2021-11-01 13:45:17 -05:00
Alex Gleason
a5bf105ccd
Search: autosuggest accounts in search bar on desktop
2021-11-01 12:25:18 -05:00
Alex Gleason
9c0f65da03
Search: nuke the popout
2021-10-31 22:59:29 -05:00
Alex Gleason
b73b613064
Search: integration suggestions better
2021-10-31 22:58:26 -05:00
Alex Gleason
2946a7432b
Compose: pull accept content types from backend if available, fallback to all types
2021-10-31 16:14:09 -05:00
742b1f2b58
Use ScrollableList for search results
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-24 19:58:04 +02:00
e6f30abd91
Fix poll options not being selectable via keyboard
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-22 15:13:17 +02:00
Alex Gleason
cd3cf2379b
ComposeForm: load it differently so the SVG icons are already loaded when it expands
2021-10-19 12:46:01 -05:00
Alex Gleason
e4b2021e8e
Search: display WhoToFollowPanel if supported
2021-10-15 11:30:03 -05:00
Alex Gleason
e36dc0d119
Search: autofocus
2021-10-14 12:38:52 -05:00
Alex Gleason
4dbc4247f1
AutosuggestInput: fix autofocus
2021-10-14 12:35:05 -05:00
Alex Gleason
e2058d0bcb
WarningContainer: use <Link/> to account settings page
2021-10-13 14:35:34 -05:00
Alex Gleason
ea0374bbbc
WarningContainer: hide "Learn more" button for now
2021-10-13 14:32:38 -05:00
Alex Gleason
8dd49343ad
ComposeModal, ComposeForm: adapt depending on privacy scope
2021-10-13 14:24:22 -05:00
Alex Gleason
92fc853642
AttachmentThumbs: display compact media thumbs instead of AttachmentList
2021-10-08 13:17:37 -05:00
Alex Gleason
e16a5ac9f9
ComposeForm: add back original character counter, commented out for now
2021-10-07 15:46:45 -05:00
Alex Gleason
18ef49aec9
Seach: autosubmit from search page
2021-10-07 15:19:28 -05:00
Alex Gleason
a6f5cf33d0
Media: prefer V2 media API when available
2021-10-05 12:59:37 -05:00
Alex Gleason
f23a6b0890
Replace a lot more icons with SVG icons
2021-09-27 20:47:44 -05:00
Alex Gleason
b7c7d64bf7
CharacterCounter: make thinner
2021-09-26 23:30:37 -05:00
Alex Gleason
f635494629
ComposeForm: yank circular svg character counter from Gab
2021-09-22 16:16:29 -05:00
Alex Gleason
3eb4eeed59
Composer: use Tabler svg icons
2021-09-22 14:38:48 -05:00
Alex Gleason
be8f3d9e64
Remove unused component: compose/components/action_bar
2021-09-18 14:54:47 -05:00
Alex Gleason
5eab5ec0a5
Webpack: move Twemoji icons back to CopyPlugin
2021-09-12 10:51:58 -05:00
Alex Gleason
3fd1a10b73
Webpack: optimize ScheduleForm
2021-09-11 18:00:48 -05:00
Alex Gleason
19181f40c3
Webpack: bundle Twemoji icons as assets
2021-09-10 17:15:57 -05:00
Alex Gleason
ea26e86a94
Rename FE_BASE_PATH to FE_SUBDIRECTORY
2021-09-05 13:21:39 -05:00
Alex Gleason
e8a4a69b4e
Subdirectory fix: load emojis
2021-09-04 13:11:46 -05:00
Thibaut Girka
9b879b6931
Fix page incorrectly scrolling when bringing up dropdown menus
2021-08-28 15:38:51 +02:00
Thibaut Girka
7b7808defe
Fix and refactor keyboard navigation in dropdown menus
2021-08-28 15:37:53 +02:00
Thibaut Girka
675c5a4df2
Improve keyboard navigation in privacy dropdown
...
* Trap tab in privacy dropdown
* Give focus back to last focused element when privacy dropdown menu closes
* Actually give back focus to the element that had it before clicking the dropdown
2021-08-28 15:23:00 +02:00
ThibG
2ef0cdb71b
Fix ordering of keyboard access between CW field, textarea and emoji picker
2021-08-28 15:22:20 +02:00
Alex Gleason
be0f252351
Mastodon: conditionally display Markdown, emojiReact column settings, sidebar features, and account aliases
2021-08-23 15:31:42 -05:00
Alex Gleason
bfa61cf62a
Merge branch 'attachment-previews' into 'develop'
...
Attachment preview icons
See merge request soapbox-pub/soapbox-fe!678
2021-08-21 14:44:57 +00:00
686c458b63
Attachment preview icons
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-21 16:28:05 +02:00
88d1b9a0a2
Add missing propType
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-19 23:52:51 +02:00
5f68df64f1
Fix load more search results
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-19 23:49:37 +02:00
d36ec10c6a
Auto select search tab that has results
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:57:22 +02:00
403d6ae48c
Search results improvements
...
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-07 20:42:39 +02:00
Alex Gleason
dcd964dba9
Merge branch 'eslint-recommended' into 'develop'
...
eslint: extend 'eslint:recommended'
See merge request soapbox-pub/soapbox-fe!661
2021-08-03 19:57:41 +00:00