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

Topic form improvements #389

Merged
merged 5 commits into from Feb 15, 2017
Merged

Topic form improvements #389

merged 5 commits into from Feb 15, 2017

Conversation

36degrees
Copy link
Member

  • Re-order fields to match the guide form
  • Consistently use 'Slug' and generate 'Final URL' rather than requiring an entire path
  • Automatically generate the slug from the title
  • Use auto expanding text area for the description rather than text field

Before

screen shot 2017-02-13 at 15 40 35

After

screen shot 2017-02-13 at 15 40 48

https://trello.com/c/ED6wNNn5/444-re-order-top-fields-of-the-topics-edit-pages-in-the-pub-app

This re-orders the topic form to be consistent with the guide form – with title, path and then description. At present we still need to differentiate between slug (used on the guide form) and path (used on the topic form) because the Guide form is only asking for a slug for the title (my-first-guide) whereas the Topic form expects an entire path (/service-manual/my-first-topic).
Bootstrap expects a help-block to be a <span> without paragraph elements around the contained text.
For consistency with the guide form, use the same field type for the same field.
@36degrees 36degrees merged commit 49d1482 into master Feb 15, 2017
@36degrees 36degrees deleted the topic-form-fixes branch February 15, 2017 10:14
@36degrees
Copy link
Member Author

Thanks for the review @cbaines!

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.

None yet

2 participants