-
Notifications
You must be signed in to change notification settings - Fork 9
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
API code submission for FLIP fest 'Playground Feature: Markdown READMEs 18' #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for participating in discussion and amendments to the code!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, and a really nice addition. I left two minor comments, if you want to address them.
id | ||
title |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a tabs vs. spaces issue here. I suggest converting to spaces, to match the lines above and below.
|
||
bmStrict := bluemonday.StrictPolicy() | ||
|
||
sanitizedTitle := bmStrict.Sanitize(p.Title) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is not too much trouble I would really like to see a test where the description/title/readme is sanitized.
Closes: N/A
Description
This PR comprises the work by @J00LZ and @hichana on the FLIP fest 'Playground Feature: Markdown READMEs 18'. It adds a 'PROJECT' section that allows the user to create a title, description and readme for the project, with functionality integrated into the export feature (ex. the readme.md file exports with the rest of the code) and various redirects schemes to enhance the user experience.
The API supports the new functionality, with included tests to make sure the new data members are persisted to the API.
We made a comprehensive guide with screenshots to illustrate the features: https://github.com/hichana/flip-fest/blob/submissions/issue-%2318/milestone-%232/TeamExponential/submission/issue-18/milestone-2/TeamExponential/README.md
For contributor use:
Files changed
in the Github PR explorer