question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

make library items filterable

See original GitHub issue

When you have lots of library items, especially when you import 3rd party libraries, it’d be useful to be able to filter them. Coupled with item previews sometimes not being descriptive (too small preview), finding the right item can be a pain.

I propose we track keywords: string[] in library items for that purpose.

For a start, I’d not add any UI for adding those keywords from the app itself, but make it a requirement for authors to manually add them to the JSON when they make a PR to add them to https://libraries.excalidraw.com/. The sooner we start, the better, as adding the labels retroactively will be hard(er).

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
dwellecommented, Jan 11, 2021

If we’re gonna start adding metadata to each library item , we’ll need to change the schema.

Right now it’s:

{ library: ExcalidrawElement[][], version: 1 }

We’ll need to change it to:

{
  library: {
    elements: ExcalidrawElement[],
    title: string,
    keywords: string[]
  }[],
  version: 2
}

So we’ll need to bump version and keep backwards-compat implem for older libraries.

1reaction
qodesmithcommented, Jan 8, 2021

In addition to keywords, it would be helpful for authors to add a title attribute which Excalidraw can surface when hovering over an item. Originally posted here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

What is the list and library filters pane? - Microsoft Support
The list and library filters pane helps you find the file or list item you're looking for. When you make a filter selection,...
Read more >
Creating Library Filters - Chief Architect
To create a library filter ... Click on the Manage Library Filters button located near the top of the Library Browser. You can...
Read more >
Document library filters - Barn2 Plugins
The filters option in Document Library Pro allows you to display dropdown lists above the document library which allow users to filter (i.e....
Read more >
3 ways to filter SharePoint lists and libraries
The new way to filter lists and libraries is to utilize the modern filter option. It is just like Metadata Navigation option above,...
Read more >
How to filter SharePoint lists and libraries by metadata
In this video, I explain 2 options for filtering SharePoint lists and libraries by metadata. Check out this article for some related info...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found