Page MenuHomePhabricator

Search symbols by ctrl/cmd-click
ClosedPublic

Authored by avivey on May 27 2015, 4:07 AM.
Tags
None
Referenced Files
F13089556: D13034.diff
Thu, Apr 25, 1:53 AM
Unknown Object (File)
Thu, Apr 11, 11:21 AM
Unknown Object (File)
Wed, Apr 10, 6:15 PM
Unknown Object (File)
Mar 6 2024, 1:17 AM
Unknown Object (File)
Feb 29 2024, 1:16 AM
Unknown Object (File)
Feb 19 2024, 3:39 PM
Unknown Object (File)
Feb 12 2024, 7:34 PM
Unknown Object (File)
Feb 10 2024, 1:28 AM

Details

Summary

Refs T8302.
V1 of the implementation. This replaces the previous mode, but I guess there's no real reason we can't have
some symbols always clickable and the rest require modifier.

I'm also a little concerned about discoverability; Holding down ctrl/cmd will make the cursor change, so there's
some hint that something might be up, but that's probably not obvious enough.

Test Plan

Tested in diffusion and differential and differential comments on:

  • Windows/Chrome,
  • Windows/IE 11
  • LInux/Firefox 38
  • Mac/Chrome
  • Mac/Safari

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

avivey retitled this revision from to Search symbols by ctrl/cmd-click.
avivey edited the test plan for this revision. (Show Details)
avivey added a reviewer: epriestley.
avivey updated this object.
avivey added a subscriber: joshuaspence.
webroot/rsrc/externals/javelin/lib/DOM.js
719

This would leave an extra space at the end of the class attribute, so the map later would fail to identify it.

OTOH, using the css class gave me some more grief, which I guess is similar to why sigils were introduced.

avivey edited edge metadata.
  • celery
avivey requested a review of this revision.May 27 2015, 7:51 PM
avivey edited the test plan for this revision. (Show Details)

Properly tested now...

One inline -- is double-click-to-select still working? Can we plausibly make it work?

webroot/rsrc/js/application/repository/repository-crossreference.js
48

The reason for this logic was to let you double-click something to select it and copy/paste it instead of following the symbol lookup. That probably doesn't work anymore?

ctrl/cmd-double-click doesn't select, but [no-ctrl/cmd]-double click does. We can return the timeout to allow ctrl-double-click to select, but I think that may be a bit much.

epriestley edited edge metadata.
This revision is now accepted and ready to land.May 28 2015, 10:32 PM
This revision was automatically updated to reflect the committed changes.