Skip to content

Farmer Forum Post button - #1791

Merged
omroy07 merged 1 commit into
omroy07:mainfrom
Aditya8369:171
May 26, 2026
Merged

Farmer Forum Post button#1791
omroy07 merged 1 commit into
omroy07:mainfrom
Aditya8369:171

Conversation

@Aditya8369

Copy link
Copy Markdown
Contributor

Fixed the legacy forum submit flow. The backend route in app.py no longer blocks the form behind a JWT, and it now returns the created post payload so the UI can use it immediately. The client in forum.js now prepends the new post into the Recent Posts list right away, with a fallback refresh if needed.

Validation passed with python -m py_compile "Forum/app.py"; node --check "Forum/forum.js".

closes #171

@vercel

vercel Bot commented May 25, 2026

Copy link
Copy Markdown

@Aditya8369 is attempting to deploy a commit to the Om Roy's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@Aditya8369

Copy link
Copy Markdown
Contributor Author

@omroy07 merge under NSOC

@omroy07
omroy07 merged commit 08dac2d into omroy07:main May 26, 2026
1 of 4 checks passed
@github-actions

Copy link
Copy Markdown

🎉 Congrats @Aditya8369 on getting your PR merged! 🙌
Thanks for the contribution — looking forward to more from you 🚀

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.

Farmer Forum Post button is not working

2 participants