Commit Graph

609 Commits

Author SHA1 Message Date
Thibaut Girka
fae9e34484 Add button to edit media description from missing description confirmation dialog 2019-08-20 11:33:35 +02:00
Thibaut Girka
dff4ccd7e9 Remove code for giving focus to first media without description
Since the textarea is in a modal, now…
2019-08-20 10:55:03 +02:00
Thibaut Girka
a334cbcb20 Move character counter to the options box to match upstream styling 2019-08-19 21:56:25 +02:00
ThibG
ab0961fe9a [Glitch] Improve focal point modal on mobile
Port 2ca6b2bb6c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
ThibG
fcd2244015 [Glitch] Allow clicking behind preview
Port d37126fd03 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
91d968bf72 [Glitch] Fix edit media modal on small screens, touch events
Port 1bea318197 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
5c35c9c409 [Glitch] Fix tesseract.js being part of the common chunk
Port dfe6059889 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Eugen Rochko
41c7fec796 [Glitch] Add OCR tool to media editing modal
Port 28636f43e4  to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Thibaut Girka
066034c62e Refactor character counter to match upstream 2019-08-19 21:56:25 +02:00
Eugen Rochko
ab019800f8 [Glitch] Add media editing modal
Port 23f7afa562 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-19 21:56:25 +02:00
Thibaut Girka
b859eb0017 Honor system_emoji_font in the Emoji Picker 2019-08-12 23:01:37 +02:00
Eugen Rochko
42588ed460 [Glitch] Fix "cancel follow request" button having unreadable text in web UI
Port e823b49214 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-12 16:49:12 +02:00
Thibaut Girka
d10f6036cf Implement keyboard navigation in glitch-soc composer 2019-08-06 16:36:18 +02:00
Thibaut Girka
6d2b0fa3f0 Refactor composer Dropdown's component a bit to make it closer to upstream 2019-08-06 15:09:30 +02:00
Thibaut Girka
68eb58b805 Fix color of dropdown icons 2019-08-05 14:25:48 +02:00
ThibG
f02ffce249 [Glitch] Change icon button styles to make hover/focus states more obvious
Port c8fd823327 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-05 14:20:21 +02:00
ThibG
8b57d704dc [Glitch] Disable list title validation button when list title is empty
Port 089c641020 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-08-05 13:22:27 +02:00
Thibaut Girka
ff0ceb28b3 Remove link rewriting option as it is easily bypassable 2019-08-04 22:25:56 +02:00
Thibaut Girka
df866a464d Add options to highlight misleading links in statuses
Fixes #1162
2019-08-04 22:25:56 +02:00
Thibaut Girka
49a28e69a5 Move decodeIDNA to app/javascript/flavours/glitch/util 2019-08-04 22:25:56 +02:00
ThibG
f48c7689d2
Merge pull request #1179 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-07-29 23:37:14 +02:00
Thibaut Girka
a4a81c5434 Fix crash in /web/lists
Fixes #1181
2019-07-29 00:34:39 +02:00
Eugen Rochko
51411267fd [Glitch] Add search results pagination to web UI (#11409)
Port 8a4674f2c3 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-28 17:10:52 +02:00
ThibG
c1231a846a [Glitch] Play animated custom emoji on hover
Port 7de8c51873 to glitch-soc
2019-07-23 16:24:21 +02:00
Thibaut Girka
6db5669818 Clean up redundant shouldUpdateScroll definitions 2019-07-21 20:57:42 +02:00
Eugen Rochko
e58af04287 [Glitch] Fix mutes, blocks, domain blocks and follow requests not paginating
Port ea7ad59af2  to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
ThibG
bd7b1538f1 [Glitch] Fix followers and followings on account profiles
Partial fix from 55abff8af7

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
Jakub Mendyk
c614abb95d [Glitch] Fix followers/follows layout issues from #8418
Port ceed1ebe5b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
Thibaut Girka
b294b5956b Add empty column message to bookmarks column 2019-07-21 20:57:42 +02:00
Jakub Mendyk
e9f88f4005 [Glitch] Add messages informing that collections are empty
Port 5129f6f2aa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-21 20:57:42 +02:00
Eugen Rochko
e91bf82083 [Glitch] Add option to disable real-time updates in web UI
Port 729723f857 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-16 16:51:08 +02:00
Thibaut Girka
16b79a6237 Add options to configure filtering behavior 2019-07-15 00:48:28 +02:00
ThibG
64f3bc77ac [Glitch] Only scroll to the compose form if it's not horizontally in the viewport
Port c07cca4727 to glitch-soc
2019-07-07 14:03:12 +02:00
ThibG
47c30be8d8 [Glitch] Memoize ancestorIds and descendantIds in detailed status view
Port 99924f282f to glitch-soc
2019-07-04 16:26:17 +02:00
Thibaut Girka
9d6b46fe34 Minor optimization regarding regexp filtering in timelines 2019-07-01 19:31:21 +02:00
Thibaut Girka
82cd138c89 Fix some React warnings 2019-07-01 19:30:59 +02:00
Eugen Rochko
662252c8f7 [Glitch] Add categories for custom emojis
Port front-end changes from e64e6a03dd to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-28 21:42:37 +02:00
ThibG
4d964398de [Glitch] Fix swiping columns on mobile sometimes failing
Port 072158ee97 to glitch-soc
2019-06-28 21:38:34 +02:00
ThibG
43698e08ca [Glitch] Add message telling FTS is disabled when no toot can be found because of this
Port ca8944728f to glitch-soc
2019-06-28 18:54:56 +02:00
Thibaut Girka
6ad870a410 Change search components classes and styling to match upstream 2019-06-28 11:13:41 +02:00
ThibG
4175f13155 [Glitch] Add option to disable blurhash previews
Port 3086c645fd to glitch-soc
2019-06-26 23:19:26 +02:00
Thibaut Girka
9ef25877df Scroll to compose form rather than reply indicator on focus 2019-06-26 10:46:11 +02:00
Thibaut Girka
598cdc9542 Use a different icon for audio attachments 2019-06-24 16:16:16 +02:00
Eugen Rochko
967456b6a9 [Glitch] Add audio uploads
Port front-end changes from f7f23b4a19 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-24 16:00:42 +02:00
Thibaut Girka
38d2882447 Fix NavigationBar styling 2019-06-20 19:19:46 +02:00
Thibaut Girka
bb9459774d Add NavigationBar to getting started column in single-column mode
Fixes #1131
2019-06-20 19:19:46 +02:00
Thibaut Girka
f4b008906d Change preferences link in local settings modal from sliders to cog for consistency 2019-06-19 15:19:23 +02:00
Thibaut Girka
a06e7bc3fb Change plaintext icon in composer options 2019-06-19 07:03:17 +02:00
Thibaut Girka
d3aaacb6d4 Do not scroll in the compose panel on single-column 2019-06-16 19:13:22 +02:00
Thibaut Girka
e433386545 Fix replying not automatically switching to compose form on mobile 2019-06-14 20:37:54 +02:00
ThibG
7b68e1725c [Glitch] List attachments in boost modal
Port dd45c63921 to glitch-soc
2019-06-13 22:28:51 +02:00
ThibG
80849812d2 [Glitch] Fix ordering of keyboard access between CW field, textarea and emoji picker
Port b4d67fe57a to glitch-soc
2019-06-13 22:15:31 +02:00
ThibG
d1edbfaed3 [Glitch] Only show profile directory link when it's enabled
Port 1b4dcc3f78 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
0f41be5581 Fix notification badge 2019-06-13 22:15:31 +02:00
Thibaut Girka
a773d02946 Add hints to make local settings about layout more explicit 2019-06-13 22:15:31 +02:00
Thibaut Girka
44b1a39682 Replace link to favourites with link to bookmarks 2019-06-13 22:15:31 +02:00
Thibaut Girka
9400ec43cc Fix navigation panel 2019-06-13 22:15:31 +02:00
Thibaut Girka
127ead34c4 Restore navigation bar position glitch-soc setting 2019-06-13 22:15:31 +02:00
Thibaut Girka
b191861e15 Use forceSingleColumn only in automatic layout mode 2019-06-13 22:15:31 +02:00
Thibaut Girka
7fd8797d20 Add app settings link to single-column mode 2019-06-13 22:15:31 +02:00
Eugen Rochko
362f3973be [Glitch] Fix some React warnings
Port cc8f6b3cda to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Wenceslao Páez Chávez
867d1233c7 [Glitch] Fix overlap of emoji button on search popup
Port fe3bf3b0fc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Takeshi Umeda
8f924eb961 [Glitch] Fix emoji picker being always displayed
Port c402c291f4 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
a5398c3df8 [Glitch] Add profile directory link to single column navigation panel
Port 6077eca240 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Takeshi Umeda
1329308bc7 [Glitch] Improvement variable height in single column layout
Port d93b82af87 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
763735f92e [Glitch] Refactor footers in web UI into a single component
Port 451e5980b6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Hanage999
c095eed121 [Glitch] Fix wrong redirect from getting started to home in advanced Web UI
Port 4a818ac2de to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
ff88387a4a [Glitch] Improvements to the single column layout
Port 0e445ebb13 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
d99a661f08 [Glitch] Add responsive panels to the single-column layout
Port 1e5532e693 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
0bd9f23e6d [Glitch] Various improvements to single column layout
Port 84dc21d55d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
610b4b44c4 [Glitch] Add single-column mode
Port 9ddeb30f90 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
fe5c4f976c Fix clicking on the elefriend 2019-06-13 13:49:05 +02:00
Thibaut Girka
32bdff09c1 Properly handle unboosting statuses from detailed view
Fixes #1106
2019-06-12 10:12:51 +02:00
Thibaut Girka
b551d8aa53 Fix unboost confirmation dialog not showing up on detailed statuses 2019-06-10 16:24:09 +02:00
Thibaut Girka
ccfb48d3eb Add option to display a warning before boosting toots lacking media descriptions 2019-06-10 16:24:09 +02:00
Thibaut Girka
d61a6271c6 Add DM conversations mode similar to upstream 2019-06-10 16:23:42 +02:00
Eugen Rochko
aec3fa35fd [Glitch] Fix not being able to directly switch between list timelines in web UI
Port 5bfd802c57 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-07 17:39:46 +02:00
Jeong Arm
b32a62fe95 [Glitch] Scroll to compose form when focus
Port 8f3c32e29c to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-07 17:39:46 +02:00
Thibaut Girka
a7f6e72b30 Fix CW field automatically getting the focus when it is always enabled 2019-06-06 13:26:42 +02:00
slice
e04724296b Remove isRequired from Glitch ReplyIndicator status
This can be null under normal circumstances, which isRequired doesn't
like.
2019-05-30 09:04:00 +02:00
Thibaut Girka
6d60701bfa Fix video player regressions introduced by blurhash merge 2019-05-27 19:43:15 +02:00
Thibaut Girka
b4d4138cf9 [Glitch] Add keyboard shortcut to hide/show media
Port a472190729 and 988342a56c to glitch-soc
2019-05-27 19:43:15 +02:00
Thibaut Girka
4fbce23992 Refactor contentType selection in glitch composer 2019-05-20 10:27:31 +02:00
Thibaut Girka
9df1ef87c2 Hide content-type dropdown by default 2019-05-17 23:51:14 +02:00
Haelwenn (lanodan) Monnier
c2fa36bbae Content-Type Dropdown: use the selected option icon for the menu
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17 23:51:14 +02:00
KokaKiwi
f34a402a94 Add status content type dropdown to compose box.
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-17 23:51:14 +02:00
Thibaut Girka
3ea5c045d7 Use a checkbox for the “Mark media as sensitive” composer button
Fixes #1039
2019-05-11 12:35:38 +02:00
ThibG
fe00f7a7e4
Merge pull request #1043 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
2019-05-11 12:35:25 +02:00
Aurélien Reeves
96f0747afe [Glitch] Add confirm modal for unboosting toots
Port fe8a8f779e to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-10 18:56:01 +02:00
Thibaut Girka
d4d4e84324 Fix media description confirmation modal
Fixes #1040
2019-05-10 11:49:00 +02:00
Thibaut Girka
2c767f44bf Fix front-end crash when a video has a blurhash and is hidden behind a CW 2019-05-07 22:33:37 +02:00
Thibaut Girka
89d2859296 Fix content warning button displaying a link icon when no status card is set 2019-05-05 21:47:05 +02:00
Kirishima21
8383222026 fix pinned columns ’s Media-only button
Media-only toggles could not be used on pinned columns.
The commit fixes this problem.
2019-05-05 20:54:21 +02:00
Eugen Rochko
f59973cc85 [Glitch] Make the "mark media as sensitive" button more obvious in web UI
Port 05ef3462ba to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 20:41:21 +02:00
Thibaut Girka
b1ab4d5ebe Add visibility icon back in media gallery 2019-05-04 20:06:17 +02:00
Thibaut Girka
cbda1b8b66 Add back description on hover 2019-05-04 20:03:37 +02:00
ThibG
b7f69beebe [Glitch] Make the cursor icon consistant across media types in account media gallery 2019-05-04 19:16:51 +02:00
Eugen Rochko
bc97fd641f [Glitch] Add button to view context to media modal
Port eb63217210 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 19:10:24 +02:00
Eugen Rochko
a5da59f140 [Glitch] Change account gallery in web UI
Port 3f143606fa to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:54:57 +02:00
Eugen Rochko
ccf4f3240a [Glitch] Add blurhash
Port front-end changes from fba96c808d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00