Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: mobile app architecture and initial screens #2144

Merged
merged 168 commits into from
Dec 25, 2024
Merged

feat: mobile app architecture and initial screens #2144

merged 168 commits into from
Dec 25, 2024

Conversation

hyoban
Copy link
Member

@hyoban hyoban commented Dec 13, 2024

Description

PR Type

  • Feature
  • Bugfix
  • Hotfix
  • Other (please describe):

Linked Issues

Additional context

Changelog

  • I have updated the changelog/next.md with my changes.

Copy link

vercel bot commented Dec 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
follow ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 25, 2024 4:06pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
follow-external-ssr ⬜️ Ignored (Inspect) Visit Preview Dec 25, 2024 4:06pm

@follow-reviewer-bot
Copy link

Suggested PR Title:

feat: initialize new Expo mobile application structure

Change Summary:
This PR introduces a new Expo mobile application setup including configurations, layout, and WebView component for loading external URLs. It also adds essential files such as .gitignore, README, and TypeScript configurations to enhance development workflow and project structure.

Code Review:
No change requests necessary.

- Added a new development script for Expo in package.json.
- Refactored the app.config.ts to configure expo-router with a specified root.
- Removed unused files: _layout.tsx, auth.tsx, and index.tsx from the mobile app directory, streamlining the codebase.

Signed-off-by: Innei <tukon479@gmail.com>
- Added new dependencies: nativewind, swiftui-react-native, and tailwindcss to improve styling capabilities.
- Updated react-native-reanimated version to 3.16.5 for better performance.
- Refactored tailwind configuration to use baseTwConfig for consistency across applications.
- Enhanced mobile layout with color scheme toggle functionality and improved button styling.
- Included type definitions for nativewind in shim-env.d.ts.

Signed-off-by: Innei <tukon479@gmail.com>
- Updated tailwind configuration to simplify color definitions, removing unnecessary color mappings and using CSS variables for palette colors.
- Refactored authentication screen to utilize new color scheme and improved styling for better user experience.
- Introduced a function to retrieve current colors based on the system theme, enhancing dynamic styling capabilities.

Signed-off-by: Innei <tukon479@gmail.com>
- Refactored app.config.ts to use resolved paths for icon assets, improving path management.
- Enhanced RootLayout component by adding additional Stack.Screen elements for better navigation structure.
- Removed unused authentication and index screens to streamline the codebase and improve maintainability.

Signed-off-by: Innei <tukon479@gmail.com>
- Introduced multiple new icon components for enhanced UI representation in the mobile app.
- Updated package.json and pnpm-lock.yaml to include new dependencies and ensure proper package management.
- Refactored mobile screens (_layout.tsx, home.tsx, auth.tsx) for improved structure and navigation.

Signed-off-by: Innei <tukon479@gmail.com>
Signed-off-by: Innei <tukon479@gmail.com>
- Added '@follow/hooks' and 'usehooks-ts' as workspace dependencies in pnpm-lock.yaml and package.json.
- Refactored AccordionItem to use withSpring for improved animation performance.
- Introduced SubscriptionItemContextMenu for better context menu handling in feed list.
- Updated subscription model to handle 'isPrivate' as a boolean.
- Enhanced subscription store with new utility functions for managing subscription IDs and added patch functionality.
- Improved reset functionality in subscription store to clear state by view.

Signed-off-by: Innei <tukon479@gmail.com>
Innei and others added 2 commits December 25, 2024 22:05
- Replaced direct usage of process.env.EXPO_PUBLIC_API_URL with a new getApiUrl() function across multiple files for improved maintainability.
- Updated SubscriptionItemContextMenu to SubscriptionFeedItemContextMenu for better clarity in context menu handling.
- Implemented a delete method in SubscriptionService to handle subscription removals and associated cleanup for feeds, lists, and inboxes.
- Enhanced the unsubscribe functionality in SubscriptionSyncService to ensure proper state management during subscription deletions.

Signed-off-by: Innei <tukon479@gmail.com>
- Added a new migration script (m0004) for "majestic_thunderbolt_ross" to the SQLite migrations.
- Updated the journal JSON to include the new migration entry.
- Introduced a new users table schema to manage user data, including fields for id, email, handle, name, image, and isMe.
- Refactored context menu actions in feeds to improve clarity and functionality.
- Removed deprecated feed list components and consolidated related logic for better maintainability.
- Updated RootProviders to ensure proper context management across the application.

Signed-off-by: Innei <tukon479@gmail.com>
- Updated the AppRootLayout to include modal presentation for the "Add Subscription" screen.
- Refactored the Add screen to improve navigation and user interaction, including a new header with close and search icons.
- Introduced a state for managing the feed URL input, enhancing the user interface with appropriate styles and functionality.
- Added new color handling in the theme to support disabled states and improve accessibility.

Signed-off-by: Innei <tukon479@gmail.com>
…e support

- Modified the className of the URL input field in the Add screen to enhance its appearance in dark mode, ensuring better visibility and user experience.

Signed-off-by: Innei <tukon479@gmail.com>
…nteraction

- Added application category type to the iOS infoPlist for better app classification.
- Increased hitSlop on the AnimatedTouchableOpacity in the subscription list for improved touch responsiveness.
- Un-commented the DebugButton in the layout to ensure it is always visible for debugging purposes.

These changes aim to enhance the user experience and improve app visibility in app stores.

Signed-off-by: Innei <tukon479@gmail.com>
@Innei Innei changed the title feat: mobile app feat: mobile app architecture and initial screens Dec 25, 2024
@Innei Innei marked this pull request as ready for review December 25, 2024 16:05
@Innei Innei merged commit 4b6a0fc into dev Dec 25, 2024
8 of 11 checks passed
@Innei Innei deleted the feat/mobile branch December 25, 2024 16:06
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