-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Making scaffolder template's title customizable #16633
Making scaffolder template's title customizable #16633
Conversation
Signed-off-by: Bogdan Nechyporenko <bnechyporenko@bol.com>
Changed Packages
|
Uffizzi Ephemeral Environment
|
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
Hi! Sorry for the slow response here. I think we want to avoid making this change. It's always tricky to inject this type of customizability all over the place with "ad hoc" interfaces that hopefully fit each use case. Makes things hard to maintain and evolve. Going forward, our goal is to instead break out this entire page as a composable thing. We want you to be able to put your own wrapper and header as regular JSX with the entire "body" of the page just placed inside - and a host of other possible customizations. We're not quite there yet but moving toward that model. This is for example what the catalog page offers. So for now, I suggest backtracking on this because we'll need to revert/redesign it some time fairly soon down the line anyway. Ping @benjdlambert here too. |
@acierto yep, I think overall we've realised that the need for customization in plugins has kind of outgrown the prop approach as it's just so much API surface to manage. We're looking at spinning up and issue to work out how we can solve these issues in a cleaner way with a dedicated API for replacing components in plugins so you can bring your own. Will try and get around to drafting up this issue today and keep you in the loop. I wonder if for now it makes sense to convert this PR into a |
@benjdlambert It could be a solution, but |
Yeah they should be exported on the |
This PR has been automatically marked as stale because it has not had recent activity from the author. It will be closed if no further activity occurs. If the PR was closed and you want it re-opened, let us know and we'll re-open the PR so that you can continue the contribution! |
Actually I guess now we can close this ticket in favour of @minkimcello's work right #16915? |
@benjdlambert Only if routers will be exposed, as basically it means that i have to copy paste full |
@acierto not sure i'm following, what you do you mean |
@benjdlambert Oh I'm sorry.
They are all in file |
Ah but since #16942 they don't exist as
|
Cool, then yeah, we can close in favour of another PR. |
Hey, I just made a Pull Request!
As an engineer of software templates I would like to be able to customise the title of a template.
Therefore we can add actionable items on the title panel.
We see a value of having a feedback panel for certain group of templates, so that user reach a proper docs and channel of support.
The solution is implemented for both versions of software templates.
The code example how to achieve the result is added to a documentation, as it might be useful for others as well.
✔️ Checklist
Signed-off-by
line in the message. (more info)