Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve task list #7709

Merged
merged 10 commits into from
Mar 25, 2024
Merged

Improve task list #7709

merged 10 commits into from
Mar 25, 2024

Conversation

dieknolle3333
Copy link
Contributor

@dieknolle3333 dieknolle3333 commented Mar 20, 2024

Steps to test:

  • Go to task list and search to get some results.
  • Make sure tasks are sorted by project date, but from latest to earliest.
  • Test "expand all" button
  • Check that expanded rows look nice

Issues:


(Please delete unneeded items, merge only when none are left open)

@@ -192,18 +197,19 @@ class TaskAnnotationView extends React.PureComponent<Props, State> {
return (
<div>
<table>
<tbody>
<tbody className="task-annotation-view">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this class is now assigned to tbody as well as td, which I find a bit unusual. also, why did you add it in the first place? I don't see it mentioned in the original issue nor in the pr description 🤔

Copy link
Contributor Author

@dieknolle3333 dieknolle3333 Mar 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, I forgot to remove it from tbody, thank you!
I added the class because the alignment of the expanded rows differed from row to row and I thought it would be nice to make it consistent between all rows. If there was a bigger reason behind this or it was plain unnecessary I can remove it of course! Didnt mention it explicitly because I thought its a minor change.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

right, I forgot to remove it from tbody, thank you!

ah, ok, then it makes sense 👍

If there was a bigger reason behind this or it was plain unnecessary I can remove it of course! Didnt mention it explicitly because I thought its a minor change.

yes, that's fine! I only wanted to explain that I didn't get the change initially :)

Copy link
Member

@philippotto philippotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great 💯

@dieknolle3333 dieknolle3333 enabled auto-merge (squash) March 25, 2024 16:07
@dieknolle3333 dieknolle3333 merged commit 1540d7d into master Mar 25, 2024
2 checks passed
@dieknolle3333 dieknolle3333 deleted the improve-task-list branch March 25, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improvements task list
2 participants