5 Commits

  • feat: add design preview site with search and filtering functionality
    - Implemented a new web interface for previewing designs, allowing users to search and filter by category.
    - Created `app.js` to handle state management, event binding, and rendering of design records.
    - Developed `index.html` as the main structure for the design gallery, including search input and design list.
    - Added `styles.css` for styling the design gallery and ensuring a responsive layout.
    - Updated Rust backend to support site generation, including new commands for building and serving the site.
    - Refactored catalog parsing to support new data structure for design entries.
    - Enhanced the sync process to collect site records and generate appropriate URLs for previews.
    - Introduced a new serving mechanism for the generated site, allowing local previews of designs.
  • feat: implement design synchronization application
    - Add main application logic in `app.rs` to handle design sync process.
    - Create `catalog.rs` for parsing category mappings and listing design directories.
    - Introduce configuration constants in `config.rs` for paths and settings.
    - Implement logging functionality in `logger.rs` to track application events.
    - Update `main.rs` to initialize and run the application with logging.
    - Define data models in `models.rs` for design sources and sync summaries.
    - Create `readme.rs` to manage README updates with design records.
    - Implement synchronization logic in `sync.rs` to fetch and process design data.
    - Add utility functions in `util.rs` for path normalization and whitespace handling.