Thibaut Girka
0530c8d3b8
Fix typo and crash in StatusIcons
2019-07-18 09:42:22 +02:00
Thibaut Girka
5eca68102a
Shorten status icon tooltip text
2019-07-17 21:35:34 +02:00
Thibaut Girka
0b139b1df4
Add status icon for local-only toots
2019-07-17 21:35:34 +02:00
Thibaut Girka
85654916b7
Add tooltips to status icons
2019-07-17 21:35:34 +02:00
Eugen Rochko
f1de5093fb
[Glitch] Add option to disable real-time updates in web UI
...
Port c56e6fd7a1
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-07-16 16:51:08 +02:00
Thibaut Girka
9339b4634e
Minor refactoring
2019-07-15 00:48:28 +02:00
Thibaut Girka
59b8573907
Move the “Show why” button inline
2019-07-15 00:48:28 +02:00
Thibaut Girka
fde918bf92
Implement feature to add filtered phrases to content warnings
2019-07-15 00:48:28 +02:00
Thibaut Girka
6476b7dabe
Add options to configure filtering behavior
2019-07-15 00:48:28 +02:00
Thibaut Girka
67d1b0c997
Add a way to know why a status has been filtered, and show it anyway
2019-07-15 00:48:28 +02:00
Thibaut Girka
1181f84c79
Minor cleanup and maybe minor performance improvements
2019-07-01 19:31:21 +02:00
Thibaut Girka
bcbc9ed7f6
Use strict equality rather than Immutable.is as the compared props are values
2019-07-01 19:31:10 +02:00
Thibaut Girka
e4ffc42c8c
Assume children of visible IntersectionObserverArticle always change
...
This fixes multiple issues, while adding few computations
2019-07-01 19:31:10 +02:00
Thibaut Girka
b9ae9c7205
Revert to using upstream's optimisations
...
This *does* break things, as `shouldComponentUpdate` assume the
children to never change!
2019-07-01 19:31:10 +02:00
Thibaut Girka
081790f04b
Fix error boundary DOM
2019-07-01 19:30:59 +02:00
Thibaut Girka
edad7f2a6c
Fix some React warnings
2019-07-01 19:30:59 +02:00
ThibG
dd97db20d0
[Glitch] Add option to disable blurhash previews
...
Port 4b3d91dc2c
to glitch-soc
2019-06-26 23:19:26 +02:00
Thibaut Girka
b99f77bd31
Use a different icon for audio attachments
2019-06-24 16:16:16 +02:00
Eugen Rochko
a0abbbe8cd
[Glitch] Add media description as title to links of unknown media attachments
...
Port front-end changes from a266d7f1a2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-24 16:00:42 +02:00
Eugen Rochko
b02325e820
[Glitch] Add audio uploads
...
Port front-end changes from d7e2f554fb
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-24 16:00:42 +02:00
Eugen Rochko
3a70752ab5
[Glitch] Fix some React warnings
...
Port 5c1a46bdcf
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Takeshi Umeda
2a1e7f779b
[Glitch] Improvement variable height in single column layout
...
Port 96ac52dabd
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
9cdb0fd8c5
[Glitch] Improvements to the single column layout
...
Port 6d4af23a69
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
04edd3fbdb
[Glitch] Add responsive panels to the single-column layout
...
Port a1bceb2cb6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Eugen Rochko
aa9377f77a
[Glitch] Add single-column mode
...
Port f9ca3d62b6
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-13 22:15:31 +02:00
Thibaut Girka
765b25f1cf
Minor cleanup
2019-06-10 16:24:09 +02:00
Thibaut Girka
7dd32100c3
Add DM conversations mode similar to upstream
2019-06-10 16:23:42 +02:00
Jeong Arm
a473a7912b
[Glitch] Scroll to compose form when focus
...
Port 91ae2d1275
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-06-07 17:39:46 +02:00
Thibaut Girka
1501b142d2
Fix expanding status from menu modal in glitch-soc
...
Fixes #1085
2019-06-02 14:11:32 +02:00
slice
fb0489022c
Fix incorrect PropType in Glitch AutosuggestInput
2019-05-30 09:04:00 +02:00
Thibaut Girka
c1619a5c24
[Glitch] Add keyboard shortcut to hide/show media
...
Port 7ee189fa60
and 9e238804ea
to glitch-soc
2019-05-27 19:43:15 +02:00
Eugen Rochko
8050f86d04
[Glitch] Make the "mark media as sensitive" button more obvious in web UI
...
Port cc39785d45
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 20:41:21 +02:00
Eugen Rochko
3b9ff1fa34
[Glitch] Change account gallery in web UI
...
Port db73f8e585
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:54:57 +02:00
Eugen Rochko
87a7a9a4df
[Glitch] Add blurhash
...
Port front-end changes from a6d2fe7165
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
2019-05-04 18:07:44 +02:00
Thibaut Girka
02bd678944
Add keyboard shortcut to collapse/uncollapse toots
2019-04-28 20:23:04 +02:00
Thibaut Girka
7ed89e9178
Add hotkey for bookmarking a toot
2019-04-28 20:23:04 +02:00
Thibaut Girka
b40841b488
Hide suggestions by default
...
They will be enabled if the input has focus
2019-04-26 22:38:03 +02:00
Thibaut Girka
4155a1556a
Add emoji suggestion to poll options
2019-04-26 22:38:03 +02:00
Thibaut Girka
b35b38f4ea
Add suggestions in CW field
2019-04-26 22:38:03 +02:00
Thibaut Girka
ce2da44c2c
Rename status__text to status__content__text for consistency with upstream
2019-04-24 22:40:17 +02:00
Thibaut Girka
fea727c61a
Do not switch to italic for status media buttons
2019-04-22 23:07:14 +02:00
Thibaut Girka
08faf16d66
ComposerTextarea → AutosuggestTextarea
2019-04-22 20:15:47 +02:00
Eugen Rochko
7acc035cbe
[Glitch] Show suggested follows on search screen in mobile layout
...
Port 541fda5fc8
to glitch-soc
2019-04-22 20:15:47 +02:00
Thibaut Girka
619d55358f
Shift+click on column Back button to return to last pinable column
2019-04-17 18:40:40 +02:00
Thibaut Girka
a4db307b6a
When selecting a toot via keyboard, ensure it is scrolled into view
2019-04-17 10:07:33 +02:00
Thibaut Girka
ae88690fa6
Fix opening/closing gifv sometimes making the timeline scroll
2019-04-16 22:20:23 +02:00
ThibG
3964cc964d
Merge pull request #981 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
2019-04-04 15:13:18 +02:00
ThibG
729b3841c3
[Glitch] Update poll remaining time just like with status timestamps
...
Port 6e024f0d7a
to glitch-soc
2019-04-04 14:58:11 +02:00
Thibaut Girka
b83e693c40
Do not handle clicks in detailed status content
2019-04-03 19:58:18 +02:00
ThibG
5ca976c776
[Glitch] Add a “Block & Report” button to the block confirmation dialog
...
Port 36a6089a22
to glitch-soc
2019-03-26 17:44:00 +01:00
Eugen Rochko
f6767a00d4
[Glitch] Add `lang` attribute to statuses in web UI
...
Port JS changes from 0e730974cd
to glitch-soc
2019-03-26 16:09:59 +01:00
ThibG
5c8d15326f
[Glitch] Add support for custom emojis in poll options
...
Fixes #956
Port 2a211ff18c
to glitch-soc
2019-03-20 17:34:32 +01:00
ThibG
0381a07606
[Glitch] Add UI for enabling/disabling poll notifications
2019-03-13 22:21:52 +01:00
Thibaut Girka
043978a20e
Remove leftover console.log
2019-03-11 14:39:45 +01:00
ThibG
91045bef61
Merge pull request #953 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
2019-03-11 13:23:54 +01:00
Thibaut Girka
3a7fb657f3
[Glitch] Add support for poll ending notifications
...
Port front-end parts of 11ce444b8b
to glitch-soc
2019-03-11 13:08:21 +01:00
ash lea
00bc35891b
add local setting to auto reveal media behind cw
2019-03-11 12:14:45 +01:00
Eugen Rochko
b9a799c343
[Glitch] Fix NaN in Poll component
...
Port 19cccea89a
to glitch-soc
2019-03-08 01:01:19 +01:00
ThibG
6b4eb1ac96
[Glitch] Disable the underlying button element when an ItemButton is disabled
...
Port 365f875f57
to glitch-soc
2019-03-06 22:40:17 +01:00
Thibaut Girka
8d82e153f3
Add an icon to highlight polls behind a Content Warning
2019-03-06 13:01:27 +01:00
Eugen Rochko
9844b44e99
Fix poll options not rendering text after vote/refresh
...
Port 9cae3a3b48
to glitch-soc
2019-03-06 11:44:27 +01:00
Eugen Rochko
3ce4d88e6c
Render unicode emoji in polls using emoji pack
...
Port 73d3bb4a2c
to glitch-soc
2019-03-06 11:42:25 +01:00
Thibaut Girka
bd97259b57
Fix toots opening in dynamic column when trying to interact with them
...
This fixes inline preview cards and polls, preventing them from opening
the toot in detailed view when clicking on an interactive element.
2019-03-06 00:20:43 +01:00
Eugen Rochko
ec787e4205
Fix various issues in polls
...
Port front-end changes from 1321801577
to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
25ef8dffbc
Display closed polls as such
...
Port 674d232cd1
to glitch-soc
2019-03-05 21:35:03 +01:00
ThibG
469e5af537
Fixes to the polls UI
...
Port 4987602069
to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
c156b6d696
Fix web UI crash on page load when detailed status has a poll
...
Port 21246d861e
to glitch-soc
2019-03-05 21:35:03 +01:00
Eugen Rochko
342d9d25bb
Add polls
...
Port front-end parts of 4a3acdc916
to glitch-soc
2019-03-05 21:35:03 +01:00
Thibaut Girka
fa1b843522
Fix non-numeric account identifiers leading to /web/accounts/NaN
...
I'm not sure what purpose these “+” served?!
2019-02-22 17:52:21 +01:00
Thibaut Girka
09c6d1c534
[Glitch] Change buttons on timeline preview to open the interaction dialog
...
Port 6534acc019
to glitch-soc
2019-02-17 12:39:44 +01:00
Thibaut Girka
dabbbe1e71
[Glitch] Fix occasional crash in detailed toot view
...
Port f9a338b473
to glitch-soc
2019-02-15 17:34:15 +01:00
Thibaut Girka
04d7200ba4
[Glitch] Add "copy link" item to status action bars
...
Port 12cb694634
to glitch-soc
2019-02-13 07:29:57 +01:00
Thibaut Girka
d486152092
Handle deletion of filtered toots
2019-02-10 22:54:25 +01:00
Thibaut Girka
eb6dfe4d8b
Minor fix to timeline jump avoiding behavior
2019-02-10 22:54:25 +01:00
Thibaut Girka
7b23d3c657
Adjust scroll when statuses above the current scroll position are deleted
2019-02-10 22:54:25 +01:00
Thibaut Girka
f24bd9d629
Adjust scroll if previewCard appeared
2019-02-10 22:54:25 +01:00
Thibaut Girka
3d5ef5c497
Avoid two-step rendering of statuses as much as possible
...
Cache width shared by Video player, MediaGallery and Cards at the
ScrollableList level, pass it down through StatusList and Notifications.
2019-02-10 22:54:25 +01:00
Thibaut Girka
b05cda87f8
Refactor intersection observer article code
2019-02-10 22:54:25 +01:00
Thibaut Girka
18a540da9f
Cleanup redundant markup for hidden statuses
2019-02-10 22:54:25 +01:00
Thibaut Girka
f2b7ab4523
Hide items rendered out-of-frame (once they have been rendered at least once)
2019-02-10 22:54:25 +01:00
Thibaut Girka
a9078c18eb
Fix CW unfolding not triggering re-layout in public hashtag page
2019-02-06 15:32:48 +01:00
Thibaut Girka
fba0f7dae7
[Glitch] Replace unlock-alt icon with unlock
...
Port 4fb1d8129d
to glitch-soc
2019-02-01 16:15:44 +01:00
Thibaut Girka
8219940214
[Glitch] Redesign public hashtag page to use a masonry layout
...
Port 380b246728
to glitch flavour
2019-01-20 11:38:09 +01:00
Thibaut Girka
426673f17a
[Glitch] Make hashtag search results link to the hashtag URL
...
Port 65c546f9b0
to glitch-soc
2019-01-16 14:25:58 +01:00
Thibaut Girka
fc64d1d03e
[Glitch] Stop gifv timeline preview explicitly when open the media gallery
...
Port 2a113f0185
to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
e495dc0134
[Glitch] refactored account.js
...
Port 695de5d134
to glitch-soc
2019-01-10 21:00:33 +01:00
Thibaut Girka
ba82ff7c12
[Glitch] Only consider mouse move in scrolling on item insertion
...
Port 4e067b1bd0
to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
069657286f
[Glitch] Identify manual scrolling to cancel scroll to top reset on mouse idle
...
Port 59ecfbd28c
to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
d768d0b851
[Glitch] Cancel list scroll reset after mouse move on wheel scroll
...
Port 54bc905a57
to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
f4191a8a00
[Glitch] Temporarily hold timeline if mouse moved recently
...
Port 6e72dda7ef
to glitch-soc
2019-01-10 12:09:12 +01:00
Thibaut Girka
e5a25656e8
[Glitch] Fix unnecessary loadMore calls when the end of a timeline has been reached
...
Port 240d41b3ca
to glitch flavour
2018-12-23 11:40:52 +01:00
Thibaut Girka
d9a6c27f3b
Fix composer not getting focus after reply confirmation dialog
...
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
2018-12-21 20:00:49 +01:00
Thibaut Girka
7d437f7fc9
[Glitch] Back to the getting-started when pins the timeline
...
Port f579f1b10e
to glitch-soc
2018-12-20 14:51:28 +01:00
Thibaut Girka
677f430f23
[Glitch] Always display tab navigation on local/federated timeline even when empty
...
Port bc464619f3
to glitch-soc
2018-12-18 21:39:35 +01:00
Thibaut Girka
9fd8019854
[Glitch] Fix “load more” button when no data has been fetched
2018-12-13 15:00:36 +01:00
Thibaut Girka
50f8e59820
[Glitch] Do not display empty message when the list is known to have more elements
2018-12-13 15:00:36 +01:00
Thibaut Girka
a68d1d0ee2
Minor cleanup in ScrollableList component
2018-12-13 15:00:36 +01:00
Thibaut Girka
c37a81a5d7
Do not hardcode preferences link, pleroma doesn't have it
2018-11-28 22:36:01 +01:00
Thibaut Girka
cb2822b68a
Add error boundary component to catch Web UI crashes
2018-11-28 22:36:01 +01:00
Thibaut Girka
e80f770118
Render placeholder instead of image when MediaGallery container width isn't known
2018-11-25 11:29:56 +01:00