1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-28 08:20:57 +01:00
phorge-phorge/webroot/rsrc/css
epriestley 1583738842 Allow search results to be snippeted, roughly
Summary:
Ref T8646. This is fairly rough:

This interface is very niche, and not really flexible enough to accommodate other result customization (but I don't think we have any plans here)?

I'm just //summarizing// the content of documents, basically showing the first paragraph of their content, summary, etc. This isn't what Google does: it shows snippets surrounding the actual search terms. However, this is more involved and might be less useful in structured data: for example, I'd imagine that the first line of most phriciton documents, maniphest tasks and Differential revisions really might be the best machine-generatable summary of them. The actual contextual snippeting in Google doesn't often seem hugely useful to me. But this might also not be very useful.

There's not much design, not sure if you had any ideas.

I only implemented this for tasks, revisions and the wiki since those seem most useful.

I'm generally on the fence about this, but it's not a ton of work to swap out for something else later. Maybe we can see how it feels? But happy to toss it or rethink the approach.

Test Plan: {F788026}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T8646

Differential Revision: https://secure.phabricator.com/D14095
2015-09-10 19:06:36 -07:00
..
aphront Provide an AphrontController implementation of willSendResponse() 2015-09-07 17:18:35 -07:00
application Allow search results to be snippeted, roughly 2015-09-10 19:06:36 -07:00
core Fix word-break on remarkup tables 2015-09-05 10:06:45 -07:00
diviner [Redesign] Swap Slabo for Roboto Slab 2015-06-25 09:20:51 -07:00
font Update bar colors to match icon colors 2015-08-31 14:51:51 -07:00
layout What are these, badges for ants? 2015-07-25 15:47:26 -07:00
phui Build LauncherButton for PHUIObjectItemView 2015-09-04 10:34:25 -07:00
sprite-login.css Fix Bitbucket 2015-07-20 10:33:28 -07:00
sprite-main-header.css [Redesign] Uh... Add back gradient headers? 2015-06-03 20:21:12 -07:00
sprite-menu.css Add hidpi media query for mozilla browsers 2015-07-05 12:24:57 -07:00
sprite-projects.css Add hidpi media query for mozilla browsers 2015-07-05 12:24:57 -07:00
sprite-tokens.css Add hidpi media query for mozilla browsers 2015-07-05 12:24:57 -07:00