Skip to content

chore: remove unnecessary dependencies from example app - #1175

Merged
troZee merged 2 commits into
mainfrom
chore/cleanup-deps
Oct 13, 2026
Merged

troZee merged 2 commits into
mainfrom
chore/cleanup-deps

Conversation

@krozniata

Copy link
Copy Markdown
Member

Summary

Removes unused dependencies and rewrites simple dots component to custom one to avoid using RNSVG

Copilot AI balanced review requested due to automatic review settings October 13, 2026 07:49
@krozniata
krozniata marked this pull request as ready for review October 13, 2026 07:53

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The sliding indicators do not correctly track pages when the example app runs in RTL mode.

1 open finding
What changed in this PR

Removes unused example-app dependencies and replaces SVG-based pagination indicators with native React Native views.

Changes:

  • Adds custom animated pagination-dot components.
  • Removes gesture-handler, SVG, and pagination-dot dependencies.
  • Updates native lockfiles and provider wrappers.
File Description
example/​src/​PaginationDotsExample.tsx Uses custom pagination indicators.
example/​src/​component/​PaginationDots.tsx Implements four animated indicators.
example/​src/​component/​NavigationPanel/​LogsPanel.tsx Uses React Native’s FlatList.
example/​src/​App.tsx Removes the gesture-handler root wrapper.
example/​package.json Removes unused dependencies.
example/​ios/​Podfile Removes obsolete RNSVG workaround.
example/​ios/​Podfile.lock Removes deleted native pods.
bun.lock Updates resolved dependencies.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

const BORDER_SIZE = 20;

export function SlidingBorder({ progress, count, testID }: Props) {
const translateX = Animated.multiply(progress, BORDER_SIZE);
@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🟢 e2e: 14 passed

All 14 tests in 10 files
Test Time
🟢 tests/basic-pager.e2e.ts · 3 passed 1m 46s
🟢 basic pager › in LTR › pages horizontally 38.6s
🟢 basic pager › in LTR › pages vertically 23.8s
🟢 basic pager › in RTL › pages horizontally with the reversed gesture 43.5s
🟢 tests/issues/issue-1083-modal-set-page.e2e.ts · 1 passed 15.6s
🟢 setPage called behind a native-stack modal lands on the requested page 15.6s
🟢 tests/issues/issue-1098-nested-pager.e2e.ts · 1 passed 14.6s
🟢 outer pager stays responsive after its page count changes around a nested pager 14.6s
🟢 tests/issues/issue-1154-page-change-focus.e2e.ts · 3 passed 45.5s
🟢 leaving a page with setPage blurs its input 14.4s
🟢 leaving a page with a swipe blurs its input 11.8s
🟢 an input focused on the new page keeps focus 19.3s
🟢 tests/material-top-bar.e2e.ts · 1 passed 11.8s
🟢 material top tabs survive a native-stack push and pop 11.8s
🟢 tests/nested-pager-view.e2e.ts · 1 passed 11.2s
🟢 nested horizontal and vertical pagers scroll independently 11.2s
🟢 tests/on-page-selected.e2e.ts · 1 passed 13.0s
🟢 onPageSelected fires an alert for every page change 13.0s
🟢 tests/scrollable-pager-view.e2e.ts · 1 passed 16.8s
🟢 pager inside a ScrollView keeps its page across vertical scrolls 16.8s
🟢 tests/smoke.e2e.ts · 1 passed 8.8s
🟢 horizontal pager pages with the panel buttons 8.8s
🟢 tests/tab-view-inside-scroll-view.e2e.ts · 1 passed 13.3s
🟢 TabView inside a ScrollView swipes tabs and scrolls the page 13.3s

e2e 0.18.0 · 4m 18s · android · run artifacts

@github-actions

github-actions Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

🟢 e2e: 13 passed

All 13 tests in 11 files
Test Time
🟢 tests/basic-pager.e2e.ts · 3 passed 2m 7s
🟢 basic pager › in LTR › pages horizontally 48.8s
🟢 basic pager › in LTR › pages vertically 31.8s
🟢 basic pager › in RTL › pages horizontally with the reversed gesture 46.6s
🟢 tests/issues/issue-1083-modal-set-page.e2e.ts · 1 passed 16.4s
🟢 setPage called behind a native-stack modal lands on the requested page 16.4s
🟢 tests/issues/issue-1096-keyboard-shrink.e2e.ts · 1 passed 21.9s
🟢 keyboard avoidance does not shrink the page under the keyboard 21.9s
🟢 tests/issues/issue-1098-nested-pager.e2e.ts · 1 passed 18.2s
🟢 outer pager stays responsive after its page count changes around a nested pager 18.2s
🟢 tests/issues/issue-1142-search-bar-inset.e2e.ts · 1 passed 24.6s
🟢 FlatList inside the pager gets the search bar safe-area insets 24.6s
🟢 tests/material-top-bar.e2e.ts · 1 passed 24.4s
🟢 material top tabs survive a native-stack push and pop 24.4s
🟢 tests/nested-pager-view.e2e.ts · 1 passed 17.5s
🟢 nested horizontal and vertical pagers scroll independently 17.5s
🟢 tests/on-page-selected.e2e.ts · 1 passed 19.3s
🟢 onPageSelected fires an alert for every page change 19.3s
🟢 tests/scrollable-pager-view.e2e.ts · 1 passed 28.0s
🟢 pager inside a ScrollView keeps its page across vertical scrolls 28.0s
🟢 tests/smoke.e2e.ts · 1 passed 10.7s
🟢 horizontal pager pages with the panel buttons 10.7s
🟢 tests/tab-view-inside-scroll-view.e2e.ts · 1 passed 19.2s
🟢 TabView inside a ScrollView swipes tabs and scrolls the page 19.2s

e2e 0.18.0 · 5m 29s · ios · run artifacts

@troZee
troZee merged commit d4d7466 into main Oct 13, 2026
7 checks passed
@troZee
troZee deleted the chore/cleanup-deps branch October 13, 2026 08:59
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.

3 participants