Closed DHaire92 closed 2 weeks ago
This pull request implements a significant overhaul of the Firebase integration and user interface for a flashcard application. The changes include updating the Firebase configuration, restructuring components, introducing new styling, and adding new functionality for flashcard and folder management.
sequenceDiagram
participant User
participant Editor
participant AddCard
participant Flashcard
participant Firestore
User->>Editor: Clicks 'Add New Card'
Editor->>AddCard: Renders AddCard component
User->>AddCard: Clicks to add card
AddCard->>Editor: Notifies new card addition
Editor->>Flashcard: Creates new Flashcard component
User->>Flashcard: Enters card content
Flashcard->>Editor: Updates card data
Editor->>Firestore: Saves new flashcard data
sequenceDiagram
participant User
participant Home
participant FolderWindow
participant Editor
participant Firestore
User->>Home: Clicks 'Add New Folder'
Home->>Firestore: Creates new folder
Firestore-->>Home: Returns folder ID
Home->>Editor: Navigates to Editor with new folder data
User->>Editor: Edits folder content
Editor->>Firestore: Updates folder data
User->>Editor: Clicks 'Save'
Editor->>Firestore: Saves updated folder
Editor->>Home: Navigates back to Home
Home->>FolderWindow: Updates folder display
Change | Details | Files |
---|---|---|
Updated Firebase configuration and initialization |
|
client/src/pages/App.js |
Restructured and styled the Login component |
|
client/src/pages/Login.js |
Implemented new Editor component for flashcard management |
|
client/src/pages/Editor.js |
Created new components for flashcard and folder management |
|
client/src/components/main-window/folder-window/FolderWindow.js client/src/components/flashcard/flashcard-edit-mode/Flashcard.js client/src/components/flashcard/add-card/AddCard.js |
Introduced new global styling and component-specific CSS |
|
client/src/global-styles/styles.css client/src/components/flashcard/flashcard-edit-mode/flashcard.css client/src/pages/page-styles/Editor.css |
Implemented Firestore utility functions |
|
client/src/components/folder-logic/firestoreUtils.js |
Updated routing and navigation |
|
client/src/components/button/NavigationButtons.js client/src/pages/App.js |
Merging changes from lvngstn
Summary by Sourcery
Overhaul the client application by introducing new pages for user registration and flashcard management, refactoring existing components for improved UI consistency, and updating the Firebase configuration to support Firestore. The project structure is reorganized for better modularity, and global styles are consolidated to replace outdated CSS files.
New Features:
Enhancements:
Build:
Documentation: