diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml new file mode 100644 index 0000000..121b795 --- /dev/null +++ b/.github/workflows/pages.yml @@ -0,0 +1,46 @@ +# Publishes the example app to https://ctrlaltdevelop.github.io/ohlcv_chart/ +# Repo Settings → Pages → Source must be "GitHub Actions". + +name: Pages + +on: + push: + branches: [main] + workflow_dispatch: + +concurrency: + group: pages + cancel-in-progress: true + +permissions: {} + +jobs: + build: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@v4 + - uses: subosito/flutter-action@v2 + with: + channel: stable + cache: true + - name: Build example for web + working-directory: example + run: flutter build web --release --base-href /ohlcv_chart/ + - uses: actions/upload-pages-artifact@v3 + with: + path: example/build/web + + deploy: + needs: build + runs-on: ubuntu-latest + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - id: deployment + uses: actions/deploy-pages@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 63ebd24..2469f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,15 @@ +## 3.2.1 - 2026-11-23 + +### Fixed + +- The example's course cards no longer overflow the gallery panel at narrow + widths. + +### Added + +- A live web demo of the example app, published to + on every release. + ## 3.2.0 - 2026-10-15 ### Changed diff --git a/README.md b/README.md index 30a9aa3..9f4c875 100644 --- a/README.md +++ b/README.md @@ -27,20 +27,14 @@ Free for any use, with no paid tier. language models. - **Fully themeable** — `ChartStyle`, `ChartColors` and `ChartTranslations`. -See the [full feature list](doc/features.md) and the [gallery](doc/gallery.md). - -> [!NOTE] -> This package has grown large. To keep it fast and focused, the next update -> will split it into separate packages. `ohlcv_chart` will keep only the -> candlestick (OHLCV) chart, its indicators and its drawing tools; the other -> chart widgets will move to their own packages. +See the [full feature list](doc/features.md), the [gallery](doc/gallery.md) and the [live demo](https://ctrlaltdevelop.github.io/ohlcv_chart/). ## Installation ```yaml dependencies: material_ui: ">=1.0.0 <2.0.0" - ohlcv_chart: ">=3.2.0 <4.0.0" + ohlcv_chart: ">=3.2.1 <4.0.0" ``` Requires Dart 3.12 and Flutter 3.44 or later. Widgets are built on the diff --git a/pubspec.yaml b/pubspec.yaml index f787422..19e8d1f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: ohlcv_chart description: >- Candlestick charts for Flutter: 31 indicators, 29 drawing tools and 55 more chart types. Pure CustomPainter, no WebView. -version: 3.2.0 +version: 3.2.1 homepage: https://github.com/CtrlAltDevelop repository: https://github.com/CtrlAltDevelop/ohlcv_chart issue_tracker: https://github.com/CtrlAltDevelop/ohlcv_chart/issues