question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Enhancement: Set a 'required' parameter for a frontmatter field that will annoy editors until it is defined.

See original GitHub issue

Is your feature request related to a problem? Please describe. Some fields need to be filled in for the site design to work as intended and for SEO.

Describe the solution you’d like Set a parameter required: true on a content type field, that will first highlight the field red when not filled out, and then raise a warning on save until the field is filled out. Basically, be annoying to the editor until the requirements are satisfied.

Describe alternatives you’ve considered Telling people to remember to fill it out, checklists, pre-build script to check all files for required fields. It would be better to have some information in the UI at the time of editing, instead of after the files are saved, committed to the repo.

Additional context Add any other context or screenshots about the feature request here.

Issue Analytics

  • State:closed
  • Created a year ago
  • Reactions:2
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
bwkleincommented, Sep 15, 2022

This is excellent! Thank you.

0reactions
estruyfcommented, Sep 19, 2022

Changed setting to frontMatter.global.disabledNotifications.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Front Matter Templates | Forestry.io
Front Matter Templates work by allowing developers to define which Fields are available to editors when editing pages, content types or data ...
Read more >
Advanced Trait Editors — TraitsUI 7 Documentation
Binding) by setting the binding parameter to True. If so, the bound object is retrieved and checked to see if it can be...
Read more >
Markdown - Front Matter CMS
Hiding the front matter in the editing experience can be done by the frontMatter.content.hideFm setting. By default, this is set to false ....
Read more >
TeXShop Changes 5.08 - University of Oregon
The editor still knows where it is, so characters are inserted if you type. But the cursor is missing. Recently, the same user...
Read more >
Documentation Style Guide - GitLab Docs
This document defines the standards for GitLab documentation, ... It does not need to be perfect; the team is happy to review and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found