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

Add empty content when history is empty #63

Merged
merged 1 commit into from
Apr 12, 2024
Merged

Conversation

julien-nc
Copy link
Member

@julien-nc julien-nc commented Apr 12, 2024

closes #62
The history task list is retrieved after the history button is clicked so we can't hide the button if the history is empty.
But we can show an empty content:

image

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc added the enhancement New feature or request label Apr 12, 2024
@julien-nc julien-nc requested a review from provokateurin April 12, 2024 08:44
Copy link
Member

@provokateurin provokateurin left a comment

Choose a reason for hiding this comment

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

LGTM, but maybe the issue should be kept open so that it can be implemented in the future.

@julien-nc
Copy link
Member Author

Since it's possible to change the task type while seeing the history, maybe it's still good to see the history button even if it leads to an empty history.

It might seem weird to users not to find the history button.

@julien-nc julien-nc merged commit 49d0469 into main Apr 12, 2024
8 checks passed
@delete-merged-branch delete-merged-branch bot deleted the enh/history-empty-content branch April 12, 2024 09:04
@julien-nc julien-nc mentioned this pull request Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Past tasks button should be hidden if there are no old tasks
2 participants