Commit graph

273 commits

Author SHA1 Message Date
2943b91034 Typescript, convert some components to functional
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-11 21:58:48 +02:00
Alex Gleason
ba5c3b224c
EmojiButtonWrapper: handle click 2022-04-10 20:41:00 -05:00
Alex Gleason
0912700d15
Create preliminary EmojiButtonWrapper component 2022-04-10 20:31:24 -05:00
Alex Gleason
37a8bc7083
WIP: embeds 2022-04-10 17:52:42 -05:00
Alex Gleason
ae48c6e619
Fix action bar emoji labels 2022-04-10 16:07:23 -05:00
Alex Gleason
b3d510911c
StatusInteractionBar: convert to tsx and React.FC 2022-04-04 16:17:02 -05:00
Alex Gleason
d976811cf1
Convert DetailedStatus to tsx, pretty much 2022-04-04 15:55:28 -05:00
Alex Gleason
1a4401ce75
Convert ThreadStatus to tsx 2022-04-04 15:20:17 -05:00
Alex Gleason
aa808be682
Display a thread loading state 2022-04-04 14:44:31 -05:00
Alex Gleason
e88fe4a707
Clean up me usage 2022-04-04 14:24:55 -05:00
Alex Gleason
fdb44d615d
Convert features/status/index to typescript (pretty much) 2022-04-04 14:17:24 -05:00
Alex Gleason
1e3c6d9430
Remove staff util functions, normalize account staff fields 2022-04-01 19:39:32 -05:00
Alex Gleason
99b89d2230
external_video_id hotfix 2022-03-30 14:01:05 -05:00
Alex Gleason
ebc2bf96ac
external_video_id: render card html instead of hardcoding the provider 2022-03-30 11:03:35 -05:00
6d4d96528c quote posts?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-29 20:12:49 +02:00
Alex Gleason
ef0de13c91
Improve dark mode 2022-03-24 18:56:22 -05:00
Alex Gleason
03a5ef6d41
Fix (most) PropType errors 2022-03-23 12:14:42 -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
06b8b407c5 AttachmentThumbs: sensitive tag
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-06 23:39:13 +01:00
bb6e904642 Use gavel icon from Tabler icons
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-26 13:32:54 +01:00
767c3dad7a Merge remote-tracking branch 'soapbox/develop' into modals-stack 2022-02-14 22:32:58 +01:00
c672f7a6ae Don't show 'Bookmark' item menu if not authenticated
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-09 23:11:45 +01:00
a041a4452b Rename modal -> modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-02-02 16:36:20 +01:00
marcin mikołajczak
8fed920bb7 Merge branch 'develop' into 'snackbar-action-link'
# Conflicts:
#   app/soapbox/features/edit_profile/index.js
2022-02-01 08:27:38 +00:00
ae7f2f86a0 Add quoted status tombstone
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27 17:26:39 +01:00
bf7cd98c03 Add 'View' action link to some notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-27 16:00:05 +01:00
8277d78f4c Quote posts: Shift+Click for normal repost
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-25 23:00:30 +01:00
af9b69271b change reblogIcon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 18:47:10 +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
fc0a5aea9c Normalization, process quotes in importFetchedStatuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 16:52:15 +01:00
c5e34de79a Do not use reblogIcon before initialization
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-24 00:18:20 +01:00
289cdcc776 Use dropdown for reposts, do not display cards for quote posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 22:15:25 +01:00
15d4910db5 wip quote post composing
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 18:44:17 +01:00
c0bee9be3c Display quoted posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-23 17:55:03 +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
marcin mikołajczak
9e198902a9 Merge branch 'mentions-modal' into 'develop'
Replace link to /reblogs, require authentication

See merge request soapbox-pub/soapbox-fe!960
2022-01-06 20:10:19 +00:00
bf3272d113 Replace link to /reblogs, require authentication
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 20:55:06 +01:00
marcin mikołajczak
df47c0c789 Merge branch 'mentions-modal' into 'develop'
Turn some pages into modals

See merge request soapbox-pub/soapbox-fe!958
2022-01-06 17:43:46 +00:00
marcin mikołajczak
831a3418f9 Merge branch 'just-messing-around' into 'develop'
Add headers to confirmation modals

