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

Hide unfilled sections in pattern description #167

Open
mhinkie opened this issue Nov 23, 2022 · 0 comments
Open

Hide unfilled sections in pattern description #167

mhinkie opened this issue Nov 23, 2022 · 0 comments

Comments

@mhinkie
Copy link
Contributor

mhinkie commented Nov 23, 2022

Is your feature request related to a problem? Please describe.
Currently, when a pattern contains a specific section that does not contain content, the section will be shown as

[Sectiontitle]
Enter your input for this section here.

Describe the solution you'd like
Don't show unfilled sections as described above. However, make sure that there still is a way of filling such sections in the edit mode.
Currently the Section can be filled by clicking the edit button next to the content. If the section is gone completely this is not possible.
Possible solutions:

  • only hide the "dummy" content "Enter your input for this section here." and show the edit icon next to the section title. I.e. only show one line with the title.
  • or: next to the pattern title, add a button next to the general edit button that allows adding unfilled sections for this pattern (= when loading check which sections are unfilled and add them to a list that will be shown when this edit button is clicked)
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

No branches or pull requests

1 participant