Thibaut Girka
d8c35a6b85
[Glitch] Add redraft function
...
Port 16173535d9
to glitch-soc
2018-06-16 15:09:28 +02:00
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 )
2018-06-06 23:56:48 -05:00
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
2018-06-02 16:19:06 -05:00
David Yip
c10df6cf00
Merge pull request #501 from ThibG/glitch-soc/features/red-bookmarks
...
Make active bookmarks red (fixes #493 )
2018-06-01 00:36:48 -05:00
Spencer Alves
559ce5c098
Adjust spacing between status icons
2018-05-31 21:55:44 -07:00
Spencer Alves
c86cd2041d
Merge branch 'glitch' into thread-icon
2018-05-31 21:33:16 -07:00
Thibaut Girka
93e6984be8
Make active bookmarks red ( fixes #493 )
2018-05-31 14:39:48 +02:00
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.
2018-05-31 14:39:02 +02:00
Thibaut Girka
0174ca8679
Prevent a rare crash when a status' root node is undefined
2018-05-31 14:38:29 +02:00
Thibaut Girka
febaae28f4
[Glitch] Improve load gap styling in web UI
...
Port 93a1afb66c
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
7a953db0b6
[Glitch] Allow clients to fetch statuses made while they were offline
...
Port 34cb1a5461
to glitch-soc
2018-05-29 21:25:28 +02:00
Thibaut Girka
5ad747727f
[Glitch] Replace onScrollToBottom with onLoadMore
...
Port 01d10b0bd8
to glitch-soc
2018-05-27 20:40:58 +02:00
Thibaut Girka
3315877afe
Fix width only being set for standalone media
2018-05-21 18:25:41 +02:00
Thibaut Girka
df3fa2cb78
[Glitch] Use real container width in MediaGallery srcSet
...
Port 765a8dad9a
to glitch-soc
2018-05-21 17:55:07 +02:00
Thibaut Girka
72c5d3dd80
Prevent click on video from opening detailed toot
2018-05-18 17:49:51 +02:00
Thibaut Girka
b6133837ad
Widen clickable area of toots
2018-05-18 17:33:58 +02:00
Thibaut Girka
4c835854d6
[Glitch] Open video modal on public UI
...
Port efc482361b
to glitch-soc
2018-05-17 18:37:00 +02:00
Thibaut Girka
c77a4d8c51
[Glitch] Feature: Direct message from Statuses
...
Port 7a06bd7085
to glitch-soc
2018-05-16 19:45:30 +02:00
Thibaut Girka
336d5fecdb
Fix root modal's keyup handling ( Fixes #478 )
2018-05-11 22:42:32 +02:00
Spencer Alves
31d760f56d
Add an extra icon to indicate that a status is part of a conversation
2018-05-07 22:10:34 -07:00
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.
2018-05-07 15:00:55 +02:00
Thibaut Girka
04a8aef9d2
Revert "[Glitch] Prevent timeline from moving when cursor is hovering over it"
...
This reverts commit 1c75c7901f
.
2018-05-06 21:50:33 +02:00
Thibaut Girka
82421dc2e2
Revert "[Glitch] Do not re-position scroll when loading more (inserting items from below)"
...
This reverts commit ca62d8bcc6
.
2018-05-06 21:50:26 +02:00
beatrix
f5f840cdb3
Merge pull request #462 from ThibG/glitch-soc/features/dropdowns-accessibility
...
Improve accessibility of toot dropdown menu
2018-05-06 12:12:20 -04:00
Thibaut Girka
ca62d8bcc6
[Glitch] Do not re-position scroll when loading more (inserting items from below)
...
Port 554653a423
to glitch-soc
2018-05-05 17:18:55 +02:00
Thibaut Girka
1c75c7901f
[Glitch] Prevent timeline from moving when cursor is hovering over it
...
Port 9188537f5f
to glitch-soc
2018-05-05 17:18:25 +02:00
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
2018-05-05 17:11:48 +02:00
Thibaut Girka
41fe73f35c
[Glitch] Improve relative timestamps in web UI
...
Port 07e5dcb65f
to glitch-soc flavour
2018-05-02 13:45:40 +02:00
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.
2018-04-27 01:24:55 +02:00
Thibaut Girka
8be1573a6e
Tentative fix for #446
2018-04-27 00:59:36 +02:00
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
2018-04-26 11:34:14 -04:00
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
2018-04-22 23:11:16 +02:00
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.
2018-04-22 19:19:01 +02:00
Thibaut Girka
5ab80ffadd
Refactor the infamous three-valued boolean into two booleans, trying to simplify the logic
2018-04-22 19:18:15 +02:00
Thibaut Girka
a51aa91caf
[Glitch] Fix button hiding when header title is too long
...
Port 95da1b3351
to glitch-soc
2018-04-22 19:17:10 +02:00
Thibaut Girka
8c190e6235
[Glitch] Fix column headers accessibility
...
Port c6d5ea8695
to glitch-soc.
SCSS fix inspired by 4cf5144099
.
2018-04-22 19:17:10 +02:00
beatrix
64f74da493
Merge pull request #432 from ThibG/glitch-soc/features/reblog-private
...
Glitchsoc-specific changes to allow boosting own private toots
2018-04-22 12:32:58 -04:00
beatrix
69710cf17b
Merge pull request #427 from ThibG/glitch-soc/fixes/scroll-behavior
...
Improve ScrollableList behavior
2018-04-22 12:09:52 -04:00
beatrix
1b58c44557
Merge pull request #435 from ThibG/glitch-soc/features/public-modals
...
[Glitch] Show media modal on public pages
2018-04-22 12:07:29 -04:00
Thibaut Girka
d6693f3ae3
[Glitch] Show media modal on public pages
...
Port 47d2277ef1
to glitch-soc
2018-04-20 15:58:36 +02:00
Thibaut Girka
74bfb1e579
Fix auto-collapsed toots making the TL jump ( fixes #417 )
2018-04-19 11:30:42 +02:00
Thibaut Girka
f63da992fc
Clean up dead code
2018-04-19 11:30:42 +02:00
Thibaut Girka
fe20ada59a
Use React's new lifecycles for scrollable lists
2018-04-19 11:29:37 +02:00
Thibaut Girka
f83dc9507f
Glitchsoc-specific changes to allow boosting own private toots
2018-04-19 11:24:29 +02:00
Thibaut Girka
9b72f23fdd
Only compute height dynamically for standalone media
...
This prevents changing the status' height and triggering jumps in the TL
2018-04-19 11:16:18 +02:00
Thibaut Girka
e0bffe8856
[Glitch] Center thumbnails on focus point
...
Port the display part of the following commits to glitch-soc:
* 865c7e7178
* 62d18a3f9b
* 15ec9431be
* c1d44284ca
2018-04-19 11:16:18 +02:00
Thibaut Girka
c4209e12f6
Use javascript to set MediaGallery height automatically
2018-04-19 11:16:18 +02:00
Thibaut Girka
b283f463c9
Revert some glitch-specific refactoring
...
In order to keep my sanity when porting changes between glitch-soc and upstream.
2018-04-19 11:16:18 +02:00
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
2018-04-14 17:35:45 +02:00
Thibaut Girka
6153d6a6dc
[Glitch] Fix media button type
...
Port 6cb5d71e5f
to glitch-soc
2018-04-14 12:30:55 +02:00
Thibaut Girka
4b1909612a
[Glitch] Handle preference to always display sensitive media
...
Port the UI part of 219b28e172
to glitch-soc
2018-04-14 12:27:14 +02:00
David Yip
605016368d
Merge pull request #419 from ThibG/glitch-soc/features/bookmarks
...
Bookmarks
2018-04-13 16:38:15 -05:00
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.
2018-04-11 21:05:34 +02:00
Thibaut Girka
89f5ae00a5
[Glitch] Improved media modal
...
Port d6e88e29e2
to glitch-soc
2018-04-08 23:15:25 +02:00
Thibaut Girka
7518a4b9d7
Remove duplicate message entries
2018-04-04 12:19:00 +02:00
beatrix
766a008931
Merge pull request #380 from ThibG/glitch-soc/features/domain-block-ui
...
Port #6628 to glitch-soc flavour
2018-03-30 14:50:02 -04:00
Thibaut Girka
769c536db4
[Glitch] Remove pointer events on the entire UI when a dropdown menu is open
...
Port 95fce1bca0
to glitch-soc
2018-03-30 12:45:23 +02:00
Thibaut Girka
caa6611877
[Glitch] Place dropdown menu top if it is closer to the bottom of the viewport
...
Port 27b532cc98
to glitch-soc
2018-03-30 12:31:29 +02:00
Thibaut Girka
d2b9747a50
Add basic domain block UI
2018-03-30 10:07:33 +02:00
Thibaut Girka
32ede640af
[Glitch] Display unfollow button even if account moved
...
Backport 1a90ef9c25
to glitch-soc
2018-03-29 14:59:20 +02:00
David Yip
299cfa4bc7
Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contents
...
Render toots with empty contents
2018-03-28 16:39:12 -05:00
Thibaut Girka
166fe6e6dd
Fix attachment lists
2018-03-28 22:19:36 +02:00
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.
2018-03-28 21:13:45 +02:00
Thibaut Girka
8fc7f85356
[Glitch] Display AttachmentList in notifications
...
Port 2cb19bf443
to glitch-soc
2018-03-27 16:09:33 +02:00
Thibaut Girka
9454cfc0ad
[Glitch] Display AttachmentList in timelines in compact style when media missing
...
Port 5079c1e322
to glitch-soc
2018-03-27 16:09:27 +02:00
Ash Levy
21e374356a
expanded notifications show like default
2018-03-22 10:20:36 -04:00
David Yip
bdeaef116e
Merge pull request #394 from ashkitten/compressed-notifs
...
fix compressed notifications again (#393 )
2018-03-19 15:41:09 -05:00
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
2018-03-18 20:17:15 -05:00
Ash Levy
59c1accd4b
fix compressed notifications again ( #393 )
2018-03-18 13:42:28 -04:00
Thibaut Girka
b05bebce6d
[Glitch] Federate pinned statuses over ActivityPub
...
Port b1f8dfd3cf
to glitch
2018-03-16 23:16:20 +01:00
David Yip
3c05ed5ce6
Merge pull request #386 from ashkitten/compressed-notifs
...
compress boost/fave notifications more
2018-03-16 16:35:15 -05:00
Ash Levy
1d27649098
compress boost/fave notifications more
2018-03-13 13:54:57 -04:00
Thibaut Girka
cb3a0bf3ed
Remove text requirement when media attached from statuses ( fixes #381 )
...
Ports 0c2a08adeb
to glitchsoc
2018-03-12 18:39:07 +01:00
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.
2018-02-10 20:59:50 +01:00
Thibaut Girka
810312213a
Remove some leftover code, I guess
2018-01-23 09:20:18 +01:00
David Yip
2a201c2ec6
Port 9cfbbbce1f
to glitch frontend
2018-01-18 10:25:37 -06:00
David Yip
dfcee78446
Style fixes to make eslint happier, hopefully
2018-01-18 09:13:07 -06:00
kibi!
8399fba7f2
Fixed autocollapse detection
2018-01-14 13:29:51 -08:00
cwm
0d399a4edc
Hide moved account's follow button in search result (tootsuite pr #5913 )
2018-01-09 08:50:55 -06:00
kibigo!
ff6ecdda4e
Add missing comma
2018-01-08 18:38:28 -08:00
kibigo!
95459fc5bd
Show SENSITIVE tag on sensitive images ( #267 )
2018-01-08 18:25:29 -08:00
kibigo!
85ffb07656
Fixed improper dropdown func binding for #293 + toot button spacing
2018-01-05 21:02:53 -08:00
kibigo!
77cb2d04f9
Styling and autosuggest fixes for #293
2018-01-05 20:43:16 -08:00
kibigo!
7a9aaf28c4
WIP <Compose> Refactor; 1000 tiny edits
2018-01-04 18:33:13 -08:00
kibigo!
0cb97608c7
WIP <Compose> Refactor; <ActionsModal>; dropdowns
2018-01-04 18:31:00 -08:00
kibigo!
c560373d5e
WIP <Compose> Refactor; SCSS ed.
2018-01-04 18:23:46 -08:00
kibigo!
f87cce9e28
WIPgit status <Compose> Refactor; <Composer> ed.
2018-01-04 18:21:59 -08:00
cwm
485dbbb9b7
Fix GIF avatars not autoplaying ( fixes #287 , tootsuite pr #6000 )
2017-12-28 08:30:51 -06:00
cwm
4a0dd0efea
onMuteNotifications validation (tootsuite pr #6092 )
2017-12-26 13:25:43 -06:00
cwm
ab81f8414d
Rename settingKey to settingPath (tootsuite pr #6046 & #6098 )
2017-12-26 13:21:20 -06:00
cwm
34630e00cb
pulled master, moved locale entry to new location
2017-12-10 15:22:15 -06:00
cwm
ac42b2b95d
fixes, functioning now
2017-12-09 12:06:00 -06:00
cwm
41bbfeec7c
add initial components based off of tootsuite pr #1507
2017-12-09 10:26:22 -06:00
cwm
f42a622bf9
fix a missing semicolon and mixed tabs/spaces that travis was complaining about
2017-12-08 21:09:53 -06:00
cwm
591a3769f4
merge tootsuite prs #5895 and #5889 into glitch flavour
2017-12-08 20:50:39 -06:00
David Yip
08290b0b02
Apply Javascript changes in tootsuite/mastodon#5887 to glitch flavour ( #239 )
2017-12-06 18:23:28 -06:00
David Yip
1221e3075d
Merge branch 'gs-master' into glitch-theme
2017-12-04 11:07:01 -06:00
kibigo!
882055afd0
Rename themes -> flavours ? ?
2017-12-03 23:26:40 -08:00