Commit graph

857 commits

Author SHA1 Message Date
c91fe8fd5b Directory page UI update
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-01 20:43:36 +02:00
66d1334539 Directory account card update
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-01 20:30:37 +02:00
ee5f1823ad Visual improvements, mostly
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-07-01 01:47:38 +02:00
a4e185eedd Remove navbar
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-30 11:52:39 +02:00
5d4bbce324 Remove logo from navbar, hide navbar on mobile
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-28 23:42:44 +02:00
d62232b83b Groups fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-28 19:54:29 +02:00
e82b9bc579 Groups fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-23 19:29:18 +02:00
b03256b53b Hotkeys: Navigate to search page if input is not available
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-23 19:18:03 +02:00
4541e497ac Black theme: Fix group card color
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-21 13:08:56 +02:00
5f8c9427bf Remove some group-related stuff
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-18 23:59:15 +02:00
dd5b1359c1 Improve pending status display
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-15 23:29:38 +02:00
f15e06b8f3 Fix compose bugs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-15 23:24:20 +02:00
e7188e90e4 Disable groups
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-14 12:13:15 +02:00
8029fc0e95 Prefer getNextLink
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-13 23:55:37 +02:00
b8a19ff794 Fix text compose
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-13 23:46:41 +02:00
948f272e37 Interaction circles
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-13 23:39:54 +02:00
c074a86113 Groups: Do not display duplicated create button
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-13 12:36:23 +02:00
6a39428ce9 it was supposed to be the other way
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-06 14:07:58 +02:00
6234f1b5b8 Optimistically increase quotes count
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-06 00:39:36 +02:00
3111002511 Update timeline when pinning posts
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-06 00:31:53 +02:00
0fea7460be Make RSS button more visible
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-04 14:47:38 +02:00
9a1f6a16ab Move compose form buttons to left on mobile
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-04 13:57:45 +02:00
ce67cb537f Fix padding for black theme
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-04 11:52:54 +02:00
3037410bd5 Fix translateStatus
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-02 17:08:21 +02:00
Alex Gleason
84645bfd44 HomeTimeline: fix padding-top on mobile 2024-06-02 17:02:12 +02:00
Alex Gleason
76158a8f98 SearchResults: add a spinner when trending posts are loading 2024-06-02 17:02:07 +02:00
Alex Gleason
d6cc7f19f1 SearchResults: fix borders dividing posts 2024-06-02 17:02:03 +02:00
Alex Gleason
9ca08fc170 Condense feeds on mobile
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-02 17:02:00 +02:00
2c37fe26e4 Focus selected in LanguageDropdown
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-02 16:49:05 +02:00
36dc15022d Fix language dropdown
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-06-02 16:44:54 +02:00
22973a5eb3 LanguageDropdown: clear on close
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-31 18:54:51 +02:00
9bac37b59f wtf
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-29 13:14:50 +02:00
fff4077c73 Use a better regex for mentions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-29 13:14:22 +02:00
02d1c5dcff Don't truncate bio on profile page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-28 17:44:05 +02:00
fda1849882 Revert "Don't fetch soapbox.json if frontend_configurations is available"
This reverts commit e1de76ae01.

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-28 16:54:55 +02:00
Alex Gleason
1087edbc69 rename
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-28 16:54:25 +02:00
Alex Gleason
8a2f6d251e Remove unused notification type
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-28 16:52:24 +02:00
Alex Gleason
e1de76ae01 Don't fetch soapbox.json if frontend_configurations is available 2024-05-28 00:11:44 +02:00
ed9dc9eee3 Multilanguage posting
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-28 00:11:28 +02:00
a20e57e062 Fix URL params
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-26 09:17:13 +02:00
6daa4672d2 Fix fetch (missing request headers etc.)
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-23 18:16:10 +02:00
8ea94e548b Use correct styles for WYSIWYG editor
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-23 17:53:23 +02:00
8cff66736d WIP multilang posting
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-23 17:50:12 +02:00
8536bf6f67 Make compose box more densed
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-18 15:54:27 +02:00
15ad2ea91f Client-side language detection
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-18 15:47:36 +02:00
0d2b7f026f Feature-gate language picker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-18 12:14:41 +02:00
38a3d12e58 Fix ImageComponent style
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-17 23:33:33 +02:00
d30d276a0f Only display HTML if supported
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-17 23:30:57 +02:00
c4d085c767 Bring back the WYSIWYG editor
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-17 23:30:27 +02:00
32db7c6fad Remember frequently used languages
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-17 18:49:27 +02:00
2e43f8967f Allow HTML, add language picker
Utilizes code from Mastodon LanguageDropdown: https://github.com/mastodon/mastodon/blob/main/app/javascript/mastodon/features/compose/components/language_dropdown.jsx

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-16 22:19:34 +02:00
4ceef0fe81 Compose form design changes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-15 18:57:59 +02:00
1aafe10e99 Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-15 13:58:10 +02:00
cb3a900d39 exports?
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-13 19:00:42 +02:00
a58c52631e Arrow functions and so
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-13 01:18:04 +02:00
615ec68931 Fix error handling
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-12 19:52:16 +02:00
ec918d497d Fix FormData
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-12 19:43:57 +02:00
47b01ca078 Add missing list keys
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-12 19:32:08 +02:00
d6ee14cb99 Fix media upload 2024-05-12 19:31:45 +02:00
cb7976bd3d prefer arrow functions
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-12 15:24:15 +02:00
afa677a375 Fix content-type for formdata
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-12 07:58:47 +02:00
f3165877f2 Replace axios with fetch
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-12 00:06:22 +02:00
2f57d0a5bd Fix notification marker
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-11 23:59:08 +02:00
001234dae1 Use animated number for counters
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-05 14:48:57 +02:00
3e8989c0b0 Improve and enable animated number display
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-05 14:46:22 +02:00
5a8a13a136 add no-reduce-motion as tailwind variant
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-05 14:22:10 +02:00
bacd220771 Animate sidebar menu
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-05 14:17:47 +02:00
8fb6bf60ac Dropdown menu links should close the media modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-05 12:21:21 +02:00
2c433c15e1 Fix links in actions modal
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-05 12:19:55 +02:00
2fc245f871 Add missing style back
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-05 12:05:25 +02:00
3dd3e67a63 Make search bar sticky on search results page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-04 21:10:18 +02:00
2236414a30 Menu cleanup, avoid capitals in strings
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-04 20:58:03 +02:00
5f4a9b5b45 Remove links from footer
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-04 17:44:54 +02:00
4b3cc9e67b Fix unread notification count
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-03 17:15:01 +02:00
a64bd537f4 Fix fetching more notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-03 15:59:42 +02:00
c2959f2137 Group notifications/reposts fetched from the same page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-03 15:55:10 +02:00
167b293e9b update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-03 15:27:09 +02:00
aeb4743a9d Remove unused feature
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-03 15:23:53 +02:00
5d28e9609a Join some notification filters, add filter for event-related notifications
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-03 15:00:42 +02:00
3d12df2c37 Feature-gate notification types
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-03 11:55:45 +02:00
5d39418e64 Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-01 19:52:30 +02:00
48979df810 Move remote sign in button to sign in page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-01 19:50:26 +02:00
e82c67726e Add link to remote sign in page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-01 19:24:08 +02:00
5bdb406b93 Style improvements and fixes
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-01 19:19:21 +02:00
f720e60b49 Remove unused code and dependencies
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-05-01 19:13:53 +02:00
9668846ff0 Infer quote_id from links in status content
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-30 22:30:38 +02:00
1d177831fe Remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-30 21:56:02 +02:00
5fe108b6a5 Change default configs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 23:46:53 +02:00
9c5e3a98e0 Mention repost author when replying to a reposted status
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 23:38:49 +02:00
775d272254 Use gap instead of space in Stack and HStack
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 23:16:59 +02:00
a70e2f1381 Check canvas export permission when initializing FaviconService
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 23:12:30 +02:00
00402f1dfb Update Lists list UI, fix reply mentions modal overflow
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 18:59:16 +02:00
8f963a64ba Remove Nostr-related stuff
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 18:43:33 +02:00
040753e3e6 Improve black emojis accessibility
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 18:31:39 +02:00
665895f8fe More cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 18:29:02 +02:00
b338662227 Merge remote-tracking branch 'mkljczk/fork' into fork 2024-04-29 17:28:46 +02:00
83cc802ecd Styles cleanup, might break stuff
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 17:27:52 +02:00
Marcin Mikołajczak
99b9d856a3
Merge branch 'soapbox-pub:main' into fork 2024-04-29 16:03:04 +02:00
0ab9118dc4 Styles cleanup, I guess
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 15:49:09 +02:00
52b1fa884d Also add border to StatusHoverCcard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-29 10:11:08 +02:00
2b33d1d6aa Rename project to pl-fe
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 23:09:10 +02:00
7ae2b4282f Fix some settings, move them back to Settings page
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 22:47:49 +02:00
096c005a94 Truncate account note in ProfileHoverCard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 21:13:48 +02:00
a83a871963 Black theme improvements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 21:06:26 +02:00
Alex Gleason
d2a28ea3c9
Support the full NIP-46 protocol 2024-04-28 11:13:54 -05:00
4d75987b3f Merge branch 'sensitive' into fork 2024-04-28 15:27:15 +02:00
231fe8c0f3 Merge branch 'drafts' into fork
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 15:27:01 +02:00
18b3a73a49 Merge branch 'missing-description-confirmation' into fork 2024-04-28 15:25:26 +02:00
43cc692c37 Announcement reactions fix
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 15:23:57 +02:00
9a089bb168 Remove more unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 15:18:13 +02:00
b9e5358cd7 Remove unused code
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 14:58:09 +02:00
0308aec65b Remove Truth Social-specific features
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 14:50:23 +02:00
5ba66f79ba Revert 4c31cf2b
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 12:06:38 +02:00
fd65f7f71e Prefer to/href for DropdownMenuItems
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-28 11:32:56 +02:00
Alex Gleason
d7b9cb3e67
Upgrade TypeScript to v5.4.5 2024-04-26 17:36:22 -05:00
Alex Gleason
22586004e8
NIP-46: stringify event object in accordance with updated spec 2024-04-25 21:47:13 -05:00
aace58ccb4 Fix role badges for Pleroma
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-24 17:02:55 +02:00
Alex Gleason
5f838b5e52
useAnnouncements: avoid toSorted 2024-04-23 18:05:51 -05:00
9a5f2bbc77 Merge expandSpoilers and displayMedia into a single option
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-21 22:07:50 +02:00
a5ab595446 Update en.json
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-21 19:10:06 +02:00
5f98175a32 Improve sensitive content logic, remove 'status under review'
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-21 19:07:14 +02:00
1b73a1fbc3 Black theme: set counter ring color
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-18 23:51:04 +02:00
Alex Gleason
b86da5f426
Badge: fix page crash when color isn't defined
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1650
2024-04-16 15:35:50 -05:00
marcin mikołajczak
1518615767 Merge branch 'mastodon-badges' into 'main'
Support role badges on Mastodon

