Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Mounting a .ui folder into another hyperdrive not working as expected #1938

Open

Description

@tomsansome

Describe the Bug
I have 2 Hyperdrives:

  • Drive 1: A drive with a .ui folder at the root which will be my template
  • Drive 2: A drive which I will run mount $template-hyperdrive /.ui on to mount that UI folder into this drive

When I mount the .ui folder from Drive 1 into Drive 2, the mounted .ui folder does not override all page-serving as expected.

To Reproduce

  1. Visit this link for Drive 1: hyper://bb2921f4517abd9b2caccb1d312a94c87c71a0effa1a43a56b8ba34ead2d99fc/template-test.html.
  2. Observe .ui folder. Note: inside .ui/ui.js we have a setup function which is similar to the suggested code in the frontend UI docs. See screenshot 1 below 👇
  3. Visit this link for Drive 2: hyper://45256fc59850959a7d59e9beedc16e382f719d2a0ebcc501a6d6a4fa9811bf1a/.
  4. Observe that index.html does not have a surrounding template from the mounted .ui folder as expected.

Expected Behavior

Drive 2 should use the .ui folder to override all page-serving. Drive 2 index.html should have the styling from the mounted .ui folder.

Screenshots

  • Screenshot 1

Screenshot 2021-08-13 at 14 17 32

Environment

  • OS: Mac OSX Catalina 10.15.7
  • Beaker Version: 1.1.0

🌟 Appreciate any help here, thank you very much! 🌟

Activity

  1. changed the title [-]Mounting a `.ui` folder into another hyperdrive not working[/-] on Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions