Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
c064606
feat: merge playground and gallery into stac_playground example
rahulbisht25 Jul 23, 2026
7143a2d
fix: align mobile UI with Console mobile designs
rahulbisht25 Jul 23, 2026
da3e52e
fix: move dark theme toggle to the end of the mobile drawer
rahulbisht25 Jul 23, 2026
82dd516
feat: restore per-component icons in the mobile explore list
rahulbisht25 Jul 23, 2026
56fb563
fix: mobile detail screen refinements
rahulbisht25 Jul 23, 2026
66df367
fix: show result count label while searching the explore list
rahulbisht25 Jul 23, 2026
675fd05
feat: full-screen menu overlay and exact Figma theme tokens
rahulbisht25 Jul 23, 2026
36a759f
chore: remove accidentally committed local tooling directory
rahulbisht25 Jul 23, 2026
80d0261
fix: soften detail header action icons to on-surface-variant
rahulbisht25 Jul 23, 2026
3f6d8a0
fix: center-crop the Dart tab logo instead of letterboxing
rahulbisht25 Jul 23, 2026
182c02d
fix: replace Dart tab logo with the square Dart mark in grayscale
rahulbisht25 Jul 23, 2026
a92b06a
feat(playground): live Dart editing and complete DSL examples
divyanshub024 Jul 23, 2026
c64c695
fix(playground): inline helper calls when previewing Dart
divyanshub024 Jul 23, 2026
d69416c
refactor: promote stac_playground out of examples
divyanshub024 Jul 23, 2026
47763d6
ci: make analyze and format pass for stac_playground
divyanshub024 Jul 23, 2026
fcddb5d
fix(playground): address review findings
divyanshub024 Jul 23, 2026
8fade86
fix(playground): give empty DSL actions a real no-op action
divyanshub024 Jul 23, 2026
542929e
perf(playground): debounce the live preview
divyanshub024 Jul 23, 2026
0ba75b1
feat(playground): render the real webView example, fix docs and add a…
divyanshub024 Jul 23, 2026
97eba2a
fix(playground): render inline samples that are const maps
divyanshub024 Jul 24, 2026
2bfe1be
chore(assets): update Stac Playground social banner
divyanshub024 Jul 24, 2026
852847c
feat(playground): show per-entry icons in the desktop index
divyanshub024 Jul 24, 2026
4b66a85
refactor(playground): drop the tablet and desktop preview sizes
divyanshub024 Jul 26, 2026
6c88259
refactor(playground): build the index row from ListTile
divyanshub024 Jul 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .github/workflows/all_plugins.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,28 @@ jobs:
- name: 'Flutter Pub Get'
run: melos run get

# Runs on Linux, so this is also what catches paths whose casing only works
# on a case-insensitive filesystem — the analyze and format jobs never touch
# the platform directories or the asset bundle.
build_playground:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- uses: subosito/flutter-action@48cafc24713cca54bbe03cdc3a423187d413aafa
with:
channel: 'stable'
cache: true
- uses: bluefireteam/melos-action@dd3c344d731938d2ab2567a261f54a19a68b5f6a
with:
melos-version: '3.0.1'
- name: 'Build web'
run: flutter build web
working-directory: stac_playground
- name: 'Test'
run: flutter test
working-directory: stac_playground

format:
runs-on: ubuntu-latest
timeout-minutes: 20
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,4 @@ tools/stac-vscode/build/
*.vsix
.eslintcache
.vscode-test/
.claude/
4 changes: 2 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"version": "0.2.0",
"configurations": [
{
"name": "stac_gallery",
"cwd": "examples/stac_gallery",
"name": "stac_playground",
"cwd": "stac_playground",
"request": "launch",
"type": "dart"
},
Expand Down
Binary file modified assets/playground.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/actions/multi_action.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ StacMultiAction(
),
behavior: SnackBarBehavior.floating,
),
StacNetworkRequestAction(
StacNetworkRequest(
url: 'https://example.com/api',
method: Method.get,
queryParameters: {'page': 1},
Expand Down
2 changes: 1 addition & 1 deletion docs/actions/set_value.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ StacMultiAction(
{'key': 'isLoading', 'value': true},
],
),
StacNetworkRequestAction(
StacNetworkRequest(
url: 'https://api.example.com/data',
method: Method.get,
results: [
Expand Down
2 changes: 1 addition & 1 deletion docs/widgets/form.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ StacForm(
StacFilledButton(
child: StacText(data: 'Submit'),
onPressed: StacFormValidateAction(
isValid: StacNetworkRequestAction(
isValid: StacNetworkRequest(
url: 'https://dummyjson.com/auth/login',
method: Method.post,
contentType: 'application/json',
Expand Down
12 changes: 6 additions & 6 deletions docs/widgets/refresh_indicator.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { PLAYGROUND_BASE_URL } from "/snippets/playground_base.mdx";
export const refreshIndicatorPreviewJson = {
"type": "refreshIndicator",
"onRefresh": {
"actionType": "request",
"url": "https://raw.githubusercontent.com/StacDev/stac/main/examples/stac_gallery/assets/json/list_view_example.json",
"actionType": "networkRequest",
"url": "https://raw.githubusercontent.com/StacDev/stac/main/stac_playground/assets/json/list_view_example.json",
"method": "get",
"contentType": "application/json"
},
Expand Down Expand Up @@ -74,8 +74,8 @@ To know more about the RefreshIndicator widget in Flutter, refer to the [officia

```dart
StacRefreshIndicator(
onRefresh: StacNetworkRequestAction(
url: 'https://raw.githubusercontent.com/StacDev/stac/main/examples/stac_gallery/assets/json/list_view_example.json',
onRefresh: StacNetworkRequest(
url: 'https://raw.githubusercontent.com/StacDev/stac/main/stac_playground/assets/json/list_view_example.json',
method: Method.get,
contentType: 'application/json',
),
Expand All @@ -97,8 +97,8 @@ StacRefreshIndicator(
{
"type": "refreshIndicator",
"onRefresh": {
"actionType": "request",
"url": "https://raw.githubusercontent.com/StacDev/stac/main/examples/stac_gallery/assets/json/list_view_example.json",
"actionType": "networkRequest",
"url": "https://raw.githubusercontent.com/StacDev/stac/main/stac_playground/assets/json/list_view_example.json",
"method": "get",
"contentType": "application/json"
},
Expand Down
25 changes: 0 additions & 25 deletions examples/stac_gallery/README.md

This file was deleted.

6 changes: 0 additions & 6 deletions examples/stac_gallery/analysis_options.yaml

This file was deleted.

Binary file not shown.
Binary file not shown.
19 changes: 0 additions & 19 deletions examples/stac_gallery/assets/images/gallery.svg

This file was deleted.

1 change: 0 additions & 1 deletion examples/stac_gallery/devtools_options.yaml

This file was deleted.

13 changes: 0 additions & 13 deletions examples/stac_gallery/ios/Runner/AppDelegate.swift

This file was deleted.

12 changes: 0 additions & 12 deletions examples/stac_gallery/ios/RunnerTests/RunnerTests.swift

This file was deleted.

17 changes: 0 additions & 17 deletions examples/stac_gallery/lib/app/details/details_screen.dart

This file was deleted.

14 changes: 0 additions & 14 deletions examples/stac_gallery/lib/app/example/example_screen.dart

This file was deleted.

Loading
Loading