Re: Extension to integrate Searchfox features in Phabricator

2018-10-11 Thread Marco Castelluccio
Thanks for the report, I had built it really quickly without actually
looking into perf.

I think the issue should be fixed in the newest version of the extension
(0.2.1), let me know if it isn't (I couldn't reproduce it).

- Marco.

P.S.: Should you find other problems, you can file issues at
https://github.com/marco-c/mozsearch-phabricator-addon/issues.


Il 11/10/2018 00:26, Bobby Holley ha scritto:
> I noticed this extension seems to be causing significant jank while
> typing comments into phabricator. I'll send a profile to Marco, but
> just an FYI for anyone else who's using it.
>
> On Tue, Oct 2, 2018 at 6:03 AM Marco Castelluccio
> mailto:mcastelluc...@mozilla.com>> wrote:
>
> I've built an (experimental) WebExtension to integrate some of the
> Searchfox features into Phabricator.
> I find it very useful to be able to search code while reviewing, but I
> have to resort to opening a new
> Searchfox tab and looking for the code that is being modified. This
> extension makes my workflow much
> more pleasant.
>
> You can find it at
> https://addons.mozilla.org/addon/searchfox-phabricator/ (the
> source code
> is at
> https://github.com/marco-c/mozsearch-phabricator-addon).
>
> Currently, the extension does:
> 1) Highlight keywords when you hover them, highlighting them both
> in the
> pre-patch and in the post-patch view;
> 2) When you press on a keyword, it offers options to search for the
> definition, callers, and so on (the results are opened on
> Searchfox in a
> new tab).
>
> I'm planning to add support for sticky highlighting and blame
> information (when hovering on the line number on the left side).
>
> - Marco.
>
> P.S.: The extension relies on parsing pages from Searchfox and from
> Phabricator, so the maintenance might not be so easy. If there's
> enough
> interest, I might keep maintaining it or talk with someone to make
> Searchfox data accessible in an easier way.
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org 
> https://lists.mozilla.org/listinfo/dev-platform
>

___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Extension to integrate Searchfox features in Phabricator

2018-10-10 Thread Bobby Holley
I noticed this extension seems to be causing significant jank while typing
comments into phabricator. I'll send a profile to Marco, but just an FYI
for anyone else who's using it.

On Tue, Oct 2, 2018 at 6:03 AM Marco Castelluccio 
wrote:

> I've built an (experimental) WebExtension to integrate some of the
> Searchfox features into Phabricator.
> I find it very useful to be able to search code while reviewing, but I
> have to resort to opening a new
> Searchfox tab and looking for the code that is being modified. This
> extension makes my workflow much
> more pleasant.
>
> You can find it at
> https://addons.mozilla.org/addon/searchfox-phabricator/ (the source code
> is at
> https://github.com/marco-c/mozsearch-phabricator-addon).
>
> Currently, the extension does:
> 1) Highlight keywords when you hover them, highlighting them both in the
> pre-patch and in the post-patch view;
> 2) When you press on a keyword, it offers options to search for the
> definition, callers, and so on (the results are opened on Searchfox in a
> new tab).
>
> I'm planning to add support for sticky highlighting and blame
> information (when hovering on the line number on the left side).
>
> - Marco.
>
> P.S.: The extension relies on parsing pages from Searchfox and from
> Phabricator, so the maintenance might not be so easy. If there's enough
> interest, I might keep maintaining it or talk with someone to make
> Searchfox data accessible in an easier way.
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Extension to integrate Searchfox features in Phabricator

2018-10-04 Thread Eric Rescorla
This is great. Thanks!

-Ekr


On Tue, Oct 2, 2018 at 7:04 AM Kartikaya Gupta  wrote:

