Commit graph

6890 commits

Author SHA1 Message Date
flisk 1e66217c16 add recently used emojis panel to emoji picker (#283)
~~(not intended for merging yet, just submitting this for preliminary review and discussion)~~

this patch adds a tab with recently used emojis to the emoji picker: https://akko.lain.gay/notice/ASoGCtyoiXbYPJjqpk

there's a couple of things i'm ~~still trying to work out~~ not totally happy with and i'd appreciate any feedback on them:

* the recentEmojis getter is called very frequently and has to do a possibly somewhat expensive lookup of emoji objects by their `displayName` each time, which i'm not sure is ideal
* ~~emoji reactions on posts added through the picker are picked up by the recentEmojis module, but clicks on existing emoji reactions are not, because `addReaction` in `react_button.js` only currently receives the replacement and not the full emoji object (if there even is one wherever that method is called from)~~ this works now and does the same stupid full search of all emojis by their name which i guess is less bad because this only happens when you hit a reaction emoji button that already existed

Reviewed-on: AkkomaGang/akkoma-fe#283
Co-authored-by: flisk <akkomadev.mvch71fq@flisk.xyz>
Co-committed-by: flisk <akkomadev.mvch71fq@flisk.xyz>
2023-05-09 19:11:12 +02:00
Yhëhtozr 9d450953b6 oblong emoji in status 2023-05-09 19:10:45 +02:00
Yhëhtozr e8e4b4fc96 perhaps more graceful cqw 2023-05-09 19:10:45 +02:00
Yhëhtozr 417f7a3ac1 support oblong reactions 2023-05-09 19:10:45 +02:00
flisk 1b038d3fdc fix realtime updates in 'following' replies filter
i'm not sure how this code was supposed to work, but the way it was
written would only add statuses to the timeline if they were in reply to
someone the user is following and erroneously filter out posts that
aren't replies.
2023-05-09 19:10:45 +02:00
solidsanek 93e1b750cf Post: remove debug logs 2023-05-09 19:10:45 +02:00
solidsanek 7463cbca53 Post: Add drafting feature 2023-05-09 19:10:45 +02:00
a1batross f7ea95cd0e components: emoji_reactions: force custom emoji reaction height
Prevents the usage of too long emoji reactions
2023-05-09 19:10:45 +02:00
yanchan09 3dbbc2519f Improve emoji picker performance (#275)
A simple virtual scroller is now used for the emoji grid. This avoids loading all emoji images at once, saving network bandwidth and reducing load on the server, while also putting less work on the browser's DOM and layout engine.

Co-authored-by: yan <yan@omg.lol>
Reviewed-on: AkkomaGang/akkoma-fe#275
Co-authored-by: yanchan09 <yan@omg.lol>
Co-committed-by: yanchan09 <yan@omg.lol>
2023-05-09 19:10:45 +02:00
floatingghost 5164f595bd paginate-follow-requests (#277)
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: AkkomaGang/akkoma-fe#277
2023-05-09 19:10:45 +02:00
eris 5f19c25fa5 Disable follow button if blocked by user 2023-05-09 19:10:45 +02:00
eris 74026fc562 Add indicator if user blocks you 2023-05-09 19:10:45 +02:00
FloatingGhost f7301dab5a add language input 2023-05-09 19:10:45 +02:00
Sol Fisher Romanoff dca56dd40f Only show "keep open" emoji checkbox on post form 2023-05-09 19:10:45 +02:00
FloatingGhost 5bbac1fa61 Make everything work with a strict CSP 2023-05-09 19:10:45 +02:00
FloatingGhost 48700ea8d5 Remove console.log 2023-05-09 19:10:45 +02:00
FloatingGhost e095e22f2c add follow/unfollow to followed tags list 2023-05-09 19:10:45 +02:00
FloatingGhost 79d506e331 Add list of followed hashtags to profile 2023-05-09 19:10:45 +02:00
floatingghost 0e71597e56 Fall back to nsfw image if no blurhash 2023-05-09 19:10:45 +02:00
FloatingGhost e834656dc6 Add blurhash support 2023-05-09 19:10:45 +02:00
Beefox 7ac8c9122c Allow follow(er) lists to be acessible by account owner even if follower counts are disabled (#246)
Currently, if a user has their follower/follow counts hidden, they cannot access their own list of followers/follows. This makes no real sense and means that they cannot modify those lists without disabling their privacy options.

This fix simply allows those tabs to be accessed no matter if the counts are hidden or not.

Reviewed-on: AkkomaGang/akkoma-fe#246
Co-authored-by: Beefox <bee@beefox.xyz>
Co-committed-by: Beefox <bee@beefox.xyz>
2023-05-09 19:10:45 +02:00
Norm c9a76f6224 Make minimum width for 3-column layout 1280px (#255) (#256)
1280px is a pretty common screen width for several resolutions
(1280x720, 1280x800, 1280x1024, etc.). Since it is only 20px less than
the current 1300px minimum, this shouldn't be a big issue to lower the
minimum screen width for the 3-column layout to 1280px.

Closes: AkkomaGang/pleroma-fe#255

Co-authored-by: Francis Dinh <normandy@biribiri.dev>
Reviewed-on: AkkomaGang/akkoma-fe#256
Co-authored-by: Norm <normandy@biribiri.dev>
Co-committed-by: Norm <normandy@biribiri.dev>
2023-05-09 19:10:45 +02:00
Sol Fisher Romanoff ca775554d3 Remove stray debug log 2023-05-09 19:10:45 +02:00
FloatingGhost d16182547a remove IHBA assets 2023-05-09 19:10:45 +02:00
FloatingGhost d9fa3d8251 add verification of links 2023-05-09 19:10:31 +02:00
FloatingGhost 47b7017256 force CI build 2023-05-09 19:09:52 +02:00
FloatingGhost d2ac971f7f update readme 2023-05-09 19:09:52 +02:00
FloatingGhost 4b45a96c77 Revert "Merge pull request 'Don't show timeline links if disabled and logged out' (#250) from sfr/pleroma-fe:fix/hide-timelines into develop"
This reverts commit 0b5793c1e0, reversing
changes made to 72ef2e7454.
2023-05-09 19:09:38 +02:00
FloatingGhost af3d4f8065 fix emoji picker in replies in notifications 2023-05-09 19:09:38 +02:00
FloatingGhost ee2568d21a don't crash out if notification status is null 2023-05-09 19:09:38 +02:00
FloatingGhost 109bb1fa8a Revert "Revert "use v1 urls""
This reverts commit 8c6cf86de3.
2023-05-09 19:09:38 +02:00
Sol Fisher Romanoff 9dc8c6ea9f Fix user moderation dropdown clipping 2023-05-09 19:09:38 +02:00
Sol Fisher Romanoff b7411c85f4 Don't show timeline links if disabled and logged out 2023-05-09 19:09:38 +02:00
anna 8c664a1396 fix 404 when reacting with Keycap Number Sign
The Unicode sequence for the Keycap Number Sign
emoji starts with an ASCII "#" character, which
the browser's URL parser will interpret as a URI
fragment and truncate it before sending the
request to the backend.
2023-05-09 19:09:38 +02:00
FloatingGhost c53faaf284 Revert "use v1 urls"
This reverts commit 909271c764.
2023-05-09 19:09:38 +02:00
FloatingGhost 29865caf9a use v1 urls 2023-05-09 19:09:38 +02:00
FloatingGhost ae75bb598b bump version 2023-05-09 19:09:38 +02:00
FloatingGhost 03e2912598 fix ES translation having weird o in a key 2023-05-09 19:09:38 +02:00
Weblate d6ab4f85d3 Translated using Weblate (Japanese (ja_PEDANTIC))
Currently translated at 99.8% (1031 of 1033 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/ja_PEDANTIC/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:09:38 +02:00
Weblate 59a09bb60d Translated using Weblate (Indonesian)
Currently translated at 59.4% (614 of 1033 strings)

Translated using Weblate (Indonesian)

Currently translated at 53.0% (548 of 1033 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: t1 <taaa@fedora.email>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/id/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:09:38 +02:00
Weblate 0d81a1fcb3 Translated using Weblate (English)
Currently translated at 100.0% (1033 of 1033 strings)

Co-authored-by: Weblate Admin <hannah.ward9001@gmail.com>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/en/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:09:38 +02:00
Weblate 1bc98ce722 Translated using Weblate (Spanish)
Currently translated at 89.2% (918 of 1029 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: taretka <info@tarteka.net>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/es/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:08:31 +02:00
Weblate 7ba8c31adf Translated using Weblate (German)
Currently translated at 93.9% (967 of 1029 strings)

Co-authored-by: Johann <johann@qwertqwefsday.eu>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/de/
Translation: Pleroma fe/pleroma-fe
2023-05-09 19:08:31 +02:00
Sol Fisher Romanoff 24bc2c29ad Add YAML bug and feat templates 2023-05-09 19:08:31 +02:00
floatingghost a339e03a8a Update 'ISSUE_TEMPLATE.md' 2023-05-09 19:08:31 +02:00
floatingghost 77e67f40ff Update 'ISSUE_TEMPLATE.md' 2023-05-09 19:08:31 +02:00
floatingghost 28a4c70516 Add issue template 2023-05-09 19:08:31 +02:00
FloatingGhost 3cdb990ea2 Ensure only content gets clipped 2023-05-09 19:08:31 +02:00
astra akari be4b1a8a5a remove whitespace between scope selector icons
when i originally wrote this, for reasons unclear to the present me, i used literal whitespaces to space out the icons on the scope selector 
this causes strange inconsistencies in spacing depending on the font being used 
akkoma also did not include the whitespace when adding the local-only scope, resulting in even weirder spacing 
this corrects all of that by removing the whitespaces and using css instead
2023-05-09 19:08:31 +02:00
FloatingGhost 19681d0c90 Move theme apply/reset to new row
Fixes #225
2023-05-09 19:08:31 +02:00