Claire
43c40b5df8
Fix thread lines not being properly updated when new posts are received ( #2210 )
2 years ago
Claire
e390c26429
Fix some of the Javascript linting issues, as well as bugs and unneeded divergences with upstream ( #2208 )
...
* Run eslint --fix
* Fix linting issues in video player and reduce divergences with upstream
This includes a behavior change of not auto-looping videos anymore. I don't
remember loops being ever intended, and they have been removed from upstream
a while ago, but we somehow missed the change.
* Fix lint issues in `app/javascript/flavours/glitch/selectors/index.js`
Those were basically caused by dead code that isn't present upstream, so
that brings us closer to upstream as well.
* Fix linting issue and bug in streaming/index.js
* Fix linting issues in config/webpack/shared.js
* Fix unused import in flavours/glitch/features/ui/index.js
* Fix linting issues and reduce divergences from upstream in flavours/glitch/features/ui/components/video_modal.jsx
* Fix linting issues in flavours/glitch/reducers
* Fix linting issues in glitch-soc onboarding modal
* Fix linting issues in flavours/glitch/features/ui/components/navigation_panel.jsx
* Remove dead code for unused local setting navbar_under
* Fix various linting issues
* Fix linting issues in flavours/glitch/components/scrollable_list.jsx and reduce divergences with upstream
2 years ago
Claire
b80dc7d2ed
Fix SCSS linting issues ( #2207 )
...
* Disable font-family-no-missing-generic-family-keyword for font-awesome accessibility icons
* Run stylelint --fix
* Avoid `@extend` directives with doodle modal CSS
* Drop use of `@extend` for notification cleanup buttons SCSS
* Run prettier on SCSS
2 years ago
Eugen Rochko
ffb5a3d4f3
[Glitch] Change logo version in header based on screen size in web UI
...
Port 4e6e4bcc4d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Nick Schonning
c4e35a3f68
[Glitch] Enable formatjs/prefer-pound-in-plural
...
Port 86d0a0b7d8
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
a1a60257c5
Disable full-width media in thread view
2 years ago
Eugen Rochko
a2a800c212
[Glitch] Add lines to threads in web UI
...
Port 4141f9228c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
e45bb3f893
[Glitch] Allow `==` when null checking
...
Port f14395c2cf
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Plastikmensch
c33ecc00fa
[Glitch] [Proposal] Make able to write React in Typescript ( #2190 )
...
Port 4866812b28
to glitch-soc
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2 years ago
fusagiko / takayamaki
0015bd91a6
[Glitch] Rewrite AnimatedNumber component with React hooks
...
Port b72a9eb02e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
fusagiko / takayamaki
eadf9807fb
[Glitch] Rewrite GIFV component with React hooks
...
Port e8450b1dc2
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
d509c41d38
[Glitch] Change all components to use the same error page in web UI
...
Port 8b0c634a8a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Nick Schonning
3237eb3759
[Glitch] Ensure tabIndex is number instead of string
...
Port 53376db94c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
neatchee
a73b29e8cc
[Glitch] Remove legacy decorators syntax
...
Port e272fc91e4
to glitch-soc
2 years ago
Christian Schmidt
bb60db4471
[Glitch] Replace `Status#translatable?` with language matrix in separate endpoint
...
Port 7583523bf0
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
a813ea3c25
[Glitch] Only offer translation for supported languages
...
Port cc0c37cd69
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
b50a08b15b
[Glitch] Add `lang` attribute to media and poll options
...
Port 41655e16ea
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Renaud Chaput
295d193e7f
[Glitch] Rename JSX files with proper `.jsx` extension
...
Port ae3812d182
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
eb3d03a52a
[Glitch] Fix bad type for spellCheck attribute
...
Port 2c8bb9a76a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Christian Schmidt
71629f6f99
[Glitch] Spell check input fields
...
Port 9b74ffa7e0
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
5d7c0b3254
[Glitch] Run eslint --fix
...
I don't like it changing files this way, but it's basically what
9a5233f107
and a few others did.
2 years ago
neatchee
c5af6caf05
Allow users to set the trigger height for lengthy toot auto-collapse ( #2070 )
...
* Allow users to set the trigger height for lengthy toot autocollapse
Add a field in the glitch-soc preferences to set the exact height in pixels of a "lengthy toot" where auto-collapse is triggered
Originally authored by Dean Bassett (github.com/deanveloper)
Squashed 3 commits from neatchee/mastodon and returned some values to project defaults:
* ef665c1df5821e684c8da3392049f33243fafa74
* 0fce108d210efe55027a3af061bfc57aaaa83843
* 998f701a2b2e37edbda7dffb11a61f67f5559b18
* Remove bad escape characters
* Apply feedback from glitch-soc code review
- move input width specification to CSS
- adjust language for clarity
* Update comments re: lengthy toot height
* Fix inconsistent indentation
* Use a calculated width that scales better with browser font instead of static 45px width
2 years ago
Claire
4b9c5fffde
[Glitch] Add lang attribute to compose textarea and CW field
...
Port 6feec4fd18
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
caeeec0fdb
[Glitch] Fix /api/v1/admin/trends/tags using wrong serializer
...
Port 0ad00e71c5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Peter Simonsson
37cd05b115
[Glitch] Fix dropdown menu positions when scrolling
...
Port 9d20c31f9c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
e08ebf920d
[Glitch] Add dropdown menu item to open admin interface for remote domains
...
Port c78d61f21a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Sean Whalen
a1eb5ed7b3
[Glitch] Replace hide toot with hide post
...
Port ca1fd89dfc
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Holden Foreman
786ab56927
[Glitch] Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users
...
Port fffb5e0287
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
4dc050c665
[Glitch] Fix unnecessary re-rendering of various components when typing in web UI ( #2063 )
...
Port 7e7f69dfed
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Eugen Rochko <eugen@zeonfederated.com>
2 years ago
Plastikmensch
9220032156
Use wrapper div as a spacer ( #2046 )
...
Keeps the alignment of timestamps, while also reducing clickable size
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com>
2 years ago
prplecake
b09f223f36
Wraps status timestamps in a `div` ( #2038 )
...
* Wraps status timestamps in a `div`
Fixes #1985
This wraps the status timestamp in a `div` to reduce the clickable
target size of the link. The `div` gets a `margin: 0 0 0 auto` to stick
it to the right margin of the status.
* Update app/javascript/flavours/glitch/styles/components/status.scss
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
123fb66cb5
[Glitch] Change dropdown menu to contain “Copy link to post” even for non-public posts
...
Port 4adc6160ad
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
07eee38b87
Move translate button above media attachments/preview cards
2 years ago
Claire
b15bf23f9d
Fix translate button not being shown when the toot has no Content Warning
2 years ago
Eugen Rochko
e347472acb
[Glitch] Change design of translations in web UI
...
Port 3a2f9a8c53
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
36b6edc0b7
[Glitch] Add mention of the translation provider when translating a post
...
Port d2d2ec29f4
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
1bd102f6a9
[Glitch] Change “Translate” button to only show up when a translation backend is configured
...
Port 119b5adbe0
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
a933af3805
[Glitch] Fix showing translate button when status has no language in web UI
...
Port 6090e6e067
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
377b2ce8d3
[Glitch] Don't show translate button to logged-out users
...
Port part of cd9a0f136d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
10b5e85e7c
[Glitch] Fix translations not being formatted, other issues in web UI
...
Port 798ed9890d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
24583c3194
[Glitch] Add user content translations with configurable backends
...
Port a593188ded
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
James Adney
d886636767
[Glitch] fix gif autoplay on iOS
...
Port 0a302f7673
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
d4f1b79bcf
[Glitch] Remove preview cards from fav and boost notifications
...
Port 0161fa9745
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
3b3886e80b
[Glitch] Add option to open original page in dropdowns of remote content in web UI
...
Port 3ff5a02f65
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Sasha Sorokin
a0b5700720
[Glitch] Remove aria-pressed where it's redundant
...
Port f3339b4ba9
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
f3e39d1776
[Glitch] Change larger reblogs/favourites numbers to be shortened in web UI
...
Port 40a2ab1dfe
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
d4a1711d5a
[Glitch] Add aria-expanded to content warning toggle button
...
Port b2a132bf9c
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Sunny Ripert
906cbff923
[Glitch] Fix JavaScript console error on Getting Started column
...
Port 99cf3cdb63
to glitch-soc
Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
Co-authored-by: Ilias Tsangaris <iliastsangaris@gmail.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
df921b23a9
[Glitch] Change design of link footer
...
Port 0b91816814
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
0082653909
[Glitch] Fix showing profile's featured tags on individual statuses
...
Port 51e5229712
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Jeremy Kescher
f00756b79e
Remove/update old "tootsuite" references, except those needed for Docker ( #1860 )
2 years ago
Eugen Rochko
96e921ff5e
[Glitch] Fix number of uses being shown again on trending hashtags in web UI
...
Port c7f1ae40b5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
e06a095eb4
[Glitch] Change featured hashtags to be displayed in navigation panel
...
Port 6ab724918b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
ad94457784
[Glitch] Remove volume number from hashtags in web UI
...
Port 93ef719ce2
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
ccdf8b587f
[Glitch] Fix `nofollow` rel being removed in web UI
...
Port b01fad5dbd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
60bd9718cf
[Glitch] Change post editing to be enabled in web UI
...
Port 85fc370638
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
f3c3f1f244
[Glitch] Fix error when rendering limited account in web UI
...
Port a041d3cb27
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
104af53947
[Glitch] Change public accounts pages to mount the web UI
...
Port 0fdfbe555e
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
5f44aae001
[Glitch] Change about page to be mounted in the web UI
...
Port e376f33207
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
47700a2f99
[Glitch] Fix intermediary responsive layout, accessibility on navigation in web UI
...
Port e13d9e178c
to glitch-soc
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
579cb88392
[Glitch] Add dismissable hints to various timelines in web UI
...
Port aa2b4d5c4c
to glitch-soc
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Yamagishi Kazutoshi
0094109575
[Glitch] Remove timeline preview link from nav panel when not signed-in
...
Port c312e0180b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
6e553c6467
Revert notification design ( #1875 )
2 years ago
Claire
7379f8aa14
Fix status prepend design ( #1874 )
...
* Fix status prepend design
* Adjust status prepend styling a bit
2 years ago
Claire
d540cfc73f
Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji
2 years ago
Claire
bf6b66bf32
Move more modules from flavours/glitch/utils to flavours/glitch
2 years ago
Claire
bd82ae6aaa
Move flavours/glitch/utils/ready to flavours/glitch/ready
2 years ago
Claire
812b755bcb
Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/
2 years ago
Claire
874cd0e883
Rename flavours/glitch/util into flavours/glitch/utils
2 years ago
Claire
619601a94b
Move flavours/glitch/util/api to flavours/glitch/api
2 years ago
Claire
3bf201ddaa
Move flavours/glitch/util/initial_state to flavours/glitch/initial_state
2 years ago
Eugen Rochko
7fbd7deefa
[Glitch] Add server banner to web app
...
Port d2528b26b6
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
f1599cb808
[Glitch] Add interaction modal to logged-out web UI
...
Port 7fb738c837
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
790ee76c1c
[Glitch] Fix various issues with logged-out web UI
...
Port part of e2b561e3a5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
f9d95f82d6
[Glitch] Fix various issues with logged-out Web UI
...
Port fixes from cd9a0f136d
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
6782bded91
[Glitch] Fix logo on /web/start
...
Partial port from babebc4e8a
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
da834aa518
[Glitch] Add explore page to web UI
...
Port 19b4c36e40
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
440676c84a
[Glitch] Fix pop-out player appearing on mobile screens in web UI
...
Port d416f3f662
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
dadb98634c
Fix regexp filtering in pinned community/public TLs ( #1840 )
2 years ago
Claire
0dfcf54d06
Fix position of “expand” icon in media modal on glitch-soc ( #1838 )
2 years ago
Claire
e1d3397818
[Glitch] Add ability to filter individual posts
...
Port 522fbf9d13
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Takeshi Umeda
4116cc4e83
[Glitch] Fix case where boolean was passed to onFilter on StatusActionBar
...
Port ae20601c67
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
6ce8b42ff1
[Glitch] Fix reblogged statuses being erroneously shown as filtered
...
Port 106b27830b
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
60649e5665
[Glitch] Revamp post filtering system
...
Port front-end changes from 90e5a9bd98
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
e0055fdcf7
[Glitch] Fix media modal link button
...
Port f3bad2e26f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Rens Groothuijsen
6dfb31ea0c
[Glitch] Add warning for sensitive audio posts
...
Port aced8820dd
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
5e628e4fd3
Add option to share CW toggle state across instances of a post
2 years ago
Claire
711301519a
Improve interaction between out-of-CW attachments and collapsed toots
2 years ago
Claire
406b7d972b
Add local setting toggle to move media attachments outside CWs
...
Fixes #1812
2 years ago
Eugen Rochko
acd3f34a31
[Glitch] Change hashtag numbers to have clearer labels in web UI
...
Port 436e52927a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
cfb73f9fc9
[Glitch] Add customizable user roles
...
Port front-end changes from e164d6a687
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Eugen Rochko
a14136558e
[Glitch] Add notifications for new reports
...
Port e6eb0a29b9
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
a7a44a4dff
Fix checkmark on interaction buttons with larger fonts ( #1799 )
...
Fixes #1796
2 years ago
Claire
705ebf794b
[Glitch] Remove unnused otherAccounts property
...
Port 8ce9a12526
to glitch-soc + other related cleanup
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Jeong Arm
4c43ac85d6
[Glitch] Add lang html attr to each posts
...
Port 9adb7dde33
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2 years ago
Claire
47fa6c3b91
Add language indicator icon and local settings for status icons ( #1788 )
...
* Add language indicator
* Add local settings for status icons
* Switch to text icon for language
3 years ago
Claire
ca81647961
Various code cleanup ( #1782 )
...
* Remove duplicate in_chosen_languages definition
* Use `DEFAULT_FIELDS_SIZE` instead of `MAX_FIELDS` to reduce code differences with upstream
* Remove duplicate annotation
* Fix incorrect cross-flavor imports
* Remove deprecated `hide_network` setting (replaced by account column)
* Remove unused KeywordMutesHelper
* Remove trailing spaces
* Remove commit_hash from InstancePresenter, as it has been unused since mid-2017
3 years ago
Claire
e6af69d56b
Use upstream's settings for CW auto-expand and column swiping ( #1770 )
...
* Use Mastodon server-side settings for automatically expanding toots with CWs
* Add modal warning about settings changes
* Use Mastodon server-side settings for disabling swiping
3 years ago
Eugen Rochko
fbef44009d
[Glitch] Add `limited` attribute to accounts in REST API and a warning in web UI
...
Port ac3d6f9a35
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago
Claire
6545114ac7
[Glitch] Fix block/mute lists showing a follow button when unblocking a user ( #18364 )
...
Port 917567567a
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
3 years ago