Skip to content

Conversation

@srajupusapati
Copy link
Contributor

Jira: https://2u-internal.atlassian.net/browse/GSDM-169

Removed PSPDF Kit library from complete project including teacher and parent builds along with student build

Copilot AI review requested due to automatic review settings November 27, 2025 05:41
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the PSPDFKit library completely from all three apps (teacher, student, and parent) in the Canvas Android project. The removal includes dependency configurations, annotation-related classes, PDF viewing functionality, and UI components related to PDF annotation features.

Key Changes:

  • Dependency removal: PSPDFKit removed from build.gradle files across all modules and Maven repository configuration removed
  • Code deletion: Complete removal of PSPDFKit-related classes including annotation converters, comment fragments, and PDF-specific views
  • String resource cleanup: Removal of PSPDFKit-specific string resources across all locales (40+ language files)
  • UI/theme cleanup: Removal of PSPDFKit theme configurations and UI components from layouts and styles

Reviewed changes

Copilot reviewed 96 out of 96 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
apps/build.gradle Removed PSPDFKit Maven repository configuration
apps/buildSrc/src/main/java/GlobalDependencies.kt Removed PSPDFKit version constant and dependency declaration
apps/teacher/build.gradle Removed PSPDFKit license key build config field
apps/teacher/proguard-rules.txt Removed PSPDFKit ProGuard rules
apps/teacher/src/main/AndroidManifest.xml Removed SpeedGraderActivity with PSPDFKit theme
apps/teacher/src/main/res/values*.xml Removed PSPDFKit theme styles and related UI styling
apps/teacher/src/main/res/layout/*.xml Removed PSPDFKit UI coordinator layouts from submission views
apps/teacher/src/main/java/.../SubmissionContentView.kt Removed PDF submission handling, annotation listeners, and related functionality
apps/teacher/src/main/java/.../fragments/*.kt Commented out PSPDFKit-related event handlers and removed PDF fragment usage
apps/teacher/src/main/java/.../PSPDFKit/**/*.kt Deleted all annotation comment-related classes
apps/teacher/src/main/java/.../utils/*.kt Removed PSPDFKit initialization and imports
apps/student/src/main/java/.../AnnotationComments/*.kt Deleted student app annotation comment classes
apps/student/src/androidTest/.../PdfInteractionTest.kt Removed test for PSPDFKit annotation toolbar
apps/parent/src/main/java/.../AppManager.kt Commented out Pendo initialization (appears unintentional)
apps/parent/proguard-rules.txt Removed PSPDFKit ProGuard rules
libs/annotations/build.gradle Removed PSPDFKit dependency and Maven repository
libs/annotations/src/main/java/**/*.kt Deleted annotation converter, PDF menu grouping, and document listener classes
libs/annotations/src/main/res/values*/strings.xml Removed PSPDFKit-specific strings across all localizations
libs/pandautils/src/main/java/.../OpenMediaAsyncTaskLoader.kt Removed PDF-specific intent handling condition
libs/pandautils/src/main/java/.../AnalyticsConsts.kt Removed PSPDFKit screen view constant

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@srajupusapati srajupusapati self-assigned this Nov 27, 2025
@srajupusapati srajupusapati added the enhancement New feature or request label Nov 27, 2025
@srajupusapati srajupusapati merged commit 88ecfb3 into master Dec 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant