Skip to content

Conversation

@deepakpathik
Copy link

@deepakpathik deepakpathik commented Dec 4, 2025

This PR introduces a “Clear Completed” action to the Todo list in the editor side sheet. Previously, users had to delete completed tasks individually, which was time-consuming and inefficient. With this update, users can now remove all completed tasks at once, offering a smoother and more intuitive experience.

In addition, this PR upgrades ESLint to version 9 to address npm deprecation warnings and modernize the linting configuration.

Changes
Functionality Updates

Updated src/components/EditorHeader/SideSheet/Todo.jsx:

Added a new “Clear Completed” option to the existing dropdown menu.

Implemented logic to remove tasks where complete === true.

Updated src/i18n/locales/en.js:

Added a new translation key: clear_completed.

Tooling & Configuration Updates

Upgraded ESLint to v9 to resolve npm deprecation warnings (e.g., rimraf, inflight, etc.).

Migrated ESLint configuration to the new eslint.config.js format.

Updated relevant package.json dependencies and scripts.

Verification
Manual Testing

Open the Todo list.

Create several tasks.

Mark some tasks as completed.

Open the “Sort by” dropdown (or menu button).

Select “Clear Completed”.

Confirmed that all completed tasks were removed while active tasks remained intact.

Linting

Ran npm run lint and confirmed no new errors or warnings were introduced.

@vercel
Copy link

vercel bot commented Dec 4, 2025

@deepakpathik is attempting to deploy a commit to the dottle's projects Team on Vercel.

A member of the Team first needs to authorize it.

@1ilit
Copy link
Member

1ilit commented Dec 5, 2025

why are there so many unrelated changes

also this feature is most probably going to get deprecated

@1ilit 1ilit closed this Dec 5, 2025
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.

2 participants