Skip to content

1.6.0 - Smart Field Population & Template Selection

Latest

Choose a tag to compare

@lunerfox lunerfox released this 04 Jan 07:09
· 3 commits to master since this release

What's New in 1.6.0

Fixed

  • Removed hardcoded cuisine for non-restaurant places (#1)
    • Cuisine field now only appears when place has food-related types
    • No more "Restaurant" fallback for parks, museums, etc.
  • Smart field population based on template
    • Only includes fields that exist in your template (case-insensitive)
    • Essential fields (address, location, link, phone) are always included
    • Optional fields filtered based on template

Added

  • Template selection modal for search selection workflow (#2)
    • New "Search selection - Choose Template" command
    • Select template before searching instead of needing separate commands
    • Displays all available templates with descriptions
  • Case-insensitive template field matching
  • Comprehensive frontmatter fields documentation in README

How to Use New Features

Template Selection Modal:

  1. Select text in your editor
  2. Run command: "Search selection - Choose Template"
  3. Choose a template from the modal
  4. Search proceeds with selected template

Smart Field Population:

  • Add fields to your template frontmatter (e.g., cuisine:, city:, rating-google:)
  • Plugin will only populate fields that exist in your template
  • Essential fields (address, location, link, phone) are always included

Testing

  • All 134 tests passing ✓
  • Verified with restaurants, parks, museums, and other place types

🤖 Generated with Claude Code