anytype-ts icon indicating copy to clipboard operation
anytype-ts copied to clipboard

Let Inline Sets share the same views of the linked Source Set

Open Occhioverde opened this issue 1 year ago • 0 comments
trafficstars

Have you read a contributing guide?

  • [X] I have read CONTRIBUTING.md
  • [X] I have searched the existing requests and didn't find any that were similar
  • [X] I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

As of version 0.40.9 (the one available in my distribution's repo) when you add an Inline Set to an object and you link it to a Source Set, any View added subsequently remains confined to the one or another, according to the place where you created it.

This means that, if you create a view with complex filters and the sort, you'll have to create it again in every single "widget" that displays the set.

Suggested solution

Share every View created in a Set with all the Inline Sets that list it as the Source Set

Alternative

In alternative, if you want to allow people to keep different views between the Source Set and the various Inline Sets, you can add an explicit toggle to sync a view with every "instance" of the Set.

Additional context

No response

Occhioverde avatar Jul 09 '24 14:07 Occhioverde