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

Markdown stories #866

Merged
merged 15 commits into from
Apr 12, 2019
Merged

Markdown stories #866

merged 15 commits into from
Apr 12, 2019

Conversation

berggren
Copy link
Contributor

@berggren berggren commented Apr 10, 2019

Implements Markdown support for the story feature in the new frontend code. This replaces the old HTML based stories and add the benefit of being data driven. This will enable API support for creating stories.

  • Markdown support with GitHub flavoured styling
  • Inline saved view support

Screenshot 2019-04-12 at 11 07 06

Part of: #867

@berggren berggren marked this pull request as ready for review April 12, 2019 09:07
@berggren berggren requested a review from kiddinn April 12, 2019 09:08
Copy link
Contributor

@kiddinn kiddinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

such a minor comment, otherwise LGTM

@login_required
# pylint: disable=unused-argument
def redirect_view(sketch_id, view_id):
"""Generates the template.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this feels a bit weird....

the function is called redirect_view but the docstring says generate the template and then all it does is return a redirect call.. so the function name and content seem to match but the docstring sounds a bit weird

Copy link
Contributor

@kiddinn kiddinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@berggren berggren merged commit 7460e06 into master Apr 12, 2019
@berggren berggren deleted the markdown-stories branch April 12, 2019 11:37
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

Successfully merging this pull request may close these issues.

2 participants