feat: add option to boost with Home and Followers-only visibility #9788

Merged
thatonecalculator merged 10 commits from naskya/calckey:feat/boost-menu into develop 2 months ago

Closes: #9777

This pull request includes UI changes (please check the attached images).

Closes: #9777 This pull request includes UI changes (please check the attached images).
naskya added 6 commits 2 months ago
ci/woodpecker/pr/dockerHubRelease unknown status Details
ci/woodpecker/pr/dockerHubReleaseCandidate unknown status Details
ci/woodpecker/pr/dockerHubTag Pipeline was successful Details
ci/woodpecker/pr/commit Pipeline failed Details
ci/woodpecker/pr/testDocker Pipeline failed Details
0d1648dd2b
Home -> Unlisted

I think to fall in line with the rest of the strings, "Boost to Followers only" shluld be "Boost (Followers)"

Also, maybe the top boost option when all options are present (original boost) should be bold?

I think to fall in line with the rest of the strings, "Boost to Followers only" shluld be "Boost (Followers)" Also, maybe the top boost option when all options are present (original boost) should be bold?
naskya added 2 commits 2 months ago
naskya added 1 commit 2 months ago
Poster

That's a good idea! Now we have this:

That's a good idea! Now we have this: ![](https://cdn.discordapp.com/attachments/823878222897741868/1091458570098327633/2023-04-01_052548.png)
naskya added 1 commit 2 months ago
thatonecalculator merged commit 0e8fe41aaa into develop 2 months ago
naskya deleted branch feat/boost-menu 2 months ago
panos commented 2 months ago
Owner

Hmm, a thought about this. At the start we were talking about phrasing like "Boost to Followers". Since it ended up being "Boost (Unlisted)" and "Boost (Followers)", perhaps it would be possible to not use new strings for these two, but use the existing strings? Like, the string for "Boost" and then the string for each visibility setting but in (). Not sure if that would work in every language but I don't see why not. And it would save us from having two more strings that need translation.

Hmm, a thought about this. At the start we were talking about phrasing like "Boost to Followers". Since it ended up being "Boost (Unlisted)" and "Boost (Followers)", perhaps it would be possible to not use new strings for these two, but use the existing strings? Like, the string for "Boost" and then the string for each visibility setting but in (). Not sure if that would work in every language but I don't see why not. And it would save us from having two more strings that need translation.
Poster

Hmm, a thought about this. At the start we were talking about phrasing like "Boost to Followers". Since it ended up being "Boost (Unlisted)" and "Boost (Followers)", perhaps it would be possible to not use new strings for these two, but use the existing strings? Like, the string for "Boost" and then the string for each visibility setting but in (). Not sure if that would work in every language but I don't see why not. And it would save us from having two more strings that need translation.

I agree with you. It may make the translations a bit unnatural (it's true for Japanese, but not a big deal), but it's much better than not having translations for many languages until the locales are updated.

I did this in #9845

> Hmm, a thought about this. At the start we were talking about phrasing like "Boost to Followers". Since it ended up being "Boost (Unlisted)" and "Boost (Followers)", perhaps it would be possible to not use new strings for these two, but use the existing strings? Like, the string for "Boost" and then the string for each visibility setting but in (). Not sure if that would work in every language but I don't see why not. And it would save us from having two more strings that need translation. I agree with you. It may make the translations a bit unnatural (it's true for Japanese, but not a big deal), but it's much better than not having translations for many languages until the locales are updated. I did this in #9845
The pull request has been merged as 0e8fe41aaa.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b naskya-feat/boost-menu develop
git pull feat/boost-menu

Step 2:

Merge the changes and update on Forgejo.
git checkout develop
git merge --no-ff naskya-feat/boost-menu
git push origin develop
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: calckey/calckey#9788
Loading…
There is no content yet.