Skip to content

0.1.4

Compare
Choose a tag to compare
@sunwei sunwei released this 20 Nov 11:28
· 11 commits to main since this release

Release Notes for Obsidian Friday Plugin Update

We are excited to announce a new release of the Obsidian Friday plugin with significant improvements and fixes based on community feedback. Here's what's new:

Enhancements & Fixes

  1. Improved CSS Selectors

    • Updated all CSS selectors to be unique and specific to the plugin to avoid potential conflicts.
      Examples: .my-modal and .my-iframe have been renamed to more distinctive identifiers.
  2. Simplified Funding URL

    • Removed the "fundingUrl": "https://github.com/sunwei" line as it is not applicable for the plugin.
  3. Optimized Layout Initialization

    • Simplified layout initialization code to:
      this.app.workspace.onLayoutReady(() => this.initLeaf());
      This ensures the callback runs even if the layout is already ready.
  4. Followed Plugin Guidelines

    • Removed the onunload code that detaches custom leaves (FRIDAY_SERVER_VIEW_TYPE) to align with Obsidian’s plugin guidelines.
  5. Consistent UI Naming

    • Updated UI elements to use sentence case for better readability:
      • .setName('Netlify token')
      • .setPlaceholder('Enter your Netlify token')
        Note: "Netlify" retains its brand capitalization.
  6. Improved JSON Handling

    • Replaced JSON.parse(response.text) with response.json() for a more modern and cleaner approach to handling JSON responses.
  7. Custom User Credentials

    • Removed hardcoded email defaults (user_${Math.floor(Math.random() * 1000000)}@mdfriday.com).
      • Users can now define their own email and password during the configuration process.
  8. Better File Processing

    • Replaced manual file-reading logic with the processFrontMatter function provided by the Obsidian API for better performance and maintainability.

Acknowledgments

Thank you to all the users who provided valuable feedback. These changes are aimed at making the Friday plugin more robust, user-friendly, and compliant with Obsidian's best practices.

For questions or support, please feel free to reach out via our GitHub page.