Skip to content

Feature/8994 add classes description#789

Open
v-dumas wants to merge 5 commits intodevelopfrom
feature/8994-add-classes-description
Open

Feature/8994 add classes description#789
v-dumas wants to merge 5 commits intodevelopfrom
feature/8994-add-classes-description

Conversation

@v-dumas
Copy link
Contributor

@v-dumas v-dumas commented Dec 19, 2025

Base information

Question Answer
Related to Combodo ticket? N°8994
Type of change? Enhancement

Symptom (bug) / Objective (enhancement)

Improve User understanding of the various iTop classes and their usage, by adding a description which is displayed as a tooltip when going above a Dashlet Badge of a class.

Proposed solution (bug and enhancement)

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have tested all changes I made on an iTop instance
  • I have added a unit test, otherwise I have explained why I couldn't
  • Is the PR clear and detailed enough so anyone can understand digging in the code?

Checklist of things to do before PR is ready to merge

  • ...
  • ...
  • ...

@CombodoApplicationsAccount CombodoApplicationsAccount added the internal Work made by Combodo label Dec 19, 2025
Copy link
Contributor

@Hipska Hipska left a comment

Choose a reason for hiding this comment

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

Great cleanup 👍 I do have a few minor suggestions.

Dict::Add('EN US', 'English', 'English', [
'Class:Tablet' => 'Tablet',
'Class:Tablet+' => '',
'Class:Tablet+' => 'End user device. For example iPad, Galaxy Note/Tab Nexus, Kindle,...',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
'Class:Tablet+' => 'End user device. For example iPad, Galaxy Note/Tab Nexus, Kindle,...',
'Class:Tablet+' => 'End user device. For example iPad, Galaxy Note/Tab, Nexus, Kindle,',

Copy link

Choose a reason for hiding this comment

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

Inconsistency between classes : "End User" or "End user"?

Dict::Add('EN US', 'English', 'English', [
'Class:NetworkDevice' => 'Network Device',
'Class:NetworkDevice+' => '',
'Class:NetworkDevice+' => 'Any type of network device: router, switch, hub, load balancer, firewall…',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
'Class:NetworkDevice+' => 'Any type of network device: router, switch, hub, load balancer, firewall…',
'Class:NetworkDevice+' => 'Any type of network device: router, switch, hub, load balancer, firewall, ',

'Class:PhysicalInterface/Attribute:location_id' => 'Location id',
'Class:PhysicalInterface/Attribute:location_id+' => '',
]);
]); No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

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

Please restore EOL.

…ig-mgmt.php

Co-authored-by: Thomas Casteleyn <thomas.casteleyn@super-visions.com>
Dict::Add('EN US', 'English', 'English', [
'Class:Typology' => 'Typology',
'Class:Typology+' => '',
'Class:Typology+' => 'An abstract class. ExternalKeyAttribute to a Typology subclass are used in place of an EnumAttribute, to have more dynamic values',
Copy link
Contributor

Choose a reason for hiding this comment

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

Attributes perhaps (plural)?

I'm not sure if this will make it much more clear to a standard iTop user though (someone who doesn't modify the data model).

Copy link

Choose a reason for hiding this comment

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

Abstract class. ExternalKeyAttribute to a Typology subclass are used in place of an EnumAttribute, to have more dynamic values.

Dict::Add('EN US', 'English', 'English', [
'Class:DocumentWeb' => 'Document Web',
'Class:DocumentWeb+' => '',
'Class:DocumentWeb+' => 'Hyperlinks to external applications or documents. Think to them as “pointers” to external documents. You cannot search in their content from '.ITOP_APPLICATION_SHORT,
Copy link
Contributor

Choose a reason for hiding this comment

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

Think of them.

I'm also not sure the "French" quotes should be used here instead of regular ones ( " ).

Copy link

Choose a reason for hiding this comment

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

Agree and I would rephrase it.
Proposal: 'can be considered as pointers to external documents (without quotes)

Dict::Add('EN US', 'English', 'English', [
'Class:DocumentFile' => 'Document File',
'Class:DocumentFile+' => '',
'Class:DocumentFile+' => 'It\'s a type of Document which includes an '.ITOP_APPLICATION_SHORT.' uploaded file (in any format: Word, PDF, Spreadsheet, etc.). It can be used for all sorts of purpose: contract, sales order, datacenter maps, processing instructions, technical documentation.',
Copy link
Contributor

Choose a reason for hiding this comment

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

I'd suggest to drop the ITOP_APPLICATION_SHORT here?

Also: "It can be used for different purposes:"

Dict::Add('EN US', 'English', 'English', [
'Class:PhysicalDevice' => 'Physical Device',
'Class:PhysicalDevice+' => '',
'Class:PhysicalDevice+' => 'Abstract class, grouping physical types of Configuration Items. A Physical Device can be located. It has usually a Brand and Model.',
Copy link

Choose a reason for hiding this comment

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

Remove ',' after Abstract class

Dict::Add('EN US', 'English', 'English', [
'Class:TelephonyCI' => 'Telephony CI',
'Class:TelephonyCI+' => '',
'Class:TelephonyCI+' => 'Abstract class, grouping telephony devices',
Copy link

Choose a reason for hiding this comment

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

Remove ',' after Abstract class

Dict::Add('EN US', 'English', 'English', [
'Class:Phone' => 'Phone',
'Class:Phone+' => '',
'Class:Phone+' => 'End User device, a plain old wired phone',
Copy link

Choose a reason for hiding this comment

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

'End User device. Plain wired phone'

Dict::Add('EN US', 'English', 'English', [
'Class:MobilePhone' => 'Mobile Phone',
'Class:MobilePhone+' => '',
'Class:MobilePhone+' => 'End User wireless phone device',
Copy link

Choose a reason for hiding this comment

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

End User device. Wireless phone.

Dict::Add('EN US', 'English', 'English', [
'Class:Tablet' => 'Tablet',
'Class:Tablet+' => '',
'Class:Tablet+' => 'End user device. For example iPad, Galaxy Note/Tab Nexus, Kindle,...',
Copy link

Choose a reason for hiding this comment

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

Inconsistency between classes : "End User" or "End user"?

Dict::Add('EN US', 'English', 'English', [
'Class:KnownError' => 'Known Error',
'Class:KnownError+' => 'Error documented for a known issue',
'Class:KnownError+' => 'Error which occurred multiple times, so we document it to avoid loosing energy in troubleshooting the next time it will be reported',
Copy link

Choose a reason for hiding this comment

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

Error identified after multiple occurences and documented to ease troubleshooting.

Dict::Add('EN US', 'English', 'English', [
'Class:Contact' => 'Contact',
'Class:Contact+' => '',
'Class:Contact+' => 'An abstract class. A Contact can be linked to Tickets and FunctionalCIs for different purpose such as dispatch of incident, notification,...',
Copy link

Choose a reason for hiding this comment

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

Abstract class. A Contact can be linked to Tickets and FunctionalCIs for different purpose such as dispatch of incident, notification,...

Dict::Add('EN US', 'English', 'English', [
'Class:DocumentNote' => 'Document Note',
'Class:DocumentNote+' => '',
'Class:DocumentNote+' => 'It is used to store a text document. HTML formatting is supported using the WYSIWYG editor. Search can be performed on its content.',
Copy link

Choose a reason for hiding this comment

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

Used to store a text document. HTML formatting is supported using the WYSIWYG editor. Search can be performed on its content.

Dict::Add('EN US', 'English', 'English', [
'Class:DocumentWeb' => 'Document Web',
'Class:DocumentWeb+' => '',
'Class:DocumentWeb+' => 'Hyperlinks to external applications or documents. Think to them as “pointers” to external documents. You cannot search in their content from '.ITOP_APPLICATION_SHORT,
Copy link

Choose a reason for hiding this comment

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

Agree and I would rephrase it.
Proposal: 'can be considered as pointers to external documents (without quotes)

Dict::Add('EN US', 'English', 'English', [
'Class:Typology' => 'Typology',
'Class:Typology+' => '',
'Class:Typology+' => 'An abstract class. ExternalKeyAttribute to a Typology subclass are used in place of an EnumAttribute, to have more dynamic values',
Copy link

Choose a reason for hiding this comment

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

Abstract class. ExternalKeyAttribute to a Typology subclass are used in place of an EnumAttribute, to have more dynamic values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Work made by Combodo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants