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

YML Content Editor for Website #492

Closed
alesanchezr opened this issue Jul 17, 2020 · 0 comments
Closed

YML Content Editor for Website #492

alesanchezr opened this issue Jul 17, 2020 · 0 comments

Comments

@alesanchezr
Copy link
Contributor

alesanchezr commented Jul 17, 2020

Hrs: 15

We need a content editor for the 4GeeksAcademy website, all the content is based on YML, all the YMLs are here:
https://github.com/4GeeksAcademy/website-v2/tree/master/src/data

All files are splited by country for example:

Screen Shot 2020-07-17 at 1 33 58 PM

In this list of files you can see 3 different files splited in two contries.

b5bece1f-9132-46b1-a926-21e13d8e5065

  • The user can pick from a dropdown what country he will be editing.
  • The user can pick from a downdown what file name will he me editing.
  • Use the ace editor for linting.
  • Use this library to validate the YML: https://www.npmjs.com/package/js-yaml
  • The application optionally can receive a country from the querystring, if the country is present on the querystring the country dropdown will be pre-filled with that contry and will be read-only.
  • Before saving the file, the application needs to validate that the YML syntax is correct.
  • The application will use the breathecode api to save the files into github when the save button is pressed.
  • The application will need to track the last change and support the undo feature.
  • The application needs to receive a token from the querystring or give an error.

hhoQjxa88q

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant