Implement grantee report submission system and bot integration (take 3)#434
Closed
BoltTouring wants to merge 1 commit into
Closed
Implement grantee report submission system and bot integration (take 3)#434BoltTouring wants to merge 1 commit into
BoltTouring wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
89ef3c2 to
ca1d4c7
Compare
dergigi
requested changes
Apr 21, 2025
Member
dergigi
left a comment
There was a problem hiding this comment.
I'm afraid I'll have to close this PR.
| const sessionOptions: IronSessionOptions = { | ||
| password: | ||
| process.env.SECRET_COOKIE_PASSWORD || | ||
| 'complex_password_at_least_32_characters_long', |
| reportContent: string | ||
| ): Promise<boolean> { | ||
| // Convert markdown to HTML | ||
| const htmlContent = marked(reportContent, { |
Member
There was a problem hiding this comment.
Yes, that's how you convert HTML to markdown.
| * @param markdown Markdown content to convert | ||
| * @returns HTML content | ||
| */ | ||
| function convertMarkdownToHtml(markdown: string): string { |
Member
There was a problem hiding this comment.
No, that's not how you convert HTML to markdown.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR implements a complete grantee report submission system that allows grantees to submit their progress reports through a web form. The reports are then posted as comments on the corresponding GitHub issue and sent via email to the grantee.
Features
Testing
The changes have been tested locally with:
Quick Test Script for Report Submission Flow
Validate Grant:
Submit Report:
Error Cases: