#1268 closed enhancement (wontfix)
DevHub: Hide the filenames in the Used By/Uses section
| Reported by: | DrewAPicture | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Developer Hub | Keywords: | good-first-bug has-patch |
| Cc: |
Description (last modified by )
I'd like to propose hiding the filenames in the "Used By/Uses" section on code reference pages. I think it largely serves to cause unnecessary wrapping within the container, and realistically, I feel like developers would be more concerned with the functions the current element is used in rather than both the file and the function.
Besides, the linked function reference would list the source file anyway.
For example, this is the "Used By" section on the plugins_api() reference currently:
I think simply displaying the functions would make this a lot cleaner.
Attachments (1)
Change History (8)
#1
@
11 years ago
- Summary DevHub: Hide the filenames in the Used By section → DevHub: Hide the filenames in the Used By/Uses section
#4
@
11 years ago
I suggest hiding the filenames but including them via title="wp-admin/...". That way they appear when hovering the link.
@
10 years ago
I change anchor tags to show the filename in a tooltip base on the opinion from @jancbeck
#6
follow-up:
↓ 7
@
10 years ago
- Resolution → wontfix
- Status new → closed
The consensus from @Otto42 here and @coffee2code elsewhere suggests this is a wontfix.
@chris_dev @jancbeck Either way, we would not want to leverage a title attribute for extra information about the files themselves. It doesn't follow best-practices for accessibility. Regardless, thank you for the patch and discussion
#7
in reply to: ↑ 6
@
10 years ago
Understood :)
Replying to DrewAPicture:
The consensus from @Otto42 here and @coffee2code elsewhere suggests this is a wontfix.
@chris_dev @jancbeck Either way, we would not want to leverage a title attribute for extra information about the files themselves. It doesn't follow best-practices for accessibility. Regardless, thank you for the patch and discussion
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)

I like having the filenames there, but the wrapping is annoying. Maybe make the font smaller?