> Neat! I took a quick peek at your addon source and the stuff it's
> relying on seems ok for now. At least, it's not anything we plan to
> change anytime soon. If there are changes to searchfox that would make
> your life easier in terms of expanding your addon, let me know and we
> can discuss possibilities.
>
> Cheers,
> kats
> On Tue, Oct 2, 2018 at 9:03 AM Marco Castelluccio
>  wrote:
> >
> > I've built an (experimental) WebExtension to integrate some of the
> > Searchfox features into Phabricator.
> > I find it very useful to be able to search code while reviewing, but I
> > have to resort to opening a new
> > Searchfox tab and looking for the code that is being modified. This
> > extension makes my workflow much
> > more pleasant.
> >
> > You can find it at
> > https://addons.mozilla.org/addon/searchfox-phabricator/ (the source code
> > is at
> > https://github.com/marco-c/mozsearch-phabricator-addon).
> >
> > Currently, the extension does:
> > 1) Highlight keywords when you hover them, highlighting them both in the
> > pre-patch and in the post-patch view;
> > 2) When you press on a keyword, it offers options to search for the
> > definition, callers, and so on (the results are opened on Searchfox in a
> > new tab).
> >
> > I'm planning to add support for sticky highlighting and blame
> > information (when hovering on the line number on the left side).
> >
> > - Marco.
> >
> > P.S.: The extension relies on parsing pages from Searchfox and from
> > Phabricator, so the maintenance might not be so easy. If there's enough
> > interest, I might keep maintaining it or talk with someone to make
> > Searchfox data accessible in an easier way.
> > ___
> > dev-platform mailing list
> > dev-platform@lists.mozilla.org
> > https://lists.mozilla.org/listinfo/dev-platform
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
>
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Re: Extension to integrate Searchfox features in Phabricator

2018-10-02 Thread Kartikaya Gupta
Neat! I took a quick peek at your addon source and the stuff it's
relying on seems ok for now. At least, it's not anything we plan to
change anytime soon. If there are changes to searchfox that would make
your life easier in terms of expanding your addon, let me know and we
can discuss possibilities.

Cheers,
kats
On Tue, Oct 2, 2018 at 9:03 AM Marco Castelluccio
 wrote:
>
> I've built an (experimental) WebExtension to integrate some of the
> Searchfox features into Phabricator.
> I find it very useful to be able to search code while reviewing, but I
> have to resort to opening a new
> Searchfox tab and looking for the code that is being modified. This
> extension makes my workflow much
> more pleasant.
>
> You can find it at
> https://addons.mozilla.org/addon/searchfox-phabricator/ (the source code
> is at
> https://github.com/marco-c/mozsearch-phabricator-addon).
>
> Currently, the extension does:
> 1) Highlight keywords when you hover them, highlighting them both in the
> pre-patch and in the post-patch view;
> 2) When you press on a keyword, it offers options to search for the
> definition, callers, and so on (the results are opened on Searchfox in a
> new tab).
>
> I'm planning to add support for sticky highlighting and blame
> information (when hovering on the line number on the left side).
>
> - Marco.
>
> P.S.: The extension relies on parsing pages from Searchfox and from
> Phabricator, so the maintenance might not be so easy. If there's enough
> interest, I might keep maintaining it or talk with someone to make
> Searchfox data accessible in an easier way.
> ___
> dev-platform mailing list
> dev-platform@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform


Extension to integrate Searchfox features in Phabricator

2018-10-02 Thread Marco Castelluccio
I've built an (experimental) WebExtension to integrate some of the
Searchfox features into Phabricator.
I find it very useful to be able to search code while reviewing, but I
have to resort to opening a new
Searchfox tab and looking for the code that is being modified. This
extension makes my workflow much
more pleasant.

You can find it at
https://addons.mozilla.org/addon/searchfox-phabricator/ (the source code
is at
https://github.com/marco-c/mozsearch-phabricator-addon).

Currently, the extension does:
1) Highlight keywords when you hover them, highlighting them both in the
pre-patch and in the post-patch view;
2) When you press on a keyword, it offers options to search for the
definition, callers, and so on (the results are opened on Searchfox in a
new tab).

I'm planning to add support for sticky highlighting and blame
information (when hovering on the line number on the left side).

- Marco.

P.S.: The extension relies on parsing pages from Searchfox and from
Phabricator, so the maintenance might not be so easy. If there's enough
interest, I might keep maintaining it or talk with someone to make
Searchfox data accessible in an easier way.
___
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform