nextcloud / nextcloud/deck

make card name text span the whole card when using due dates

Open
#2,635 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop design enhancement
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

Describe the solution you'd like
Currently, when a user adds a due date to a card, the due date indicator makes all the text shift to the left which could then make the card a different size. This looks very awkward.

I would expect that the due date indicator be above the text and that the text covers the full length of the card. I would also expect that for longer titles, that the text would be truncated in order to maintain consistent sizing of the cards.

Describe alternatives you've considered
I don't know any other alternatives

Additional context
From the help forum thread:

...I think it’s a matter of time to implement it and can be solved ẃith a little bit css float and clear magic - probably it is currently implemented simply with display: flex;.
Feel free to open a feature request and ideally provide a Pull Request to fix it :slight_smile:
PS.: The Android app won’t be able to solve this easily because Android does not support floating containers out of the box. There are a few libs, but they all don’t look that well maintained…

https://pix.toile-libre.org/upload/original/1607173250.png

https://pix.toile-libre.org/upload/original/1607173290.png

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files or tests are named. Reproduce the card layout with and without a due date using the issue screenshots and help-forum context, then locate the card and due-date rendering in the frontend. Done means the due-date indicator sits above the title, titles use the full card width, and long titles are truncated without changing card sizing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.