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

Tag Management: Dynamic URL Preview #4499

Closed
ErisDS opened this issue Nov 21, 2014 · 0 comments · Fixed by #4546
Closed

Tag Management: Dynamic URL Preview #4499

ErisDS opened this issue Nov 21, 2014 · 0 comments · Fixed by #4546
Labels
affects:admin Anything relating to Ghost Admin
Milestone

Comments

@ErisDS
Copy link
Member

ErisDS commented Nov 21, 2014

This is a sub issue of the tag management epic: #4248

Dev Note: to see the tag management UI you need to add tagsUI: true to your config.js file.


The tag settings menu which has been added as part of this work, has a dynamic URL preview in the description underneath the URL field:

  • It lives inside a <p class="description"></p> beneath the field.
  • It shows the true blog URL, the /tag/ prefix used for outputting tag archives, and the tag slug. It dynamically updates as the slug is changed.
  • In order to save some space, the blog URL should be shown without the schema.
  • As it is possible for the slug to be long, the preview needs to handle wrapping nicely.

I think there is some capacity to build this as a reusable component? There are similar things on the meta data screen and on the user profile. We may wish to add it to the post settings menu, and I can imagine there being other uses in future.

The component needs to know about a base URL, a prefix path like /tag/ or /author/ and slug property that it is supposed to observe and dynamically update. Whether or not to show the schema could be an option?

@ErisDS ErisDS added the affects:admin Anything relating to Ghost Admin label Nov 21, 2014
@ErisDS ErisDS added this to the Next Backlog milestone Nov 21, 2014
@novaugust novaugust mentioned this issue Nov 21, 2014
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects:admin Anything relating to Ghost Admin
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant