Comments (9)
Alternatively (if this is doable) we could also decide to merge what we would like to do with the Quarkus/Runtime tab and the existing entity Overview tab
If that's what you mean, this is already possible to add your cards of you Quarkus tab in the Overview tab.
from backstage-showcase.
When is the triage scheduled ?
from backstage-showcase.
Apparently, it is only needed to add the following code to the index.tsx
file of EntityPage
, to update the README doc file of dynamic plugin like the file to use locally backstage: app-config.dynamic-plugins.yaml
...
{tab({
path: '/quarkus',
title: 'Quarkus',
mountPoint: 'entity.page.quarkus',
})}
Remark: I will submit a PR
from backstage-showcase.
Sorry, I didn't see this issue previously.
Let me repeat here what I commented on the PR:
With dynamic plugins, we should not require changing the source code of the frontend application in order to wire a dynamic plugin in a new tab dedicated to this dynamic plugin.
That seems like an anti-pattern.
Users of the showcase who need to bring their own external plugins in a dedicated tab will usually not be able to change the showcase container image. That's the whole point of dynamic plugins: always use the same container image without requiring any change to the application code.
@tumido @gashcrumb Any idea about how to contribute a new tab ? I assume we should have something, right ?
from backstage-showcase.
See my comment here please:
The way @cmoulliard contributes a new tab is totally ok, however there should be someone else driving this decision (IMO)...
from backstage-showcase.
See my comment here please:
The way @cmoulliard contributes a new tab is totally ok, however there should be someone else driving this decision (IMO)...
FTR let me post here as well the answer I did to the @tumido comment above:
The fact that you can't just add a new tab by the dynamic plugins mechanism is 100% intentional
I think that even this assertion should be validated by PM / UX.
It might be that the availability of such an option (to place a dynamic plugin in a new tab) would still be required, even though not the default or the recommended way.
from backstage-showcase.
I also understood our current tab approach as an intentional decision. There's a limit to how many tabs should be used in the tab component and it doesn't currently deal well with lots of tabs. Making this list dynamic is certainly possible, but really needs to be done after working out a strategy to deal with more complicated navigation structures for entity pages.
from backstage-showcase.
Nevertheless this is important for RHDH & Red Hat to include a Runtime tab (aka what Tanzu TAP also proposes) for our customers.
Alternatively (if this is doable) we could also decide to merge what we would like to do with the Quarkus/Runtime tab and the existing entity Overview tab
from backstage-showcase.
#1173 will add the ability to configure new tabs as needed. You'll be able to add new sub-paths to catalog entity pages and define the mount points that will be rendered at those sub-paths.
from backstage-showcase.
Related Issues (20)
- Fail the build if the yarn.lock file is changed after running yarn install HOT 7
- Fix Scalprum deprecation warning
- What is app-config.dynamic-plugins.yaml used for? HOT 4
- Provide Share Documentation for best practices to maintain the postgres database with the janus
- Unsatisfied version warnings from Scalprum
- backstage-showcase "not found" error handler doesn't work for plugin endpoints
- Impossible to dynamically load a number of upstream backend plugins
- Janus future HOT 1
- Support to register scaffolderPlugin.provide(createScaffolderFieldExtension( for dynamic plugin HOT 15
- Allow adding a new Entity tab through dynamic plugin configuration HOT 1
- Branding: ability to customise the width of sidebar logo
- Config issue or bug ... using ArgoCD HOT 2
- Github auth is requested even if we chose as auth provider: guest HOT 3
- yarn: TypeError: true is not iterable! using a dynamic plugin
- turbo configuration issue when creating a new back-end plugin HOT 1
- The link of community slack channel is invalid HOT 1
- Broken links to plugins (e.g., PagerDuty) in the main README.md file HOT 3
- An extension point on the frontend for Catalog Customization
- Wrong label and container port in doc on Setting up Metrics Monitoring for Operator-backed deployments HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from backstage-showcase.