See merge request soapbox-pub/soapbox-fe!942
2022-01-06 17:09:08 +00:00
2d3784eb88 Minor changes, port 'Generalize “press back to close modal” to any modal and to public pages' from Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 17:45:10 +01:00
06e3b95a29 change label
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 16:51:34 +01:00
46ca470f01 Turn some pages into modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-06 14:43:58 +01:00
149f677ab4 Merge remote-tracking branch 'origin/develop' into a11y
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-05 22:25:03 +01:00
marcin mikołajczak
3dffc46fc1 Support explicit addressing 2022-01-04 20:06:08 +00:00
11107c6df9 Merge remote-tracking branch 'origin/develop' into just-messing-around
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-01-03 18:52:22 +01:00
marcin mikołajczak
9c6f805499 Remote interactions modal 2022-01-02 20:43:53 +00:00
809b875ae3 Add headlines to confirmation modals
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-30 18:50:02 +01:00
Alex Gleason
1b7c0adc58 Merge branch 'replace-icons' into 'develop'
Replace LineAwesome with Tabler icons in some places

See merge request soapbox-pub/soapbox-fe!915
2021-12-14 19:04:24 +00: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
f52b69ebbb Don't show menu items requiring auth when not authenticated for detailed statuses
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-12-11 21:51:10 +01:00
Alex Gleason
b76bb097f2
Status: protect against infinite context loops 2021-11-23 15:12:50 -06:00
Alex Gleason
1714ac03d2
Status: display a placeholder Card on own links, poll for updated card 2021-11-15 19:10:38 -06:00
d25354013a Use .destructive
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-08 17:21:33 +01:00
287bd6c7f5 Use warning color for delete actions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-07 10:24:09 +01:00
Alex Gleason
0e95a64027
Card: fix empty card icon 2021-11-04 14:57:52 -05:00
Alex Gleason
0b21092281 Merge branch 'more-pull-to-refresh' into 'develop'
Add Pull to Refresh to timelines, Notifications, Chats, Bookmarks

