Skip to content

Conversation

@Mohimkhan
Copy link

What does this PR do?

This PR adds functionality to delete a wish with confirmation
fixes #2

How to test?

Screenshots or Videos

2023-11-12-21-22-44.mp4

Type of change

  • New feature (non-breaking change which adds functionality)

How should this be tested?

  • this can be test manually
  • also if we want, We can write unit tests and e2e test to ensure full safety

const [isOpen, setIsOpen] = createSignal(false);

const handleDeleteItem = ()=>{
props.setItems((items) => {
Copy link
Contributor

Choose a reason for hiding this comment

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

As the issue talks about deleting one or more wishes.. it is better to add a delete link at the top of the wish list.. it will help us to select one or more wishes and then click on the single delete button.

the modal looks good.

Copy link
Author

Choose a reason for hiding this comment

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

Apologies for not being able to implement the desired feature initially. Could you please confirm if I understand correctly? You're suggesting adding a delete button at the top of the wishlist. Users can then select multiple items and delete them with a single click. If my interpretation is incorrect, please provide clarification. Thank you for your feedback.

Copy link
Author

Choose a reason for hiding this comment

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

Sir @atapas, I've implemented the feature. Please check the attached video. If it looks good, I'll proceed with the changes. Any feedback is welcome.

2023-11-15-06-35-02.mp4

@atapas
Copy link
Contributor

atapas commented Nov 15, 2023

@Mohimkhan Please resolve the merge conflicts

@Mohimkhan
Copy link
Author

@atapas Sir, I haven't committed my changes yet. I will look into this and resolve the conflicts.

@Mohimkhan
Copy link
Author

@Mohimkhan Please resolve the merge conflicts

@atapas Sir, I have gone through evey confilcts and I think i can resolve them but it might take some time as I have to rewrite the css in tailwind and also some other things. Iam working on it

@sarowarhosen03
Copy link

@Mohimkhan Please resolve the merge conflicts

@atapas Sir, I have gone through evey confilcts and I think i can resolve them but it might take some time as I have to rewrite the css in tailwind and also some other things. Iam working on it

Try to create a separate branch and start work with it will help you to avoid conflict

@Mohimkhan
Copy link
Author

Mohimkhan commented Nov 16, 2023

@Mohimkhan Please resolve the merge conflicts

@atapas Sir, I have gone through evey confilcts and I think i can resolve them but it might take some time as I have to rewrite the css in tailwind and also some other things. Iam working on it

Try to create a separate branch and start work with it will help you to avoid conflict

Thank you @sarowarhosen03 but I have already fetch the changes to my current branch (feat/functionality-to-delete-a-wish) and also solve 2 conflicts, now i just have to rewrite the css to tailwind and also check if deleteing a wish makes changes in localstorage

@sarowarhosen03
Copy link

@Mohimkhan Please resolve the merge conflicts

@atapas Sir, I have gone through evey confilcts and I think i can resolve them but it might take some time as I have to rewrite the css in tailwind and also some other things. Iam working on it

Try to create a separate branch and start work with it will help you to avoid conflict

Thank you @sarowarhosen03 but I have already fetch the changes to my current branch (feat/functionality-to-delete-a-wish) and also solve 2 conflicts, now i just have to rewrite the css to tailwind and also check if deleteing a wish makes changes in localstorage

#19 if this PR merged you don't need to do anything for deleting or updating items on localstorage . Just update the main state it will automatically update on localstorage

@Mohimkhan
Copy link
Author

@Mohimkhan Please resolve the merge conflicts

@atapas Sir, I have gone through evey confilcts and I think i can resolve them but it might take some time as I have to rewrite the css in tailwind and also some other things. Iam working on it

Try to create a separate branch and start work with it will help you to avoid conflict

Thank you @sarowarhosen03 but I have already fetch the changes to my current branch (feat/functionality-to-delete-a-wish) and also solve 2 conflicts, now i just have to rewrite the css to tailwind and also check if deleteing a wish makes changes in localstorage

#19 if this PR merged you don't need to do anything for deleting or updating items on localstorage . Just update the main state it will automatically update on localstorage

so should i wait for it to merge or I can do the other things and I will not do anything to delete items in localStorage but if i can finished my work and it didn't get merge then i will do what ever necessay. I have gone through your changes and i think the only conflicting files for me after you PR get merge will be (AddToBucket, BucketList, App) . I think the conflicts will be small if any of our PR gets merged. Whats your thought on this

@sarowarhosen03
Copy link

@Mohimkhan Please resolve the merge conflicts

@atapas Sir, I have gone through evey confilcts and I think i can resolve them but it might take some time as I have to rewrite the css in tailwind and also some other things. Iam working on it

Try to create a separate branch and start work with it will help you to avoid conflict

Thank you @sarowarhosen03 but I have already fetch the changes to my current branch (feat/functionality-to-delete-a-wish) and also solve 2 conflicts, now i just have to rewrite the css to tailwind and also check if deleteing a wish makes changes in localstorage

#19 if this PR merged you don't need to do anything for deleting or updating items on localstorage . Just update the main state it will automatically update on localstorage

so should i wait for it to merge or I can do the other things and I will not do anything to delete items in localStorage but if i can finished my work and it didn't get merge then i will do what ever necessay. I have gone through your changes and i think the only conflicting files for me after you PR get merge will be (AddToBucket, BucketList, App) . I think the conflicts will be small if any of our PR gets merged. Whats your thought on this

Yes you're right. Let's see which pr got merge first

@sarowarhosen03
Copy link

sarowarhosen03 commented Nov 16, 2023

@Mohimkhan Please resolve the merge conflicts

@atapas Sir, I have gone through evey confilcts and I think i can resolve them but it might take some time as I have to rewrite the css in tailwind and also some other things. Iam working on it

Try to create a separate branch and start work with it will help you to avoid conflict

Thank you @sarowarhosen03 but I have already fetch the changes to my current branch (feat/functionality-to-delete-a-wish) and also solve 2 conflicts, now i just have to rewrite the css to tailwind and also check if deleteing a wish makes changes in localstorage

#19 if this PR merged you don't need to do anything for deleting or updating items on localstorage . Just update the main state it will automatically update on localstorage

so should i wait for it to merge or I can do the other things and I will not do anything to delete items in localStorage but if i can finished my work and it didn't get merge then i will do what ever necessay. I have gone through your changes and i think the only conflicting files for me after you PR get merge will be (AddToBucket, BucketList, App) . I think the conflicts will be small if any of our PR gets merged. Whats your thought on this

You can work on a separate branch. In future if you need to pull something on your main branch. You can fix the merge conflict locally

@netlify
Copy link

netlify bot commented Nov 17, 2023

Deploy Preview for solidbucketlist ready!

Name Link
🔨 Latest commit 2cd38db
🔍 Latest deploy log https://app.netlify.com/sites/solidbucketlist/deploys/6556e21efd6f8100089d1b0b
😎 Deploy Preview https://deploy-preview-8--solidbucketlist.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Mohimkhan Mohimkhan requested a review from atapas November 17, 2023 03:50
@Mohimkhan
Copy link
Author

@atapas Sir, I have resolve all the conflicts. please check if it needs anything

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.

Add functionality to delete a wish

3 participants