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

Addition of Contribute Section in Home of Slack NestBot #593

Merged
merged 18 commits into from
Feb 3, 2025

Conversation

AbhayTopno
Copy link
Collaborator

Screenshot 2025-01-24 020128

Finished adding the Contribute section to the home of Slack NestBot. If there are any conflicts, feel free to reach out to me

@AbhayTopno AbhayTopno requested a review from arkid15r as a code owner January 23, 2025 23:28
@arkid15r arkid15r linked an issue Jan 24, 2025 that may be closed by this pull request
Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

Good work but it seems you've overdone it a bit.
We already have Issue entity in the index which is essentially a building block for Contribute page.

The tasks' aim here was to reuse slack/commands/contribute.py code by refactoring it into a shared handler similar to chapters.

BTW here @nitinawari suggested the right approach to solve this.

Please remove redundant functionality and owasp app API changes while keeping essential changes only.

@AbhayTopno
Copy link
Collaborator Author

Ok i'll do it

Copy link
Collaborator

@nitinawari nitinawari left a comment

Choose a reason for hiding this comment

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

hey @AbhayTopno,

Great work! I can see the effort you've put in, but it seems like there was a slight misunderstanding of the original issue.

When you have time, please check out these suggestions:

I understand what you did — you created a new entity in apps/owaspas Contributor. However, we don’t need to create a new one. We already have issue entities in apps/github. Please use those instead.

You can refer to this comment for the actual steps to resolve this.

Hints for you:

  • You don’t need to make any changes outside of apps/slack.

  • This is not related to this PR, but please make sure to create a separate branch for your PRs in the future, rather than pushing directly to the main branch. don't close this PR until get merged

I hope these comments and suggestions help you resolve the issue.

Thank you!

@AbhayTopno
Copy link
Collaborator Author

AbhayTopno commented Jan 25, 2025

Thanks for the correction. I'll make the changes as you suggested, and sorry for the trouble I'm causing @nitinawari

@nitinawari
Copy link
Collaborator

nitinawari commented Jan 25, 2025

Hey @AbhayTopno, no need to apologize for anything. We’re all in the learning phase. 👍 If you need any help, feel free to reach out to me on Slack DM. I’ll be happy to assist.

@arkid15r
Copy link
Collaborator

@nitinawari thanks for helping with reviews!

@AbhayTopno
Copy link
Collaborator Author

@arkid15r @nitinawari I have made the changes as you both suggested

Let me know if anything is incorrect or needs further adjustment.

Copy link
Collaborator

@nitinawari nitinawari left a comment

Choose a reason for hiding this comment

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

Hey @AbhayTopno great work . Let's enhance this

Copy link
Collaborator

@nitinawari nitinawari left a comment

Choose a reason for hiding this comment

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

@AbhayTopno LGTM 👍

@arkid15r please proceed further

@AbhayTopno
Copy link
Collaborator Author

@nitinawari Thanks a lot for helping me! I’ve learned so much from this

@arkid15r Let me know if there are any changes you want to make

Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

Could you make sure the original output look is kept as is?

Thank you

@AbhayTopno
Copy link
Collaborator Author

Screenshot 2025-01-30 032313

@arkid15r I have made the changes

@github-actions github-actions bot added the schema label Feb 3, 2025
@arkid15r arkid15r enabled auto-merge February 3, 2025 03:33
Copy link
Collaborator

@arkid15r arkid15r left a comment

Choose a reason for hiding this comment

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

LGTM

@arkid15r arkid15r added this pull request to the merge queue Feb 3, 2025
Merged via the queue into OWASP:main with commit 62646d9 Feb 3, 2025
13 checks passed
Dishant1804 pushed a commit to Dishant1804/Nest that referenced this pull request Feb 3, 2025
* Addition of Contribute Section in Home of Slack NestBot

* Update contribute.py

* Update of apps/slack/commands/contribute

* Minor changes

* Update of code after the review

* Update backend/apps/slack/commands/contribute.py

Co-authored-by: Nitin Awari <[email protected]>

* Update urls.py

* Update contribute.py

* Update code

---------

Co-authored-by: Nitin Awari <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>
@nitinawari nitinawari mentioned this pull request Feb 3, 2025
github-merge-queue bot pushed a commit that referenced this pull request Feb 7, 2025
* anchor tags migrated

* Buttons migrated to chakraUI

* migarted buttons tooltip and anchortags to chakraUI

* fixed focus ring issue