See merge request soapbox-pub/soapbox-fe!854
2021-11-04 19:37:47 +00:00
Alex Gleason
3ad3b5c84a
Status: implement proper Pull to Refresh, refactor horrible status actions 2021-11-04 13:16:28 -05:00
bdb61c14e3 Add icons for status action bars
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-04 19:16:04 +01:00
Alex Gleason
16f6644602
Status: implement actual Pull to Refresh on threads, add PullToRefresh custom component 2021-11-04 12:34:22 -05:00
Alex Gleason
3e3433218c
Column: remove top gap on mobile, implement pulling feedback 2021-11-03 20:35:40 -05:00
1796a35951 Partially fix post navigation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-10-26 17:38:49 +02:00
Alex Gleason
4464a7f19e
Swap out a few more icons for svg icons 2021-10-14 14:14:13 -05:00
Alex Gleason
f70791004b
Chats: add account search 2021-10-14 12:23:51 -05:00
Alex Gleason
e454f402e9
Status: conditional column title depending on visibility scope 2021-10-14 08:49:33 -05:00
Alex Gleason
da79e5a876
Add conditional Chat/DM buttons throughout the interface 2021-10-13 13:55:02 -05:00
Alex Gleason
ecdef1d95b
Placeholder: render placeholder parent status in thread 2021-10-12 20:03:55 -05:00
Alex Gleason
0060667639
Optimistic statuses: add .thread__status className 2021-10-09 21:39:15 -05:00
Alex Gleason
379d03a509
Optimistic statuses: prepend with 末 to sort it at the end 2021-10-09 21:16:37 -05:00
Alex Gleason
03dbd5bfd2
Optimistic threads 2021-10-09 17:47:25 -05:00
Alex Gleason
d6af6468d7
Thread: improve padding between posts 2021-10-09 11:48:03 -05:00
Alex Gleason
891a65b66f
Favourites: display favourites for Mastodon (if exposableReactions is manually toggled) 2021-10-07 18:21:28 -05:00
Alex Gleason
5807b8f823
Thread: display status connectors (basic threading) 2021-10-06 17:50:43 -05:00
Alex Gleason
6e305fd854
DetailedStatus: remove gaps, rename .detailed-status-container to .thread 2021-10-06 13:59:52 -05:00
Alex Gleason
59e7c6538e
Audio: ingest attachment metadata 2021-10-05 00:44:49 -05:00
Alex Gleason
0a4ffc3624
Card: fix icons in embedded video player 2021-10-02 15:02:07 -05:00
Alex Gleason
d85b6742fa
Use SVG icons in more places 2021-09-27 23:47:43 -05:00
Alex Gleason
997375a927
DetailedStatus: fix rounded corners 2021-09-27 15:03:20 -05:00
Alex Gleason
f8bd87c57f
SubNavigation: improve display of DetailedStatus 2021-09-27 14:42:35 -05:00
Alex Gleason
60c3243fcb
SubNavigation: refactor to be contextual based on Column 2021-09-27 13:38:02 -05:00
Alex Gleason
5ac5ef2e38
StatusActionBar: update "share" icon to Feather svg 2021-09-22 13:14:31 -05:00
Alex Gleason
f4be2e87a2
Status: use svg icon for h-menu 2021-09-21 13:52:45 -05:00
Alex Gleason
ce97520b11
DetailedStatus: use svg icons 2021-09-21 13:31:40 -05:00
Alex Gleason
48216659d6
Merge remote-tracking branch 'origin/develop' into next 2021-09-18 16:22:09 -05:00
Alex Gleason
074604a1c9
Put Bookmarks and Lists behind feature flags 2021-09-18 15:03:38 -05:00
Alex Gleason
41f2c6afd6
Status: hide column header and back button 2021-09-12 19:36:18 -05:00
Alex Gleason
33aaffa22d
Use immutable.js consistently 2021-09-12 11:25:44 -05:00
Alex Gleason
ad461343d2
Status: fix propType warnings with OrderedSet 2021-09-11 14:24:54 -05:00
660661451c Conditionally link to emoji reaction list
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-09 20:44:12 +02:00
c80f87efaa Add emoji reacts page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-09-06 21:54:48 +02:00
ThibG
4b4e815e40 Add hotkey for opening media files 2021-08-28 15:22:08 +02:00
Alex Gleason
e5e15fc3f0
Mastodon: conditionally render emojiReacts 2021-08-20 16:16:53 -05:00
Alex Gleason
594cf088ed
eslint: extend 'eslint:recommended' 2021-08-03 14:29:36 -05:00
Alex Gleason
a310197a5a
eslint: prefer-const, no-loop-func, no-const-assign, no-var 2021-08-03 12:36:11 -05:00
Alex Gleason
249c76ffaa Merge branch 'fixes/improve-detailed-status-perfs' into 'develop'
Memoize ancestorIds and descendantIds in detailed status view

