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

+9 -9
View File
@@ -6,12 +6,12 @@ import 'package:cutdex_ui/theme.dart';
import 'dart:async';
import 'package:cutdex/l10n/app_localizations.dart';
import 'package:cutdex_sdk/editor.dart';
import 'package:cutdex_core/editor.dart';
import 'package:cutdex/features/properties/properties_panel.dart';
import 'package:cutdex/workspace/timeline_provider.dart';
import 'package:cutdex/workspace/timeline_session.dart';
import 'package:cutdex_sdk/timeline/model.dart';
import 'package:cutdex_sdk/runtime/contracts.dart';
import 'package:cutdex_core/timeline/model.dart';
import 'package:cutdex_native_flutter/contracts.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:flutter_test/flutter_test.dart';
@@ -58,7 +58,7 @@ void main() {
tester
.getSize(find.byKey(const ValueKey('project-settings-edit')))
.height,
28,
24,
);
final rows = find.byWidgetPredicate(
(widget) => widget.runtimeType.toString() == '_Info',
@@ -86,7 +86,7 @@ void main() {
);
expect(
tester.getRect(value).right,
panelRight - AppInspectorMetrics.padding,
panelRight - AppInspectorMetrics.trailingPadding,
reason: '$locale at $width: ${tester.widget<Text>(value).data}',
);
}
@@ -144,8 +144,8 @@ void main() {
of: find.byWidget(row.widget),
matching: find.byType(Text),
);
expect(tester.getRect(texts.first).left, 12);
expect(tester.getRect(texts.last).right, width - 12);
expect(tester.getRect(texts.first).left, 16);
expect(tester.getRect(texts.last).right, width - 8);
expect(
tester.getTopLeft(texts.first).dy,
closeTo(tester.getTopLeft(texts.last).dy, .01),
@@ -306,7 +306,7 @@ void main() {
expect(find.text('项目设置'), findsNothing);
expect(find.text('3840 × 2160 px'), findsOneWidget);
expect(find.text('29.97 fps'), findsOneWidget);
expect(f.timeline.projectColorSpace, RenderColorSpace.rec2020PQ);
expect(f.timeline.projectOutputColorSpace, RenderColorSpace.rec2020PQ);
expect(
f.timeline.view(SequenceId('one')).format.frameDuration,
RationalTime(1001, 30000),
@@ -316,7 +316,7 @@ void main() {
await tester.pumpAndSettle();
expect(find.text('1080 × 1920 px'), findsOneWidget);
expect(find.text('30 fps'), findsOneWidget);
expect(f.timeline.projectColorSpace, RenderColorSpace.rec709);
expect(f.timeline.projectOutputColorSpace, RenderColorSpace.rec709);
await tester.tap(find.byKey(const ValueKey('project-settings-edit')));
await tester.pumpAndSettle();
await tester.enterText(find.byKey(const ValueKey('project-width')), '1280');