# Saved views

A saved view is a named combination of filters and sorting on one list, such as "Overdue", "Waiting for me" or "This week", that people open in one click instead of setting the filters again. In Meadowstack a view is the same page with a different query in its address. Views sit as pills above the list and in the command palette, never as items in the sidebar.

Checked 2 December 2026. By Bohuslav Poláček. https://meadowstack.com/glossary/saved-views/

*The header of the kit's ViewPills: why saved views became links on one route, and what the current view announces.*

From `packages/kit/src/components/view-pills.tsx` in the Meadowstack repository:

```tsx
* ViewPills: the saved views of one list as links (decision 0009, 3 Nov 2026). Before, saved views were a
* mix of sidebar items, tabs and filter pills, and a person who opened "Po splatnosti" from the sidebar could not
* tell which page they were on. A view is now the same route with a different query (`?pohled=po-splatnosti`),
* drawn in the filter pills' look with the travelling chip on the current one, `aria-current="page"` on it, and
* a link per view, so it can be opened in a new tab, shared and found in the palette. The links go through the
* shell's `renderLink`, so the app's router handles them.
*
* Overflow is the FilterBar's: the row scrolls sideways, fades 2rem at the edge that has more and shows chevrons
* on hover for a mouse. In development two views on different paths are an error in the console: a different
* route is a different page, not a view of this one.
```

## Why it matters in a business app

An accounts clerk opens the same three slices of the invoice list every day: overdue, due this week, disputed. Rebuilding each from filters costs clicks and invites mistakes, so teams ask for "saved filters".

How they are drawn decides whether people stay oriented. Before the kit's rule, views were a mix of sidebar items, tabs and filter pills; a person who opened "Overdue" from the sidebar could not tell which page they were on, or whether it was the invoice list at all.

## How Meadowstack handles it

- **Same route, another query.** A view is the list's own address with a parameter (`?pohled=po-splatnosti`), so it can be opened in a new tab, shared and found in the command palette. In development, two views on different paths are an error in the console.
- **Pills, not tabs.** `ViewPills` draws the views in the filter pills' look with a travelling chip under the current one and `aria-current="page"` on it (decision 0009). Counts are [tabular](https://meadowstack.com/glossary/tabular-numbers/).
- **The rule in AGENTS.md.** Saved views of the same entity are `ViewPills` and palette entries, never sidebar items; another entity is its own sidebar item; another presentation of the same page (list, board, calendar) is one `DisplayMenu` button.
- **Quiet when nothing is filtered.** No "11 of 11" when every row is shown.

The component page is [ViewPills](https://meadowstack.com/components/view-pills/).

## Common mistakes

- **Views in the sidebar.** The sidebar is for places; a view of a place there makes two items look like two pages.
- **Views that change the route.** Then it is another page, with its own title and its own way back.
- **A view that is a layout.** Board or calendar is a presentation of the same data, not a filter.

## Questions

### What is the difference between a saved view and a filter?

A filter is set by hand each time. A saved view is a named filter and sort people come back to, opened in one click and shareable as a link.

### Should saved views be personal or shared?

Both have a place. The views every role needs, such as overdue invoices, belong to the app; personal ones belong to the person. Either way a view is a link to the same list.

### Why are saved views links?

So they behave like pages people know: they open in a new tab, go back with the browser, and can be pasted into a message for a colleague.

## Related

- [ViewPills: saved views that are addresses](https://meadowstack.com/components/view-pills/) (Components)
- [The list screen](https://meadowstack.com/patterns/list/) (Patterns)
- [The record side panel](https://meadowstack.com/patterns/record-side-panel/) (Patterns)
- [A weekly timesheet for an agency](https://meadowstack.com/screens/timesheet/) (Screens)
- [AsyncState: every data view has four states](https://meadowstack.com/components/async-state/) (Components)
- [BulkBar: what to do with the selection](https://meadowstack.com/components/bulk-bar/) (Components)
