Thiago 'Jedi' Cerqueira
84718945c6
[bugfix] Fix blurhash losing proportion when more than one item ( #17 )
...
Fixes #14
The style changes I made in #11 didn't take hidden media in consideration. This PR fixes it.


Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/17
Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com >
Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com >
2025-03-13 13:27:42 +00:00
Thiago 'Jedi' Cerqueira
4bb7992d4c
[Feature] Remove hardcoded limit of media ( #11 )
...
Fixes #7
The limit of upload and remote display media was hard coded to 4.
In this PR, I did the following changes:
- Status form now respects instance's upload limit config.
- Remove the limit of images shown on statuses
- Remote statuses may have more than local instance's limit
Also, I kept the 16:9 aspect ratio of the images. I can change to more complex layouts in future PRs if needed.
This works, but it needs more tests. I don't have how to change the config of my instance, so I had to test forcing duplicates on the post. Any help to validate configuration would be nice.

Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/11
Co-authored-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com >
Co-committed-by: Thiago 'Jedi' Cerqueira <thiagoa7@gmail.com >
2025-03-04 19:45:04 +00:00
julia
3481816b99
[bugfix] Make the logo icon / wordmark on mobile/simple UI appear ( #4 )
...
At least for the logo-symbol-wordmark.svg, this appears to usually be added
by some ruby code in application.html.haml, but since we have a static index.html
this never gets inserted into the HTML. Rather than embedding it into the HTML,
just make the two logos pull from files in public/.
This does not update the branding of the files, just makes them appear.
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/4
Co-authored-by: julia <midnight@trainwit.ch >
Co-committed-by: julia <midnight@trainwit.ch >
2024-12-27 11:55:03 +00:00
tobi
4df14235c6
[feature] Move use_blurhash to app settings, enable by default ( #5 )
...
Does what it says on the tin! This serves as a decent model (imo) for how to move something from Mastodon's rather opaque server-side settings to client settings.
Reviewed-on: https://codeberg.org/superseriousbusiness/masto-fe-standalone/pulls/5
Co-authored-by: tobi <tobi.smethurst@protonmail.com >
Co-committed-by: tobi <tobi.smethurst@protonmail.com >
2024-12-27 11:54:18 +00:00
tobi
b8dd1e34bd
remove unused translation languages
2024-12-18 11:55:01 +01:00
Laura Hausmann
3962700726
Fix 24:xx timestamps
2023-10-23 12:22:45 +02:00
Laura Hausmann
1feffe4326
Ignore hashtag history if undefined
2023-10-14 15:03:34 +02:00
Laura Hausmann
6ac4848fbb
Merge remote-tracking branch 'upstream' into glitch
2023-10-12 20:16:41 +02:00
Laura Hausmann
d35cbe4473
Remove /deck prefix
2023-10-12 20:13:44 +02:00
Renaud Chaput
7b325aa81b
[Glitch] Autofix missing comma and indentation in JS files
...
Port 774e1189d2 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-10-09 21:14:25 +02:00
Claire
967bd543bb
[Glitch] Fix auto-loading-more when not scrolled
...
Port 2b98e2ecd6 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-10-08 17:34:10 +02:00
Michael Stanclift
cfc0da77ac
[Glitch] Fix retention dashboard not displaying correct month
...
Port 7fddeca190 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-10-08 16:33:37 +02:00
Renaud Chaput
919ed0e469
[Glitch] Convert dropdown_menu state to Typescript
...
Port 4b7bc1f07c to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-09-26 13:19:27 +02:00
Claire
d3f14dd7d4
[Glitch] Fix dismiss button overlapping with text in dismissable banners
...
Port 2a4fcc51fd to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-09-15 21:48:36 +02:00
Claire
023673c0d9
[Glitch] Add data-nosnippet attribute to remote posts and local posts with noindex
...
Port c3a42e1280 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-09-02 11:49:35 +02:00
Claire
685270f3f7
[Glitch] Fix clicking “Explore” or “Live feeds” column headers to scroll in advanced mode
...
Port e90649b064 to glitch-soc
Co-authored-by: Plastikmensch <Plastikmensch@users.noreply.github.com >
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-08-24 22:00:27 +02:00
Claire
c053bfc45a
[Glitch] Fix “legal” report category not showing up in moderation interface
...
Port 0446394465 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-08-22 18:54:22 +02:00
gunchleoc
09ebf7e37c
[Glitch] Replace 'favourite' by 'favorite' for American English
...
Port 217ef7f2af to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-30 14:44:36 +02:00
Claire
6256cee034
Change error boundary to upstream's ( #2323 )
2023-07-27 19:25:07 +02:00
Claire
0c45bed333
[Glitch] Fix “Back” button sometimes redirecting out of Mastodon
...
Port a442a1d1c6 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-17 19:12:09 +02:00
Stanislas Signoud
9bd012b7cb
[Glitch] Change links in multi-column mode so tabs are open in single-column mode
...
Port 5fad7bd58a to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-14 13:01:31 +02:00
Eugen Rochko
f0d3267fbf
[Glitch] Fix dropdowns being disabled for logged out users in web UI
...
Port a8edbcf963 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-14 13:01:31 +02:00
Renaud Chaput
18f55567b0
[Glitch] Upgrade to typescript-eslint v6
...
Port a7253075d1 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-13 14:51:24 +02:00
Claire
3be4f4266d
Fix incorrect types in DisplayName
2023-07-13 14:51:24 +02:00
Claire
0870c7c95e
[Glitch] Upgrade to Prettier 3
...
Port 73b64b8917 to glitch-soc
2023-07-13 14:01:40 +02:00
Eugen Rochko
71f8c45c18
[Glitch] Change label and design of sensitive and unavailable media in web UI
...
Port 338a0e70cc to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-12 15:43:10 +02:00
fusagiko / takayamaki
9e311f95aa
[Glitch] simplify counters
...
Port e0d230fb37 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-12 15:18:41 +02:00
alfe
5b9e43187c
[Glitch] Rewrite <ShortNumber /> as FC and TS
...
Port 20e85c0e83 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-12 15:17:18 +02:00
Renaud Chaput
55ea79165a
[Glitch] Convert <DismissableBanner> to Typescript
...
Port 4534498a8e to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-12 15:09:14 +02:00
Renaud Chaput
0bfa4a990f
[Glitch] Fix translate button position
...
Port 9f078e238d to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-12 15:05:24 +02:00
Eugen Rochko
a117c953d0
[Glitch] Add button to see results for polls in web UI
...
Port b7910bc751 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-05 12:42:24 +02:00
forsamori
ac74374311
[Glitch] Add at-symbol prepended to mention span title
...
Port d9a5c1acfa to glitch-soc
Co-authored-by: Sam BC <samuel.balbirnie-cumming@xdesign.com >
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-07-05 12:38:54 +02:00
たいち ひ
c71fc42f4e
[Glitch] Rewrite <AutosuggestHashtag /> as FC and TS
...
Port 804488d38e to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-25 14:27:46 +02:00
alfe
9bf63257fb
[Glitch] Rewrite <LoadingIndicator/> as FC and TS ( #25364 )
...
Port a86886b1fd to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-18 12:10:37 +02:00
alfe
cdec45eca9
[Glitch] Rewrite <LoadPending /> as FC and TS
...
Port dfaf59d99a to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-18 10:42:04 +02:00
Plastikmensch
fefdc3244c
[Glitch] Change "direct message" nomenclature to "private mention" in web UI ( #2158 )
...
Port 68a192e718 to glitch-soc
Signed-off-by: Plastikmensch <plastikmensch@users.noreply.github.com >
2023-06-11 13:33:45 +02:00
Eugen Rochko
fb0d2de8fe
[Glitch] Change design of dropdowns in web UI
...
Port e4fd9503ec to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-10 17:10:06 +02:00
alfe
83ae40e192
[Glitch] Rewrite <LoadMore /> as FC and TS
...
Port fb5bf5cbf8 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-10 16:59:25 +02:00
S.H
a4d7a17089
[Glitch] Fix using Date.now() instead of intl.now()
...
Port b3f9a0da52 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-10 15:21:04 +02:00
Claire
9af04d5a46
[Glitch] Add a confirmation screen when suspending a domain
...
Port e9385e93e9 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-10 15:10:24 +02:00
Christian Schmidt
7e25fd9b0c
[Glitch] Translate CW, poll options and media descriptions
...
Port 69057467cb to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-10 14:48:41 +02:00
Renaud Chaput
9e133e2527
[Glitch] Upgrade react-intl
...
Port 44cd88adc4 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-06-10 14:37:08 +02:00
Claire
5ed48e6878
Fix extraneous newlines
2023-05-28 18:06:09 +02:00
fusagiko / takayamaki
382b2a506a
[Glitch] Rewrite actions/modal and reducers/modal with typescript
...
Port 38c6216082 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-05-28 17:49:55 +02:00
たいち ひ
6a592083f1
[Glitch] Fix export style of <LoadGap /> based on <Domain />
...
Port 4197b5e4c8 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-05-28 17:15:21 +02:00
Renaud Chaput
0009b4b574
[Glitch] Update inconsistent defaultMessage
...
Port e58c36d308 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-05-28 17:14:31 +02:00
Eugen Rochko
e7dc375aab
[Glitch] Change share action from being in action bar to being in dropdown in web UI
...
Port 1caa5ff39e to glitch-soc
Co-authored-by: Claire <claire.github-309c@sitedethib.com >
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-05-28 16:59:12 +02:00
たいち ひ
017fbc7a74
[Glitch] Rewrite <LoadGap /> as FC and TS
...
Port 7336f3648b to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com >
2023-05-28 16:48:17 +02:00
Claire
7d7db8977b
Fix import order with ESLint
...
Port d27216dc46 to glitch-soc
2023-05-28 16:38:10 +02:00
Claire
a0bc0619ca
[Glitch] Use JSX syntax for Fragments
...
Port 5a16bd7bf4 to glitch-soc
2023-05-28 14:56:24 +02:00