mirror of
https://github.com/vitaliiromanenko/popcorn-md.git
synced 2026-07-22 07:45:25 +00:00
Release v0.2.1 with typo fixes, keyboard navigation improvements, and documentation updates. - Fix multiple typos: AuthResponce → AuthResponse, GenreResponce → GenreResponse, FindResponce → FindResponse, defaultFoder → defaultFolder, TMDbGanreService → TMDbGenreService - Rename "card" CSS class to "movie-item" for clarity - Add arrow key navigation (Up/Down) for search results with focus indication - Add Enter key selection for focused items and Escape key to close modal - Improve error handling in TMDb API service for auth, rate limiting, and general errors - Add template validation with clearer error messages - Update LICENSE copyright to Vitalii Romanenko - Update README with corrected plugin name and URLs - Update manifest.json, package.json, and versions.json for v0.2.1 - Remove stale comment in searchModal.ts - Fix release notes date in .github/workflows/release.yml Breaking change: defaultFoder setting key renamed to defaultFolder. Existing configurations will not migrate automatically.
83 lines
3.2 KiB
YAML
83 lines
3.2 KiB
YAML
name: Release
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
|
|
permissions:
|
|
id-token: write
|
|
contents: write
|
|
actions: read
|
|
attestations: write
|
|
|
|
env:
|
|
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 20
|
|
- run: npm ci
|
|
- run: npm run build
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
with:
|
|
name: plugin-artifacts
|
|
path: |
|
|
release/main.js
|
|
release/manifest.json
|
|
release/styles.css
|
|
|
|
- uses: actions/attest-build-provenance@v1
|
|
with:
|
|
subject-path: |
|
|
release/main.js
|
|
release/manifest.json
|
|
release/styles.css
|
|
|
|
release:
|
|
needs: build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/download-artifact@v4
|
|
with:
|
|
name: plugin-artifacts
|
|
path: release
|
|
- uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: |
|
|
release/main.js
|
|
release/manifest.json
|
|
release/styles.css
|
|
body: |
|
|
## Release Notes for Popcorn MD v0.2.1
|
|
|
|
### Features
|
|
- **Keyboard navigation for search results**: Added arrow key navigation (Up/Down) to browse movie cards in the search modal, with visual focus indication and smooth scrolling
|
|
- **Enter key selection for focused item**: Pressing Enter now selects the currently focused movie card from the search results
|
|
- **Escape key to close**: Pressing Escape closes the search modal
|
|
|
|
### Improvements
|
|
- **Improved error handling in TMDb API service**: Added specific error messages for authentication failures (401), rate limiting (429), and general API errors. API key validation is now performed before making requests
|
|
- **Better template validation**: Added explicit checks for missing template files and non-file paths with clearer error messages
|
|
- **Renamed "card" CSS class to "movie-item"**: Improved semantic naming for better code clarity and maintainability
|
|
- **Fixed typo "foded" to "focused"**: Corrected CSS class name spelling in focus-related functionality
|
|
- **Styling enhancements**: Added hover effects, focus outlines, and improved visual feedback for movie cards with better layout and overflow handling
|
|
|
|
### Bug Fixes
|
|
- **Multiple typo corrections**:
|
|
- Fixed `AuthResponce` to `AuthResponse` (file rename and import updates)
|
|
- Fixed `GenreResponce` to `GenreResponse`
|
|
- Fixed `FindResponce` to `FindResponse`
|
|
- Fixed `defaultFoder` to `defaultFolder` across settings interface, defaults, and all references
|
|
- Fixed `TMDbGanreService` to `TMDbGenreService`
|
|
- **Fixed comment typo**: Corrected "focused" in SearchView comments
|
|
|
|
### Breaking Changes
|
|
- **Settings key renamed**: The `defaultFoder` setting key has been renamed to `defaultFolder`. Users will need to re-configure their default folder setting, or existing configurations will not migrate automatically
|
|
|