Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 2, 2025

Description

Why

Update the paper Gallery app to react-native-windows 0.81.0-preview.6, following the pattern established in PR #571. Additionally, disable certain community modules that are not needed in the Paper Gallery app to reduce dependencies.

Resolves #577

What

  • package.json - Version bumps:

    • react-native: 0.80.0 → 0.81.0-nightly-20250709-6892dde36 (matches react-native-windows peerDependency)
    • react-native-windows: 0.80.0 → 0.81.0-preview.6
    • @react-native/babel-preset, @react-native/eslint-config, @react-native/metro-config, @react-native/typescript-config: 0.80.0 → 0.81.0-nightly-20250709-6892dde36
  • windows/rngallery/Package.appxmanifest - Incremented version: 2.0.0.0 → 2.0.1.0

  • windows/rngallery/rngallery.vcxproj - Updated version comment to 0.81.0-preview.6

  • yarn.lock - Regenerated with updated dependencies

Screenshots

image

N/A - Dependency version update and module disabling only

Original prompt

This section details on the original issue you should resolve

<issue_title>[Paper] Update the paper Gallery app to 0.81.0-preview.6</issue_title>
<issue_description>Refer this PR and update the paper app to 0.81.0-preview.6 https://github.com/microsoft/react-native-gallery/pull/571/files
You would need to update the package.json as listed in above PR.
The diff should be similar.

update minor version here windows/rngallery/Package.appxmanifest increment by 1

update comment in this file to point to latest current version windows/rngallery/rngallery.vcxproj</issue_description>

<agent_instructions>update the paper app to 0.81.0-preview.6 by referring the issue description</agent_instructions>

Comments on the Issue (you are @copilot in this section)


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

Microsoft Reviewers: Open in CodeFlow

Copilot AI changed the title [WIP] Update paper app to version 0.81.0-preview.6 [Paper] Update the paper Gallery app to 0.81.0-preview.6 Dec 2, 2025
Copilot AI requested a review from vineethkuttan December 2, 2025 06:53
Copilot finished work on behalf of vineethkuttan December 2, 2025 06:53
@vineethkuttan
Copy link
Contributor

vineethkuttan commented Dec 3, 2025

@copilot remove below community modules from Paper Gallery app - just comment those lines in tsx and autolink so that the project doesn't include these:

  1. ReactNativeWebview
  2. ReactNativePicker
  3. RNDeviceInfoCPP
  4. RNSVG

Copy link
Contributor Author

Copilot AI commented Dec 3, 2025

@copilot remove below community modules from Paper Gallery app - just comment those lines in tsx and autolink so that the project doesn't include these:

  1. ReactNativeWebview
  2. ReactNativePicker
    ...

Done! I've commented out the following community modules so they won't be included in the Paper Gallery app:

  1. ReactNativeWebview (WebViewExamplePage.tsx)
  2. ReactNativePicker (PickerExamplePage.tsx)
  3. RNDeviceInfoCPP (DeviceInfoExamplePage.tsx)
  4. RNSVG (SvgExamplePage.tsx)

The imports, example code, and JSX usage have been commented out in each example file, and the pages have been commented out in RNGalleryList.ts so they won't appear in the navigation. The project will no longer try to autolink these modules.

Commit: 5849974

Copilot AI changed the title [Paper] Update the paper Gallery app to 0.81.0-preview.6 [Paper] Update the paper Gallery app to 0.81.0-preview.6 and disable community modules Dec 3, 2025
Copilot finished work on behalf of vineethkuttan December 3, 2025 08:05
@vineethkuttan vineethkuttan force-pushed the copilot/update-paper-app-to-0810-preview6 branch from 59c13fc to 67a6f3d Compare December 6, 2025 10:23
Vineeth K and others added 2 commits December 6, 2025 19:19
the tests are failing because components are trying to use useTheme() from React Navigation, but they're not wrapped in a NavigationContainer.
@vineethkuttan vineethkuttan marked this pull request as ready for review December 6, 2025 15:38
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.

[Paper] Update the paper Gallery app to 0.81.0-preview.6

2 participants