Skip to content

Conversation

jekuipers
Copy link
Collaborator

@jekuipers jekuipers commented Oct 13, 2025

This pull request removes all usage and dependencies on the Swiper library from the application. The Swiper-based carousels and their related initialization logic have been replaced with simpler, native HTML structures and Angular code. This streamlines the codebase, reduces complexity, and eliminates an external dependency.

Dependency and Library Removal

  • Removed the Swiper library from package.json, eliminating it as a project dependency.
  • Deleted all Swiper-related imports and registration code from app.module.ts and relevant components. [1] [2] [3] [4]

Component Refactoring

  • Refactored the NewAssessmentComponent and SearchPageComponent to remove Swiper initialization logic, including DOM queries, configuration, and MutationObserver code. [1] [2] [3] [4]
  • Updated the search-page.component.html template to remove Swiper-specific elements (swiper-container, swiper-slide) and replaced them with standard HTML structures for displaying cards. [1] [2]

@itsmostafa itsmostafa merged commit 71f962e into develop Oct 13, 2025
6 checks passed
@itsmostafa itsmostafa deleted the remove-swiper branch October 13, 2025 21:50
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