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

feat: add notepad tab in all assets and components #19066

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

MyvTsv
Copy link
Contributor

@MyvTsv MyvTsv commented Feb 26, 2025

  • I have read the CONTRIBUTING document.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • This change requires a documentation update.

Description

  • It fixes !36461
  • This PR enables by default the ability to write notes for GLPI elements. It also adds the default note tab in item_devices which was not present.

To disable the note tab, set the usenotepad attribute in the class to false.

Screenshots (if appropriate):

Capture d’écran du 2025-02-26 15-02-48

@MyvTsv MyvTsv requested review from Rom1-B and stonebuzz and removed request for Rom1-B February 26, 2025 14:03
@MyvTsv MyvTsv self-assigned this Feb 26, 2025
@MyvTsv MyvTsv requested a review from Rom1-B February 26, 2025 14:04
Copy link
Contributor

@Rom1-B Rom1-B left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In each of the new cases, Notepad will probably have to be added to getCloneRelations() (example: Appliance class) and to rawSearchOptions() (example: Budget class).

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.

2 participants