Skip to content

Comments

feat(todo-factory): implement todo list factory and personal todo lists#123

Open
kelly-musk wants to merge 1 commit intoBlockheaderWeb3-Community:mainfrom
kelly-musk:as-w3-d2
Open

feat(todo-factory): implement todo list factory and personal todo lists#123
kelly-musk wants to merge 1 commit intoBlockheaderWeb3-Community:mainfrom
kelly-musk:as-w3-d2

Conversation

@kelly-musk
Copy link
Collaborator

Summary

  • Add TodoList contract with add, update, complete, delete, and fetch todo items
  • Enforce owner-only permissions for modifying todos in TodoList
  • Add TodoFactory contract to create and track personal TodoList contracts per user
  • Emit events for todo lifecycle changes and list creation
  • Implement soft delete feature for todos
  • Provide view functions to retrieve todos and lists by user and globally
  • Configure Hardhat environment and dependencies for Solidity 0.8.28
  • Include comprehensive unit tests covering factory and todo list functionality
  • Add README documentation describing contract design and usage
  • Setup TypeScript config and package dependencies for development environment

Testing

  • Unit tests added
  • Tests passing locally

Notes

## Summary

- Add TodoList contract with add, update, complete, delete, and fetch todo items
- Enforce owner-only permissions for modifying todos in TodoList
- Add TodoFactory contract to create and track personal TodoList contracts per user
- Emit events for todo lifecycle changes and list creation
- Implement soft delete feature for todos
- Provide view functions to retrieve todos and lists by user and globally
- Configure Hardhat environment and dependencies for Solidity 0.8.28
- Include comprehensive unit tests covering factory and todo list functionality
- Add README documentation describing contract design and usage
- Setup TypeScript config and package dependencies for development environment

## Testing
- [X] Unit tests added
- [x] Tests passing locally

## Notes
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.

1 participant