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

53 Commits

Author SHA1 Message Date
dependabot[bot]
cd70e8508a Bump cloud_firestore in /experimental/web_dashboard (#1212)
Bumps [cloud_firestore](https://github.com/FirebaseExtended/flutterfire) from 3.1.13 to 3.1.14.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/cloud_firestore-v3.1.13...cloud_firestore_v3.1.14)

---
updated-dependencies:
- dependency-name: cloud_firestore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 19:13:15 +10:00
dependabot[bot]
6dda0043d3 Bump firebase_core from 1.15.0 to 1.16.0 in /experimental/web_dashboard (#1214)
Bumps [firebase_core](https://github.com/FirebaseExtended/flutterfire) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_core-v1.15.0...firebase_core_v1.16.0)

---
updated-dependencies:
- dependency-name: firebase_core
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 19:12:47 +10:00
dependabot[bot]
c07018b167 Bump firebase_auth from 3.3.16 to 3.3.17 in /experimental/web_dashboard (#1216)
Bumps [firebase_auth](https://github.com/FirebaseExtended/flutterfire) from 3.3.16 to 3.3.17.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_auth-v3.3.16...firebase_auth_v3.3.17)

---
updated-dependencies:
- dependency-name: firebase_auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-04 19:00:04 +10:00
dependabot[bot]
88b524ecbc Bump json_annotation from 4.4.0 to 4.5.0 in /experimental/web_dashboard (#1176)
Bumps [json_annotation](https://github.com/google/json_serializable.dart) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](https://github.com/google/json_serializable.dart/compare/json_annotation-v4.4.0...json_annotation-v4.5.0)

---
updated-dependencies:
- dependency-name: json_annotation
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 18:32:33 +10:00
dependabot[bot]
bb8a84d549 Bump json_serializable in /experimental/web_dashboard (#1177)
Bumps [json_serializable](https://github.com/google/json_serializable.dart) from 6.1.6 to 6.2.0.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](https://github.com/google/json_serializable.dart/compare/json_serializable-v6.1.6...json_serializable-v6.2.0)

---
updated-dependencies:
- dependency-name: json_serializable
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 18:30:56 +10:00
dependabot[bot]
cad1fccb79 Bump firebase_auth from 3.3.15 to 3.3.16 in /experimental/web_dashboard (#1172)
Bumps [firebase_auth](https://github.com/FirebaseExtended/flutterfire) from 3.3.15 to 3.3.16.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_auth-v3.3.15...firebase_auth-v3.3.16)

---
updated-dependencies:
- dependency-name: firebase_auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-28 18:26:40 +10:00
dependabot[bot]
e37d8a8a96 Bump firebase_core from 1.14.1 to 1.15.0 in /experimental/web_dashboard (#1124) 2022-04-22 20:38:35 +10:00
dependabot[bot]
bf07b5b13a Bump cloud_firestore in /experimental/web_dashboard (#1126) 2022-04-22 20:35:11 +10:00
dependabot[bot]
71d9fa73e7 Bump firebase_auth from 3.3.14 to 3.3.15 in /experimental/web_dashboard (#1128) 2022-04-22 20:34:10 +10:00
dependabot[bot]
c6412d896d Bump firebase_core from 1.14.0 to 1.14.1 in /experimental/web_dashboard (#1108)
Bumps [firebase_core](https://github.com/FirebaseExtended/flutterfire) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_core-v1.14.0...firebase_core-v1.14.1)

---
updated-dependencies:
- dependency-name: firebase_core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-20 08:25:08 +10:00
dependabot[bot]
a2fdbe503c Bump build_runner from 2.1.8 to 2.1.10 in /experimental/web_dashboard (#1098)
Bumps [build_runner](https://github.com/dart-lang/build) from 2.1.8 to 2.1.10.
- [Release notes](https://github.com/dart-lang/build/releases)
- [Commits](https://github.com/dart-lang/build/compare/build_daemon-v2.1.8...build_runner-v2.1.10)

---
updated-dependencies:
- dependency-name: build_runner
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 06:50:10 +10:00
dependabot[bot]
89f514612e Bump cloud_firestore in /experimental/web_dashboard (#1102)
Bumps [cloud_firestore](https://github.com/FirebaseExtended/flutterfire) from 3.1.11 to 3.1.12.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/cloud_firestore-v3.1.11...cloud_firestore-v3.1.12)

---
updated-dependencies:
- dependency-name: cloud_firestore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 06:47:50 +10:00
dependabot[bot]
71da337dcf Bump firebase_auth from 3.3.13 to 3.3.14 in /experimental/web_dashboard (#1103)
Bumps [firebase_auth](https://github.com/FirebaseExtended/flutterfire) from 3.3.13 to 3.3.14.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_auth-v3.3.13...firebase_auth-v3.3.14)

---
updated-dependencies:
- dependency-name: firebase_auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 06:45:20 +10:00
dependabot[bot]
8463ec21fa Bump google_sign_in from 5.2.4 to 5.3.0 in /experimental/web_dashboard (#1104)
Bumps [google_sign_in](https://github.com/flutter/plugins) from 5.2.4 to 5.3.0.
- [Release notes](https://github.com/flutter/plugins/releases)
- [Commits](https://github.com/flutter/plugins/compare/google_sign_in-v5.2.4...google_sign_in-v5.3.0)

---
updated-dependencies:
- dependency-name: google_sign_in
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 06:44:38 +10:00
dependabot[bot]
24a026527c Bump json_serializable in /experimental/web_dashboard (#1105)
Bumps [json_serializable](https://github.com/google/json_serializable.dart) from 6.1.5 to 6.1.6.
- [Release notes](https://github.com/google/json_serializable.dart/releases)
- [Commits](https://github.com/google/json_serializable.dart/compare/json_serializable-v6.1.5...json_serializable-v6.1.6)

---
updated-dependencies:
- dependency-name: json_serializable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-19 06:44:03 +10:00
dependabot[bot]
7dcd0f21ee Bump firebase_auth from 3.3.12 to 3.3.13 in /experimental/web_dashboard (#1069)
Bumps [firebase_auth](https://github.com/FirebaseExtended/flutterfire) from 3.3.12 to 3.3.13.
- [Release notes](https://github.com/FirebaseExtended/flutterfire/releases)
- [Changelog](https://github.com/firebase/flutterfire/blob/master/CHANGELOG.md)
- [Commits](https://github.com/FirebaseExtended/flutterfire/compare/firebase_auth-v3.3.12...firebase_auth-v3.3.13)

---
updated-dependencies:
- dependency-name: firebase_auth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-11 19:35:42 +10:00
dependabot[bot]
f5c01afcdc Bump grinder from 0.9.0 to 0.9.1 in /experimental/web_dashboard (#1064)
Bumps [grinder](https://github.com/google/grinder.dart) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/google/grinder.dart/releases)
- [Changelog](https://github.com/google/grinder.dart/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/grinder.dart/commits/0.9.1)

---
updated-dependencies:
- dependency-name: grinder
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-07 06:57:37 +10:00
Brett Morgan
3b46646306 flutter pub upgrade --major-versions (#1061) 2022-04-06 11:45:20 +10:00
Brett Morgan
a481c264cd Remove git:// url, update deps, fix destop_photo_search (#1052) 2022-03-19 08:37:04 +10:00
Brett Morgan
affbe89cee experimental/web_dashboard: Drop Android and iOS runners (#978) 2022-01-06 08:32:26 +10:00
Brett Morgan
26d88f1799 Update pubspec.yaml files (#971) 2022-01-05 10:43:14 +10:00
Andrew Brogdon
664b63c03c Updates for 2.8! (#961) 2021-12-09 13:15:57 +10:00
Brett Morgan
be34b0bf43 Centralize analysis options (#957) 2021-12-01 16:49:51 +10:00
Brett Morgan
84e7057abe Update pubspec.yaml files (#958) 2021-12-01 09:33:28 +10:00
Brett Morgan
ddd618f92e Update charts_flutter to 0.12.0 (#951) 2021-11-19 08:21:53 -08:00
Ahmed Ashour
29339b8334 Remove unneeded types (#949) 2021-11-03 09:58:12 -07:00
Brett Morgan
e2b77a4bf1 flutter pub upgrade (#931) 2021-10-13 10:18:41 -07:00
John Ryan
4893a24625 Migrate web dashboard to null safety (#928)
* update dependencies

* Update to cloud_firestore 2.x.x

* run dart migrate

* Fix analyzer warnings from null safety migration

* Fix errors resulting from null safety migration

* Fix info level warnings

* run flutter format

* fix tests

* remove unused import, format
2021-10-12 14:38:34 -07:00
Brett Morgan
994cdb4afa flutter pub upgrade (#926)
* flutter pub upgrade

* `desktop_photo_search`: Remove unneeded `unawaited`

Co-authored-by: John Ryan <ryjohn@google.com>
2021-10-11 14:01:27 -07:00
Brett Morgan
e2e2713986 Enforce use_key_in_widget_constructors and file_names lints (#913)
* Start enforcing use_key_in_widget_constructors and file_names lints

* dart format

* analysis fixes

* analysis fixes, pt2

* analysis fixes, part 3

* Revert platform_design (test failure)

* More reverts

* Notate why we aren't enforcing a lint
2021-10-08 14:30:28 -07: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
Andrew Brogdon
4cac0e6661 Lands beta branch into master for 2.5 (#895) 2021-09-08 17:35:05 -07:00
Brett Morgan
a405fc4a9d Update the dependencies (#815) 2021-06-08 08:15:43 +10:00
Brett Morgan
40abd00a45 Adjust lint rules for experimental/web_dashboard (#820) 2021-06-08 07:48:36 +10:00
Brett Morgan
936d1fdaae Upgrading samples to flutter_lints, part 1 of n (#804) 2021-06-05 12:24:28 +10:00
Andrew Brogdon
376c666f0a Merge beta into master (#799) 2021-05-18 13:35:06 -07:00
Andrew Brogdon
8c1cd0b049 Landing beta changes in master for the new stable release (#747) 2021-03-03 11:44:35 -08: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
Brett Morgan
9b631a2184 Split CI testing based on flutter channels (#651) 2021-01-27 18:42:33 +11:00
Brett Morgan
622e8d55d3 Migrate to the New Material Buttons (#668) 2021-01-27 13:20:50 +11:00
Sashika Nawarathne
4ae90f3aa9 Fix minor warnings (#673) 2021-01-25 12:31:38 +11:00
John Ryan
177efa2443 Fix web_dashboard analysis warnings on beta channel (#663)
fixes #660
2021-01-19 15:53:34 -08:00
Brett Morgan
6e9824dc12 flutter pub update & various fixes (#627) 2020-12-18 10:51:31 +11:00
Brett Morgan
d88f131982 flutter pub upgrade (#524) 2020-08-17 20:40:46 +10:00
John Ryan
3bc860f5df Default to mock version in web_dashboard (#505)
* use named constructors, set default app to mock version

* rename grind tasks
2020-07-28 07:21:12 -07:00
John Ryan
8a9bcfa113 [web_dashboard] add logout (#447)
* logout wip

* Use AnimatedSwitcher, change lingo from "login" to signIn"

* add automatic sign-in

* fix flashing sign in button

* sign out of FirebaseAuth and GoogleSignIn

* formatting

* change isSignedIn() to getter

* Add error handling for sign in

* improve error handling at login screen
2020-06-01 14:39:06 -07:00
John Ryan
395ae8c0bb Add firebase support to web_dashboard (#421)
* add mock data, app state, model classes

* Set up app without ChangeNotifier

* refactor

* add experiments to experimental/

* Add project-agnostic Firebase authentication code

* add sign in button

* add stub firebase API

* add firestore

* refactor code for google_sign_in

* update pubspec.lock

* switch to mocks for non-firebase version

* Add firebase instructions to the README

* fix README

* sign in silently if the user is already signed in

* add json_serializable

* update README

* ignore 'id' field on types

* Implement FirebaseItemApi

* Add build_runner instructions to README

* remove experiments directory

* add EditItemForm

* move types.dart into api.dart

* move mock and firebase configuration into the constructor

* add main_mock entrypoint

* add copyright checks to grinder script

* fix fix-copyright task

* run grind fix-copyright

* add run and generate tasks

* add run tasks to grind script

* add fillWithMockData() fix delete() in mock API

* add edit / new form dialogs

* Add charts that display entries from Firebase

* Add Entries list without editing

* refactor home page

* format

* Add entries page functionality

* Show current day in charts

* cleanup: pubspec.lock, remove type annotation

* Remove _selectedItem from Home page

Add ItemsDropdown
Use ItemsDropdown in NewEntryDialog / NewEntryForm

* rename item-category

* don't wait to show snackbar on delete

* fix circular progress indicator

* Move dialogs into dialogs.dart

* run grind fix-copyright

* remove unused import

* Refactor entry total calculation, add chart_utils library

* fix bug in chart_utils.dart

* convert CategoryChart to a stateless widget

* use a const for number of days in chart

* code review updates

- rename stream -> subscribe
- timeStamp -> timestamp
- remove latest() from API
- use FutureBuilder and StreamBuilder instead of stateful widget
- rename variables in mock_service_test.dart

* use a single collection reference in firebase API

* remove reference to stream in mock API

* Use a new type,  _EntriesEvent to improve filtering in mock API

* add analysis_options.yaml and fix (most) issues

* fix avoid_types_on_closure_parameters lint warnings

* use spread operator in dashboard.dart

* handle case where selected item in the category dropdown goes away

* use StreamBuilder + FutureBuilder on Entries page

* rename method

* use fake firebase configuration

* update pubspec.lock

* update README

* Change categories_dropdown to FutureBuilder + StreamBuilder

* Update minSdkVersion in build.gradle

SDK version 16 was failing: "The number of method references in a .dex
file cannot exceed 64K."

* update README

* Use a collection reference in FirebaseEntryApi

Already added to FirebaseCategoryApi

* Invoke onSelected in CategoriesDropdown when necessary

Also, avoid calling onSelected during a build.

* fix misnamed var

* remove unused import

* Use relative imports

* Use extension methods for DateTime utilities

* remove forms.dart

* Make Firebase instructions specific for this sample

* add copyright headers

* fix grammar

* dartfmt

* avoid setState() during build phase in CategoryDropdown

* add empty test to material_theme_builder
2020-05-26 13:14:21 -07:00
Brett Morgan
baa1f976b2 Samples maintenance (#435) 2020-05-13 09:18:26 +10:00
John Ryan
14b9a8c4c4 Flutter 1.17 updates (#432)
* Material text theme updates & flutter pub upgrade (#411)

* Beta channel updates (#412)

* fix deprecated usages in provider_shopper - beta channel

* fix deprecated usages in animations - beta channel

* fix deprecated usages in provider_counter - beta

* Updates additional samples for beta release (#416)

* use headline6 instead of title

* fix another title -> headline6

Co-authored-by: Brett Morgan <brett.morgan@gmail.com>
Co-authored-by: Andrew Brogdon <RedBrogdon@users.noreply.github.com>
2020-05-06 14:09:15 -07:00
John Ryan
e6c7aaf8c6 Update README.md (#422) 2020-04-27 17:42:47 -07:00