Move editor UI into the app and release verified Core dependencies (#14)
Gitea CI / Assemble and validate CI artifacts (push) Successful in 1m47s
Gitea CI / Check code and tests (push) Successful in 7m15s
Gitea CI / Build Android APK (push) Successful in 4m6s
Gitea CI / Build Windows x64 app (push) Successful in 3m34s
Gitea CI / Audit and package Windows x64 (push) Successful in 1m29s
Gitea CI / Gitea CI passed (push) Successful in 1s
Gitea Release / Prepare draft Release (push) Failing after 8s
Gitea Release / Upload Android to draft Release (push) Skipped
Gitea Release / Upload Windows to draft Release (push) Skipped
Gitea Release / Verify and publish Release (push) Skipped

This commit was merged in pull request #14.
This commit is contained in:
lingjhf committed 2026-10-11 19:59:40 +00:00
1 parent abc1868550
commit 06f1c26681
452 files changed
+43806 -2329

No files matched your search

+17 -9
View File
@@ -3,7 +3,7 @@ import 'package:cutdex/features/preview/preview_panel.dart';
import 'package:cutdex/features/properties/properties_panel.dart';
import 'package:cutdex/l10n/app_localizations.dart';
import 'package:cutdex/workspace/timeline_provider.dart';
import 'package:cutdex_sdk/timeline/model.dart';
import 'package:cutdex_core/timeline/model.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart';
@@ -12,7 +12,7 @@ import 'support/preview_fixture.dart';
void main() {
testWidgets(
'property categories restore scroll and expansion independently',
'property categories restore scroll independently and keep color controls visible',
(tester) async {
final f = (await tester.runAsync(
() => createPreviewFixture(Uri.file('/test/video.mov'), hasAudio: true),
@@ -76,7 +76,7 @@ void main() {
await tester.pumpAndSettle();
expect(tester.takeException(), isNull);
expect(find.byKey(const Key('media-color-menu')), findsNothing);
await tester.tap(find.text('素材色彩解释'));
await tester.tap(find.byKey(const ValueKey('property-tab-color')));
await tester.pumpAndSettle();
expect(find.byKey(const Key('media-color-menu')), findsOneWidget);
@@ -84,7 +84,7 @@ void main() {
await tester.tap(find.byKey(const ValueKey('property-tab-audio')));
await tester.pumpAndSettle();
expect(tester.takeException(), isNull);
await tester.tap(find.byKey(const ValueKey('property-tab-picture')));
await tester.tap(find.byKey(const ValueKey('property-tab-color')));
await tester.pumpAndSettle();
expect(tester.takeException(), isNull);
}
@@ -106,19 +106,27 @@ void main() {
await switchBack();
expect(find.byKey(const Key('media-color-menu')), findsOneWidget);
await tester.tap(find.byKey(const ValueKey('property-tab-picture')));
await tester.pumpAndSettle();
expect(find.byKey(const Key('media-color-menu')), findsNothing);
expect(find.text('素材色彩解释'), findsNothing);
position().jumpTo(55);
await tester.pumpAndSettle();
expect(position().pixels, 55);
await switchBack();
expect(position().pixels, 55);
await tester.tap(find.byKey(const ValueKey('property-tab-color')));
await tester.pumpAndSettle();
expect(position().pixels, 0);
expect(find.byKey(const Key('media-color-menu')), findsOneWidget);
await tester.tap(find.byKey(const ValueKey('property-tab-picture')));
await tester.pumpAndSettle();
expect(position().pixels, 55);
await tester.tap(find.byKey(const ValueKey('property-tab-color')));
await tester.pumpAndSettle();
position().jumpTo(0);
await tester.pumpAndSettle();
await tester.tap(find.text('素材色彩解释'));
await tester.pumpAndSettle();
await switchBack();
expect(find.byKey(const Key('media-color-menu')), findsNothing);
expect(find.byKey(const Key('media-color-menu')), findsOneWidget);
expect(position().pixels, 0);
await tester.pumpWidget(const SizedBox());
},