Skip to content

Add copyright information page with navigation#15

Draft
Copilot wants to merge 4 commits into
mainfrom
copilot/add-copyright-information-page
Draft

Add copyright information page with navigation#15
Copilot wants to merge 4 commits into
mainfrom
copilot/add-copyright-information-page

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Oct 29, 2025

Adds a dedicated copyright information page accessible from the main roulette screen.

Changes

New Copyright Screen

  • lib/screens/copyright_screen.dart: Full-screen copyright page with app info, license details, and Flutter's built-in license viewer integration
  • Routing: Extended main.dart to handle /copyright route alongside existing / route

Navigation Updates

  • Main Screen: Added copyright button alongside existing "Copy URL" button in horizontal layout
  • Back Navigation: Copyright screen includes proper app bar with back button

Internationalization

  • English/Dutch: Added copyright-related strings to intl_en.arb and intl_nl.arb
  • Localized Content: Copyright text, button labels, and page titles support both languages

Usage

Users click the "Copyright" button on the main screen to view application copyright information and access third-party licenses via the integrated license viewer.

// New route handling in main.dart
onGenerateRoute: (settings) {
  switch (settings.name) {
    case '/copyright':
      return CustomPageRoute(builder: (context) => const CopyrightScreen(), settings: settings);
    case '/':
    default:
      return CustomPageRoute(builder: (context) => const RouletteScreen(), settings: settings);
  }
},

Test Coverage

  • test/copyright_screen_test.dart: Copyright page display and localization
  • test/navigation_test.dart: Route navigation between screens
Original prompt

Please add a new page that shows copyright information


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 3 commits October 29, 2025 14:30
… tests

Co-authored-by: JesseRiemens <33691143+JesseRiemens@users.noreply.github.com>
Co-authored-by: JesseRiemens <33691143+JesseRiemens@users.noreply.github.com>
Co-authored-by: JesseRiemens <33691143+JesseRiemens@users.noreply.github.com>
Copilot AI changed the title [WIP] Add new page for copyright information Add copyright information page with navigation Oct 29, 2025
Copilot AI requested a review from JesseRiemens October 29, 2025 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants