Commit graph

315 commits

Author SHA1 Message Date
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
Alex Gleason
497b6b08d4 Merge branch 'store-current-search-tab' into 'develop'
Keep selected search results tab

See merge request soapbox-pub/soapbox-fe!657
2021-08-03 19:39:09 +00:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
5548644bd6
eslint: no-extra-semi 2021-08-03 14:22:51 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
83e9edb573 Don't display search tabs until there are results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 21:08:06 +02:00
bd16715763 Keep active search results tab
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-02 20:51:15 +02:00
Alex Gleason
29cdc4867b Merge branch 'attachment-list-boost-modal' into 'develop'
List attachments in reply indicator and boost modal

See merge request soapbox-pub/soapbox-fe!654
2021-08-02 16:02:51 +00:00
Claire
8a406d5736 List attachments in reply indicator and boost modal 2021-08-02 15:30:01 +02:00
055b001f74 Works fine, I think
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 23:05:54 +02:00
29d68dac06 Show 'Over X results' if more results are available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 21:54:56 +02:00
d0f3fe6771 Tabbed, paginated search results
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-30 17:51:43 +02:00
bedc9ef3fa Use description limits from Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-19 23:14:31 +02:00
Alex Gleason
a3d5d1a882
Upgrade emoji-datasource to 5.0.0 2021-07-10 00:43:49 -05:00
Alex Gleason
4d334bd2b8
Add blurhash to upload form, fixes #661 2021-07-01 22:04:34 -05:00
Alex Gleason
968c7332f0
Composer: only injectIntl on the ComposeFormContainer for performance 2021-07-01 16:10:03 -05:00
Alex Gleason
f0e53c2b2c
Datepicker: auto open 2021-06-30 21:02:53 -05:00
Alex Gleason
8e168fdc0a Merge branch 'reaction-labels' into 'develop'
Reaction labels

See merge request soapbox-pub/soapbox-fe!557
2021-06-30 21:09:59 +00:00
Alex Gleason
9ea1df2fb1
Scheduled statuses validation 2021-06-30 14:53:29 -05:00
998e129072 Reaction labels
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 11:33:42 +02:00
Alex Gleason
df4aad3c74
ScheduledStatuses: refactor ScheduleForm, display "Schedule" button in Composer, fixes #660 2021-06-28 00:36:44 -05:00
Alex Gleason
2939b9e495
ScheduledStatuses: improve picker input UI 2021-06-28 00:06:04 -05:00
Alex Gleason
a2ce009a13
'scheduled statuses' --> 'scheduled posts' 2021-06-27 19:44:40 -05:00
Alex Gleason
4a5ef6f469
ScheduledStatuses: display link in Composer 2021-06-27 17:18:54 -05:00
2df8b927ea Allow translating more strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-27 00:04:27 +02:00
ddf9f3c4fe You seem to use different code style
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-21 20:39:22 +02:00
NEETzsche
e909f8fe6f Fix time display issues 2021-06-18 15:51:40 -06:00
NEETzsche
3a209e2fea Schedule posts 2021-06-18 16:04:31 +00:00
Alex Gleason
80c18f0fed
Composer: display uploaded video preview 2021-05-17 16:44:59 -05:00
Alex Gleason
3bae6e25e1
Preview uploaded media 2021-05-17 15:15:46 -05:00
Alex Gleason
1e3b2f853f
Composer: don't collapse if non-empty 2021-05-17 15:13:42 -05:00
Alex Gleason
4339378018
Fix iOS autofocus bug, fixes #630 2021-05-02 15:30:29 -05:00
Alex Gleason
a70c6c91af
Delete unused Compose code 2021-03-23 15:00:26 -05:00
Alex Gleason
8a0fa1b285
Display loading animation during search 2021-03-21 16:09:50 -05:00
Sean King
285261aad9
Update imports and listenerOptions for components using detect-passive-events 2020-10-15 08:10:45 -06:00
Alex Gleason
bd12226a84
Composer: fixes #419 jumpy cursor 2020-09-28 22:04:29 -05:00
Alex Gleason
b78a00a306
Revert "pass getClickableArea into autosuggesttextarea as prop"
This reverts commit 99f0a069dd.
2020-09-28 19:05:56 -05:00
Alex Gleason
d243b53486
PrivacyDropdown: clean up dispatch calls 2020-09-27 18:02:57 -05:00
Mary Kate
5ad39921f9 re-open compose modal after changing privacy, fixes #200 2020-09-27 17:04:24 -05:00
Mary Kate
99f0a069dd pass getClickableArea into autosuggesttextarea as prop 2020-09-27 16:32:07 -05:00
Alex Gleason
2d29d69f50
ImportData: rename some stuff 2020-09-27 11:18:25 -05:00
Curtis ROck
fdc1a051d3 Rough out import follows page and actions 2020-09-14 22:07:33 -05:00
Alex Gleason
8c9206be3e
Use a better poll icon 2020-09-09 22:00:11 -05:00
Bárbara de Castro Fernandes
458bdef633 Enable empty poll removal by deleting one of its options
Previously, the user had to click on the "poll" icon at the bottom of
the compose form in order to remove a poll. This commit changes how poll
options behave so as to enable an empty poll to be removed through the
deletion of either one of its options.

