Add a preview button on New File page

Problem to solve

Preview file before creating it so, users can know how their file will look like after commit. This feature could be really helpful when we're creating a markdown file. For markdown file format we render the file and other file formats we could just show syntax highlighting for that corresponding file in Preview section.

Intended users

Everyone.

Further details

This feature helps user to preview their work before committing them and make any correction if required.

Proposal

This problem can be solve by adding a Preview button on New File page just like present on Edit file page for markdown file format.

add_file

And, replace Preview button (present in Edit file page) for markdown file with Preview changes button like available for other file formats. So, users can preview changes made in a markdown file just like Github does.

github

  • Edit file page for markdown file format

edit_file

  • Edit file page for other file formats

edit_file2

Permissions and Security

Unknown.

Documentation

Unknown.

Testing

Requires cross-browser testing.

What does success look like, and how can we measure that?

Unknown.

What is the type of buyer?

Core.

Links / references

Assignee Loading
Time tracking Loading