Show an icon if a task has non-empty description (Kanban view and List view) #360

Merged
konrad merged 4 commits from profi248/frontend:description-indicator into master 2020-12-30 21:20:33 +00:00
Contributor

Add an icon to indicate that task has a description (similar to Trello). Would also be nice to add a counter for comments, but it's not possible to reasonably currently implement unless the API also gets changed.

Also add attachment icon to List view, and change the icon in Kanban view to be consistent with the rest of the icon set.
image
image

Add an icon to indicate that task has a description (similar to Trello). Would also be nice to add a counter for comments, but it's not possible to reasonably currently implement unless the API also gets changed. Also add attachment icon to List view, and change the icon in Kanban view to be consistent with the rest of the icon set. ![image](/attachments/f88c4736-4cab-4a3e-80eb-657deb5223ad) ![image](/attachments/2c524c7a-c3b5-412d-8724-8111fba2a6b3)
konrad approved these changes 2020-12-30 16:49:22 +00:00
konrad left a comment
Owner

Looking good, thanks!

Could you add more spacing between the icons in the list view? The kanban view looks fine.

Looking good, thanks! Could you add more spacing between the icons in the list view? The kanban view looks fine.
@ -123,0 +123,4 @@
.icons-container {
display: flex;
.icon {
width: 25px;

Where's that number coming from? And why is it 25px width but only 25px heigh?

Where's that number coming from? And why is it 25px width but only 25px heigh?
Author
Contributor

It's from the existing paperclip icon, it had exactly those dimensions. I copied it so it would match the exact size.

It's from the existing paperclip icon, it had exactly those dimensions. I copied it so it would match the exact size.

I see, thanks for the explanation. The height does not seem to make a difference, the rest is derived from the font size. The width only has an effect on the padding so I think it should have padding to make that clear. Could you add something like padding: 0 .25rem; and remove the width and height?

I see, thanks for the explanation. The height does not seem to make a difference, the rest is derived from the font size. The width only has an effect on the padding so I think it should have padding to make that clear. Could you add something like `padding: 0 .25rem;` and remove the `width` and `height`?
Author
Contributor

Okay, it's changed to padding now

Okay, it's changed to padding now
Author
Contributor

Margins are now bigger and some alignment issues in Kanban view should be fixed.

Margins are now bigger and some alignment issues in Kanban view should be fixed.
profi248 force-pushed description-indicator from c3b3c2a85b to 09b78a95ab 2020-12-30 18:47:03 +00:00 Compare
profi248 force-pushed description-indicator from 09b78a95ab to 23ab37d78d 2020-12-30 18:48:43 +00:00 Compare
profi248 force-pushed description-indicator from 1ef98b178b to 4167352659 2020-12-30 20:50:26 +00:00 Compare
konrad approved these changes 2020-12-30 21:02:53 +00:00
konrad left a comment
Owner

Looking good, I'll merge once CI passes.

Looking good, I'll merge once CI passes.
konrad merged commit 8fe362c267 into master 2020-12-30 21:20:33 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.