BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

Feat: Search Bar Story added

Open ThePiyushAggarwal opened this issue 2 years ago • 7 comments

Fixes Issue

Closes #1989

Changes proposed

  • [x] Refactored Search Component into a separate file for reuse in story
  • [x] Changed the placeholder in Search Bar for better grammar
  • [x] Added the Search Bar Story

Check List (Check all the applicable boxes)

  • [x] My code follows the code style of this project.
  • [ ] My change requires changes to the documentation.
  • [ ] I have updated the documentation accordingly.
  • [ ] All new and existing tests passed.
  • [x] This PR does not contain plagiarized content.
  • [x] The title of my pull request is a short description of the requested changes.

Screenshots

image

ThePiyushAggarwal avatar Feb 15 '23 18:02 ThePiyushAggarwal

Welcome @ThePiyushAggarwal! Thank you so much for your first pull request!

github-actions[bot] avatar Feb 15 '23 18:02 github-actions[bot]

Welcome @ThePiyushAggarwal! Thank you so much for your first pull request!

github-actions[bot] avatar Feb 23 '23 05:02 github-actions[bot]

I am not able to remove some files from commit. 3 files with .json have gotten inside the PR when I did a merge commit for main into my branch. I think the pre-commit hooks are running lint commands and making those changes. As when I tried to manually remove the unnecessary changes, it said commit stopped since it is empty.

ThePiyushAggarwal avatar Feb 23 '23 05:02 ThePiyushAggarwal

I can help you with this.

  • Go to you fork on github main branch. click the sync fork button. image

  • Go to you local repo. use git checkout main to navigate to main branch.

  • git fetch upstream

  • git merge upstream/main

  • git checkout feature-ThePiyushAggarwal-1989-search-story

  • use these commands to revert the files

    • git checkout main -- data/AdamsGeeky.json
    • git checkout main -- data/SubhadeepZilong.json
    • git checkout main -- data/ndzhwr.json
  • git add . (Make sure you don't have any other changes)

  • git commit -m "any message" -n (-n will skip the linter)

  • git push origin feature-ThePiyushAggarwal-1989-search-story push the changes

ChinmayMhatre avatar Mar 01 '23 15:03 ChinmayMhatre

Thanks a lot @ChinmayMhatre !

The unnecessary files are not showing up in the PR now.

ThePiyushAggarwal avatar Mar 01 '23 18:03 ThePiyushAggarwal

Thanks @ChinmayMhatre , great collaboration 💪

eddiejaoude avatar Mar 02 '23 01:03 eddiejaoude

I realized there were some errors in the browser console in storybook.

image

Fixed them as well

ThePiyushAggarwal avatar Mar 02 '23 13:03 ThePiyushAggarwal

I deleted my fork and this got closed. Anyway, I don't think anyone cares about this PR. Thanks!

ThePiyushAggarwal avatar Apr 01 '23 10:04 ThePiyushAggarwal

I deleted my fork and this got closed. Anyway, I don't think anyone cares about this PR. Thanks!

Hey @ThePiyushAggarwal , I understand the frustration of getting an error. Sometimes PR's and issues get delayed for multiple reasons.

You see some PR's getting merged quickly as they are simple profile additions and can be reviewed by all the maintainers. Some larger PR are reviewed by specific maintainers and can take some time to be reviewed. All the maintainers have to take time from their work, life etc to review so it does take of time .

In case the PR's hasn't been reviewed for a week or more which this one is. I would suggest pinging Eddie once, if that is missed you can go to the discord server and put your issue in the contributor support channel. Hope you understand.

ChinmayMhatre avatar Apr 01 '23 11:04 ChinmayMhatre

@ThePiyushAggarwal your PR was great, sorry for being slow in responding, but I get many notifications. Also your PR has chore: profile addition because it has profile changes in it, which I leave these PRs for other maintainers and they probably left it for me because it had other code changes - this is why it is so important to keep PRs focused on a single improvement/change.

Yes deleting your fork will close the PR, but you can still get your code changes from the PR if you wish to create a new PR and we can get it merged

Storybook and Playwright automated tests are super important 👍 so I would love this PR if you are happy to open another PR, sorry again for the delay

eddiejaoude avatar Apr 02 '23 07:04 eddiejaoude

Thanks for responding!

I think the chore: profile addition lable got added when the linter made some changes in the .json files but after that I reverted those.

I am reopening this PR. This PR contains changes for only the storybook for SearchInput component.

ThePiyushAggarwal avatar Apr 02 '23 08:04 ThePiyushAggarwal

Not able to edit this PR to resolve. Closing creating new one.

ThePiyushAggarwal avatar Apr 02 '23 09:04 ThePiyushAggarwal

ok thank you @ThePiyushAggarwal 👍

eddiejaoude avatar Apr 02 '23 10:04 eddiejaoude