Skip to content

Feature: Multiple Module Open on Embed #1315

@AureliaEffect

Description

@AureliaEffect

🌈 Feature

In almost 100% of the cases that we want to embed a sandbox in another page, we want to focus our reader's attention on more than one file. Usually, it's two or three files. Unfortunately, when we embed, we have to choose a single file to open and then the reader must click the hamburger menu to see other files. Once they do, they must know which secondary file to look for and select it to open it.

We'd like to propose that the module query string param of the embed be enhanced to take more than one file path. When multiple values are provided, the editor will open up one tab for each file path, with tabs ordered according to the list. The first file from the list will have its tab selected so that its contents are visible.

This could be done by allowing multiple instance of the module key in the query string or allowing multiple paths to be specified using a separator like + or ,.

This is a high priority feature for us as it causes confusion amongst our site users when they encounter a sandbox both on our home page and within our documentation.

We'd be happy to assist with a PR if you can point us to the right place and provide some quick guidance. It's very important to our scenarios.

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