Eugen Rochko
ad978ab1d4
[Glitch] Change design of audio players in web UI
...
Port 75a2b8f815
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Eugen Rochko
9a641a5a0e
[Glitch] Add hints about incomplete remote content to web UI
...
Port 3e9dc4044b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
ThibG
776aff9656
[Glitch] Hide sensitive preview cards with blurhash
...
Port 8e96510b25
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Yamagishi Kazutoshi
2da2f7f7c2
[Glitch] Fix ref attr for react-textarea-autozsize
...
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
4 years ago
Mélanie Chauvel
0b01492276
[Glitch] Change wording from “Hide media” to “Hide image/images” in Web UI
...
Port 40d81620b0
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
7ea8b07b93
[Glitch] Fix page incorrectly scrolling when bringing up dropdown menus
...
Port 77ec0875ea
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
572e89e563
[Glitch] Fix expanded video player issues
...
Port c955f98d36
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
ce33822e2c
[Glitch] Fix and refactor keyboard navigation in dropdown menus
...
Port 80182eda62
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
81ef26b67d
[Glitch] Fix not being able to vote
...
Port e12a5635da
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Gurgen Hayrapetyan
4849752a9c
[Glitch] Fix Poll fetchPoll action not being debounced.
...
Port ab8d7c0680
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
5d2cdeb225
Fix deprecated use of createBrowserHistory
5 years ago
Sasha Sorokin
b367dd713e
[Glitch] Improve polls: option lengths & redesign
...
Port 37b3985bfa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
mayaeh
912f4a2eba
[Glitch] Change the string "hidden" to "blocked" in WebUI
...
Port 310d729745
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Mélanie Chauvel (ariasuni)
669cf49c54
[Glitch] Change the tooltip "Toggle visibility" to "Hide media" in web UI
...
Port 5e4b649655
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Bèr Kessels
fc53d9cc76
[Glitch] Code style improvements in JavaScript
...
Port fd76955f39
to glitch-soc
* JS-linter: fix trailing comma's
* Configure eslinter to ignore this onchange error.
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
bc4de2f661
[Glitch] Add source-mapped stacktrace to error message in web UI
...
Port ff3a11d01d
to glitch-soc
5 years ago
ThibG
e443874024
[Glitch] Fix native share button not being displayed for unlisted toots
...
Port 02236332ba
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
cf5b769857
Add support for xmpp: and magnet: URIs to misleading link detection code
5 years ago
Eugen Rochko
cf230d551f
[Glitch] Change number animations direction based on decrease or increase
...
Port 10e209d8e0
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
41d0869d7f
[Glitch] Change last_status_at to be a date, not datetime
...
Port 42d2a915e4
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
e36d0a98cc
[Glitch] Add streaming API updates for announcements being modified or deleted
...
Port b9d74d4076
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
8924743349
Refactor notifications cleaning mode
5 years ago
ThibG
5e4d1f699e
[Glitch] Fix “new items glow” being displayed above settings and announcements
...
Port 90b13ffd00
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
f1e4738f81
[Glitch] Add number animations
...
Port 76f1ed834e
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
1f8563c256
Rename DropdownMenu's ariaLabel to title, to reduce unnecessary changes with upstream
5 years ago
Eugen Rochko
008063d562
[Glitch] Change reported media attachments to always be hidden in admin UI
...
Port 1ded3bb752
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
c6ba870f00
[Glitch] Fix poll options not being selectable via keyboard
...
Port c05ed8a625
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
2f8c4c588b
[Glitch] Fix lost focus when modals open/close
...
Port 35b142a7ad
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
776352d329
[Glitch] Add hotkey for opening media files
...
Port a690b3e470
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
84a27a08df
[Glitch] Fix notification message for own poll
...
Port a4301b5202
and be93318c05
to glitch-soc
5 years ago
Gabriel Rubens
d76ab55608
[Glitch] Use inert polyfill
...
Port 3cc9ff872f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Takeshi Umeda
f2fc7246e1
[Glitch] Fix an issue where polls with 'expires_at' not set expired
...
Port 5b46467474
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
2ed48037ea
[Glitch] Replace fav icon animation with CSS
...
Port 3a929dbedd
to glitch-soc
And extend that to collapse button
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
BSKY
59946f9231
[Glitch] Add noopener and/or noreferrer
...
Port fccf83e1f2
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
c2112c7781
[Glitch] Fix crash when switching back/from mobile layout
...
Port 91582937f3
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
877e8c9d79
[Glitch] Fix media editing modal changing dimensions when image loads
...
Port 6ebd74f4fa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
4ee167d89b
[Glitch] Remove `lang` attribute from individual statuses
...
Port 538db85d3c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
9ba67c6045
[Glitch] Fix performance of home feed regeneration
...
Port front-end changes from f665901e3c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
7fc6213bfe
[Glitch] Fix thread column showing pin button
...
Port 129bc871a0
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
90bdbddbfe
[Glitch] Fix scroll to top in single column UI
...
Port 2dee293c4c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
fdadd520b1
[Glitch] Fix column header scrolling with the page
...
Port 706a48ee1f
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
9e2e623ebe
[Glitch] Change single-column mode to scroll the whole page
...
Port aa22b38fdb
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
13bc2cd4af
[Glitch] Change conversations UI
...
Port bc5678d015
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
4d6ef02203
Fix using wrong component in ColumnBackButtonSlim
5 years ago
ThibG
e5a50eda4c
[Glitch] Add voters count support
...
Port front-end changes from 3babf8464b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
332be562ea
[Glitch] Change vote results to display ex-aequo leading options as leading
...
Port 15b3eeb326
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
98cc81c0e2
[Glitch] Fix vote checkmark in poll results
...
Port b0cda7a504
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
e25b7feb72
[Glitch] Show user what options they have voted
...
Port front-end changes from b359974d9b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
75673cf8e3
[Glitch] Fix “slow mode” issues
...
Port f109867578
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
15a37a967c
[Glitch] Fix expiring polls not being displayed as such in the WebUI
...
Port 524187b653
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
0e1291c888
Fix wrong icons from last refactoring
...
Fix regressions from f154d9d6e9
5 years ago
Thibaut Girka
2aa0cdf7e6
Use the `Icon` component instead of directly using `i` tag
5 years ago
Thibaut Girka
f154d9d6e9
Use upstream's Icon component
...
Rework the codebase to avoid unnecessary differences with upstream
5 years ago
Thibaut Girka
f2b307af25
Move “export” before decorators
...
As this is what upstream does.
See also https://github.com/tc39/proposal-decorators/issues/69
5 years ago
Eugen Rochko
a869572aab
[Glitch] Fix wrong sum of usage in hashtag component in web UI
...
Port a6a63358c3
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
4907517db4
[Glitch] Fix wrong pluralization in hashtag component in web UI
...
Port 1a00bd9244
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
ca86858558
[Glitch] Change hashtag component in web UI to show numbers for 2 last days
...
Port d19d86fe2b
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
b86292af33
[Glitch] Fix uncached media in web UI not being clickable
...
Port 34adc8784a
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
23c513846a
[Glitch] Add "not available" label on unknown media attachments
...
Port d344289431
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
12c188f533
[Glitch] Restore hashtag suggestions from local tag history
...
Port 5ab1e0e738
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
3c70fb9146
[Glitch] Fix emoji autosuggestions
...
Port 784c88e16d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
3380e96449
[Glitch] Add autosuggestions for hashtags
...
Port cfb2ed7823
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
682cfbb829
Fix imports importing modules from vanilla flavour instead of glitch
5 years ago
Eugen Rochko
7fe2120dd5
[Glitch] Add profile directory to web UI
...
Port cb447b28c4
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
f3ac4a4411
Fix clicking on the new audioplayer opening the toot in detailed view
5 years ago
Eugen Rochko
b90bd31cfd
[Glitch] Fix more visual issues with the audio player
...
Port 2e99e3cab3
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
3aeaf9b897
[Glitch] Add audio player
...
Port 4190e31626
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
3282bbe454
Add option to rewrite mentions to mentioned user's username or acct
...
Fixes #666
5 years ago
Thibaut Girka
ed4317b549
[Glitch] Fix hidden statuses losing focus
...
Port 0d13a9cd13
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
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>
5 years ago
Eugen Rochko
e8ad0a8006
[Glitch] Fix hashtag links always being lowercase
...
Port 5e35aa8280
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
e8e980cdac
[Glitch] Improve focus handling with dropdown menus
...
Port 396b8cdd0f
to glitch-soc
5 years ago
Thibaut Girka
d10f6036cf
Implement keyboard navigation in glitch-soc composer
5 years ago
ThibG
a4b15e2cf0
[Glitch] Port changes to IconButton
...
Port changes to IconButton from 27a0d02d0d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
fe1de4e49b
[Glitch] Improve dropdown menu keyboard navigation
...
Port a12f1a0baf
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
ThibG
6afdb6c2b6
[Glitch] Trap tab in modals
...
Port 5c73746b69
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
3ea7a334d8
Fix up try/catch block in invalid URL handling
5 years ago
Thibaut Girka
cbd75fe128
Remove href attribute of invalid links instead of crashing
5 years ago
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>
5 years ago
Thibaut Girka
ff0ceb28b3
Remove link rewriting option as it is easily bypassable
5 years ago
Thibaut Girka
76b80a1511
Perform case-insensitive comparison for international domain names
...
Note: this uses `toLowerCase()` instead of doing proper case folding
5 years ago
Thibaut Girka
43b137e1f9
Perform case-insensitive comparison of non-International domain names
5 years ago
Thibaut Girka
c01de0f721
Ensure link rewriting setting changes are immediately applied
5 years ago
Thibaut Girka
6600da0f7b
Handle Mastodon-generated links for targets starting with “www.” properly
5 years ago
Thibaut Girka
df866a464d
Add options to highlight misleading links in statuses
...
Fixes #1162
5 years ago
ThibG
7f147acea6
[Glitch] Change contrast of status links that are not mentions nor hashtags
...
Port 10e78ecf57
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Thibaut Girka
91da921dbb
Fix links in status media having their title rewritten
5 years ago
Thibaut Girka
48c68eafb7
Handle animated emoji on mouse hover in CWs and poll options
5 years ago
ThibG
c1231a846a
[Glitch] Play animated custom emoji on hover
...
Port 7de8c51873
to glitch-soc
5 years ago
Thibaut Girka
621590b4ab
Refactor DisplayName component to make it closer to upstream
5 years ago
Thibaut Girka
249b7c7c12
Fix filtering behaviors
5 years ago
Thibaut Girka
6ff285d948
Fix *another* typo and crash in StatusIcons
5 years ago
Thibaut Girka
a2df11ebaf
Fix typo and crash in StatusIcons
5 years ago
Thibaut Girka
46687a3cbd
Shorten status icon tooltip text
5 years ago
Thibaut Girka
572009cf56
Add status icon for local-only toots
5 years ago
Thibaut Girka
7db7cb31b1
Add tooltips to status icons
5 years ago
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>
5 years ago
Thibaut Girka
fc8577cf2b
Minor refactoring
5 years ago
Thibaut Girka
707b8d7d75
Move the “Show why” button inline
5 years ago
Thibaut Girka
85f3bc1ab3
Implement feature to add filtered phrases to content warnings
5 years ago
Thibaut Girka
16b79a6237
Add options to configure filtering behavior
5 years ago
Thibaut Girka
bde7a415b9
Add a way to know why a status has been filtered, and show it anyway
5 years ago
Thibaut Girka
c94966891a
Minor cleanup and maybe minor performance improvements
5 years ago
Thibaut Girka
c49f7d5d16
Use strict equality rather than Immutable.is as the compared props are values
5 years ago
Thibaut Girka
82a76f03a4
Assume children of visible IntersectionObserverArticle always change
...
This fixes multiple issues, while adding few computations
5 years ago
Thibaut Girka
c0b5ee315d
Revert to using upstream's optimisations
...
This *does* break things, as `shouldComponentUpdate` assume the
children to never change!
5 years ago
Thibaut Girka
0ef6a114e7
Fix error boundary DOM
5 years ago
Thibaut Girka
82cd138c89
Fix some React warnings
5 years ago
ThibG
4175f13155
[Glitch] Add option to disable blurhash previews
...
Port 3086c645fd
to glitch-soc
5 years ago
Thibaut Girka
598cdc9542
Use a different icon for audio attachments
5 years ago
Eugen Rochko
d7eb580053
[Glitch] Add media description as title to links of unknown media attachments
...
Port front-end changes from 49ebda4d49
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
967456b6a9
[Glitch] Add audio uploads
...
Port front-end changes from f7f23b4a19
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago
Eugen Rochko
362f3973be
[Glitch] Fix some React warnings
...
Port cc8f6b3cda
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Takeshi Umeda
1329308bc7
[Glitch] Improvement variable height in single column layout
...
Port d93b82af87
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
ff88387a4a
[Glitch] Improvements to the single column layout
...
Port 0e445ebb13
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
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>
6 years ago
Eugen Rochko
610b4b44c4
[Glitch] Add single-column mode
...
Port 9ddeb30f90
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
b45f555a0c
Minor cleanup
6 years ago
Thibaut Girka
d61a6271c6
Add DM conversations mode similar to upstream
6 years ago
Jeong Arm
b32a62fe95
[Glitch] Scroll to compose form when focus
...
Port 8f3c32e29c
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
5b92910664
Fix expanding status from menu modal in glitch-soc
...
Fixes #1085
6 years ago
slice
22130a0947
Fix incorrect PropType in Glitch AutosuggestInput
6 years ago
Thibaut Girka
b4d4138cf9
[Glitch] Add keyboard shortcut to hide/show media
...
Port a472190729
and 988342a56c
to glitch-soc
6 years ago
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>
6 years ago
Eugen Rochko
a5da59f140
[Glitch] Change account gallery in web UI
...
Port 3f143606fa
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Eugen Rochko
ccf4f3240a
[Glitch] Add blurhash
...
Port front-end changes from fba96c808d
to glitch-soc
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
6 years ago
Thibaut Girka
67fb9a8679
Add keyboard shortcut to collapse/uncollapse toots
6 years ago
Thibaut Girka
f3acf8f414
Add hotkey for bookmarking a toot
6 years ago
Thibaut Girka
aa1832ac4d
Hide suggestions by default
...
They will be enabled if the input has focus
6 years ago
Thibaut Girka
d7e4be285a
Add emoji suggestion to poll options
6 years ago
Thibaut Girka
df52004fe6
Add suggestions in CW field
6 years ago
Thibaut Girka
ef249a2718
Rename status__text to status__content__text for consistency with upstream
6 years ago
Thibaut Girka
659f972bed
Do not switch to italic for status media buttons
6 years ago
Thibaut Girka
47faf47ed5
ComposerTextarea → AutosuggestTextarea
6 years ago
Eugen Rochko
9b9816aba6
[Glitch] Show suggested follows on search screen in mobile layout
...
Port ad510db3a1
to glitch-soc
6 years ago
Thibaut Girka
e3c1472040
Shift+click on column Back button to return to last pinable column
6 years ago
Thibaut Girka
8d57c0e70e
When selecting a toot via keyboard, ensure it is scrolled into view
6 years ago
Thibaut Girka
fbec0edf08
Fix opening/closing gifv sometimes making the timeline scroll
6 years ago
ThibG
30500dff7c
Merge pull request #981 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
ThibG
be6885eb93
[Glitch] Update poll remaining time just like with status timestamps
...
Port daab45d4ae
to glitch-soc
6 years ago
Thibaut Girka
14bad3f472
Do not handle clicks in detailed status content
6 years ago
ThibG
9e80b34a95
[Glitch] Add a “Block & Report” button to the block confirmation dialog
...
Port 6df4a82969
to glitch-soc
6 years ago
Eugen Rochko
614bd3f8d4
[Glitch] Add `lang` attribute to statuses in web UI
...
Port JS changes from e6cfa7ab89
to glitch-soc
6 years ago
ThibG
8b5b686f08
[Glitch] Add support for custom emojis in poll options
...
Fixes #956
Port 80f0910e21
to glitch-soc
6 years ago
ThibG
931ecc8824
[Glitch] Add UI for enabling/disabling poll notifications
6 years ago
Thibaut Girka
a1c6e6de1b
Remove leftover console.log
6 years ago
ThibG
45e4c90a23
Merge pull request #953 from ThibG/glitch-soc/merge-upstream
...
Merge upstream changes
6 years ago
Thibaut Girka
9c620fc5c8
[Glitch] Add support for poll ending notifications
...
Port front-end parts of 3a92885a86
to glitch-soc
6 years ago
ash lea
f534f4869e
add local setting to auto reveal media behind cw
6 years ago
Eugen Rochko
ca45198ccb
[Glitch] Fix NaN in Poll component
...
Port 75cb93676b
to glitch-soc
6 years ago
ThibG
6e295beab2
[Glitch] Disable the underlying button element when an ItemButton is disabled
...
Port b3668a79ec
to glitch-soc
6 years ago
Thibaut Girka
1bb23100b1
Add an icon to highlight polls behind a Content Warning
6 years ago
Eugen Rochko
94a0149ff3
Fix poll options not rendering text after vote/refresh
...
Port fd128b9c7a
to glitch-soc
6 years ago
Eugen Rochko
7f32d675b0
Render unicode emoji in polls using emoji pack
...
Port 4407f07014
to glitch-soc
6 years ago
Thibaut Girka
e80fabfd84
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.
6 years ago
Eugen Rochko
ba6ca3cd69
Fix various issues in polls
...
Port front-end changes from a198add83b
to glitch-soc
6 years ago
ThibG
7f27ee35a8
Display closed polls as such
...
Port cda6ece760
to glitch-soc
6 years ago
ThibG
530151466e
Fixes to the polls UI
...
Port 4ced609497
to glitch-soc
6 years ago
Eugen Rochko
f14eda23e9
Fix web UI crash on page load when detailed status has a poll
...
Port 5dfa433698
to glitch-soc
6 years ago
Eugen Rochko
8d70a8a19b
Add polls
...
Port front-end parts of 230a012f00
to glitch-soc
6 years ago
Thibaut Girka
d82de360c1
Fix non-numeric account identifiers leading to /web/accounts/NaN
...
I'm not sure what purpose these “+” served?!
6 years ago
Thibaut Girka
91c9cb6022
[Glitch] Change buttons on timeline preview to open the interaction dialog
...
Port 71e28ba399
to glitch-soc
6 years ago
Thibaut Girka
2769b54466
[Glitch] Fix occasional crash in detailed toot view
...
Port f9a338b473
to glitch-soc
6 years ago
Thibaut Girka
614ea184bb
[Glitch] Add "copy link" item to status action bars
...
Port 3cfadd875c
to glitch-soc
6 years ago
Thibaut Girka
b89e003c4d
Handle deletion of filtered toots
6 years ago
Thibaut Girka
7c0728c776
Minor fix to timeline jump avoiding behavior
6 years ago
Thibaut Girka
dfe1d548a5
Adjust scroll when statuses above the current scroll position are deleted
6 years ago
Thibaut Girka
0b91322762
Adjust scroll if previewCard appeared
6 years ago
Thibaut Girka
049c9a3b97
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.
6 years ago
Thibaut Girka
68f3d003d6
Refactor intersection observer article code
6 years ago
Thibaut Girka
e49e54a5ff
Cleanup redundant markup for hidden statuses
6 years ago
Thibaut Girka
405ef5ad37
Hide items rendered out-of-frame (once they have been rendered at least once)
6 years ago
Thibaut Girka
1a70fca168
Fix CW unfolding not triggering re-layout in public hashtag page
6 years ago
Thibaut Girka
2e93f87c9f
[Glitch] Replace unlock-alt icon with unlock
...
Port 6513f6c953
to glitch-soc
6 years ago
Thibaut Girka
3e8b623975
[Glitch] Redesign public hashtag page to use a masonry layout
...
Port bc642ac24b
to glitch flavour
6 years ago
Thibaut Girka
92830029ca
[Glitch] Make hashtag search results link to the hashtag URL
...
Port 6cfb357940
to glitch-soc
6 years ago
Thibaut Girka
e03813cf0a
[Glitch] Stop gifv timeline preview explicitly when open the media gallery
...
Port cf3c0fc38c
to glitch-soc
6 years ago
Thibaut Girka
147f4f9fd2
[Glitch] refactored account.js
...
Port 57c91fbbed
to glitch-soc
6 years ago
Thibaut Girka
e8ae77236b
[Glitch] Only consider mouse move in scrolling on item insertion
...
Port cc1f13dfd0
to glitch-soc
6 years ago
Thibaut Girka
825decbf9e
[Glitch] Identify manual scrolling to cancel scroll to top reset on mouse idle
...
Port 2f86fc5e0a
to glitch-soc
6 years ago
Thibaut Girka
19c64a49f7
[Glitch] Cancel list scroll reset after mouse move on wheel scroll
...
Port 9cfd610484
to glitch-soc
6 years ago
Thibaut Girka
21f27e6579
[Glitch] Temporarily hold timeline if mouse moved recently
...
Port 6a1216d2cd
to glitch-soc
6 years ago
Thibaut Girka
22dedb676b
[Glitch] Fix unnecessary loadMore calls when the end of a timeline has been reached
...
Port 8389b496ba
to glitch flavour
6 years ago
Thibaut Girka
1a3088364f
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.
6 years ago
Thibaut Girka
5eaf2c9e02
[Glitch] Back to the getting-started when pins the timeline
...
Port 5bf100f87b
to glitch-soc
6 years ago
Thibaut Girka
9fc7ad7b9c
[Glitch] Always display tab navigation on local/federated timeline even when empty
...
Port 90b64c0069
to glitch-soc
6 years ago
Thibaut Girka
1e656c3632
[Glitch] Fix “load more” button when no data has been fetched
6 years ago
Thibaut Girka
73ee38f485
[Glitch] Do not display empty message when the list is known to have more elements
6 years ago
Thibaut Girka
39696024ca
Minor cleanup in ScrollableList component
6 years ago
Thibaut Girka
7e63fb26e0
Do not hardcode preferences link, pleroma doesn't have it
6 years ago
Thibaut Girka
922d05864f
Add error boundary component to catch Web UI crashes
6 years ago
Thibaut Girka
0d3612482e
Render placeholder instead of image when MediaGallery container width isn't known
6 years ago
Thibaut Girka
b3ff35a75c
Move URLs to backend in their own file
6 years ago
Thibaut Girka
86527024aa
In detailed status view, take displayMedia setting into account when changing media
...
Fixes #819
6 years ago
Thibaut Girka
2fe0cb1623
[Glitch] Prepend account header even when status list is empty
...
Partially port 90b64c0069
6 years ago
Thibaut Girka
5ebbaffaa3
[Glitch] Use local instead of global loading indicator for timelines, account timelines
...
Port dd00cd19d2
to glitch-soc
6 years ago
Thibaut Girka
7e18e95716
Add a local setting for inline preview cards
6 years ago
Thibaut Girka
bdc2338833
Add a “link” status icon for toots with a preview card
6 years ago
Thibaut Girka
ac9780b844
[Glitch] Include preview cards in status entity in REST API
...
Port 795f0107d2
to glitch-soc
6 years ago
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