Updated Cross Reference Panel & Documentation Hovercards on source.chromium.org

15 views
Skip to first unread message

Salvatore Guarnieri

unread,
Mar 22, 2023, 1:47:42 PM3/22/23
to chromi...@chromium.org, chromiu...@chromium.org

We have updated the cross reference panel on source.chromium.org. The changes include:

  • Updated visual design of the panel

  • Redesigned and unified filterbar

  • Internal improvements to provide more reliable behavior when many references are found


These visual changes are the result of work with user experience designers to reduce the number of different places and ways filtering was done and to improve the overall flow of the cross reference panel. In combination with the internal improvements, these changes unblock launching new cross reference features. One such new feature coming out with this launch is displaying documentation "hovercards" when hovering over a symbol.


The changes will become visible over the next few days.

Cross Reference Panel


Old UI

The cross reference panel from the old UI.




The new filter bar controls all filters including build-config and exclude-tests that were previously separated from the main filter. The set of possible filters drops down when the filterbar is clicked. 


New UI

Cross reference panel for the new UI.


Documentation Hovercards


We also have enabled documentation "hovercards". When the pointer is hovering over a symbol, a popup is shown providing information about the symbol.


Example of a hovercard


Now that hovercards can be shown, we are changing the default value for “Show identifier hovercards” from “Never Show” to “ Always show”. If you would like to change the default back, you can go to Settings in the drop-down menu in the top right of the page. Then change your “Show identifier hovercards” setting.

Screenshot of how to change hovercard settings



Feedback


If you notice any issues or missing features, please file feedback using the 'Send Feedback' button in the top-right, or file a bug at bugs.chromium.org


Thanks,


Salvatore

On behalf of Chrome Ops Source and the Core Dev Code Search Teams

Reply all
Reply to author
Forward
0 new messages