Thibaut Girka
cb2822b68a
Add error boundary component to catch Web UI crashes
6 years ago
Thibaut Girka
e80f770118
Render placeholder instead of image when MediaGallery container width isn't known
6 years ago
Thibaut Girka
e7c0ad6ac4
Move URLs to backend in their own file
6 years ago
Thibaut Girka
ca163ec35d
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
6 years ago
Thibaut Girka
b22501154e
[Glitch] Prepend account header even when status list is empty
...
Partially port bc464619f3
6 years ago
Thibaut Girka
f40a7b2616
[Glitch] Use local instead of global loading indicator for timelines, account timelines
...
Port 9a32abcbac
to glitch-soc
6 years ago
Thibaut Girka
8bef422043
Add a local setting for inline preview cards
6 years ago
Thibaut Girka
4fe81a99c6
Add a “link” status icon for toots with a preview card
6 years ago
Thibaut Girka
18870c45f1
[Glitch] Include preview cards in status entity in REST API
...
Port cf2ab9c394
to glitch-soc
6 years ago
Thibaut Girka
1a63a8f74e
[Glitch] Surround mid-text display names with bdi tags
...
Port 19aaf0e99f
to glitch-soc
6 years ago
Thibaut Girka
9614abc713
Update mediaGallery component's width when opening CWs
6 years ago
Thibaut Girka
b4bab7eb35
Do not scroll timelines when *closing* media modals
...
Media modals push an history state so that pressing back on mobile closes them.
We made sure to not scroll when opening them, but not when *closing* them,
which caused some issues in rare cases.
6 years ago
Thibaut Girka
1476e653ec
Make hidden media clickable in account media gallery
6 years ago
Thibaut Girka
536d95ae7c
[Glitch] Add support for new display_media setting
...
Port bb8afc4608
to glitch-soc
[API] [vanilla required] [glitch-soc optional] initial_state show_sensitive_media boolean changed to show_media string with options "default", "hide_all", "show_all"
6 years ago
Spencer Alves
981a41ca2c
Add option to hide action bar in collapsed toots
6 years ago
David Yip
d698c06aa8
Merge pull request #681 from ThibG/glitch-soc/fixes/accessibility
...
Port various accessibility improvements from upstream
6 years ago
Thibaut Girka
6af379cf53
Prevent clicks on video from initiating selections
6 years ago
Thibaut Girka
85befb90b2
Improve keyboard VS mouse navigation of dropdown menus
6 years ago
Thibaut Girka
44192cb9d2
Only focus first item of dropdown if it was opened via keyboard
6 years ago
Thibaut Girka
d465da45b4
Pause video playback if toot is collapsed or CWs folded ( fixes #146 )
6 years ago
Thibaut Girka
8099901c9a
Disable focus points for letterboxed media
6 years ago
Thibaut Girka
4567e42341
Media gallery styling closer to upstream's
6 years ago
Thibaut Girka
d83eb4f9c7
[Glitch] Do not override ctrl/cmd+click in media gallery
6 years ago
Thibaut Girka
34ecec8c85
Add admin links to status and account menus ( fixes #673 )
...
If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten
6 years ago
Thibaut Girka
7ed6f60a74
Fixes columns scrolling to top when opening media modal
...
Fixes #700
6 years ago
Thibaut Girka
46166b8676
[Glitch] Give focused status a sensible aria-label for screen readers
...
Port f922c683ce
to glitch-soc
6 years ago
Thibaut Girka
d4315a279d
[Glitch] Fix off-by-one error in aria-posinset
...
Port 8793403289
to glitch-soc
6 years ago
Thibaut Girka
4aa1be379e
[Glitch] Add aria-label to column regions
...
Port f530792615
to glitch-soc
6 years ago
Thibaut Girka
ff18ba0d2b
Add option to not automatically unfold content warnings matching a regexp
...
Fixes #678
6 years ago
Thibaut Girka
02c32ad7af
Add a setting to automatically unfold all content warnings
6 years ago
Thibaut Girka
a3afd0791d
[Glitch] Show compose form on delete & redraft when in mobile layout
...
Port 97a2958ba1
to glitch-soc
6 years ago
Thibaut Girka
11dc01f83e
[Glitch] Add CSS class to replies
...
Port ae562f4d2b
to glitch-soc
6 years ago
Thibaut Girka
1295515bd4
[Glitch] Add missing video descriptions
...
Port 5b773a2c9c
to glitch-soc
6 years ago
Thibaut Girka
c4a536917c
[Glitch] Update state when opened dropdown is unmounted
...
Port dcd3544d153dd2a3961bd0d2214ed01a902a66da to glitch-soc
6 years ago
Thibaut Girka
8db23dd477
Add glitch-soc local setting to display reply counters
...
Defaults to false.
6 years ago
Thibaut Girka
e48709fb0e
[Glitch] Display replies count in web UI
...
Port 6a62016a49
to glitch-soc
6 years ago
Thibaut Girka
30d88cee78
Add hashtag trendline support to glitch-soc flavour
...
Port Mastodon's hashtag stats thing to glitch-soc.
This doesn't change how hashtags are ordered, and doesn't add a trending
hashtags section, but it does change how hashtag searches are rendered,
displaying a trend line alongside each hashtag.
6 years ago
Thibaut Girka
ac67589755
Don't prevent opening links in tabs with keyboard modifiers
...
Ctrl+click usually allows opening a link in a new tab. This
was prevented for hashtag or user links in toots.
6 years ago
Thibaut Girka
28cdf3da09
[Glitch] Show media modal on public timeline
...
Port c1427f90f6
to glitch-soc
6 years ago
Thibaut Girka
ca256cca22
Port profile redesign to glitch-soc
...
Port 13df3889f0
to glitch-soc
6 years ago
Thibaut Girka
4e8532cc1a
Allow modals to be closed by pressing “back”
6 years ago
Thibaut Girka
0ef509c27a
Get rid of Collapsable, use CSS instead
...
Change inspired by a6ddd1aba2
6 years ago
Thibaut Girka
4850a2348c
Add client-side custom filter support to glitch-soc
...
Port d878e3e945
to glitch-soc,
but without dropping support for regexp filters yet.
6 years ago
Thibaut Girka
a68e7db2fb
[Glitch] Fix Chrome issue with sizes="0px"
6 years ago
Thibaut Girka
d8c35a6b85
[Glitch] Add redraft function
...
Port 16173535d9
to glitch-soc
7 years ago
David Yip
4b7ceed3f0
Merge pull request #509 from ThibG/glitch-soc/fixes/router-history-navigation
...
Use history.state to decide whether we should goBack() or go to / (fixes #247 )
7 years ago
David Yip
1a0491b3cf
Merge pull request #519 from ThibG/glitch-soc/fixes/status-node-null
...
Prevent a rare crash when a status' root node is undefined
7 years ago
David Yip
c10df6cf00
Merge pull request #501 from ThibG/glitch-soc/features/red-bookmarks
...
Make active bookmarks red (fixes #493 )
7 years ago
Spencer Alves
559ce5c098
Adjust spacing between status icons
7 years ago
Spencer Alves
c86cd2041d
Merge branch 'glitch' into thread-icon
7 years ago
Thibaut Girka
93e6984be8
Make active bookmarks red ( fixes #493 )
7 years ago
Thibaut Girka
37dc96b71b
Use history.state to decide whether we should goBack() or go to / ( fixes #247 )
...
So far, glitch-soc used history.length to decide whether to call `goBack()` or
go to / in order to not leave the webUI. This made clicking the “Back” button
go to the “Getting started” column instead of going back in the browser's
history when such an action would leave the web UI, but also when:
- The WebUI is refreshed (F5)
- A tab is restored
- The history length reaches its maximum (e.g., 50 in Firefox)
This commit fixes these shortcomings by checking `window.history.state`.
Indeed, we only want to go back in the browser's history when the current
location has been reached from within the WebUI, which only happens via
`pushState` as far as I know. Since browser store the serialized state in
the browser history, this also survives page reload and session restoration.
7 years ago
Thibaut Girka
0174ca8679
Prevent a rare crash when a status' root node is undefined
7 years ago
Thibaut Girka
febaae28f4
[Glitch] Improve load gap styling in web UI
...
Port 93a1afb66c
to glitch-soc
7 years ago
Thibaut Girka
7a953db0b6
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 34cb1a5461
to glitch-soc
7 years ago
Thibaut Girka
5ad747727f
[Glitch] Replace onScrollToBottom with onLoadMore
...
Port 01d10b0bd8
to glitch-soc
7 years ago
Thibaut Girka
3315877afe
Fix width only being set for standalone media
7 years ago
Thibaut Girka
df3fa2cb78
[Glitch] Use real container width in MediaGallery srcSet
...
Port 765a8dad9a
to glitch-soc
7 years ago
Thibaut Girka
72c5d3dd80
Prevent click on video from opening detailed toot
7 years ago
Thibaut Girka
b6133837ad
Widen clickable area of toots
7 years ago
Thibaut Girka
4c835854d6
[Glitch] Open video modal on public UI
...
Port efc482361b
to glitch-soc
7 years ago
Thibaut Girka
c77a4d8c51
[Glitch] Feature: Direct message from Statuses
...
Port 7a06bd7085
to glitch-soc
7 years ago
Thibaut Girka
336d5fecdb
Fix root modal's keyup handling ( Fixes #478 )
7 years ago
Spencer Alves
31d760f56d
Add an extra icon to indicate that a status is part of a conversation
7 years ago
Thibaut Girka
3333cce41e
Hide media in report modal regardless of whether they are marked sensitive
...
The rationale behind this is that if the user wants to report violent media,
they might not want to see it repeatedly. The “sensitive” property is still
kept, displaying different messages for hidden media depending on whether
they are marked as sensitive.
7 years ago
Thibaut Girka
04a8aef9d2
Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"
...
This reverts commit 1c75c7901f
.
7 years ago
Thibaut Girka
82421dc2e2
Revert "[Glitch] Do not re-position scroll when loading more (inserting items from below)"
...
This reverts commit ca62d8bcc6
.
7 years ago
beatrix
f5f840cdb3
Merge pull request #462 from ThibG/glitch-soc/features/dropdowns-accessibility
...
Improve accessibility of toot dropdown menu
7 years ago
Thibaut Girka
ca62d8bcc6
[Glitch] Do not re-position scroll when loading more (inserting items from below)
...
Port 554653a423
to glitch-soc
7 years ago
Thibaut Girka
1c75c7901f
[Glitch] Prevent timeline from moving when cursor is hovering over it
...
Port 9188537f5f
to glitch-soc
7 years ago
Thibaut Girka
eea6b78afc
Improve accessibility of toot dropdown menu
...
* Prevent Enter keypresses from triggering dropdown display toggle twice
* Give focus to first/selected item of dropdown menus
* Implement keyboard navigation in generic dropdown menus
Partial port from ef7d64c801
to glitch-soc
7 years ago
Thibaut Girka
41fe73f35c
[Glitch] Improve relative timestamps in web UI
...
Port 07e5dcb65f
to glitch-soc flavour
7 years ago
Thibaut Girka
2ed804d4ca
Use new getDerivedStateFromProps instead of deprecated componentWillReceiveProps
...
As we are already using the new getSnapshotBeforeUpdate lifecycle method,
we apparently cannot use the deprecated ones at all in this component.
7 years ago
Thibaut Girka
8be1573a6e
Tentative fix for #446
7 years ago
beatrix
cd9c602a0e
Merge pull request #401 from ThibG/glitch-soc/features/unfold-thread
...
Port the “unfold thread” feature from Mastodon's UI to glitch-soc flavour
7 years ago
Thibaut Girka
bc3be9ac5b
[Glitch] Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline.
...
Port 23106844a1
to glitch-soc
7 years ago
Thibaut Girka
4e4a5fc1ad
Add show more/less toggle for entire threads in web UI
...
Inspired from b9b01bf14a
but using component
properties instead of redux store for hidden/revealed state.
7 years ago
Thibaut Girka
5ab80ffadd
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
7 years ago
Thibaut Girka
a51aa91caf
[Glitch] Fix button hiding when header title is too long
...
Port 95da1b3351
to glitch-soc
7 years ago
Thibaut Girka
8c190e6235
[Glitch] Fix column headers accessibility
...
Port c6d5ea8695
to glitch-soc.
SCSS fix inspired by 4cf5144099
.
7 years ago
beatrix
64f74da493
Merge pull request #432 from ThibG/glitch-soc/features/reblog-private
...
Glitchsoc-specific changes to allow boosting own private toots
7 years ago
beatrix
69710cf17b
Merge pull request #427 from ThibG/glitch-soc/fixes/scroll-behavior
...
Improve ScrollableList behavior
7 years ago
beatrix
1b58c44557
Merge pull request #435 from ThibG/glitch-soc/features/public-modals
...
[Glitch] Show media modal on public pages
7 years ago
Thibaut Girka
d6693f3ae3
[Glitch] Show media modal on public pages
...
Port 47d2277ef1
to glitch-soc
7 years ago
Thibaut Girka
74bfb1e579
Fix auto-collapsed toots making the TL jump ( fixes #417 )
7 years ago
Thibaut Girka
f63da992fc
Clean up dead code
7 years ago
Thibaut Girka
fe20ada59a
Use React's new lifecycles for scrollable lists
7 years ago
Thibaut Girka
f83dc9507f
Glitchsoc-specific changes to allow boosting own private toots
7 years ago
Thibaut Girka
9b72f23fdd
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
7 years ago
Thibaut Girka
e0bffe8856
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 865c7e7178
* 62d18a3f9b
* 15ec9431be
* c1d44284ca
7 years ago
Thibaut Girka
c4209e12f6
Use javascript to set MediaGallery height automatically
7 years ago
Thibaut Girka
b283f463c9
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
7 years ago
Thibaut Girka
9a3fd77c72
[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
...
Port the video-player part of 8c85fd26bb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
7 years ago
Thibaut Girka
6153d6a6dc
[Glitch] Fix media button type
...
Port 6cb5d71e5f
to glitch-soc
7 years ago
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
7 years ago
David Yip
605016368d
Merge pull request #419 from ThibG/glitch-soc/features/bookmarks
...
Bookmarks
7 years ago
Thibaut Girka
8b3d03067b
Add glitch-soc front-end support for bookmarks
...
Unlike boosts and like, there is no confirmation dialog as misclicking
can be recovered without another user seeing it.
7 years ago
Thibaut Girka
89f5ae00a5
[Glitch] Improved media modal
...
Port d6e88e29e2
to glitch-soc
7 years ago
Thibaut Girka
7518a4b9d7
Remove duplicate message entries
7 years ago
beatrix
766a008931
Merge pull request #380 from ThibG/glitch-soc/features/domain-block-ui
...
Port #6628 to glitch-soc flavour
7 years ago
Thibaut Girka
769c536db4
[Glitch] Remove pointer events on the entire UI when a dropdown menu is open
...
Port 95fce1bca0
to glitch-soc
7 years ago
Thibaut Girka
caa6611877
[Glitch] Place dropdown menu top if it is closer to the bottom of the viewport
...
Port 27b532cc98
to glitch-soc
7 years ago
Thibaut Girka
d2b9747a50
Add basic domain block UI
7 years ago
Thibaut Girka
32ede640af
[Glitch] Display unfollow button even if account moved
...
Backport 1a90ef9c25
to glitch-soc
7 years ago
David Yip
299cfa4bc7
Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contents
...
Render toots with empty contents
7 years ago
Thibaut Girka
166fe6e6dd
Fix attachment lists
7 years ago
Thibaut Girka
4975cee02f
Render toots with empty contents
...
This is necessary to display toots with media but otherwise no contents,
as glitch-soc displays the media as a child of StatusContent, unlike
Mastodon.
7 years ago
Thibaut Girka
8fc7f85356
[Glitch] Display AttachmentList in notifications
...
Port 2cb19bf443
to glitch-soc
7 years ago
Thibaut Girka
9454cfc0ad
[Glitch] Display AttachmentList in timelines in compact style when media missing
...
Port 5079c1e322
to glitch-soc
7 years ago
Ash Levy
21e374356a
expanded notifications show like default
7 years ago
David Yip
bdeaef116e
Merge pull request #394 from ashkitten/compressed-notifs
...
fix compressed notifications again (#393 )
7 years ago
David Yip
8d5abcb749
Merge pull request #388 from ThibG/glitch-soc/federated-pinned-toots
...
Port WebUI toots/with reply/media tabs and pinned toots to glitch
7 years ago
Ash Levy
59c1accd4b
fix compressed notifications again ( #393 )
7 years ago
Thibaut Girka
b05bebce6d
[Glitch] Federate pinned statuses over ActivityPub
...
Port b1f8dfd3cf
to glitch
7 years ago
David Yip
3c05ed5ce6
Merge pull request #386 from ashkitten/compressed-notifs
...
compress boost/fave notifications more
7 years ago
Ash Levy
1d27649098
compress boost/fave notifications more
7 years ago
Thibaut Girka
cb3a0bf3ed
Remove text requirement when media attached from statuses ( fixes #381 )
...
Ports 0c2a08adeb
to glitchsoc
7 years ago
Thibaut Girka
da0a577768
Revert 4a48d03b31
( fixes #348 )
...
Since 4a48d03b31
, IntersectionObserverArticle
assumes that its children do not change unless the number of children changes.
This is not the case with the notification overlay, which resulted in the
checkmark of notification cleaning mode not updating unless scrolling to make
notifications appear/disappear.
This change may negatively impact performances.
7 years ago
Thibaut Girka
810312213a
Remove some leftover code, I guess
7 years ago
David Yip
2a201c2ec6
Port 9cfbbbce1f
to glitch frontend
7 years ago
David Yip
dfcee78446
Style fixes to make eslint happier, hopefully
7 years ago
kibi!
8399fba7f2
Fixed autocollapse detection
7 years ago
cwm
0d399a4edc
Hide moved account's follow button in search result (tootsuite pr #5913 )
7 years ago
kibigo!
ff6ecdda4e
Add missing comma
7 years ago
kibigo!
95459fc5bd
Show SENSITIVE tag on sensitive images ( #267 )
7 years ago
kibigo!
85ffb07656
Fixed improper dropdown func binding for #293 + toot button spacing
7 years ago
kibigo!
77cb2d04f9
Styling and autosuggest fixes for #293
7 years ago
kibigo!
7a9aaf28c4
WIP <Compose> Refactor; 1000 tiny edits
7 years ago
kibigo!
0cb97608c7
WIP <Compose> Refactor; <ActionsModal>; dropdowns
7 years ago
kibigo!
c560373d5e
WIP <Compose> Refactor; SCSS ed.
7 years ago
kibigo!
f87cce9e28
WIPgit status <Compose> Refactor; <Composer> ed.
7 years ago
cwm
485dbbb9b7
Fix GIF avatars not autoplaying ( fixes #287 , tootsuite pr #6000 )
7 years ago
cwm
4a0dd0efea
onMuteNotifications validation (tootsuite pr #6092 )
7 years ago
cwm
ab81f8414d
Rename settingKey to settingPath (tootsuite pr #6046 & #6098 )
7 years ago
cwm
34630e00cb
pulled master, moved locale entry to new location
7 years ago
cwm
ac42b2b95d
fixes, functioning now
7 years ago
cwm
41bbfeec7c
add initial components based off of tootsuite pr #1507
7 years ago
cwm
f42a622bf9
fix a missing semicolon and mixed tabs/spaces that travis was complaining about
7 years ago
cwm
591a3769f4
merge tootsuite prs #5895 and #5889 into glitch flavour
7 years ago
David Yip
08290b0b02
Apply Javascript changes in tootsuite/mastodon#5887 to glitch flavour ( #239 )
7 years ago
David Yip
1221e3075d
Merge branch 'gs-master' into glitch-theme
7 years ago
kibigo!
882055afd0
Rename themes -> flavours ? ?
7 years ago