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

Completed #10

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open

Completed #10

wants to merge 9 commits into from

Conversation

jayantpranjal0
Copy link

No description provided.

Copy link
Member

@yash-yp yash-yp left a comment

Choose a reason for hiding this comment

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

You can continue working on the leftover tasks. Good Attempt!

Add in the deployment link and Fill checklist associated with the PR

@@ -1,10 +1,7 @@
<template>
<aside class="mx-auto flex justify-between mt-24 px-4">
<label for="add task" class="flex-1">
<input
type="text"
name="add task"
Copy link
Member

Choose a reason for hiding this comment

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

name attribute cannot have spaces in between

"
placeholder="Enter Task"
/>
" v-model.trim="newTask" placeholder="Enter Task" />
Copy link
Member

Choose a reason for hiding this comment

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

Nice catch on trimming

if (token === null && path === '/'){
context.redirect('login/');
}
else if(token != null && path != '/'){
Copy link
Member

Choose a reason for hiding this comment

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

Prefer using strict equalities


const validateField = () => {
if (state.username === '' || state.password === '') {
$toast.error('Please fill all the fields correctly.')
Copy link
Member

Choose a reason for hiding this comment

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

Provide feedback as to what the error is ie -> username/password cannot be empty

pages/index.vue Outdated
})
.then(() => {
this.$toast.success('Todo deleted successfully!')
this.$router.go()
Copy link
Member

Choose a reason for hiding this comment

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

Think of how you can delete the task and prevent reloading the page

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

Successfully merging this pull request may close these issues.

None yet

2 participants