This closes #317.
2020-09-07 16:04:21 -03:00
Alex Gleason
57b2a120e5
Composer: allow attaching any type of file 2020-09-04 00:15:10 -05:00
Alex Gleason
cf8f5fde60
Composer: use paperclip for uploads icon 2020-09-04 00:11:27 -05:00
Alex Gleason
d464d53a92
Composer: change globe icon to globe-w 2020-09-03 23:58:32 -05:00
Alex Gleason
2f2c849dfa
Chats: remove DM links from menus 2020-08-28 15:09:17 -05:00
Alex Gleason
2470e59596
/admin --> /soapbox/config 2020-08-23 21:48:31 -05:00
Alex Gleason
e3b1e8c31d
SoapboxConfig: Fix menu links to use to instead of href 2020-08-23 20:43:41 -05:00
Alex Gleason
20269bbe3e
soapbox_settings --> soapbox_config 2020-08-23 15:21:19 -05:00
Alex Gleason
2cdf6f7275
Merge remote-tracking branch 'origin/develop' into admin_cfg 2020-08-23 12:16:52 -05:00
crockwave
0f70fde172 action_bar had a poor merge conflict correction fixed.
Still experimenting with updating nested state
2020-08-11 18:41:03 -05:00
Mary Kate
c4046cbf7e add video and audio media placeholders in compose form 2020-08-10 20:59:24 -05:00
Sean King
10d1010265 New upload icon 2020-08-10 11:49:38 -06:00
Curtis
ea94b05608 Resolve merge conflicts
Merge branch 'develop' into 'admin_cfg'

# Conflicts:
#   app/soapbox/features/compose/components/action_bar.js
#   app/soapbox/features/edit_profile/index.js
2020-08-09 23:02:48 +00:00
Curtis
36e634b0aa Resolved merge conflicts
Merge branch 'develop' into 'timeline-word-filters'

# Conflicts:
#   app/soapbox/components/sidebar_menu.js
#   app/styles/application.scss
2020-08-07 20:46:44 +00:00
crockwave
a5b69e77a3 Added Admin settings opening in new tab 2020-08-07 12:58:59 -05:00
Mary Kate
bdd9204b3c basic filter form component set up 2020-08-04 15:21:42 -05:00
marykatefain
ee97e94779 Bookmark posts 2020-07-29 21:08:36 +00:00
Alex Gleason
444e3641ee
Fix disappearing poll button when media is uploaded 2020-07-28 14:42:58 -05:00
Alex Gleason
1329ca3578
Merge remote-tracking branch 'origin/develop' into add-images-to-polls 2020-07-28 14:18:30 -05:00
Mary Kate
a3201605b4 add uploads to polls 2020-07-28 14:15:15 -05:00
Alex Gleason
ac6b4033dd
Merge remote-tracking branch 'origin/develop' into add-markdown-posts 2020-07-28 14:00:25 -05:00
Alex Gleason
b31cf22f43
Markdown refactoring 2020-07-28 13:43:22 -05:00
Mary Kate
daf039d9bb generalize markdown to content_type 2020-07-28 13:31:44 -05:00
Mary Kate
bc787e0bbe add markdown posts 2020-07-28 12:24:04 -05:00
Alex Gleason
2aca716cfa
Revert "Merge branch 'decouple_spoiler_from_nsfw' into 'develop'"
This reverts commit 03c2a8f294, reversing
changes made to b6c0884a1d.
2020-07-28 10:52:29 -05:00
Curtis ROck
de917da39e Added menu item for Soapbox settings. Added translations 2020-07-20 21:17:23 -05:00
Alex Gleason
03c2a8f294 Merge branch 'decouple_spoiler_from_nsfw' into 'develop'
Update compose.js to decouple spoiler from marking media as NSFW. Fixes #209

Closes #209

See merge request soapbox-pub/soapbox-fe!90
2020-07-11 19:36:22 +00:00
Alex Gleason
a83f785b73
React 17.x upgrade fixes 2020-07-04 19:32:07 -05:00
Alex Gleason
853dad032c
componentWillReceiveProps fixes, fixes #184, #231, !80 2020-07-04 19:14:12 -05:00
Alex Gleason
b1bae44165 Merge branch 'poll_hint_toggle_radiobutton' into 'develop'
Added mouseover hint to poll compose radiobutton. Fixes #215

Closes #215

See merge request soapbox-pub/soapbox-fe!88
2020-07-04 17:59:43 +00:00
Curtis
894cd4668f Update sensitive_button_container.js to prevent it becoming disabled when Subject line is active 2020-07-02 22:02:21 +00:00
Alex Gleason
4e94c5d2ca
Merge branch 'develop' into audio-player 2020-07-02 16:32:50 -05:00
Sean King
1a7cbb21a7
Audio player work (change of sensitive content handling) 2020-07-02 16:31:48 -05:00
Sean King
01d042f80d
Update of work on audio player 2020-07-02 16:31:43 -05:00
crockwave
86d9dea032 Added mouseover hint to poll compose radiobutton, to let user know that a click toggles between single and multi-choice polls 2020-06-28 12:34:14 -05:00
Alex Gleason
ecf26de289 Merge branch 'componentWillReceiveProps_to_DidUpdate_refactor' into 'develop'
Component will receive props to did update refactor Fixes #184

Closes #184

See merge request soapbox-pub/soapbox-fe!80
2020-06-27 00:23:44 +00:00
crockwave
3d29f7b6e2 partial mods to replace deprecated componentWillReceiveProps 2020-06-22 20:26:20 -05:00
crockwave
24b72b5828 Replace componentWillMount with componentDidMount and as required, construct(). Fixes #179 2020-06-17 20:42:30 -05:00
Alex Gleason
c5e1f3cfd4
Lint: Fix weird react-hooks error 2020-06-09 23:11:35 -05:00
Alex Gleason
d78760e188
Composer: Improve design, fixes #158 2020-06-07 18:05:54 -05:00
Alex Gleason
4737dc6da9
Compose: Fix NSFW tag error on CW 2020-06-07 15:30:21 -05:00
Alex Gleason
409431d7e8
Focal Point: make conditional based on BE, fixes #159 2020-06-07 14:57:13 -05:00
Alex Gleason
d772608df4
Search: Conditionally display hashtag features, fixes #142 2020-06-07 14:09:33 -05:00
Alex Gleason
ab280b80e1
SecurityForm: Add navigation links 2020-06-05 14:58:59 -05:00
Alex Gleason
61fcfdbc6e
Fix ComposeForm Ctrl+Enter hotkey issue, fixes #127 2020-05-30 17:29:50 -05:00
Alex Gleason
f451b81e25
Remove searchEnabled 2020-05-28 20:41:18 -05:00
Alex Gleason
d24dcb3e60
gabsocial --> soapbox paths 2020-05-28 17:56:55 -05:00