* Generic component for details page (#678)

* base_design

* Add types and apply corrections.

* Improvement

* cleanup

* added issue label

* fixes

* pre-commit

---------

Co-authored-by: Kate Golovanova <[email protected]>

* Addition of Contribute Section in Home of Slack NestBot (#593)

* Addition of Contribute Section in Home of Slack NestBot

* Update contribute.py

* Update of apps/slack/commands/contribute

* Minor changes

* Update of code after the review

* Update backend/apps/slack/commands/contribute.py

Co-authored-by: Nitin Awari <[email protected]>

* Update urls.py

* Update contribute.py

* Update code

---------

Co-authored-by: Nitin Awari <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>

* resolved conflicts

* sort dropdown tooltip position modified

* test utils warpper used

* checks and format

* removed unnecessary button props

* removed redundant lines

* Update FE dependencies

* tooltip-bug (#744)

* Addition of website attribute to project schema (#740)

* Addition of website attribute to project schema

* Update vite.config.ts

* Update website-empty.yaml

* Update website-none.yaml

* Update website-none.yaml

* Update website-empty.yaml

* Update website-none.yaml

* Update website-empty.yaml

* Update website-empty.yaml

* Update project_test.py

* Update project.json

* Delete schema/tests/data/project/negative/website-empty.yaml

* Update code

---------

Co-authored-by: Arkadii Yakovets <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>

* Add blog to project schema (#745)

* added blog attribute to project schema

* added blog attribute

* Update project_test.py

* Update code

* Update code

---------

Co-authored-by: Arkadii Yakovets <[email protected]>

* Initialize OWASP chapter schema

* Refactor index synonyms (#748)

* Changes5

* Refactor index synonyms

* Update code

---------

Co-authored-by: Raghav Gupta 2 <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>

* write repository schema and tests (#741)

* write repository schema and tests

* fixed repository schema tests

* Update code

---------

Co-authored-by: Arkadii Yakovets <[email protected]>

* Fetch /gsoc command data from Algolia instead of DB (#712)

* gsoc command data fetch from algolia

* pre-commit and format checks

* moved get_gsoc_projects to search project file

* Update code

---------

Co-authored-by: Arkadii Yakovets <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>

* Reconfigure spell check

* Bump @chakra-ui/react from 3.6.0 to 3.7.0 in /frontend (#752)

Bumps [@chakra-ui/react](https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/react) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/chakra-ui/chakra-ui/releases)
- [Changelog](https://github.com/chakra-ui/chakra-ui/blob/main/packages/react/CHANGELOG.md)
- [Commits](https://github.com/chakra-ui/chakra-ui/commits/@chakra-ui/[email protected]/packages/react)

---
updated-dependencies:
- dependency-name: "@chakra-ui/react"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Update params mapping

* Added a method to convert block to text and fixed warning  (#754)

* Added a method to convert block to text

* Added testcase for utils

* Update code

---------

Co-authored-by: Arkadii Yakovets <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>

* Update frontend dependencies

* Run poetry update

* conflicts resolved

* Cleanup: removing unused dependencies n dev dependencies (#601)

* "Cleanup: removing unused dependencies n dev dependencies "

* resolved conflicts

* Fix staging image build

* "Cleanup: removing unused dependencies n dev dependencies "

* fix run npm install install prettier plugin tailwindcss

* fix run run npm lint check

* fix check for uncommited changes

* resolved conflicts  n npm format check

* "Cleanup: removing unused dependencies n dev dependencies "

* resolved conflicts

* Fix staging image build

* "Cleanup: removing unused dependencies n dev dependencies "

* fix run npm install install prettier plugin tailwindcss

* fix run run npm lint check

* fix check for uncommited changes

* resolved conflicts  n npm format check

* updated one

* updated fix

* removed unwanted files from updated fix

* Update code

---------

Co-authored-by: Arkadii Yakovets <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Kate Golovanova <[email protected]>
Co-authored-by: Raj gupta <[email protected]>
Co-authored-by: AbhayTopno <[email protected]>
Co-authored-by: Nitin Awari <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>
Co-authored-by: Arkadii Yakovets <[email protected]>
Co-authored-by: yashgoyal0110 <[email protected]>
Co-authored-by: Rusheek <[email protected]>
Co-authored-by: Raghavg18 <[email protected]>
Co-authored-by: Raghav Gupta 2 <[email protected]>
Co-authored-by: Shyam Kumar <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Abhay <[email protected]>
Co-authored-by: Diamond Girl <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add NestBot home page Contribute section
3 participants