-
Notifications
You must be signed in to change notification settings - Fork 44
Addressing PR comments #110
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
base: main
Are you sure you want to change the base?
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1139,7 +1139,7 @@ void GscInfoWindow::fill_ui_ata_attributes(const StoragePropertyRepository& prop | |
|
|
||
| model_columns.add(columns_->ata_attribute_table_columns.type); | ||
| num_tree_col = app_gtkmm_create_tree_view_column(columns_->ata_attribute_table_columns.type, *treeview, | ||
| _("Type"), _("Alarm condition is reached when normalized value becomes less than or equal to threshold. Type indicates whether it's a signal of drive's pre-failure time or just an old age."), false, true); | ||
| _("Type"), _("Indicates whether an alarm for this attribute signals imminent drive failure (pre-failure) or normal wear from drive age (old age)."), false, true); | ||
|
|
||
| // Doesn't carry that much info. Advanced users can look at the flags. | ||
| // model_columns.add(attribute_table_columns.updated); | ||
|
|
@@ -2098,7 +2098,9 @@ void GscInfoWindow::cell_renderer_for_ata_attributes(Gtk::CellRenderer* cr, | |
| crt->property_weight() = Pango::WEIGHT_BOLD; | ||
| } | ||
| if (column_index == columns_->ata_attribute_table_columns.type.index()) { | ||
| if (attribute.attr_type == AtaStorageAttribute::AttributeType::Prefail) { | ||
| // Bold only when attribute has failed AND it's pre-failure type | ||
| if (attribute.when_failed != AtaStorageAttribute::FailTime::None | ||
| && attribute.attr_type == AtaStorageAttribute::AttributeType::Prefail) { | ||
| crt->property_weight() = Pango::WEIGHT_BOLD; | ||
|
Comment on lines
+2101
to
2105
|
||
| } else { // reset to default value if reloading | ||
| crt->property_weight().reset_value(); | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tooltip wording "signals imminent drive failure" is stronger than the wording used elsewhere in this table (e.g., the Flags tooltip says "if the attribute failed, the drive is failing"). Consider aligning terminology (avoid implying immediacy) so the Type tooltip doesn’t inadvertently alarm users or contradict the existing explanation text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Don't use imminent, but leave a strong statement
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated in 970836b. Changed to: "Indicates whether an alarm for this attribute signals drive failure (pre-failure) or normal wear from drive age (old age)." — removed "imminent" while keeping the direct statement about drive failure.