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
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.
We should wait until this sample is deployed to
https://flutter-angular.web.app/
cc: @kevmoo
---------
Co-authored-by: David Iglesias <ditman@gmail.com>
* 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>
* 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
* 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
* 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
* 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>
* 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
* add samples_index to web/ directory
Co-authored-by: Thea Flowers <theaflowers@google.com>
* add pub_get.dart script
* build sample index in peanut post build
* re-generate sample index with web demos
* print more details in peanut_post_build.dart
* add images for demos
* run generator
* update README
* add animations and provider shopper as symlinks
* add links to symlinked web demos
* use relative paths
* update cookbook images, urls, and description CSS
* use relative URL for navbar link
* unstage HTML files
* .gitignore generated HTML files
* add margin to toolbar
* rename escape functions
* add and update copyright headers
Co-authored-by: Thea Flowers <theaflowers@google.com>