{"version":"v1.0","client_state":{"Studio.default":{"fields":{"primary":"#682747","secondary":"#3a52b0","success":"#2f9e64","warning":"#f0a91b","error":"#e5484d","info":"#0e9bc4","background":"#fafafa","surface":"#ffffff","interface":"#f0f0f1","text":"#171717","muted":"#6b6b6e","d_primary":"#682747","d_secondary":"#3a52b0","d_success":"#2f9e64","d_warning":"#f0a91b","d_error":"#e5484d","d_info":"#0e9bc4","d_background":"#0a0a0a","d_surface":"#151515","d_interface":"#212121","d_text":"#f5f5f5","d_muted":"#a0a0a3","spacing":0.1875,"box":0.75,"field_":0.75,"selector":0.375,"stroke":1.0,"font":"ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'"},"persist":"local","send_to_server":true},"ColorScheme.default":{"fields":{"mode":"system"},"persist":"local","send_to_server":true},"Directory.default":{"fields":{"query":""},"persist":"memory","send_to_server":true},"Feed.default":{"fields":{"page":1},"persist":"memory","send_to_server":true},"Leaderboard.default":{"fields":{"limit":3},"persist":"memory","send_to_server":true},"Thread.default":{"fields":{"shown":3},"persist":"memory","send_to_server":true}},"endpoints":{"action":"/_bretzel/action","sse":"/_bretzel/sse","refetch":"/_bretzel/refetch"},"csrf":"891e870d3efb9dd4b9d7403a590a71b6","page_id":"3ffd0b7e5b5141e881d62fc9ae570c6d","address":""}
ui.each

Lists

Write the for loop, keep your markup: keyed rows, search as you type, pages and "show more", all in the browser.

Rows that keep their identity

ui.each gives every row a stable key, so removing one on the server leaves the others exactly as they were.

Pending invitations

P
[email protected]Invited 2 days ago
Admin
M
[email protected]Invited yesterday
Editor
H
[email protected]Invited 3 hours ago
Viewer

A searchable directory

ui.filter_each hides what does not match as you type, without a request, and shows empty= when nothing is left.
Ada Lovelace
Ada LovelaceEngineering manager
Platform
Grace Hopper
Grace HopperStaff engineer
Platform
Katherine Johnson
Katherine JohnsonData scientist
Analytics
Alan Turing
Alan TuringSecurity engineer
Infrastructure
Margaret Hamilton
Margaret HamiltonHead of reliability
Infrastructure
Dorothy Vaughan
Dorothy VaughanAnalytics engineer
Analytics
Linus Pauling
Linus PaulingProduct designer
Design

No one matches

Try a name, a role or a team.

A paginated feed

ui.paginate_each shows one window of the list; ui.pagination moves it, all in the browser.

Activity

Ada merged PR #480 · Faster CSV export
1h ago
Grace commented on Invoice INV-201
2h ago
Katherine deployed release 3.2.0 to production
3h ago
Alan closed issue #913 · Timezone drift
4h ago
Margaret merged PR #484 · Faster CSV export
5h ago
Dorothy commented on Invoice INV-205
6h ago
Ada deployed release 3.6.0 to production
7h ago
Grace closed issue #917 · Timezone drift
8h ago
Katherine merged PR #488 · Faster CSV export
9h ago
Alan commented on Invoice INV-209
10h ago
Margaret deployed release 3.0.0 to production
11h ago
Dorothy closed issue #911 · Timezone drift
12h ago
Ada merged PR #482 · Faster CSV export
13h ago
Grace commented on Invoice INV-203
14h ago
Katherine deployed release 3.4.0 to production
15h ago
Alan closed issue #915 · Timezone drift
16h ago
Margaret merged PR #486 · Faster CSV export
17h ago
Dorothy commented on Invoice INV-207
18h ago

Top N

ui.limit_each keeps the first N visible. Bind the limit and a button can change it.

Top customers · September

#1Lumen StudioDesign$48,200
#2NorthwindRetail$41,800
#3Atlas FreightLogistics$39,100
#4Kinfolk & CoRetail$31,500
#5Helio LabsBiotech$27,400
#6BrightwaveMedia$22,900
#7Pinecone BankFinance$18,700
#8Orbital FoodsFood$15,200
#9Mosaic HealthHealth$12,800
#10Quill & InkPublishing$9,600

Show more

ui.show_more reveals the rows step by step, and hides its button once everything is shown.

7 comments

Priya Raman
Priya RamanShipped the new export. CSV of 40k rows now takes 3 seconds.
Marco Rossi
Marco RossiNice! Does it keep the column order from the table view?
Priya Raman
Priya RamanIt does, hidden columns are left out too.
Hana Sato
Hana SatoCustomers on the Pro plan have been asking for this since March.
Tom Becker
Tom BeckerAdding it to the changelog for Thursday.
Inès Moreau
Inès MoreauI will update the empty state illustration to match.
Marco Rossi
Marco RossiClosing the original ticket, thanks everyone.