refactor: more consistent history UI #4684
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related GitHub Issue
Picked up work from #2806 since it has been marked as stale.
Description
I feel like the current history UI is a bit outdated. This PR makes it look and feel more consistent with the rest.
Here's what's been done:
styleprops into tailwindcssTest Procedure
Open the history menu, it should show the new UI. I didn't change much apart from the TaskItem component
Type of Change
srcor test files.Pre-Submission Checklist
npm run lint).console.log) has been removed.npm test).mainbranch.npm run changesetif this PR includes user-facing changes or dependency updates.Screenshots / Videos
These screenshots are side-by-side comparison with the old UI. (left is the new one, right is the old one)
Documentation Updates
This is only UI changes, no need for documentation update
Get in Touch
@elianiva
Important
Refactor history UI for consistency, update filter UI, and add tests for components and dialogs.
styleprops to Tailwind CSS inHistoryView.tsxand other components.TaskItem,TaskItemHeader, andTaskItemFooterfor consistency.HistoryView.tsxto use dropdowns instead of radio and checkbox.DeleteButton.tsxfor task deletion with optional confirmation.CopyButton.tsxandExportButton.tsxfor consistent styling and behavior.CopyButton,DeleteButton,ExportButton,TaskItem,TaskItemHeader,TaskItemFooter, anduseTaskSearch.BatchDeleteTaskDialog.test.tsxandDeleteTaskDialog.test.tsxfor dialog interactions.This description was created by
for 9e10cb6b798962898889cf896fd0f9cb75f18168. You can customize this summary. It will automatically update as commits are pushed.