Commit graph

7171 commits

Author SHA1 Message Date
65e75522fe Merge branch 'develop' of https://akkoma.dev/AkkomaGang/akkoma-fe into akkowtf 2025-03-01 14:58:26 -05:00
2914eaf1ca Revert "reduce gallery size"
This reverts commit 06ba190e2e.
2025-03-01 16:14:55 +00:00
1d1cc1afbb Merge remote-tracking branch 'upstream/develop' into akkowtf 2025-03-01 10:38:39 -05:00
0bf9cb0660 Merge pull request 'Optional widened main column' (#402) from Riedler/akkoma-fe:wide-columns-for-upstream into develop
Reviewed-on: AkkomaGang/akkoma-fe#402
2025-03-01 12:00:33 +00:00
65cb3b95e0 Merge pull request 'Use FEP-c16b: Formatting MFM functions' (#410) from ilja/akkoma-fe:use_fep-c16b_formatting_mfm_functions into develop
Reviewed-on: AkkomaGang/akkoma-fe#410
2025-02-27 12:04:41 +00:00
f15b94d566 made widenTimeline false by default 2025-02-07 03:50:44 +01:00
06ba190e2e reduce gallery size 2025-02-07 03:49:57 +01:00
2086522d64 Merge pull request '(arguably) improved layouting of user profile page' (#403) from Riedler/akkoma-fe:user-profile-changes into develop
Reviewed-on: AkkomaGang/akkoma-fe#403
2025-01-15 21:47:55 +00:00
810266795d Merge branch 'develop' of https://akkoma.dev/AkkomaGang/akkoma-fe into akkowtf 2025-01-05 12:22:34 -05:00
Weblate
fa294e0003 Merge branch 'origin/develop' into Weblate. 2025-01-05 15:52:29 +00:00
d3fa5cfad0 Merge pull request 'post_status_form: enable sync flush for watcher' (#414) from novenary/akkoma-fe:sticky-drafts into develop
Reviewed-on: AkkomaGang/akkoma-fe#414
2025-01-05 15:52:26 +00:00
Weblate
9552287442 Merge branch 'origin/develop' into Weblate. 2025-01-05 15:52:19 +00:00
6b7c8f0def Merge pull request 'Allow using custom source URLs' (#421) from Oneric/akkoma-fe:custom-source into develop
Reviewed-on: AkkomaGang/akkoma-fe#421
2025-01-05 15:52:15 +00:00
Weblate
3386692e26 Merge branch 'origin/develop' into Weblate. 2025-01-05 15:51:50 +00:00
ad6bb47003 Merge pull request 'Add visual feedback when clicking translate' (#423) from ilja/akkoma-fe:provide_visual_feedback_when_clicking_translate_button into develop
Reviewed-on: AkkomaGang/akkoma-fe#423
2025-01-05 15:51:47 +00:00
ilja
9838545904 Add visual feedback when clicking translate
In a status, we can choose to translate the status (assuming there's a translator enabled on the backend)

It will translate, in practice generally according to detected language, and also provide an option to override the source language.

Translating can take a while, and there wasn't really a visual feedback when it was translating.
Now the translate button will be dissabled while translating.
2024-12-01 14:04:49 +01:00
ilja space
868c6e41ac Improve readability for MFM styles code
The code to turn mdm-data-* attributes into a value for the style attribute is complex.
I wrapped it in it's own function now for better code readability.
A comment was already provided with what the code intents to do and why, this information has also been moved
to this function.
2024-12-01 12:24:23 +01:00
Weblate
b3f25e5d84 Translated using Weblate (Polish)
Currently translated at 99.7% (1046 of 1049 strings)

Translated using Weblate (Polish)

Currently translated at 99.7% (1046 of 1049 strings)

Co-authored-by: ? <akkoma@mkljczk.pl>
Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: subtype <subtype@hollow.capital>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/pl/
Translation: Pleroma fe/pleroma-fe
2024-11-22 04:56:24 +00:00
Weblate
248509073e Translated using Weblate (Italian)
Currently translated at 93.8% (985 of 1049 strings)

Co-authored-by: Steffo <akkoma@steffo.eu>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/it/
Translation: Pleroma fe/pleroma-fe
2024-11-22 04:56:24 +00:00
Weblate
a7d6235131 Translated using Weblate (Lithuanian)
Currently translated at 8.1% (86 of 1049 strings)

Translated using Weblate (Lithuanian)

Currently translated at 5.5% (58 of 1049 strings)

Translated using Weblate (Lithuanian)

Currently translated at 1.9% (20 of 1049 strings)

Added translation using Weblate (Lithuanian)

Co-authored-by: Vaclovas Intas <Gateway_31@protonmail.com>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: http://translate.akkoma.dev/projects/akkoma/pleroma-fe/lt/
Translation: Pleroma fe/pleroma-fe
2024-11-22 04:56:24 +00:00
ilja space
177d96f977 Improve how scaling is done
During code review a much better way was pointed out to do the emoji scaling, by using `em`.

*key uses 2em for emoji, which is smaller than Akkoma has. I now kept the 38px for Akkoma,
but when "zoom" (ie x2, x3, x4, tada) happens, we set to 2em and zoom from there.
2024-11-01 14:25:22 +01:00
0887b9615e Merge remote-tracking branch 'upstream/develop' into akkowtf 2024-10-28 19:29:31 -04:00
42ba77ebf4 Allow using custom source URLs 2024-10-26 16:32:14 +02:00
4a50b1273d Merge pull request 'fix panel z-index conflicting with heading popover' (#422) from tea/akkoma-fe:fix/panel-z-index into develop
Reviewed-on: AkkomaGang/akkoma-fe#422
2024-10-26 03:42:48 +00:00
c76dc6d79e Merge pull request 'Fix redirect on logout' (#420) from Oneric/akkoma-fe:logout-redirect into develop
Reviewed-on: AkkomaGang/akkoma-fe#420
2024-10-26 03:42:23 +00:00
cb4c581cde Merge pull request 'Add proper autocomplete prop for TOTP login field' (#424) from tudbut/akkoma-fe:develop into develop
Reviewed-on: AkkomaGang/akkoma-fe#424
2024-10-26 03:41:15 +00:00
TudbuT
8231c8f0b6
add proper autocomplete prop for TOTP login field 2024-10-19 19:19:15 +02:00
novenary
ef242a1ddd post_status_form: enable sync flush for watcher
This fixes drafts not clearing after posting a reply.

Vue 3.3.11 changed watchers to stop firing after component unmount.
After posting a reply, the post form is removed, now causing the queued
event to be discarded.
Synchronous flush causes the handler to be called immediately when
changes happen, solving the problem.

The performance impact of this change seems non-existent. Even before,
typing would generate an event for each keystroke. Pasting is atomic.

See: https://github.com/vuejs/core/pull/7181
See: 80e2128d52
Fixes: a7dea2f70f
Fixes: #413
2024-10-15 00:16:45 +03:00
a40ace6120 Revert "modify {backend,frontend}CommitUrl to own softforks"
Turns out this can be modified from adminFE.

This reverts commit 3285603bb6.
2024-10-09 19:42:31 -04:00
3285603bb6 modify {backend,frontend}CommitUrl to own softforks 2024-10-07 21:36:33 -04:00
c4eb918006 Merge remote-tracking branch 'oneric/custom-source' into akkowtf 2024-10-07 21:29:04 -04:00
tea
35cf3327c8 fix panel z-index conflicting with heading popover
resolves #342
2024-10-05 10:59:46 +02:00
c4301ae802 Allow using custom source URLs 2024-10-03 20:10:43 +02:00
1ae09458c6 Fix redirect on logout
An instance may restrict access to the public timeline (among others)
to authenticated users and there already is a setting to decide which page
to show authenticated and unauthenticated viewers by default each.
However, the logout redirect didn't honour this setting
leading to potentially broken pages and errors on logout
2024-09-28 17:47:28 +02:00
7162eea991 Merge remote-tracking branch 'novenary/fuzzy-emojis' into akkowtf 2024-09-20 11:59:34 -04:00
51374828fc Merge remote-tracking branch 'novenary/misc-fixes/2024-09-17' into akkowtf 2024-09-20 11:59:20 -04:00
novenary
c6de61e081 conversation: scrollIntoView when collapsed
This helps find the original context when collapsing a thread on the
timeline.
2024-09-20 18:45:00 +03:00
novenary
8f06566ddd post_status_form: inherit language from parent
If I'm replying to a post in Klingon, chances are I'm going to write in
Klingon. This reduces friction for properly marking post language in a
conversation.
2024-09-20 18:45:00 +03:00
novenary
65dbac098e post_status_form: reset all to defaults on clear 2024-09-20 18:44:57 +03:00
novenary
a624164b39 emoji_input: implement fuzzy suggestions
This makes it a lot easier to find what you're looking for with fewer
keystrokes.
2024-09-18 17:11:12 +03:00
9d3cf650ac Merge remote-tracking branch 'novenary/misc-fixes/2024-09-17' into akkowtf 2024-09-17 18:07:04 -04:00
novenary
67c0143b1f post_status_form: inherit language from parent
If I'm replying to a post in Klingon, chances are I'm going to write in
Klingon. This reduces friction for properly marking post language in a
conversation.
2024-09-17 21:16:02 +03:00
7caba9c97f Merge remote-tracking branch 'novenary/misc-fixes/2024-09-17' into akkowtf 2024-09-17 12:36:04 -04:00
novenary
c2b2f59c03 post_status_form: inherit language from parent
If I'm replying to a post in Klingon, chances are I'm going to write in
Klingon. This reduces friction for properly marking post language in a
conversation.
2024-09-17 12:27:56 +03:00
novenary
ae5bab6cf8 post_status_form: reset all to defaults on clear 2024-09-17 10:59:08 +03:00
novenary
7b8429aa24 emoji_input: show more suggestions
5 suggestions is really too little, so increase the limit and make the
list scrollable.
2024-09-17 03:36:27 +03:00
novenary
2765a5c163 emoji_picker: select recents tab by default
This saves a click to get at your most commonly used emoji.
2024-09-17 00:51:17 +03:00
novenary
5886765d89 post_status_form: fix enter key in subject field
This fixes random actions being triggered by the enter key while the
subject field is focused.

When pressing enter, the browser simulates a click on the first "submit"
button it finds in the form.
A submit button is a button without `type="button"` set.
Remediate this by setting the type attribute on all but the "Post"
button.

Additionally, inhibit the enter key in the subject field (ctrl+enter
still works).
2024-09-17 00:40:34 +03:00
novenary
13383982bc post_status_form: enable sync flush for watcher
This fixes drafts not clearing after posting a reply.

Vue 3.3.11 changed watchers to stop firing after component unmount.
After posting a reply, the post form is removed, now causing the queued
event to be discarded.
Synchronous flush causes the handler to be called immediately when
changes happen, solving the problem.

See: https://github.com/vuejs/core/pull/7181
See: 80e2128d52
Fixes: a7dea2f70f
Fixes: #413
2024-09-16 22:40:33 +03:00
f391cf70a4 Merge pull request 'README: Add line to install Node.js' (#409) from ilja/akkoma-fe:README_add_to_install_node into develop
Reviewed-on: AkkomaGang/akkoma-fe#409
2024-08-25 09:09:35 +00:00