Fix public favorites #390
No reviewers
Labels
No labels
a11y
Bug
Bug fix
Critical Priority
Documentation
Feature
Feature request
Held for next release cycle
High Priority
Low Priority
Medium Priority
Minor change
Translation/Locale
WIP
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma-fe#390
Loading…
Reference in a new issue
No description provided.
Delete branch "lamp/akkoma-fe:public-favorites"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
closes #389
Thanks for porting this! I haven’t looked closely at this yet, but i think the attribution needs to be clearer. Both because attibuting original authors is the nice thing to do and because not doing so can become legally problematic.
iiuc the first commit ports over the two Pleroma PRs linked in the issue and those original commit hashes are mentioned in the commit messages. However, (a) there’s no information about the original author, (b) those commits don’t exists in akkoma-fe and thus can’t be easily looked up and (c) afaiu you’re not the original author of those patches.
If the original commits applied cleanly or only with minor changes. ideally they’d ideally retain the original primary author, possibly with an added
Cherry-picked-from:
line. (e.g. by exporting from pleroma-fe withgit format-patch
and then applying to akkoma-fe withgit am
, or just usinggit commit --amend --author="..."
)If significant changes were needed, it’s probably fine to keep yourself as the primary author, but you should at least add something like this to the commit message:
893ce69a1b
to4d91a7b2c3
ok i
The basics seem good to me except for one change to potentially clean things up a bit
@ -117,2 +120,2 @@
// only we can see our own favourites
if (this.isUs) timelineTabMap['favorites'] = 'favorites'
if (this.favoritesTabVisible) timelineTabMap['favorites'] = 'favorites'
provided it works well with
user_profile.vue
(not sure tbh; frontend stuff isn’t my strong suit), it would imho be cleaner to properly distinguish one’s own favourites from publicly accessible favourites here and get rid off theuserId
checks and mangling in the other parts, i.e.:oh also, can you add:
Fixes: https://akkoma.dev/AkkomaGang/akkoma-fe/issues/389
as the last line of the commit message? This way the issue will be closed automatically (just mentioning it in the PR comment doesn't actually to work ime)View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.