Skip to content

Conversation

@promicrobial
Copy link

  • Add exportDir setting to plugin configuration with vault-relative path support
  • Update settings tab with new export directory input field and descriptive help text
  • Modify exportSlide function to accept custom export directory parameter
  • Default to Downloads folder when no custom directory is specified
  • Fix TypeScript compilation errors:
    • Update mime import to use default import syntax
    • Add missing App type imports across modules
    • Pass App instance as parameter to convertImage functions
    • Fix PreviewViewState interface to extend Record<string, unknown>
    • Remove incorrect interface implementation in PreviewView class
  • Update function signatures to properly handle App parameter passing
  • Maintain backward compatibility with existing export functionality

The export directory is now configurable and relative to the vault root, making exports more portable and organized within the user's vault structure. Examples: "exports", "slides/output", etc. Empty value defaults to $HOME/Downloads.

- Add exportDir setting to plugin configuration with vault-relative path support
- Update settings tab with new export directory input field and descriptive help text
- Modify exportSlide function to accept custom export directory parameter
- Default to Downloads folder when no custom directory is specified
- Fix TypeScript compilation errors:
  - Update mime import to use default import syntax
  - Add missing App type imports across modules
  - Pass App instance as parameter to convertImage functions
  - Fix PreviewViewState interface to extend Record<string, unknown>
  - Remove incorrect interface implementation in PreviewView class
- Update function signatures to properly handle App parameter passing
- Maintain backward compatibility with existing export functionality

The export directory is now configurable and relative to the vault root,
making exports more portable and organized within the user's vault structure.
Examples: "exports", "slides/output", etc. Empty value defaults to $HOME/Downloads.
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.

1 participant