See merge request soapbox-pub/soapbox-fe!656
2021-08-03 14:55:36 +00:00
0877574c28 Use OrderedSet
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-03 10:50:08 +02:00
Claire
b01b175fdc Memoize ancestorIds and descendantIds in detailed status view 2021-08-02 17:46:18 +02:00
e5184642fe Put poll options behind content warnings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-08-01 22:14:33 +02:00
5ee92b47ce Keyboard-accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-21 13:58:22 +02:00
13092271de wip accessible emoji picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-07-18 12:53:17 +02:00
Alex Gleason
58c142306d
Rename occurrences of self variable to ownAccount 2021-07-15 11:25:32 -05:00
Alex Gleason
ffbdfb5712
Statuses: refactor visibility of moderator actions 2021-07-15 11:20:15 -05:00
Alex Gleason
92794847bc
Hide AdminFE from non-admin staff users 2021-07-13 10:41:31 -05:00
Alex Gleason
52b14d9d09
Possible crash fix: defensive checks of this.node 2021-07-11 17:50:30 -05:00
Alex Gleason
d9202baa58
Simplify greentext code 2021-07-01 20:41:03 -05:00
Alex Gleason
bbeecddc37
Greentext support 2021-06-30 21:39:27 -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
78c55e8798 status.favourite: like
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:56:23 +02:00
f8deb13345 status.favourite: favorite
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 22:50:27 +02:00
998e129072 Reaction labels
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-30 11:33:42 +02:00
2df8b927ea Allow translating more strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-06-27 00:04:27 +02:00
Alex Gleason
dedac70e58
Fix display of multiple rich media items 2021-06-16 15:20:14 -05:00
Alex Gleason
4d22bdfe28
Fix video meta dimensions 2021-05-17 17:02:23 -05:00
Alex Gleason
60f4385fe6
Card: ignore dimensions for links 2021-05-13 15:44:39 -05:00
Alex Gleason
93e866c7ad
Always display embed description, even in timelines 2021-05-12 12:13:10 -05:00
Alex Gleason
87fd056d57
Stack link previews on mobile 2021-05-11 22:35:02 -05:00
Alex Gleason
b2fde53adc
Improve link previews 2021-05-11 18:15:39 -05:00
Alex Gleason
c6e6c07f49
Rich media improvements, fixes #633 2021-05-11 16:54:12 -05:00
Alex Gleason
55902f1d80
Emoji reacts: use hover or click depending on isUserTouching, fixes #629 2021-05-02 15:55:10 -05:00
Alex Gleason
4e7d7ac378
startsWith('tombstone-') --> endsWith('-tombstone') 2021-04-21 18:28:43 -05:00
Alex Gleason
d186aefeec
"no longer available" --> "unavailable" 2021-04-21 15:37:30 -05:00
Alex Gleason
8cdb0581d3
Tombstone: work for descendants, too 2021-04-21 15:25:18 -05:00
Alex Gleason
87029e8abf
Display tombstone in place of deleted post, #138 2021-04-21 14:47:39 -05:00
Alex Gleason
ebef1ece7a
Conservative rich media parsing 2021-03-06 23:38:26 -06:00
Sean King
9309ef4893
Fix merge conflicts 2021-01-18 20:09:35 -07:00
Sean King
39b50e8fe1
Add moderator button for marking posts sensitive or not sensitive 2021-01-18 19:59:07 -07:00
Alex Gleason
498471958b
Use short names for admin quick actions 2021-01-18 18:25:36 -06:00
Alex Gleason
c80797ccf8
Admin: delete status directly from menu 2021-01-18 15:57:20 -06:00
Alex Gleason
926335b268
Add "deactivate" and "delete" user modals to every status and account profile 2021-01-18 15:27:35 -06:00
Alex Gleason
e4344c9561
Let allowedEmoji be customizable by the admin, fixes #538 2020-12-24 18:17:53 -06:00
Alex Gleason
f587369af0
RemoteTimeline: click favicon to visit remote timeline 2020-12-24 16:57:53 -06:00
Sean King
df85d707bb
Alternative fix without setState in ComponentDidMount 2020-10-29 09:30:08 -06:00
Sean King
3a1bb8f19b
Make display media option work properly 2020-10-29 08:41:43 -06:00
Alex Gleason
0bbdaa4191
eslint: trailing comma fixes, unused var 2020-10-07 13:08:36 -05:00
Alex Gleason
3d81dd2892
DetailedStatus: fix link on display name 2020-09-27 23:53:43 -05:00
Alex Gleason
72659f27c1
Hovercard: attach to each element for better positioning 2020-09-11 12:17:32 -05:00
Alex Gleason
24bf880e0b
Hovercard: refactor detailed status 2020-09-11 11:42:02 -05:00
Alex Gleason
4630a5cd04
Hovercard: mouseout clears the card 2020-09-10 20:18:04 -05:00
Alex Gleason
fd971f053f
Scroll detailed status into view, fixes #257 2020-09-09 15:03:26 -05:00
Alex Gleason
5f25ddb27c Merge branch 'bookmark_detailed_status' into 'develop'
Add bookmark button to detailed status action bar view, fixes #366

Closes #366

See merge request soapbox-pub/soapbox-fe!196
2020-09-03 17:57:12 +00:00
Alex Gleason
865d251ae0
Favicons: empty alt text 2020-09-03 00:26:50 -05:00
Alex Gleason
4b1606e8dd
Favicon: refactor, show domain in alt/title 2020-09-02 22:38:04 -05:00
Alex Gleason
a98fadb4d4
Show remote favicons on statuses, #258 2020-09-02 21:40:26 -05:00
Sean King
f9d7da0d51
Add bookmark button to detailed status action bar view 2020-08-30 23:09:02 -06:00
Alex Gleason
9afac986fb
Refactor oembed card to work with videos on Pleroma 2020-08-15 19:40:08 -05:00
Mary Kate
5349045e51 Revert "only render emoji selector in the dom when needed"
This reverts commit 769a512445.
2020-08-10 15:06:39 -05:00
Mary Kate
42a7a61ce7 border radius fixes 2020-08-10 15:05:24 -05:00