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

Apply new item rules in project tree #1406

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Apply new item rules in project tree #1406

merged 1 commit into from
Apr 3, 2023

Conversation

vkbo
Copy link
Owner

@vkbo vkbo commented Apr 3, 2023

Summary:

This PR adds a small check when item selection in the project tree changes whether the selected item can have a document added to it. If it cannot, the corresponding options in the new items menu are hidden.

Related Issue(s):

Closes #1404

Reviewer's Checklist:

  • The header of all files contain a reference to the repository license
  • The overall test coverage is increased or remains the same as before
  • All tests are passing
  • All flake8 checks are passing and the style guide is followed
  • Documentation (as docstrings) is complete and understandable
  • Only files that have been actively changed are committed

@vkbo vkbo added this to the Release 2.0.7 milestone Apr 3, 2023
@vkbo vkbo changed the base branch from main to patch April 3, 2023 20:09
@vkbo vkbo merged commit 590c03c into patch Apr 3, 2023
@vkbo vkbo deleted the new_item_rules branch April 3, 2023 20:12
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.

New Item menu should be consistent with root folder rules
1 participant