1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00
Commit Graph

52 Commits

Author SHA1 Message Date
Parker Lougheed
450fe911d7 Adjust Flutter gallery inclusion in samples index (#2141)
Reorganizes the samples index to deprioritize the gallery in favor of
some recent web demos, particularly the Material 3 demo.

This PR does keep the gallery in the index, as it is no more out of date
than other samples and there are plans to retire this index. It however
updates its demo link to a new Firebase destination that will remain
hosted for posterity.

Closes https://github.com/flutter/samples/issues/2139
2024-01-18 05:32:08 -08:00
Parker Lougheed
ab6d874404 Simplify samples index and remove cookbook recipes (#2102)
Remove the cookbook recipes from the samples index in a step to
eventually remove it as a whole.

The cookbook recipe listings in the index haven't been updated in a long
time, the support for updating them doesn't work, and this isn't
generally how people are finding cookbook recipes.

This has the added benefit of reducing repo size quite a bit due to the
large images.
2023-11-30 12:17:19 -06:00
Brett Morgan
3b67c60274 Drop jsonexample (#2089) 2023-11-14 07:02:36 +11:00
Brett Morgan
6c00d55c66 Drop Next Gen UI demo from Samples index (#2083) 2023-11-11 06:26:40 +10:00
John Ryan
de8fc4d7e1 Make element embedding demo show up under "Web Demos" section (#1837)
Using the "demo" type will make the sample visible under the [Web
Demos](https://flutter.github.io/samples/#?platform=web) section of the
site. cc: @ditman
2023-05-23 12:21:15 -07:00
Brett Morgan
d855bcc05a web/samples_index Drop unused links attribute from config (#1828)
I've confirmed that the `links` configuration attribute is indeed
unused: https://flutter.github.io/samples/next_gen_u_i_demo.html

Dropping unused configuration sounds like a good move. We can
re-introduce it if/when we start displaying the content.

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md
2023-05-19 10:21:16 -07:00
Brett Morgan
0cf8430a87 Fix up web/samples_index configuration for next_gen_ui_demo (#1826)
This PR is required to land for I/O Connect Miami next week.

Context:
https://github.com/flutter/samples/pull/1824#discussion_r1198062978

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I updated/added relevant documentation (doc comments with `///`).
- [x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-devrel
channel on [Discord].

<!-- Links -->
[Flutter Style Guide]:
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo
[CLA]: https://cla.developers.google.com/
[Discord]: https://github.com/flutter/flutter/wiki/Chat
[Contributors Guide]:
https://github.com/flutter/samples/blob/main/CONTRIBUTING.md

---------

Co-authored-by: Parker Lougheed <parlough@gmail.com>
2023-05-19 11:33:15 +10:00
Brett Morgan
3d0200df87 Add next_gen_ui_demo to samples index (#1824) 2023-05-18 16:46:03 +10:00
Parker Lougheed
4d5acf97ca Update samples index dependencies and constraints (#1816)
Updates build dependencies as well as other constraints to more closely
match versions used.

Supersedes https://github.com/flutter/samples/pull/1814
2023-05-13 09:53:12 +10:00
John Ryan
bb6bd81d59 Add web_embedding sample to sample index (#1801)
We should wait until this sample is deployed to
https://flutter-angular.web.app/
cc: @kevmoo

---------

Co-authored-by: David Iglesias <ditman@gmail.com>
2023-05-10 15:06:50 -07:00
Brett Morgan
66a8d9e211 web/samples_index breakfix (#1576) 2023-01-19 01:53:44 +10:00
Parker Lougheed
9a82e003ba Minor sample index cleanup (#1532) 2022-12-15 21:36:04 -06:00
Parker Lougheed
1463a967f6 Implement case insensitive search in the samples index (#1518)
Closes #1517
2022-12-08 10:59:46 +10:00
Brett Morgan
88145ea4ca Drop github_dataviz (#1508)
* Drop `github_dataviz`

* Drop from `samples_index`
2022-11-30 11:09:16 +10:00
Brett Morgan
ee72fc8ad7 Drop web/particle_background (#1453) 2022-10-24 17:50:52 -04:00
Brett Morgan
d99fb974a0 Re-add Craig Labenz's code sharing sample (#1466)
* Revert "Revert "Add code sharing sample (#1444)" (#1464)"

This reverts commit dc50c46ef1.

* Opting out failing tests on Windows for CI

Co-authored-by: Craig Labenz <craig.labenz@gmail.com>
2022-10-18 13:15:31 -04:00
Brett Morgan
ad1faad66b Drop web/charts sample (#1452) 2022-10-14 09:00:49 -04:00
Brett Morgan
dc50c46ef1 Revert "Add code sharing sample (#1444)" (#1464)
This reverts commit fc6222ebc8.
2022-10-07 14:26:40 -07:00
Craig Labenz
fc6222ebc8 Add code sharing sample (#1444)
* code-sharing boilerplate

* initial commit of code-sharing logic

* documentation improvements

* added code-sharing to samples.yaml

* Updated counter UI to visually indicate communication with the server

* added code_sharing to CI

* CI changes to code_sharing

* fixed test with DI

* formatting

* added shared module to CI

* adds forgotten CI change
2022-10-05 08:47:30 -07:00
Brett Morgan
0a55acfba9 Drop Slide Puzzle's web launch (#1303) 2022-06-10 04:32:57 +10:00
John Ryan
0002a5567e fix material 3 image url (#1302) 2022-06-08 12:03:44 -07:00
Parker Lougheed
3c608d0882 Update more links and mentions to the main branch (#1294) 2022-05-31 20:42:52 +10:00
Brett Morgan
58bc5d7a58 Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key`

* `flutter format`
2022-05-13 12:31:56 -07:00
Pierre-Louis
9c92e06eb6 Update samples.yaml (#1263) 2022-05-12 10:42:37 -07:00
Brett Morgan
ccd68f34e2 Beta (#1234) 2022-05-11 12:48:11 -07:00
Craig Labenz
e8b2bec22a Add Material You and Rich Text Editor samples (#1223)
* Added Material You and Rich Text Editor samples

* updated images to have Material 3

* updated packages info
2022-05-09 13:03:51 -07:00
Brett Morgan
ee9b3372b6 Add Photo Search app (#1112)
* Add Photo Search app

* Add `desktop_photo_search` screenshots

* Add `desktop_photo_search` screenshots
2022-04-21 09:52:48 -07:00
Craig Labenz
7ec65b7236 restored GA to samples index (#1010) 2022-02-09 09:05:41 -08:00
John Ryan
0cb331f7a7 Update slide puzzle description (#980) 2022-01-05 16:00:26 -08:00
Brett Morgan
58af3f5c75 Delete the filipino_cuisine web sample (#923)
* Delete the `filipino_cuisine` web sample

* Drop `filipino_cuisine` from sample index
2021-10-11 11:04:28 -07:00
Brett Morgan
583457dc75 Drop author from pubspecs, organise imports (#899) 2021-09-22 10:17:05 +10:00
Brett Morgan
297f6b0b96 Upgrade deps, format, fix web/filipino_cuisine (#898)
fixes: https://github.com/flutter/samples/issues/897
2021-09-21 11:38:59 -07:00
Michael Thomsen
ba58407a26 Update samples.yaml (#866) 2021-08-09 08:41:13 +02:00
John Ryan
1818925286 Add navigation_and_routing sample to visual sample index (#863) 2021-08-03 10:37:21 -07:00
John Ryan
7de8fafcee Fix sample index deployment action (#862)
* Update sample index dependencies

* Update to tuneup 0.3.8, update dependencies

* Upgrade to null safety, lock sass version

* fix analyzer warnings

* Fix unit tests

* Fix issues from upgrading to null safety
2021-08-02 15:41:18 -07:00
Arash
52fa15609c Update samples.yaml (#855)
Fix incorrect URL source of Platform View Swift sample
2021-07-21 17:36:08 -07:00
Brett Morgan
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10:00
John Ryan
3f5ab56485 Add workflow to deploy the sample index (#791)
* Add workflow to build and deploy the sample index

* update gh-pages action

* fix yaml

* create web/ directory in build

* grammar

* add ignored directories

* revert pubspec.lock files

* add job to run _tool/verify_samples.dart

* Update filipino_cuisine for Flutter 2

* remove timeflow demo.

The unnamed List constructor is now deprecated, refactoring
this code to use add() requires more knowledge about the code for
this demo.
https://dart.dev/null-safety/understanding-null-safety#no-unnamed-list-constructor

* update slide_puzzle

* ensure stable channel is used to verify

* move verify web demos action into separate yaml file - avoid running
on each flutter version.

* add on: pull_request

* update slide_puzzle

* Update gh-pages.yml

* Add copyright header
2021-05-06 10:26:15 -07:00
John Ryan
241e2c1b26 Fix cookbook scraper bugs and re-run (#697)
* fix path separator bug in cookbook scraper

* update lockfiles

* add category to image name to avoid conflicts

e.g.
testing/integration/introduction
testing/widget/introduction

* fix form_app symlink

* remove webimages directory

* remove vision_challenge

vision_challenge doesn't build on the dev channel

* update pubspec.yaml in _tool and form_app
2021-02-08 10:36:22 -08:00
Udit Singh
f628602f2a [samples_index] Update samples.yaml added samples. (#604)
* Add infinite_list,
ios_app_clip and testing_app to Sample Index

* Add infinite_list and ios_app_clip and testing_app
Images

Co-authored-by: Udit singh <Udit-singh@users.noreply.github.com>
2021-02-01 09:44:22 -08:00
Tushar Ojha
2f6767f95e [samples_index] updated source code url for form_app (#688) 2021-01-30 08:10:40 +11:00
Sashika Nawarathne
d1b054cb02 [samples_index] Fix carousel edge cases and make mobile responsive (#608)
* Fix carousel ui issues

* Update carousel to be mobile responsive
2020-12-07 10:39:50 -08:00
Sashika Nawarathne
c60f02d7c3 Implement carousel (#605)
Add type declaration
2020-12-02 15:06:06 -08:00
Sashika Nawarathne
a0d314bf5e Add type param filter (#596)
Format code
Add match by type tests
2020-11-17 10:20:00 -08:00
John Ryan
34757d8aac Add web_dashboard and form_app to sample index (#506)
* add web_dashboard and form_app to web/ via symlinks

* update samples.yaml, add images

* fix web/readme.md instructions

* remove dependency on package:resource
2020-07-29 11:19:16 -07:00
mariamhas
c537c3b818 Add dice sample (#454)
* add dice sample image

* Update samples.yaml
2020-06-01 16:31:41 -07:00
Brett Morgan
baa1f976b2 Samples maintenance (#435) 2020-05-13 09:18:26 +10:00
Pierre-Louis
27198ad733 Update Flutter Gallery link (#429) 2020-05-05 14:35:59 -07:00
John Ryan
8763d754ad Add thumbnail images to VSI (#415)
* add thumbnail image generation

improves page load from 41.7 MB to 7.6 MB

* remove filesCreated set - thumbnails for each image are generated.

* set package:image version in pubspec

* Update grind.dart
2020-04-17 13:55:12 -07:00
Govind Dixit
ff924ef6cb fix timeflow broken link (#407) 2020-04-02 17:03:39 -07:00