Skip to content

Dynamic collections - list all instances of selected classes #1221

Description

@joepio

In the first version of atomic-server, we relied quite heavily on server-side generated collections like /documents and /classes. These were resources where the servers would list the instances / members.

We currently don't use these Collection views. I haven't seen them for a while, at least. Part of the reason is we rely quite heavily on hierarchical structures, e.g. a folder where you put a document in.

But what if you want to see all your documents? Or all the chatrooms in the drive? We need some view for this. Some ideas:

  • We have a classess item in the sidebar, which list all the resource types like Document and Todo. Click a type, see a list of all the instances.
  • We could use the Table editor for this view, since it is class-based. But this won't work for mixed types.
  • We have a powerful query view, which doesn't allow editing, but has a bunch of query options (sort, filter, view type). My fear is that this overlaps too much with Table editor, and leads to a lot of code that needs to be maintained.
  • Maybe we can still use the Table view, have a table view that lists name, description and nothing for mixed classes, and still allow other views for specific classes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions