Commit graph

3620 commits

Author SHA1 Message Date
235c734d37
Use overflow: auto for description
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Previously it sets overflow: scroll, so there's an unnecessary
horizontal scroll.
overflow: auto only shows scrollbar when it overflows
2023-11-05 09:32:19 +07:00
1056b89fd1 Disabled aggressive matching for reduced motion (we search for gif now)
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-09-12 04:32:01 -07:00
3e64d78d05 An oopsie 2023-09-12 04:17:28 -07:00
3947aafeba Aligning canvas to image 2023-09-12 04:08:47 -07:00
345934c2f3 Make label visible on avatar 2023-09-12 03:37:05 -07:00
42a13b0f1b Modify label 2023-09-12 03:35:58 -07:00
e13c4b6b85 Revamped still-image 2023-09-12 02:48:53 -07:00
3b4208ea41 debounce emoji searching
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-08-04 16:48:13 +01:00
856324fa26 Merge pull request 'Make favicon next to post username use Still-Image functionality' (#327) from Mergan/pleroma-fe:still-image-instance-favicon into develop
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Reviewed-on: #327
2023-08-04 15:09:56 +00:00
5a9322d2c7 Merge pull request 'StillImage: Improved animated image detection' (#335) from yukijoou/akkoma-fe:still-image-better-gif-detection into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #335
2023-08-04 15:09:32 +00:00
2b05a738c9 Merge pull request 'Add replying info for redraft' (#332) from xarvos/pleroma-fe:fix-reply-redraft into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #332
2023-08-04 14:56:20 +00:00
tusooa
29cfdcbbcd Add load more to blocks/mutes
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2023-08-04 15:54:04 +01:00
Yuki Joou
43d0a24547 StillImage: Improved animated image detection
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This patch makes StillImage's animation detection return early in cases
where we can't detect the mimetype of the image. It also sets the image
as animated in those cases if the user agent wants reduced motion.

As reduced motion is an accessibility setting, I think it's best to use
a "better safe than sorry" approach, it's better to accidentally mark
something as animated that isn't than to have unblocked animations.
2023-08-03 16:34:28 +02:00
Yuki Joou
51ebe643d5 components: Honour 'prefers reduced motion' setting in many components
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
This helps accessibility for motion-sensitive people such as myself, and
can improve battery life in "battery saving" mode on most devices
2023-08-03 14:45:02 +02:00
7c14e1a5bd
Add replying info for redraft
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-08-02 08:40:19 +07:00
David
0da0e2c814 Make favicon next to post username use Still-Image functionality
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-07-24 01:08:11 -07:00
a249baea8c Merge pull request 'Make emoji reactions use Still-Image functionality' (#326) from Mergan/pleroma-fe:still-image-emoji-reactions into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #326
2023-07-21 19:42:41 +00:00
David
32dc55b07c Make emoji reactions use Still-Image functionality
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-07-20 17:20:54 -07:00
David
91eab22d77 Simplified and fixed and/or oopsie
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-07-20 17:18:59 -07:00
David
e2125c57d6 Turn on by default
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-07-20 16:26:52 -07:00
David
e0a6418e91 Add prefers-reduced-motion support 2023-07-20 16:14:36 -07:00
2f479c670f Add DM settings 2023-05-23 13:46:59 +01:00
ecb6be2152 Merge pull request 'fix unfinished post being sent when scrolling' (#312) from denys/akkoma-fe:accidental-mobile-posts into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #312
2023-05-23 11:38:28 +00:00
9e4985e225 Merge pull request 'fix apply theme button without page refresh' (#309) from denys/akkoma-fe:fix-apply-theme into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #309
2023-05-23 11:37:24 +00:00
8c6ccc321d fix unfinished post being sent when scrolling
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-05-15 03:11:07 +03:00
596ae7e377 Merge pull request 'fix dropdown-item-icon and form controls using missing variables' (#307) from denys/akkoma-fe:missing-sass-vars into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #307
2023-05-08 15:29:58 +00:00
2a76be56e7 fix apply theme button without page refresh
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-05-01 20:54:18 +03:00
661a98d38d order bubble after public in sidebar like in other two menus
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-05-01 20:53:29 +03:00
94d640f9f1 fix dropdown-item-icon and form controls using missing variables
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-05-01 20:50:31 +03:00
solidsanek
db33fe8ee2 Drafts: Fix drafts erasing edits and redrafts
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-04-09 11:02:13 +02:00
14cedc5ed1 don't crash if class isn't a list
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-04-01 07:55:47 +01:00
47fc082fb9
Fix floating point error for poll expiry
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Previous code multiply with 0.001 before multiplication which leads to a
floating point error.  By changing it to division by 1000 after
multiplication this is avoided.
2023-03-24 20:48:02 +07:00
7e1b1e79f4 simplify timeline vibility checks
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-18 20:22:47 +00:00
b92b2f74a4 add timeline visibility setting parsing 2023-03-18 20:01:05 +00:00
7361f4e77e Add checks for currentUser on sidebar
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-16 16:41:37 +00:00
42ab3eada4 Remove links from navs if we can't see the timeline
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-03-15 22:20:54 +00:00
6fdef479d0 add recently used emojis panel to emoji picker (#283)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
~~(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: #283
Co-authored-by: flisk <akkomadev.mvch71fq@flisk.xyz>
Co-committed-by: flisk <akkomadev.mvch71fq@flisk.xyz>
2023-03-10 19:10:42 +00:00
fe08691f05 Merge pull request 'support Misskey's oblong reactions' (#284) from yheuhtozr/pleroma-fe:oblong-reactions into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Reviewed-on: #284
2023-03-10 18:57:38 +00:00
626c880038 oblong emoji in status
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-22 10:20:25 +09:00
6d7761c7e5 perhaps more graceful cqw
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-20 23:27:41 +09:00
996ce3dde3 support oblong reactions 2023-02-20 23:18:04 +09:00
solidsanek
2c007f06e3 Post: remove debug logs
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-19 18:58:53 +01:00
solidsanek
00704bd88c Post: Add drafting feature
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-02-17 13:56:01 +01:00
581c53a15e components: emoji_reactions: force custom emoji reaction height
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
Prevents the usage of too long emoji reactions
2023-02-10 23:28:46 +00:00
9e04e4fd80 Improve emoji picker performance (#275)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
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: #275
Co-authored-by: yanchan09 <yan@omg.lol>
Co-committed-by: yanchan09 <yan@omg.lol>
2023-02-04 21:10:06 +00:00
88d5149db5 paginate-follow-requests (#277)
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: #277
2023-02-04 21:09:09 +00:00
7f4dd9ff03 Disable follow button if blocked by user
All checks were successful
ci/woodpecker/pr/woodpecker Pipeline was successful
2023-01-27 00:30:47 +00:00
a9a95e9120 Add indicator if user blocks you 2023-01-27 00:30:30 +00:00
56fd2e773b Merge branch 'languages' into develop
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
2023-01-15 17:59:50 +00:00
42dc1a027a add language input 2023-01-15 17:59:32 +00:00