From 115884a0f41ba4d128a3ac3663620800a19d6f00 Mon Sep 17 00:00:00 2001 From: Vick Top Date: Tue, 13 Feb 2024 13:36:13 +0100 Subject: [PATCH 1/2] feat(documentation): Create component-documentation.yml workflow file --- .github/workflows/component-documentation.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/component-documentation.yml diff --git a/.github/workflows/component-documentation.yml b/.github/workflows/component-documentation.yml new file mode 100644 index 0000000..c12e46a --- /dev/null +++ b/.github/workflows/component-documentation.yml @@ -0,0 +1,14 @@ +name: Iconica Standard Component Documentation Workflow +# Workflow Caller version: 1.0.0 + +on: + release: + types: [published] + + workflow_dispatch: + +jobs: + call-iconica-component-documentation-workflow: + uses: Iconica-Development/.github/.github/workflows/component-documentation.yml@master + secrets: inherit + permissions: write-all From 604c082827e91ce43b666144baf421e29e6aa28c Mon Sep 17 00:00:00 2001 From: Vick Top Date: Tue, 13 Feb 2024 16:16:39 +0100 Subject: [PATCH 2/2] fix(ci): run dart format and flutter analyze --- .../example/lib/apps/widgets/app.dart | 3 ++- .../lib/src/flutter_timeline_userstory.dart | 15 ++++++++------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/packages/flutter_timeline/example/lib/apps/widgets/app.dart b/packages/flutter_timeline/example/lib/apps/widgets/app.dart index 1ac4aad..2292e17 100644 --- a/packages/flutter_timeline/example/lib/apps/widgets/app.dart +++ b/packages/flutter_timeline/example/lib/apps/widgets/app.dart @@ -32,7 +32,8 @@ class MyHomePage extends StatefulWidget { } class _MyHomePageState extends State { - var timelineService = TimelineService(postService: LocalTimelinePostService()); + var timelineService = + TimelineService(postService: LocalTimelinePostService()); var timelineOptions = options; @override diff --git a/packages/flutter_timeline/lib/src/flutter_timeline_userstory.dart b/packages/flutter_timeline/lib/src/flutter_timeline_userstory.dart index a40b7b1..4bac55c 100644 --- a/packages/flutter_timeline/lib/src/flutter_timeline_userstory.dart +++ b/packages/flutter_timeline/lib/src/flutter_timeline_userstory.dart @@ -10,13 +10,14 @@ import 'package:go_router/go_router.dart'; List getTimelineStoryRoutes({ TimelineUserStoryConfiguration? configuration, }) { - var config = configuration ?? TimelineUserStoryConfiguration( - userId: 'test_user', - service: TimelineService( - postService: LocalTimelinePostService(), - ), - optionsBuilder: (context) => const TimelineOptions(), - ); + var config = configuration ?? + TimelineUserStoryConfiguration( + userId: 'test_user', + service: TimelineService( + postService: LocalTimelinePostService(), + ), + optionsBuilder: (context) => const TimelineOptions(), + ); return [ GoRoute(