Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Files sidebars can now be loaded as Web Components via the config file - #2584

Merged
PVince81 merged 1 commit into
masterfrom
feature/web-component-sidebar
Dec 12, 2019
Merged

PVince81 merged 1 commit into
masterfrom
feature/web-component-sidebar

Conversation

@DeepDiver1975

@DeepDiver1975 DeepDiver1975 commented Nov 27, 2019 •

Copy link
Copy Markdown
Contributor

Description

Prototype to show how #2573 could work

To get the web component working please build this web component https://github.com/DeepDiver1975/phoenix-demo-web-component and place it somewhere reachable.
The config will look like this:

  "files": {
    "sidebars": [
      {
        "tabTitle": "Web Component Demo I",
        "componentName": "my-custom-element",
        "componentUrl": "external/dist/my-custom-element.js"
      },
      {
        "tabTitle": "Web Component Demo II",
        "componentName": "my-custom-element",
        "componentUrl": "external/dist/my-custom-element.js"
      }
    ],

This will add new tabs with the web component inside. Data of the currently selected file will be transferred into the component.
Screenshot from 2019-11-27 11-27-17

Related Issue

#2573

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests Notifications failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120805-155.png
20191127-120831-479.png
20191127-120857-188.png
20191127-120923-118.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests Login failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120804-171.png
20191127-120826-633.png
20191127-120851-779.png
20191127-120917-070.png
20191127-120942-695.png
20191127-121007-739.png
20191127-121033-067.png
20191127-121059-860.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests SharingNotifications failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120800-139.png
20191127-120826-621.png
20191127-120852-574.png
20191127-120918-291.png
20191127-120944-158.png
20191127-121009-925.png
20191127-121036-080.png
20191127-121101-767.png
20191127-121127-614.png
20191127-121153-488.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests SharingFilePermissionsGroups failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120811-415.png
20191127-120843-295.png
20191127-120915-283.png
20191127-120948-086.png
20191127-121019-964.png
20191127-121052-212.png
20191127-121124-100.png
20191127-121156-602.png
20191127-121228-109.png
20191127-121259-552.png
20191127-121331-069.png
20191127-121403-821.png
20191127-121435-197.png
20191127-121506-554.png
20191127-121538-157.png
20191127-121610-936.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests RestrictSharing failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120759-770.png
20191127-120826-410.png
20191127-120853-173.png
20191127-120919-783.png
20191127-120949-578.png
20191127-121019-515.png
20191127-121048-656.png
20191127-121117-830.png
20191127-121146-464.png
20191127-121214-995.png
20191127-121243-610.png
20191127-121312-258.png
20191127-121341-076.png
20191127-121410-482.png
20191127-121440-311.png
20191127-121510-059.png
20191127-121538-496.png
20191127-121606-292.png
20191127-121634-302.png
20191127-121704-234.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests RenameFolders failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-115952-921.png
20191127-120021-203.png
20191127-120049-994.png
20191127-120118-812.png
20191127-120146-051.png
20191127-120215-002.png
20191127-120243-239.png
20191127-120311-534.png
20191127-120338-922.png
20191127-120406-628.png
20191127-120434-066.png
20191127-120501-459.png
20191127-120528-932.png
20191127-120557-189.png
20191127-120625-825.png
20191127-120653-984.png
20191127-120722-619.png
20191127-120751-260.png
20191127-120820-115.png
20191127-120848-742.png
20191127-120917-981.png
20191127-120946-713.png
20191127-121015-050.png
20191127-121043-052.png
20191127-121111-075.png
20191127-121139-826.png
20191127-121207-967.png
20191127-121236-575.png
20191127-121304-875.png
20191127-121333-559.png
20191127-121401-942.png
20191127-121430-531.png
20191127-121458-700.png
20191127-121527-647.png
20191127-121556-307.png
20191127-121624-773.png
20191127-121653-034.png
20191127-121721-830.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests Favorites failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120759-904.png
20191127-120825-547.png
20191127-120851-238.png
20191127-120917-029.png
20191127-120943-292.png
20191127-121008-448.png
20191127-121033-769.png
20191127-121059-073.png
20191127-121124-908.png
20191127-121150-754.png
20191127-121216-079.png
20191127-121241-376.png
20191127-121306-872.png
20191127-121332-467.png
20191127-121358-465.png
20191127-121423-763.png
20191127-121448-869.png
20191127-121514-182.png
20191127-121540-214.png
20191127-121606-348.png
20191127-121631-826.png
20191127-121656-431.png
20191127-121722-177.png
20191127-121749-119.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests Trashbin failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120337-113.png
20191127-120405-773.png
20191127-120434-416.png
20191127-120503-800.png
20191127-120532-846.png
20191127-120602-175.png
20191127-120631-872.png
20191127-120701-619.png
20191127-120732-160.png
20191127-120801-266.png
20191127-120832-568.png
20191127-120904-307.png
20191127-120935-768.png
20191127-121005-414.png
20191127-121034-410.png
20191127-121103-954.png
20191127-121133-303.png
20191127-121202-683.png
20191127-121232-027.png
20191127-121301-318.png
20191127-121330-748.png
20191127-121400-655.png
20191127-121430-670.png
20191127-121501-050.png
20191127-121531-195.png
20191127-121600-485.png
20191127-121630-328.png
20191127-121659-196.png
20191127-121728-444.png
20191127-121758-050.png
20191127-121826-795.png
20191127-121856-136.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests Upload failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120804-966.png
20191127-120831-770.png
20191127-120857-831.png
20191127-120922-730.png
20191127-120948-485.png
20191127-121013-273.png
20191127-121039-939.png
20191127-121104-807.png
20191127-121129-671.png
20191127-121155-349.png
20191127-121220-180.png
20191127-121245-250.png
20191127-121310-036.png
20191127-121335-798.png
20191127-121400-664.png
20191127-121425-763.png
20191127-121451-760.png
20191127-121518-818.png
20191127-121543-920.png
20191127-121610-130.png
20191127-121637-171.png
20191127-121702-281.png
20191127-121728-981.png
20191127-121753-738.png
20191127-121819-405.png
20191127-121845-545.png
20191127-121911-295.png
20191127-121936-880.png
20191127-122002-921.png
20191127-122028-158.png
20191127-122053-543.png
20191127-122119-403.png
20191127-122145-675.png
20191127-122211-031.png

@ownclouders

Copy link
Copy Markdown
Contributor
💥 Acceptance tests SharingInternalGroups failed. Please find the screenshots inside ...

https://drone.owncloud.com/owncloud/phoenix/6853/

20191127-120825-600.png
20191127-120859-011.png
20191127-120932-633.png
20191127-121005-467.png
20191127-121038-577.png
20191127-121111-773.png
20191127-121145-330.png
20191127-121218-421.png
20191127-121250-341.png
20191127-121322-782.png
20191127-121354-928.png
20191127-121428-037.png
20191127-121501-480.png
20191127-121536-380.png
20191127-121609-807.png
20191127-121641-998.png
20191127-121716-739.png
20191127-121752-498.png
20191127-121833-353.png
20191127-121907-768.png
20191127-121939-894.png
20191127-122012-334.png
20191127-122045-697.png
20191127-122117-507.png
20191127-122149-512.png
20191127-122221-044.png