Skip to content

Card Stack: Provide a way to specify tag order (and other properties) #2783

@damithc

Description

@damithc

Current: Tags are sorted based on the order they appear in the cards

Image

Suggestion: Provide an optional way to specify the order in which tags should appear. Along the same lines, we can also allow specifying other properties such as color and if the tag is unticked by default

For example:

<cardstack searchable>
  <tags>
    <tag name="grade" color="#...." unticked />
    <tag name="workload" color="#...." />
    ...
  </tags>
  <card header="**Start studying early**" tag="grade, workload">
    It is better to ...
  </card>
  ...
</cardstack>

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions