feat(workspace): add workflow navigation and resizable desktop panels

This commit is contained in:
lingjhf committed 2026-10-09 19:23:49 +08:00
1 parent 02413383d8
commit 1acfe4a005
17 files changed
+2008 -277

No files matched your search

+5 -6
View File
@@ -131,7 +131,7 @@ void main() {
.top,
),
);
expect(settingsRect.left - navigationRect.right, 6);
expect(settingsRect.left - navigationRect.right, 2);
expect(settingsRect.top, navigationRect.top);
expect(settingsRect.bottom, navigationRect.bottom);
expect(find.byKey(const Key('settings-sidebar-divider')), findsNothing);
@@ -885,13 +885,13 @@ void main() {
.textStyle!
.resolve({})!
.fontSize,
13,
11,
);
final projectTabFinder = find.byKey(
const ValueKey('timeline-tab-project'),
);
final tabRect = tester.getRect(projectTabFinder);
expect(tabRect.height, 26);
expect(tabRect.height, 24);
for (final key in ['timeline-add-button', 'timeline-list-button']) {
final buttonRect = tester.getRect(find.byKey(Key(key)));
expect(buttonRect.height, tabRect.height);
@@ -901,7 +901,7 @@ void main() {
expect(
tester.getRect(find.byKey(const Key('timeline-tabs-bar'))).right -
tester.getRect(find.byKey(const Key('timeline-list-button'))).right,
4,
8,
);
expect(
tester
@@ -909,8 +909,7 @@ void main() {
.style!
.backgroundColor!
.resolve({}),
Theme.of(tester.element(projectTabFinder)).colorScheme.primary
.withValues(alpha: .12),
Theme.of(tester.element(projectTabFinder)).colorScheme.surfaceContainer,
);
expect(find.byKey(const ValueKey('timeline-tab-second')), findsOneWidget);
final tabs = find.byKey(const Key('timeline-tabs-list'));