cloudfoundry / cloudfoundry/stratos

Extensions: Create a new extensions package

Open
#4,551 0 comments 0 reactions 1 assignee View on GitHub

@vvaradhan is already working on this.

Since Sep 1, 2020.

Dominant language
TypeScript
Stars
267
Forks
137
Avg merge
5h 14m
Merged PRs (30d)
77

Description

Create new library project: @stratosui/extensions

Move some code from core to this new package - minimally code in core/extensions (there's only 2 files there)
May need to move more - e.g. TabNavService
Ensure we don't end up with circular dependencies.
Probably don't want any UI components in this package

Update the build script to also build this library.

Update @stratosui/core to reference @stratosui/extensions. Should also update references in other extensions.

We then should be able to:

  • Create a new angular library that is our test extension
  • Add that as a dependency in package.json (or in stratos.yaml as an extension to include)

Then we should be able to build the thin app with our extension - extension could just add an item to the left-hand navigation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.