Commit graph

496 commits

Author SHA1 Message Date
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>
2023-02-25 14:35:31 +01:00
Christian Schmidt
eb3d03a52a [Glitch] Fix bad type for spellCheck attribute
Port 2c8bb9a76a to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-19 10:53:44 +01:00
Christian Schmidt
71629f6f99 [Glitch] Spell check input fields
Port 9b74ffa7e0 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-02-09 12:59:48 +01:00
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.
2023-02-03 20:52:07 +01:00
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
2023-01-26 19:36:44 +01:00
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>
2023-01-24 20:40:48 +01:00
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>
2023-01-18 17:44:45 +01:00
Peter Simonsson
37cd05b115 [Glitch] Fix dropdown menu positions when scrolling
Port 9d20c31f9c to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-12 11:18:22 +01:00
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>
2023-01-05 16:31:20 +01:00
Sean Whalen
a1eb5ed7b3 [Glitch] Replace hide toot with hide post
Port ca1fd89dfc to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2023-01-05 15:15:27 +01:00
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>
2023-01-05 15:12:33 +01:00
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>
2023-01-05 13:32:29 +01:00
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>
2022-12-23 18:59:20 +01:00
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>
2022-12-22 15:18:02 +01:00
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>
2022-12-15 20:47:58 +01:00
Claire
07eee38b87 Move translate button above media attachments/preview cards 2022-11-30 15:03:47 +01:00
Claire
b15bf23f9d Fix translate button not being shown when the toot has no Content Warning 2022-11-30 14:44:06 +01:00
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>
2022-11-30 13:53:38 +01:00
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>
2022-11-30 13:53:38 +01:00
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>
2022-11-30 13:53:38 +01:00
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>
2022-11-30 13:53:38 +01:00
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>
2022-11-30 13:53:38 +01:00
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>
2022-11-30 13:53:38 +01:00
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>
2022-11-30 13:53:38 +01:00
James Adney
d886636767 [Glitch] fix gif autoplay on iOS
Port 0a302f7673 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-28 11:55:09 +01:00
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>
2022-11-12 13:51:30 +01:00
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>
2022-11-10 11:06:56 +01:00
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>
2022-11-10 10:25:43 +01:00
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>
2022-11-10 10:15:21 +01:00
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>
2022-11-07 20:04:31 +01:00
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>
2022-11-07 07:54:18 +01:00
Eugen Rochko
df921b23a9 [Glitch] Change design of link footer
Port 0b91816814 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2022-11-06 17:29:04 +01:00
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>
2022-11-06 17:29:04 +01:00
Jeremy Kescher
f00756b79e Remove/update old "tootsuite" references, except those needed for Docker (#1860) 2022-11-01 09:38:05 +01:00
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>
2022-10-28 19:49:45 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
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>
2022-10-28 19:24:02 +02:00
Claire
6e553c6467 Revert notification design (#1875) 2022-10-28 10:30:14 +02:00
Claire
7379f8aa14 Fix status prepend design (#1874)
* Fix status prepend design

* Adjust status prepend styling a bit
2022-10-28 08:47:10 +02:00
Claire
d540cfc73f Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji 2022-10-11 12:43:19 +02:00
Claire
bf6b66bf32 Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
Claire
bd82ae6aaa Move flavours/glitch/utils/ready to flavours/glitch/ready 2022-10-11 11:31:11 +02:00