clide is an IDE for the Claude Code CLI. The previous tagline "Flutter desktop IDE for Claude Code" overemphasized the host toolkit (Flutter is implementation detail, immediately obvious to contributors) and was ambiguous about whether the integration target is the CLI specifically. Updates the welcome subtitle (i18n catalog + widget test + view), the project description in pubspec.yaml, README and CLAUDE.md, the CLI banner, and the web manifest/index. Co-Authored-By: Claude <noreply@anthropic.com>
52 lines
1.7 KiB
Dart
52 lines
1.7 KiB
Dart
import 'dart:ui';
|
|
|
|
import 'package:clide/builtin/welcome/welcome.dart';
|
|
import 'package:clide/builtin/welcome/src/welcome_view.dart';
|
|
import 'package:clide/extension/extension.dart';
|
|
import 'package:clide/kernel/kernel.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
import 'package:flutter_test/flutter_test.dart';
|
|
|
|
import '../../helpers/kernel_fixture.dart';
|
|
import '../../helpers/widget_harness.dart';
|
|
|
|
void main() {
|
|
group('WelcomeExtension', () {
|
|
late KernelFixture f;
|
|
|
|
setUp(() async {
|
|
f = await KernelFixture.create(
|
|
i18nCatalogs: {
|
|
'builtin.welcome': {
|
|
const Locale('en', 'US'): const {
|
|
'title': {'translation': 'clide'},
|
|
'subtitle': {'translation': 'IDE for Claude Code CLI'},
|
|
'open-project': {'translation': 'Open project'},
|
|
'open-project.hint': {'translation': 'Pick a git repository'},
|
|
'tab.title': {'translation': 'Welcome'},
|
|
},
|
|
},
|
|
},
|
|
);
|
|
});
|
|
|
|
tearDown(() async => f.dispose());
|
|
|
|
test('contributes a workspace tab with an i18n title key', () {
|
|
final ext = WelcomeExtension();
|
|
final tabs = ext.contributions.whereType<TabContribution>().toList();
|
|
expect(tabs, hasLength(1));
|
|
expect(tabs.first.slot, Slots.workspace);
|
|
expect(tabs.first.titleKey, 'tab.title');
|
|
expect(tabs.first.i18nNamespace, ext.id);
|
|
});
|
|
|
|
testWidgets('WelcomeView renders title + subtitle + start actions', (tester) async {
|
|
await tester.pumpWidget(harness(f, const WelcomeView()));
|
|
expect(find.text('clide'), findsOneWidget);
|
|
expect(find.text('IDE for Claude Code CLI'), findsOneWidget);
|
|
expect(find.text('Open folder…'), findsOneWidget);
|
|
});
|
|
});
|
|
}
|