Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion client/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,7 @@ app.*.map.json
/android/app/release

# Config.
google-services.json
google-services.json

# Tests.
test/data/files
Comment on lines +50 to +51
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test/data/files is added to .gitignore, but the new FileMetadataService tests expect files under test/data/files/. Ignoring this directory prevents committing the required fixtures and will make the tests fail for anyone without local copies. Remove this ignore entry or move fixtures to a committed location (or use inlined/generated bytes in tests).

Suggested change
# Tests.
test/data/files
# Tests.

Copilot uses AI. Check for mistakes.
9 changes: 3 additions & 6 deletions client/lib/pages/library_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import 'package:papyrus/widgets/library/book_list_item.dart';
import 'package:papyrus/widgets/library/library_drawer.dart';
import 'package:papyrus/widgets/library/library_filter_chips.dart';
import 'package:papyrus/widgets/search/library_search_bar.dart';
import 'package:papyrus/widgets/add_book/add_book_choice_sheet.dart';
import 'package:papyrus/widgets/shared/empty_state.dart';
import 'package:provider/provider.dart';

Expand Down Expand Up @@ -195,9 +196,7 @@ class _LibraryPageState extends State<LibraryPage> {
),
),
floatingActionButton: FloatingActionButton(
onPressed: () {
// TODO: Add book action
},
onPressed: () => AddBookChoiceSheet.show(context),
child: const Icon(Icons.add),
),
);
Expand Down Expand Up @@ -398,9 +397,7 @@ class _LibraryPageState extends State<LibraryPage> {

Widget _buildAddBookButton(double height) {
return FilledButton.icon(
onPressed: () {
// TODO: Add book action
},
onPressed: () => AddBookChoiceSheet.show(context),
icon: const Icon(Icons.add),
label: const Text('Add book'),
style: FilledButton.styleFrom(minimumSize: Size(0, height)),
Expand Down
Loading
Loading