Merge pull request #21 from Iconica-Development/update-component-documentation-workflow-correct

Add component-documentation.yml correct
This commit is contained in:
Freek van de Ven 2024-02-13 16:32:19 +01:00 committed by GitHub
commit 1e1241bdf9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 24 additions and 8 deletions

View file

@ -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

View file

@ -32,7 +32,8 @@ class MyHomePage extends StatefulWidget {
}
class _MyHomePageState extends State<MyHomePage> {
var timelineService = TimelineService(postService: LocalTimelinePostService());
var timelineService =
TimelineService(postService: LocalTimelinePostService());
var timelineOptions = options;
@override

View file

@ -10,7 +10,8 @@ import 'package:go_router/go_router.dart';
List<GoRoute> getTimelineStoryRoutes({
TimelineUserStoryConfiguration? configuration,
}) {
var config = configuration ?? TimelineUserStoryConfiguration(
var config = configuration ??
TimelineUserStoryConfiguration(
userId: 'test_user',
service: TimelineService(
postService: LocalTimelinePostService(),