fix: show namespace count for long titles #1057
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#1057
Loading…
Reference in New Issue
No description provided.
Delete Branch "dpschen/frontend:feature/fix-namespace-count-for-long-titles"
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?
When the namespace title is to long the count was only shown in the toolip. With this pull request the count is separated from the title and always shown.
Hi dpschen!
Thank you for creating a PR!
I've deployed the changes of this PR on a preview environment under this URL: https://1057-featurefix-namespace-count-for-long-titles--vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.
Have a nice day!
I think it should keep the braces, like it does currencly. Like this:
And maybe the count could be positioned right after the title as well?
I removed the braces to add more space for displaying the title since there is now less space available =)
What do you mean by:
Currently, the count is positioned at the end of the title for titles when it is not overflowing:
I'd like to keep it that way.
When overflowing, I think the count should be pushed to the right, as you implemented it. But I feel like the "naked" numbers are a bit confusing without the braces.
@dpschen What's the status here?
Fixed the spacing, added the brackets back in - I think this is now ready to merge.