roam-javascript icon indicating copy to clipboard operation
roam-javascript copied to clipboard

use saved filters for start up view of attr-tables

Open aprilsin opened this issue 4 years ago • 3 comments

💻 Environment

Platform: MacOS Catalina

Browser: Chrome

📋 Describe the solution you'd like

Instead of having to click on a attribute name (column header), then click on the filter icon for the saved filters to apply, the page should start up with the saved filters applied.

⚠️ Is your feature request related to a problem? Please describe.

Attr-tables I have are very large. The start up is then always slow, and often times, Chrome kills the page.

🔑 Why do you want this?

Attr-tables I have are very large. The start up is then always slow, and often times, Chrome kills the page.

❔ Describe any alternatives you've considered

Make "attr-table" similar to built in Roam queries. So to have filters, just type in {{attr-table: {and: [[tag]] {b: [[date]]}}} ("b" for blanks).

📷 Additional Context (Screenshots, GIFs, etc.)

I am using attr-table to filter my "tags::" so pretty much all pages of my roam graph will show up, which makes it slow.

aprilsin avatar Feb 24 '21 22:02 aprilsin

Please!

dchelimsky avatar May 01 '21 02:05 dchelimsky

Actually, I'm not necessarily looking for the same solution, but I have a similar problem. In my case, I want different filtered views on different pages. I already get different columns on diff pages using David Vargas' Sorting Attribute Tables, and I'd love a similarly declarative way to filter rows without having to interact with anything when the page loads. Let me know if I can help with more specifics.

dchelimsky avatar May 01 '21 02:05 dchelimsky

Double Please. (And thank you for your awesome work!)

christophersw avatar May 05 '21 16:05 christophersw