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: add extensions browsing view #4

Merged
merged 24 commits into from
Nov 7, 2024
Merged

Conversation

LightInn
Copy link
Contributor

@LightInn LightInn commented Nov 7, 2024

No description provided.

Added .idea/ to .gitignore. Updated README with Deno and Tauri CLI installation instructions.
Refactored component imports in App.tsx for Browse, Extensions, NavBar, NavItem, More. Added Youn page import. Included global CSS reset in new global.css file.
- Updated Browse page to use the Link component from react-router-dom for navigation. Removed redundant code for listing extensions.
- Added a new component for browsing extensions
- Implemented loading animation styles for infinite scroll loader
Added a background color to the body element in global.css file.
Update import path for the App component in index.tsx.
Updated import statement to use 'MangaDetails' instead of 'Youn'. Added a new route '/read/:id' with the element <MangaDetails />.
Update dependency versions in deno.json for various packages.
Added a new component to display manga images with fallback image support.
- Added Source import to Extension
- Implemented MangaImage component in ExtensionBrowse page for manga covers.
Implemented a new component to show manga details, including cover images and titles in a grid layout. Added functionality for infinite scrolling to load more manga entries dynamically.
Refactor Browse component to use new service functions for fetching extensions and icon URLs. Simplified useEffect hook for better readability and maintainability.
Update import paths to remove file extensions and adjust folder structure for better organization.
- Updated various npm package versions in deno.json and deno.lock files.
Refactored route paths in the App component to include extensionId and mangaId for better navigation.
Add memoization to the getExtension function to avoid re-rendering.
Updated import paths for Manifest and store to remove file extensions. Replaced import path for tauri.ts with services/tauri.service.
Refactored the MangaImage component to handle fallback image source more efficiently.
- Updated import statements for better consistency
- Reorganized code structure for easier understanding
- Restructured component logic for better readability and maintainability
- Updated useEffect hooks to handle extension loading and manga pagination efficiently
…ta fetching

- Restructured component logic for better organization
- Updated data fetching to use service function instead of direct API call
@LightInn LightInn self-assigned this Nov 7, 2024
@LightInn LightInn requested a review from sehnryr November 7, 2024 02:44
@LightInn LightInn added the enhancement New feature or request label Nov 7, 2024
Refactor the return type of the getMangaList function to use a new interface MangaList instead of an array. Update enums in manga.ts for consistency.
Removed an unused import statement for MangaList in ExtensionBrowse.tsx.
- Refactored the MangaImage component for better code formatting and readability.
- Reorganized the ExtensionBrowse component to enhance clarity and maintainability.
- Updated the MangaDetails component for improved structure and consistency.
@sehnryr
Copy link
Member

sehnryr commented Nov 7, 2024

lgtm

@sehnryr sehnryr merged commit 0af92e8 into dev-vite-react Nov 7, 2024
2 checks passed
@sehnryr sehnryr deleted the feat/browse-pages branch November 7, 2024 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants