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

Interactive components in playground #139

Draft
wants to merge 74 commits into
base: 1.4
Choose a base branch
from
Draft

Commits on Aug 29, 2021

  1. WIP: Interactive Playgrounds

    - Support the `-components` flag on `dsk`, to allow passing
      a path to a pre-build component bundle output directory.
    - Provide playground handlers.
    - Refactor `<Playground>`
    - Use IFrame in Playground
    
    Unrelated:
    
    - Deprecate Node.components response property.
    - Improve routing techniques, by using sub routers and allow
      us to extract route params.
    - Rename flag variables.
    - Pass more parent and current node into documentation components.
    - Nodes now have an `id` that can be used to adress them. Although not
      from the outside.
    mariuswilms committed Aug 29, 2021
    Configuration menu
    Copy the full SHA
    414385b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cd3c10 View commit details
    Browse the repository at this point in the history
  3. Only parse JS/HTML templates on startup

    wegry authored and mariuswilms committed Aug 29, 2021
    Configuration menu
    Copy the full SHA
    bd46f3c View commit details
    Browse the repository at this point in the history
  4. Fix rebase

    mariuswilms committed Aug 29, 2021
    Configuration menu
    Copy the full SHA
    cccf735 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6c11e2f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ab1c98f View commit details
    Browse the repository at this point in the history
  7. Bring back nodeLinker

    mariuswilms committed Aug 29, 2021
    Configuration menu
    Copy the full SHA
    a666fbc View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2021

  1. Vend yarn 3

    wegry committed Sep 2, 2021
    Configuration menu
    Copy the full SHA
    ac4fdcc View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2021

  1. Configuration menu
    Copy the full SHA
    77b3c28 View commit details
    Browse the repository at this point in the history
  2. WIP

    mariuswilms committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    a7a3941 View commit details
    Browse the repository at this point in the history
  3. WIP

    mariuswilms committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    6d78000 View commit details
    Browse the repository at this point in the history
  4. WIP

    mariuswilms committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    7444c19 View commit details
    Browse the repository at this point in the history
  5. Seperate IndexJS handler

    mariuswilms committed Sep 3, 2021
    Configuration menu
    Copy the full SHA
    33ae977 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2021

  1. Unbreak package.json

    mariuswilms committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    ab5e902 View commit details
    Browse the repository at this point in the history
  2. Unbreak package.json

    mariuswilms committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    bd61602 View commit details
    Browse the repository at this point in the history
  3. clean

    mariuswilms committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    127c6d2 View commit details
    Browse the repository at this point in the history
  4. Unbreak

    mariuswilms committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    354b291 View commit details
    Browse the repository at this point in the history
  5. Use matching dev branch

    mariuswilms committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    62148e4 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bf80c69 View commit details
    Browse the repository at this point in the history
  7. Remove local module resolution

    wegry committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    d9795f8 View commit details
    Browse the repository at this point in the history
  8. Patch up lock file

    wegry committed Sep 12, 2021
    Configuration menu
    Copy the full SHA
    16ed500 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. Configuration menu
    Copy the full SHA
    d4bb04d View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2021

  1. Run prettier

    ChristophLabacher committed Sep 22, 2021
    Configuration menu
    Copy the full SHA
    80a85a3 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2021

  1. Configuration menu
    Copy the full SHA
    3dabcd2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d2ade6a View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2021

  1. Configuration menu
    Copy the full SHA
    c6681ac View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2021

  1. Frontend WIP

    ChristophLabacher committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    f548b98 View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. Configuration menu
    Copy the full SHA
    e66c0e0 View commit details
    Browse the repository at this point in the history
  2. Make sure Id for NodeDocComponent is unique

    Before, this generated the same Id for any component that had the same content no matter the tag or attributes, which leads to problems with empty components: <ColorCard color="#FF00000"></ColorCard> and <TableOfContents></TableOfContents> got the same Id. Adding the position to the string to be hashed ensures uniqueness.
    ChristophLabacher committed Oct 6, 2021
    1 Configuration menu
    Copy the full SHA
    6583933 View commit details
    Browse the repository at this point in the history
  3. Fixes

    ChristophLabacher committed Oct 6, 2021
    Configuration menu
    Copy the full SHA
    e4cfd13 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Patch up lock file

    wegry committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    e8f3002 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f47ac58 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5b4fe5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9147eb2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    20bde52 View commit details
    Browse the repository at this point in the history
  6. Only add the source to a link when it is not explicitly set

    Used to overwrite the version that was given in the link
    ChristophLabacher committed Oct 7, 2021
    Configuration menu
    Copy the full SHA
    9bd9fec View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Styling

    ChristophLabacher committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    d21f376 View commit details
    Browse the repository at this point in the history
  2. Restructure frontend direcotries to modern React standards

    It has become a standard to keep the component code in a file called Component.jsx and reexport the component in index.js.
    ChristophLabacher committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    72c094b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    50269f0 View commit details
    Browse the repository at this point in the history
  4. Target ES2020 with playgrounds

    wegry committed Oct 8, 2021
    Configuration menu
    Copy the full SHA
    9582bec View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a896f81 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2021

  1. Add componets to docs in API, pass them to transform

    Together with the “Treat content of components that preformatted as text” commit of js-sdk, this makes sure using html in preformatted components does not introduce strange characters in our output anymore.
    ChristophLabacher committed Oct 9, 2021
    2 Configuration menu
    Copy the full SHA
    918dfc2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    437ac14 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. Fix linting

    mariuswilms committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    80d8afe View commit details
    Browse the repository at this point in the history
  2. Format

    mariuswilms committed Oct 14, 2021
    Configuration menu
    Copy the full SHA
    ec65ed6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8396d27 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6a238a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0c57555 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3cf741f View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2021

  1. Configuration menu
    Copy the full SHA
    0fecad8 View commit details
    Browse the repository at this point in the history
  2. Use temporary outdir

    mariuswilms committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    d1bd01d View commit details
    Browse the repository at this point in the history
  3. Unsupport react nodes in CodeBlock

    This requires React DOM Server which when build through esbuild requires
    additional shims.
    mariuswilms committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    09d0714 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    38bc232 View commit details
    Browse the repository at this point in the history
  5. Format

    mariuswilms committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    67c66bf View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6764f36 View commit details
    Browse the repository at this point in the history
  7. Unbreak tests

    mariuswilms committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    9083745 View commit details
    Browse the repository at this point in the history
  8. Fix lint issue in Node.Id

    mariuswilms committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    b7c2a15 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    54b9404 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8a57355 View commit details
    Browse the repository at this point in the history
  11. Encode API Response for “Souce” Tab

    Otherwise it will be rendered as HTML
    ChristophLabacher committed Oct 15, 2021
    Configuration menu
    Copy the full SHA
    d8ac507 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    448a39c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    52af789 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    6da6a22 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    904216a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    55f6d6e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    ccfbc33 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2021

  1. Configuration menu
    Copy the full SHA
    82741e7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b0bf1a View commit details
    Browse the repository at this point in the history
  3. Fix Prism styling + theme

    # Conflicts:
    #	frontend/src/DocumentationComponents/CodeBlock/CodeBlock.jsx
    ChristophLabacher committed Oct 16, 2021
    4 Configuration menu
    Copy the full SHA
    fda2230 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    df59676 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e9eaa68 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2022

  1. Configuration menu
    Copy the full SHA
    aa58deb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    717af5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5827729 View commit details
    Browse the repository at this point in the history