Skip to content

Neeraj Fix being able to submit the help request form#4291

Merged
one-community merged 2 commits intodevelopmentfrom
Neeraj_Fix_Being_Able_To_Submit_The_Help_Request_Form
Dec 15, 2025
Merged

Neeraj Fix being able to submit the help request form#4291
one-community merged 2 commits intodevelopmentfrom
Neeraj_Fix_Being_Able_To_Submit_The_Help_Request_Form

Conversation

@Neeraj-Kondaveeti
Copy link
Copy Markdown
Contributor

@Neeraj-Kondaveeti Neeraj-Kondaveeti commented Oct 30, 2025

Description

image

Related PRS (if any):

This PR is related to Backend Development Branch
This PR build on earlier work from #3357

Main changes explained:

  • Updated the HelpModal.jsx file to add conditional logic for enabling the Submit button:
  • The button is now only enabled if the logged-in user is a member of the Software Development Team.
  • Administrative roles (Owner, Administrator) are also granted access for testing and oversight.
  • Added clear warning text for users who are not part of the Software Development Team.
  • Verified that dropdown selection, category fetching, and the "here" link redirection all continue to function as before.
  • Optional: cleaned redundant console logs and ensured stability in axios API handling.
  • Converted .css file to .module.css file and made changes accordingly in .Jsx file.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as any user
  5. go to http://localhost:3000/hgnhelp
  6. Verify that you're able to see the help request modal, test the modal for responsiveness, check the dropdown menu.
  7. Observe behavior:
  • If you are part of the Software Development Team, the Submit button should be active.
  • If not, the button remains disabled, and a warning message appears:
  • “Only members from the software development team can seek help.”
  1. To verify team-based access:
  • From the Dashboard, go to Other Links → Teams.
  • Search for Software Development Team and add yourself as a member.
  • Return to /hgnhelp and confirm the Submit button becomes enabled.
  1. Test the "here" button — it should redirect to the dashboard.

Screenshots or videos of changes:

HgnHelp_Screenshot

Note:

When you click the submit button on the help request modal, it should just take you to the dashboard as of now.

@netlify
Copy link
Copy Markdown

netlify Bot commented Oct 30, 2025

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 8dabc92
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/693c7b35598ee60008d20a31
😎 Deploy Preview https://deploy-preview-4291--highestgoodnetwork-dev.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 project configuration.

@sonarqubecloud
Copy link
Copy Markdown

@Neeraj-Kondaveeti Neeraj-Kondaveeti added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Oct 30, 2025
@Neeraj-Kondaveeti Neeraj-Kondaveeti changed the title fix:Submit button now works Neeraj_Fix:Submit_Button_Functionality Oct 30, 2025
@Anusha-Gali Anusha-Gali changed the title Neeraj_Fix:Submit_Button_Functionality Neeraj - Fix being able to submit the help request form Nov 7, 2025
Anusha-Gali
Anusha-Gali previously approved these changes Nov 15, 2025
Copy link
Copy Markdown

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

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

Hi Neeraj,

I have reviewed your PR locally, it works as per functionality for both member of software development team and not a member of software development team.

Not a Member of Software Development Team
Screenshot 2025-11-14 at 11 43 13 PM

Screenshot 2025-11-14 at 11 43 23 PM

Member of Software Development Team
Screenshot 2025-11-14 at 11 46 01 PM

Screenshot 2025-11-14 at 11 46 10 PM Screenshot 2025-11-14 at 11 46 16 PM

@beblicarl
Copy link
Copy Markdown
Contributor

This feature works as intended and the code is great

image image

@beblicarl beblicarl self-requested a review November 28, 2025 18:20
beblicarl
beblicarl previously approved these changes Nov 28, 2025
@sonarqubecloud
Copy link
Copy Markdown

@Neeraj-Kondaveeti Neeraj-Kondaveeti changed the title Neeraj - Fix being able to submit the help request form Neeraj Fix being able to submit the help request form Dec 13, 2025
@one-community
Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community one-community merged commit 7fe6661 into development Dec 15, 2025
10 checks passed
@aryanrachala54 aryanrachala54 self-assigned this Dec 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants