mirror of
https://github.com/appen-isen/studysen.git
synced 2026-05-09 08:25:23 +02:00
[PR #87] [MERGED] feat(refresh): add pull-to-refresh functionality to screens #89
Labels
No labels
bug
bug
bug
enhancement
pull-request
suggestion
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/studysen#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/appen-isen/studysen/pull/87
Author: @BreizhHardware
Created: 10/17/2025
Status: ✅ Merged
Merged: 10/17/2025
Merged by: @BreizhHardware
Base:
dev← Head:fix/allow-force-refresh📝 Commits (1)
56b9822feat(refresh): add pull-to-refresh functionality to screens📊 Changes
13 files changed (+143 additions, -23 deletions)
View changed files
➕
.prettierignore(+11 -0)📝
app/(tabs)/index.tsx(+22 -2)📝
app/(tabs)/notes.tsx(+28 -2)📝
app/(tabs)/planning.tsx(+34 -2)📝
components/ExternalLink.tsx(+1 -1)📝
components/Page.tsx(+2 -1)📝
components/Sheet.tsx(+19 -7)📝
package-lock.json(+17 -0)📝
package.json(+3 -1)📝
services/syncService.ts(+1 -1)📝
stores/sessionStore.ts(+1 -1)📝
stores/telemetryStore.ts(+2 -3)📝
webAurion/utils/PlanningUtils.ts(+2 -2)📄 Description
This pull request adds pull-to-refresh support across the main app screens and introduces Prettier for code formatting, along with some minor code cleanups. The most significant changes are the implementation of the pull-to-refresh feature in the Home, Notes, and Planning screens, and the addition of Prettier configuration and scripts for consistent code style.
User-facing features:
index.tsx), Notes (notes.tsx), and Planning (planning.tsx) screens, enabling users to manually trigger data synchronization by pulling down on the page. This uses theRefreshControlcomponent and the sharedsyncDatalogic. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]Developer experience & tooling:
.prettierignorefile and aprettyscript inpackage.jsonfor easy formatting. [1] [2] [3]Pagecomponent to accept arefreshControlprop, enabling screens to easily add pull-to-refresh support. [1] [2]Code quality and minor cleanups:
syncDatafromsyncService.tsso it can be used in multiple screens.As seen with @dd060606 it should fix the issue of not sync on IOS devices.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.