See merge request soapbox-pub/soapbox!2985
2024-04-16 10:49:48 +00:00
marcin mikołajczak
fa34fa3652 Merge branch 'announcements' into 'main'
Use react-query and zod for announcements

See merge request soapbox-pub/soapbox!2990
2024-04-15 20:39:35 +00:00
marcin mikołajczak
5f515524f8 Merge branch 'persist-instance' into 'main'
Fix instance persistence in indexeddb

See merge request soapbox-pub/soapbox!2991
2024-04-15 20:29:12 +00:00
f90a1618d2 Allow to change folder for an existing bookmark
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-13 13:25:37 +02:00
7a8b473406 Fix instance persistence in indexeddb
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-10 00:03:18 +02:00
10db5c264d Merge remote-tracking branch 'origin/main' into announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-09 23:41:53 +02:00
161db37ba0 Use react-query and zod for announcements
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-09 23:38:09 +02:00
4dec7a4111 yarn i18n
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 12:06:42 +02:00
890975fe93 Dashboard: hooks cleanup
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 12:03:10 +02:00
9375f1f117 Allow managing instance rules
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 11:07:32 +02:00
b36b636493 Merge remote-tracking branch 'origin/main' into dashboard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 10:02:10 +02:00
771c9643dc Switch admin log to react-query
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 09:52:54 +02:00
f06ec3469b Merge remote-tracking branch 'origin/main' into dashboard
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-07 09:14:33 +02:00
Alex Gleason
199f534892
Redirect NIP-19 IDs 2024-04-06 20:50:10 -05:00
Alex Gleason
00aa373997
useEntityLookup: fix lookup redirect 2024-04-06 20:45:54 -05:00
Alex Gleason
2c9bdf03a4
StatusActionBar: get external domain from status.uri instead of fqn 2024-04-06 19:39:41 -05:00
f69d1d95e4 Support Mastodon rule hints
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-06 09:36:18 +02:00
e3a87a0326 Support role badges on Mastodon
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-05 17:12:12 +02:00
3a27967846 Add ability to reorder uploaded media before posting in web UI
Based on Gargron's changes in Mastodon: https://github.com/mastodon/mastodon/pull/28456

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-05 14:00:15 +02:00
marcin mikołajczak
35620a7330 Merge branch 'missing-alt-description' into 'main'
Add optional indicator for attachments without description

See merge request soapbox-pub/soapbox!2982
2024-04-04 09:24:17 +00:00
8ef1de5f7a Merge remote-tracking branch 'origin/main' into missing-description-confirmation
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-04 11:05:04 +02:00
d3c0604599 Add optional indicator for attachments without description
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-04 11:02:15 +02:00
marcin mikołajczak
9ef7521e39 Merge branch 'indicate-quote' into 'main'
Indicate that quoted post quotes another post

Closes #1465

See merge request soapbox-pub/soapbox!2980
2024-04-04 08:53:34 +00:00
Alex Gleason
28422b4518
useSignerStream: fix first event signing right after logging in 2024-04-03 17:59:34 -05:00
a75a3cdc37 Indicate that quoted post quotes another post
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-04 00:30:57 +02:00
marcin mikołajczak
1e79d6a903 Merge branch 'site-preview-z-index' into 'main'
Fix SitePreview z-index

See merge request soapbox-pub/soapbox!2978
2024-04-03 22:22:18 +00:00
75be34ce45 Move missing description confirmation setting back to Settings, add optional indicator for attachments without description
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-04-04 00:12:36 +02:00