Skip to content

Update timeline hooks #164

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

Closed
wants to merge 17 commits into from

Conversation

cconard96
Copy link
Contributor

Documentation for glpi-project/glpi#18758


``show_in_timeline``
``timeline_items``
.. versionadded:: 10.0.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
.. versionadded:: 10.0.0
.. versionadded:: 11.0.0

@@ -484,12 +484,12 @@ Hooks that permits to add display on items.
``timeline_answer_actions``
.. versionadded:: 10.0.0

Display new actions in the ITIL object's answer dropdown
Add new types of items for the ITIL object and optionally show them in the answer actions dropdown

Copy link
Member

Choose a reason for hiding this comment

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

Maybe the old hook should remains documented.

Suggested change
``show_in_timeline``
.. versionadded: 10.0.0
.. versionremoved: 11.0.0
Modify the array of items in the ITIL object's timeline.
This hook was renamed to ``timeline_items`` in GLPI 11.0.0.

@cedric-anne cedric-anne force-pushed the develop branch 2 times, most recently from 07919b0 to 6d023c0 Compare May 19, 2025 08:46
@cedric-anne
Copy link
Member

Is this PR still relevant since the hooks documentation will be replaced by an auto-generated documentation in #170?

@trasher trasher deleted the branch glpi-project:master June 2, 2025 13:14
@trasher trasher closed this Jun 2, 2025
@trasher trasher reopened this Jun 2, 2025
@trasher trasher changed the base branch from develop to master June 2, 2025 13:16
@cconard96
Copy link
Contributor Author

Replaced by #170

@cconard96 cconard96 closed this Jun 4, 2025
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.

6 participants