Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic for grouping cards #190

Open
Tracked by #187
keanelekenns opened this issue Mar 16, 2022 · 0 comments
Open
Tracked by #187

Logic for grouping cards #190

keanelekenns opened this issue Mar 16, 2022 · 0 comments

Comments

@keanelekenns
Copy link
Member

keanelekenns commented Mar 16, 2022

This might be tricky, and it is debatable that it is needed. I see two approaches:

  1. Cards are grouped by having the same non-unique settings
  2. Cards are grouped by the initial grouping created by the user when adding the resource (I believe this will be easier)

Approach 1 requires the page to search through existing resource cards upon changing/creating a card. If there are similar settings, the changed/created card gets added to the found card (either multi or single).

Approach 2, simply bunch the resource cards together when they are created using the "Number of Instances" option, and always keep them together regardless of their settings.

Approach 1 seems to be a nicer organizational method, but that may depend on what the user wants + it is more tricky to implement.
Approach 2 gives the user more control over how resources are bunched together (in approach 1, they might accidentally set a resource up exactly the same as another resource and be confused when those two get put into a multi-card, but this approach doesn't have that issue, they are in control)

@keanelekenns keanelekenns changed the title Logic for grouping cards (removing from stack + adding to stack upon change) Logic for grouping cards Mar 16, 2022
@keanelekenns keanelekenns added this to the Milestone 3 milestone Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant