Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: Documentation Request: Update guide "Writing Custom Actions" showing how to leverage Backstage CLI #24719

Open
2 tasks done
Al-Serhan opened this issue May 10, 2024 · 6 comments
Assignees
Labels
area:scaffolder Everything and all things related to the scaffolder project area enhancement New feature or request

Comments

@Al-Serhan
Copy link

馃敄 Feature description

I would like to request updating the documentations on "Writing Custom Actions" by adding a step showing how to use the Backstage CLI to create a scaffolder custom action

馃帳 Context

The documentation in this page describing how to write custom actions goes over the code breakdown in low level detail but doesn't actually take advantage of the CLI to show how you can create a scaffolder custom action. Adding this information to this doc will make the experience of on-boarding a lot easier.

鉁岋笍 Possible Implementation

The documentation should include:

  • A step-by-step guide on how to create a custom action using backstage cli.
  • Screenshots or GIFs demonstrating the process.

馃憖 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

Are you willing to submit PR?

Yes I am willing to submit a PR!

@Al-Serhan Al-Serhan added the enhancement New feature or request label May 10, 2024
@awanlin
Copy link
Collaborator

awanlin commented May 10, 2024

Hi @Al-Serhan, this makes sense to me. Just so I'm on the same page you mean adding details about running yarn new to create the package with things nicely setup for you, right?

I might avoid screenshots unless you think they are really needed, I find they can create a disjointed experience - they don't match, take up a lot of space, and don't get updated easily over time. Open to see what you have in mind though. 馃憤

@Al-Serhan
Copy link
Author

Hi @awanlin, yes correct the yarn new feature is what I meant. Absolutely screenshots aren't necessary it was just a suggestion that I threw. Happy to take this one up if you assign it to me.

@awanlin
Copy link
Collaborator

awanlin commented May 10, 2024

OK, great, I think this is a great idea. These docs dive right into the deep end so would appreciate you adding some of the steps before you get to that point 馃殌

Feel free to tag me on you PR to help review 馃憤

Issue assigned 馃槃

@vinzscam vinzscam added the area:scaffolder Everything and all things related to the scaffolder project area label May 13, 2024
@benjdlambert
Copy link
Member

Just following up from the SIG here, that we got a report on discord that we should probably add support to the yarn new for scaffolder actions for the new backend system and exporting a backendModule too if that's possible 馃檹

@Al-Serhan
Copy link
Author

Hi @benjdlambert , since this would be an added code change, would it make sense to have it in an another seperate issue?

I tried to find the report on discord but I can't see it mentioned anywhere, maybe we can discuss in the SIG meeting.

@benjdlambert
Copy link
Member

@Al-Serhan yeah, maybe another issue makes more sense - thought that this was the most relevant but I think you're right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:scaffolder Everything and all things related to the scaffolder project area enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants