Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Create to do list page component - Vanilla.js #384

Closed
wants to merge 6 commits into from

Conversation

29deepanshutyagi
Copy link
Contributor

issue #87

Comment on lines +103 to +117
const TodoDwnRepository = {
async listTasks() {
// Placeholder for listing tasks from DWN
return [];
},
async createTask(task) {
// Placeholder for creating a task in DWN
},
async updateTask(task) {
// Placeholder for updating a task in DWN
},
async deleteTask(recordId) {
// Placeholder for deleting a task in DWN
}
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @29deepanshutyagi ! Thanks for your contribution, but this PR seems to be missing a few things. For example, these methods have no logic in them..just a comment. We'll need to implement the logic for DWAs. The best place to look and understand how these work are in the DWA react vite project and in the DWA vue project.

Also the task and criteria say the following..I don't think I see that happening here:
Create a TaskItem.vanilla component for individual task display and actions

Create a TaskForm.vanilla component for adding/editing tasks

Implement TodoDwnRepository class for DWN operations:

listTasks()

createTask(task)

updateTask(task)

deleteTask(recordId)

findTaskRecord(recordId)

listTasksRecords()

Comment on lines +15 to +31
<<<<<<< HEAD
"@nuxt/test-utils": "3.14.3",
"@nuxtjs/tailwindcss": "6.12.1",
=======
"@nuxt/test-utils": "3.14.4",
"@nuxtjs/tailwindcss": "6.12.2",
>>>>>>> ea24aa69758146611ddc3c604b61c014494d51f9
"@playwright/test": "^1.44.1",
"@tailwindcss/forms": "0.5.9",
"@tailwindcss/typography": "0.5.15",
"@types/node": "20.16.12",
"nuxt": "3.13.2",
<<<<<<< HEAD
"sass": "1.79.5",
=======
"sass": "1.80.4",
>>>>>>> ea24aa69758146611ddc3c604b61c014494d51f9
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm i dont think you want those lines in the package.json. it looks like you have merge conflicts and duplicates

Copy link
Contributor

Choose a reason for hiding this comment

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

Actually this file should have 0 changes as it's unrelated to your project

Comment on lines +15 to 31
"@nuxt/test-utils": "3.14.3",
"@nuxtjs/tailwindcss": "6.12.1",
=======
"@nuxt/test-utils": "3.14.4",
"@nuxtjs/tailwindcss": "6.12.2",
>>>>>>> ea24aa69758146611ddc3c604b61c014494d51f9
"@playwright/test": "^1.44.1",
"@tailwindcss/forms": "0.5.9",
"@tailwindcss/typography": "0.5.15",
"@types/node": "20.16.12",
"nuxt": "3.13.2",
<<<<<<< HEAD
"sass": "1.79.5",
=======
"sass": "1.80.4",
>>>>>>> ea24aa69758146611ddc3c604b61c014494d51f9
"sass-loader": "16.0.2",
Copy link
Contributor

Choose a reason for hiding this comment

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

this file should have 0 changes as it's unrelated to your project

@blackgirlbytes
Copy link
Contributor

oh no looks like this PR has a few changes in projects that aren't related to your own. Let's get that fixed up. If you need help, come to our office hours in Discord!

@taniashiba
Copy link
Contributor

@29deepanshutyagi - Hey there! Since Hacktoberfest officially closes tomorrow, we want to make sure all open PRs are resolved in full today in case of any issues. Please see comments above so you can get credit!

@blackgirlbytes
Copy link
Contributor

hey @29deepanshutyagi im going to close this one out because we only have a few hours left until hacktoberfest ends, and I haven't heard from you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants