Skip to content

SubLayouts TODO/Wishlist #141

Description

@nhmkdev

TODO/wishlist items for consideration

  • Progress Reporting
  • Add metadata to the Deck object for code debugging (knowing the layout name and otherwise in a convenient field could be nice)
    • probably already exists... but nested.
  • [Done] Investigate removal of CardPrintIndex completely. It is likely legacy and should be considered for removal.
    • [low priority] This is really just for the benefit of the code being less complicated
  • [Done] Functionality to export SubLayout to in-memory image for use
  • [Done] Add exportindices sublayout parameter (reuse the export index logic from the command line and export to convert 1-3 etc.)
  • [Done] Reference Cache for files (at least during export)
    • Google cache already handles this (user option)
  • [Done] Add SubLayout parameters
    • skipReferences (don't pass the reference values from parent -> sublayout)
    • skipDefines (don't pass the defines from parent -> sublayout)
  • [Done] Passing custom defines to a SubLayout (as defines via key/value).
  • [Done] Translations:
    • Add fileextension translation as related to exports (to know the file type being exported, probably just pass along the enum value)
    • [Done] Parent layout name
    • [Done] Primary layout name (top)
  • [Done] Investigate the dangers of nested SubLayouts
    • Protect against SubLayout loops
  • [Done] Passing the line information from parent through to all sublayouts in the stack (currently it's just parent -> sublayout each time)
  • [Done] Passing defines through to the SubLayout (not sure how much use this would get)
    • Need to double check if there is special processing for defines that might make this more difficult
  • [Done] FileCardClipboardExporter support (should be minimal)
  • [Done] PDF exporter support
  • [Done] Write instructions (at least the basics) and make a pre-release for people over at BGG to test.

References

Original ticket: #121

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions