mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 20:12:45 +08:00
UX: Add title attribute to reports cells (#15137)
Some reports, like the Web Crawler User Agents report, have very long strings that need to be truncated when displayed. However, there is no way to see the full value without exporting the report or inspecting the elements using dev tools. This PR set a `title` attribute with the full value to the reports `<td>` elements so that the full value is shown on hover.
This commit is contained in:
parent
77a1d8675c
commit
fced35de15
|
@ -6,6 +6,7 @@ export default Component.extend({
|
|||
tagName: "td",
|
||||
classNames: ["admin-report-table-cell"],
|
||||
classNameBindings: ["type", "property"],
|
||||
attributeBindings: ["value:title"],
|
||||
options: null,
|
||||
|
||||
@discourseComputed("label", "data", "options")
|
||||
|
|
Loading…
Reference in New Issue
Block a user