Bases: Add Global Variables Callable by "Filter", "View" and "Sort"

Use case or problem

  • “Filter”, “View” and “Sort” are currently Independent. So no way to somehow build Logic together.

Examples:

  • Switching from View “Maps” to “Cards” if one file doesn’t have Property “Coordinates”.
  • Sorting Ascending by Property “status” if all files posses this Property, else Sort Ascending by Filename.

Proposed solution

  • Global Variables that are saved within the embedded/File of bases accessable by any of the Fucntions “Filter”, “View” and “Sort” within it.

This would make Bases considerably more flexible. Having shared global variables accessible across Filter, View, and Sort could help avoid duplicating logic and make conditional layouts much easier to build. The examples around switching views based on available properties and using fallback sorting are especially practical. A download option could also be useful for users managing related resources.

It could also be helpful to have more options for reusing these variables across different Bases, especially for users who manage complex collections and want to keep their configurations consistent.