Skip to content

feat: add Ctrl+C blueprint copy feature to production table#512

Open
ApocDev wants to merge 4 commits intoYafc-CE:masterfrom
ApocDev:feature/production-table-copy-blueprint
Open

feat: add Ctrl+C blueprint copy feature to production table#512
ApocDev wants to merge 4 commits intoYafc-CE:masterfrom
ApocDev:feature/production-table-copy-blueprint

Conversation

@ApocDev
Copy link
Copy Markdown

@ApocDev ApocDev commented Aug 4, 2025

  • Add Ctrl+C shortcut to copy building blueprint for hovered recipe
  • Add 'Copy blueprint' button to recipe dropdown menu
  • Add tooltip showing Ctrl+C hint when hovering over recipes with buildings

- Add Ctrl+C shortcut to copy building blueprint for hovered recipe
- Add 'Copy blueprint' button to recipe dropdown menu
- Add tooltip showing Ctrl+C hint when hovering over recipes with buildings
- Use existing BlueprintUtilities.ExportRecipiesAsBlueprint() for proper encoding
- Include complete blueprint data: entity, recipe, modules, and fuel filters
@ApocDev ApocDev requested a review from shpaass as a code owner August 4, 2025 17:03
@ApocDev ApocDev changed the title Add Ctrl+C blueprint copy feature to production table feat: add Ctrl+C blueprint copy feature to production table Aug 4, 2025
Comment thread Yafc/Workspace/ProductionTable/ProductionTableView.cs Outdated
@ApocDev ApocDev requested a review from veger August 7, 2025 05:10
Copy link
Copy Markdown
Collaborator

@veger veger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks fine to me. I didn't had a chance to actually try it yet

@shpaass
Copy link
Copy Markdown
Collaborator

shpaass commented Aug 19, 2025

One thing I know for sure is that we don't want to expand ProductionTableView.cs - it's already big enough. Unless this is the most fitting place for this functionality and it doesn't make sense for it to be anywhere elese, including a separate file.

Comment thread Yafc/Workspace/ProductionTable/ProductionTableView.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants