Skip to content

allow adding same components multiple times in 'sequence' using blocks#1050

Draft
hilsonshrestha wants to merge 1 commit intodevfrom
cannot-have-multiple-nasa-tlx-library
Draft

allow adding same components multiple times in 'sequence' using blocks#1050
hilsonshrestha wants to merge 1 commit intodevfrom
cannot-have-multiple-nasa-tlx-library

Conversation

@hilsonshrestha
Copy link
Contributor

Does this PR close any open issues?

Closes #1029

Give a longer description of what this PR addresses and why it's needed

Currently, same component cannot be added twice in sequence restricting us to reuse components. This also applied to libraries.
This PR allows same component name to be in the sequence by separating into blocks.

Example:

{
    "components": [
      "introduction",
      "$demographics.components.demographics",
      "barChart",
      {
        "id": "block1",
        "order": "fixed",
        "components": ["barChart"]
      },
      {
        "id": "block2",
        "order": "fixed",
        "components": ["barChart"]
      },
      {
        "id": "block3",
        "order": "fixed",
        "components": ["$demographics.components.demographics"]
      },
      {
        "id": "block4",
        "order": "fixed",
        "components": ["$demographics.components.demographics"]
      },
      {
        "id": "block5",
        "order": "fixed",
        "components": [
          {
            "order": "fixed",
            "id": "block5-1",
            "components": ["$demographics.components.demographics"]
          }
        ]
      },
      "external_website"
    ]
}

@github-actions
Copy link

github-actions bot commented Feb 21, 2026

A preview of is uploaded and can be seen here:

https://revisit.dev/study/PR1050

Changes may take a few minutes to propagate.

@JackWilb JackWilb linked an issue Feb 21, 2026 that may be closed by this pull request
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

Successfully merging this pull request may close these issues.

Cannot have multiple nasa-tlx library

1 participant