Thibaut Girka
0c7f710be1
[Glitch] Surround mid-text display names with bdi tags
...
Port 7861c5f108
to glitch-soc
6 years ago
Thibaut Girka
dfa5b0576f
Update mediaGallery component's width when opening CWs
6 years ago
Thibaut Girka
7cc7843109
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
a9e8f98a9d
Make hidden media clickable in account media gallery
6 years ago
Thibaut Girka
6ad7606909
[Glitch] Add support for new display_media setting
...
Port f7a6f9489d
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
4e60a0d543
Add option to hide action bar in collapsed toots
6 years ago
David Yip
c065717b67
Merge pull request #681 from ThibG/glitch-soc/fixes/accessibility
...
Port various accessibility improvements from upstream
6 years ago
Thibaut Girka
925c185ef9
Prevent clicks on video from initiating selections
6 years ago
Thibaut Girka
c3ab2973c5
Improve keyboard VS mouse navigation of dropdown menus
6 years ago
Thibaut Girka
5ff733b614
Only focus first item of dropdown if it was opened via keyboard
6 years ago
Thibaut Girka
d8b2f15b23
Pause video playback if toot is collapsed or CWs folded ( fixes #146 )
6 years ago
Thibaut Girka
8622dccaf1
Disable focus points for letterboxed media
6 years ago
Thibaut Girka
be644e3b7c
Media gallery styling closer to upstream's
6 years ago
Thibaut Girka
8183d2ed55
[Glitch] Do not override ctrl/cmd+click in media gallery
6 years ago
Thibaut Girka
bd437f8077
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
e915bc3e9e
Fixes columns scrolling to top when opening media modal
...
Fixes #700
6 years ago
Thibaut Girka
530da545a5
[Glitch] Give focused status a sensible aria-label for screen readers
...
Port 248df68c36
to glitch-soc
6 years ago
Thibaut Girka
087dcf720e
[Glitch] Fix off-by-one error in aria-posinset
...
Port 885711afb9
to glitch-soc
6 years ago
Thibaut Girka
d8fbd74c47
[Glitch] Add aria-label to column regions
...
Port 66dbb59aa1
to glitch-soc
6 years ago
Thibaut Girka
c6942a5283
Add option to not automatically unfold content warnings matching a regexp
...
Fixes #678
6 years ago
Thibaut Girka
9d2739d74d
Add a setting to automatically unfold all content warnings
6 years ago
Thibaut Girka
130bdb5ee8
[Glitch] Show compose form on delete & redraft when in mobile layout
...
Port 025fbb8285
to glitch-soc
6 years ago
Thibaut Girka
4a9e3f80e8
[Glitch] Add CSS class to replies
...
Port 2bbec9f4da
to glitch-soc
6 years ago
Thibaut Girka
937cd03a9a
[Glitch] Add missing video descriptions
...
Port ac092d03e7
to glitch-soc
6 years ago
Thibaut Girka
fce248810b
[Glitch] Update state when opened dropdown is unmounted
...
Port dcd3544d153dd2a3961bd0d2214ed01a902a66da to glitch-soc
6 years ago
Thibaut Girka
3c49daeb8d
Add glitch-soc local setting to display reply counters
...
Defaults to false.
6 years ago
Thibaut Girka
87ad942d76
[Glitch] Display replies count in web UI
...
Port 4df9cabb22
to glitch-soc
6 years ago
Thibaut Girka
801919fc9b
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
acb3d5b7aa
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
d2b3eebe00
[Glitch] Show media modal on public timeline
...
Port e0b1e17bd0
to glitch-soc
6 years ago
Thibaut Girka
d894cdc93f
Port profile redesign to glitch-soc
...
Port bb71538bb5
to glitch-soc
6 years ago
Thibaut Girka
5d060cb6e4
Allow modals to be closed by pressing “back”
6 years ago
Thibaut Girka
358e3a4c32
Get rid of Collapsable, use CSS instead
...
Change inspired by 691107263c
6 years ago
Thibaut Girka
0bb1720495
Add client-side custom filter support to glitch-soc
...
Port cdb101340a
to glitch-soc,
but without dropping support for regexp filters yet.
6 years ago
Thibaut Girka
33c1607c83
[Glitch] Fix Chrome issue with sizes="0px"
6 years ago
Thibaut Girka
a01faecfcb
[Glitch] Add redraft function
...
Port bd0791d800
to glitch-soc
7 years ago
David Yip
f8d50a4070
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
cfdbb36bdf
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
9ad5de8a3a
Merge pull request #501 from ThibG/glitch-soc/features/red-bookmarks
...
Make active bookmarks red (fixes #493 )
7 years ago
Spencer Alves
e5f25a73f2
Adjust spacing between status icons
7 years ago
Spencer Alves
7d2e6429c2
Merge branch 'glitch' into thread-icon
7 years ago
Thibaut Girka
b9fdeceb3c
Make active bookmarks red ( fixes #493 )
7 years ago
Thibaut Girka
cc396f085d
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
893f2aff20
Prevent a rare crash when a status' root node is undefined
7 years ago
Thibaut Girka
08dbe29e29
[Glitch] Improve load gap styling in web UI
...
Port 45c9f16f71
to glitch-soc
7 years ago
Thibaut Girka
0ad3eedd4c
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 9a1a55ce52
to glitch-soc
7 years ago
Thibaut Girka
8b98afa781
[Glitch] Replace onScrollToBottom with onLoadMore
...
Port b0664a5e6c
to glitch-soc
7 years ago
Thibaut Girka
d0b2f71501
Fix width only being set for standalone media
7 years ago
Thibaut Girka
3ad3cee44c
[Glitch] Use real container width in MediaGallery srcSet
...
Port 22e067bf5c
to glitch-soc
7 years ago
Thibaut Girka
9d6788b30b
Prevent click on video from opening detailed toot
7 years ago
Thibaut Girka
2154bd1b5a
Widen clickable area of toots
7 years ago
Thibaut Girka
07baa1ddb5
[Glitch] Open video modal on public UI
...
Port d9b2f84c92
to glitch-soc
7 years ago
Thibaut Girka
97c69de416
[Glitch] Feature: Direct message from Statuses
...
Port 904a2479dd
to glitch-soc
7 years ago
Thibaut Girka
769a48495c
Fix root modal's keyup handling ( Fixes #478 )
7 years ago
Spencer Alves
f2ff167c1a
Add an extra icon to indicate that a status is part of a conversation
7 years ago
Thibaut Girka
658ac4396c
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
de7feea30e
Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"
...
This reverts commit 553cc28240
.
7 years ago
Thibaut Girka
4133f70902
Revert "[Glitch] Do not re-position scroll when loading more (inserting items from below)"
...
This reverts commit 32974a58dc
.
7 years ago
beatrix
331190e5fb
Merge pull request #462 from ThibG/glitch-soc/features/dropdowns-accessibility
...
Improve accessibility of toot dropdown menu
7 years ago
Thibaut Girka
32974a58dc
[Glitch] Do not re-position scroll when loading more (inserting items from below)
...
Port 8c601b54cc
to glitch-soc
7 years ago
Thibaut Girka
553cc28240
[Glitch] Prevent timeline from moving when cursor is hovering over it
...
Port 58852695c8
to glitch-soc
7 years ago
Thibaut Girka
cee157fc19
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
70a16d8858
[Glitch] Improve relative timestamps in web UI
...
Port 660cb058e1
to glitch-soc flavour
7 years ago
Thibaut Girka
1222e0a381
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
b39f3648a7
Tentative fix for #446
7 years ago
beatrix
f4ed38272b
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
003d114332
[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
64d8d0464d
Add show more/less toggle for entire threads in web UI
...
Inspired from b6003afcdb
but using component
properties instead of redux store for hidden/revealed state.
7 years ago
Thibaut Girka
2888f74c12
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
7 years ago
Thibaut Girka
63d671b18f
[Glitch] Fix button hiding when header title is too long
...
Port ffb2b8ef8c
to glitch-soc
7 years ago
Thibaut Girka
abf7c5b850
[Glitch] Fix column headers accessibility
...
Port 08e4c78e78
to glitch-soc.
SCSS fix inspired by 69f13e7bca
.
7 years ago
beatrix
06fc278e4c
Merge pull request #432 from ThibG/glitch-soc/features/reblog-private
...
Glitchsoc-specific changes to allow boosting own private toots
7 years ago
beatrix
125e8c7f5a
Merge pull request #427 from ThibG/glitch-soc/fixes/scroll-behavior
...
Improve ScrollableList behavior
7 years ago
beatrix
e88ce27855
Merge pull request #435 from ThibG/glitch-soc/features/public-modals
...
[Glitch] Show media modal on public pages
7 years ago
Thibaut Girka
7a68079b3f
[Glitch] Show media modal on public pages
...
Port ff7941e652
to glitch-soc
7 years ago
Thibaut Girka
694337d9bb
Fix auto-collapsed toots making the TL jump ( fixes #417 )
7 years ago
Thibaut Girka
931a4d1ebf
Clean up dead code
7 years ago
Thibaut Girka
8f8b71a278
Use React's new lifecycles for scrollable lists
7 years ago
Thibaut Girka
3068384dbc
Glitchsoc-specific changes to allow boosting own private toots
7 years ago
Thibaut Girka
779aa707ec
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
7 years ago
Thibaut Girka
dcc1c10937
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 90f12f2e5a
* b170627ceb
* 11697d6894
* 56eb5c3f34
7 years ago
Thibaut Girka
f1e25b672a
Use javascript to set MediaGallery height automatically
7 years ago
Thibaut Girka
a95f8271be
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
7 years ago
Thibaut Girka
5d96c5ac41
[Glitch] Responsively enforce 16:9 ratio on video thumbnails in web UI
...
Port the video-player part of 036dd98abb
to
glitch-soc. MediaGallery part ignored since it has diverged quite a bit.
This fixes #423
7 years ago
Thibaut Girka
c5dd4ed1d5
[Glitch] Fix media button type
...
Port ecdac9017e
to glitch-soc
7 years ago
Thibaut Girka
dfe8abb8cd
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 76f3d5d16b
to glitch-soc
7 years ago
David Yip
b7804028c2
Merge pull request #419 from ThibG/glitch-soc/features/bookmarks
...
Bookmarks
7 years ago
Thibaut Girka
acb434b0c9
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
87071d9e81
[Glitch] Improved media modal
...
Port 4e929b2d17
to glitch-soc
7 years ago
Thibaut Girka
75f2e9fd97
Remove duplicate message entries
7 years ago
beatrix
3304cb681d
Merge pull request #380 from ThibG/glitch-soc/features/domain-block-ui
...
Port #6628 to glitch-soc flavour
7 years ago
Thibaut Girka
48bcf4d6e8
[Glitch] Remove pointer events on the entire UI when a dropdown menu is open
...
Port 913a38111f
to glitch-soc
7 years ago
Thibaut Girka
2871a82fcc
[Glitch] Place dropdown menu top if it is closer to the bottom of the viewport
...
Port f6a8d835d3
to glitch-soc
7 years ago
Thibaut Girka
afa813d71f
Add basic domain block UI
7 years ago
Thibaut Girka
b5948044b3
[Glitch] Display unfollow button even if account moved
...
Backport 3987bd18a4
to glitch-soc
7 years ago
David Yip
4e45954280
Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contents
...
Render toots with empty contents
7 years ago
Thibaut Girka
7db431eac6
Fix attachment lists
7 years ago
Thibaut Girka
53eab4470d
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
88790b91de
[Glitch] Display AttachmentList in notifications
...
Port 77406d3a09
to glitch-soc
7 years ago
Thibaut Girka
3bc5452449
[Glitch] Display AttachmentList in timelines in compact style when media missing
...
Port 86a9de6753
to glitch-soc
7 years ago
Ash Levy
58eeb92755
expanded notifications show like default
7 years ago
David Yip
c074b226b6
Merge pull request #394 from ashkitten/compressed-notifs
...
fix compressed notifications again (#393 )
7 years ago
David Yip
a387f99659
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
c68c1466ac
fix compressed notifications again ( #393 )
7 years ago
Thibaut Girka
6f0e50f9a0
[Glitch] Federate pinned statuses over ActivityPub
...
Port 9110db41c5
to glitch
7 years ago
David Yip
a3c86d8cb9
Merge pull request #386 from ashkitten/compressed-notifs
...
compress boost/fave notifications more
7 years ago
Ash Levy
9317f6853e
compress boost/fave notifications more
7 years ago
Thibaut Girka
841ef606a9
Remove text requirement when media attached from statuses ( fixes #381 )
...
Ports cfa9b6e13a
to glitchsoc
7 years ago
Thibaut Girka
fb6f131fa1
Revert 245816ab27
( fixes #348 )
...
Since 245816ab27
, 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
2107891edb
Remove some leftover code, I guess
7 years ago
David Yip
bcd86404da
Port 7badad7797
to glitch frontend
7 years ago
David Yip
708ec07e27
Style fixes to make eslint happier, hopefully
7 years ago
kibi!
a5931e1f48
Fixed autocollapse detection
7 years ago
cwm
8a0e4bb9a4
Hide moved account's follow button in search result (tootsuite pr #5913 )
7 years ago
kibigo!
60433d03f5
Add missing comma
7 years ago
kibigo!
5d2ef7a616
Show SENSITIVE tag on sensitive images ( #267 )
7 years ago
kibigo!
6932b464e6
Fixed improper dropdown func binding for #293 + toot button spacing
7 years ago
kibigo!
ad10a80a99
Styling and autosuggest fixes for #293
7 years ago
kibigo!
42f50049ff
WIP <Compose> Refactor; 1000 tiny edits
7 years ago
kibigo!
b4a3792201
WIP <Compose> Refactor; <ActionsModal>; dropdowns
7 years ago
kibigo!
083170bec7
WIP <Compose> Refactor; SCSS ed.
7 years ago
kibigo!
924ffe81d4
WIPgit status <Compose> Refactor; <Composer> ed.
7 years ago
cwm
832a93e67c
Fix GIF avatars not autoplaying ( fixes #287 , tootsuite pr #6000 )
7 years ago
cwm
083571915f
onMuteNotifications validation (tootsuite pr #6092 )
7 years ago
cwm
2bbd22e91c
Rename settingKey to settingPath (tootsuite pr #6046 & #6098 )
7 years ago
cwm
072ab191cc
pulled master, moved locale entry to new location
7 years ago
cwm
22cdbca82c
fixes, functioning now
7 years ago
cwm
abe95b614b
add initial components based off of tootsuite pr #1507
7 years ago
cwm
02d71c6a11
fix a missing semicolon and mixed tabs/spaces that travis was complaining about
7 years ago
cwm
4a5401a58e
merge tootsuite prs #5895 and #5889 into glitch flavour
7 years ago
David Yip
133f5b3b53
Apply Javascript changes in tootsuite/mastodon#5887 to glitch flavour ( #239 )
7 years ago
David Yip
d9800a5647
Merge branch 'gs-master' into glitch-theme
7 years ago
kibigo!
bc4fa6b198
Rename themes -> flavours ? ?
7 years ago