From d5eef9f9606a8325efcbbb98e25d569a7e7fcc00 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 22 Apr 2022 09:47:40 -0700 Subject: [PATCH] Quoting --- packages/web/pages/help/search.tsx | 140 +++++++++++++++++++++++++++++ 1 file changed, 140 insertions(+) create mode 100644 packages/web/pages/help/search.tsx diff --git a/packages/web/pages/help/search.tsx b/packages/web/pages/help/search.tsx new file mode 100644 index 000000000..9aabaf055 --- /dev/null +++ b/packages/web/pages/help/search.tsx @@ -0,0 +1,140 @@ +/* eslint-disable @next/next/no-img-element */ +import { Box, HStack, SpanBox } from '../../components/elements/LayoutPrimitives' +import { PrimaryLayout } from '../../components/templates/PrimaryLayout' +import { Button } from '../../components/elements/Button' +import Link from 'next/link' +import { Copy, Plus } from 'phosphor-react' +import { theme } from '../../components/tokens/stitches.config' + +export default function Search(): JSX.Element { + return ( + + +

Search

+
+

+ Omnivore uses search to filter items in your library. You can use simple + keyword search to find items or our advances search syntax. +

+ + +

Searching for text

+

+ Omnivore will perform full text search across an article's content, title, description, + and site by default. You can search for specific terms by quoting your terms. By default + all results that match your search will be returned in the order they were saved. To change + your search to relevance use the sort:score parameter. +

+ +

Filtering by label

+

+ You can filter your search based on labels using AND and OR clauses. + You can also negate a label search to find pages that do not have a certain label. +

+ +

Some examples:

+ +
    +
  • label:Newsletter finds all pages that have the label Newsletter
  • +
  • label:Cooking,Fitness finds all your pages with either the Cooking or Fitness labels
  • +
  • label:Newsletter label:Surfing finds all pages with both the Newsletter and Surfing labels
  • +
  • label:Coding -label:News finds all pages with the Coding label that do not have the News label
  • +
+ +

Filtering by archive status

+

+ The in: filter is used to filter search by archive status. + The options are: +

+ +
    +
  • in:inbox (the default): show unarchived items
  • +
  • in:archive: show archived items
  • +
  • in:all: Show all items regardless of archive state
  • +
+ +

Filtering by read state

+

+ The is: filter is used to filter search by read state. Note + that in Omnivore 'read' means fully read, not just opened. +

+

The is: filter options are:

+
    +
  • is:read: Show only items that are fully read
  • +
  • is:unread (the default): show unread items
  • +
+ +

Filtering by type

+

+ The type: filter is used to filter search by type. +

+
    +
  • type:article: Show only articles
  • +
  • type:file or type:pdf: Show only PDFs
  • +
  • type:highlights: Show your highlights
  • +
+ +

Finding highlights

+

+ You can find your highlights by using the type:highlights filter + or find saved items with highlights using the has:highlights filter. +

+ +

Filtering by save/publish dates

+

+ You can filter your searches based on the time they were saved or published using the + saved: and published: filters. These filters take two dates + to create a date range. The * wildcard will accept any date. +

+

For Example:

+
    +
  • saved:2022-04-21..* All items saved since 2022-04-21
  • +
  • published:2020-01-01..2022-02-02 All items published between 2020-01-01 and 2022-02-02
  • +
  • published:*..2020-01-01 All items published before 2020-01-01
  • +
+ +

Sorting

+

+ By default all search results in Omnivore are sorted by saved date. This puts the + most recently saved items at the top of your library. You can use sort options + to change the library order: +

+
    +
  • sort:saved: Sort by saved date
  • +
  • sort:updated: Sort by time the item was updated, for example having a label or highlight added.
  • +
  • sort:score: Sort by query term relevance.
  • +
+
+ +
+ ) +}