Skip to content

Edutie Rework - #158

Open
sukerberk1 wants to merge 56 commits into
mainfrom
v1
Open

sukerberk1 wants to merge 56 commits into
mainfrom
v1

Conversation

@sukerberk1

Copy link
Copy Markdown
Member

No description provided.

Introduce a new function to create similar learning experiences via an API call. Update the LearningResultView component to include a button that triggers this functionality and navigates to the newly created experience.
Moved the error handling render logic to occur after the `useEffect` setup. This ensures better readability and maintains logical grouping of component lifecycle operations.
Introduced API integration to fetch and display learning subjects dynamically on the home view. Enhanced the UI by adding a grid layout and navigation to specific learning subject details. Adjusted layout for better responsiveness and improved user experience.
Updated component names from HomeView and CreateView to LearnHomeView and CreateHomeView, respectively. Adjusted corresponding route mappings to improve clarity and alignment with their purpose.
Updated navigation paths for consistency and clarity. Replaced placeholder icons with more meaningful `LearningSubjectIcon` and `KnowledgeSubjectIcon`. Adjusted layout and minor text improvements for better UX.
Introduced a "Nothing to be seen here" placeholder with an expressionless emoji when no learning subjects are available. Updated the view to dynamically handle empty states and replaced hardcoded options in the autocomplete.
Reorganized the useEffect and conditional render logic to improve readability and maintainability. Moved the loading and error condition checks to the bottom of the file for better structure. This change does not alter functionality but enhances code clarity.
Improved UI feedback to clarify learning subject eligibility requirements and added warnings for missing dependencies. Introduced `getCreatedEligibleLearningSubjects` API method for retrieving eligible subjects and updated modal logic to display error states.
Added a condition to disable the "Add requirement" button if the input name has 3 or fewer characters. This ensures users provide a meaningful name before proceeding.
Added `cachedSolution` state to persist user progress across activity components. Updated `SimpleProblemActivity` to sync local solution state with the global cached solution using `useEffect`. Adjusted `ActivityRouter` and related components to pass and manage the cached solution as a prop.
Deleted several unused custom icon files (`CancelDoodleIcon.tsx`, `CheckDoodleIcon.tsx`, `CognitionDoodleIcon.tsx`, `CoursesIcon.tsx`, `DeadZombieFaceIcon.tsx`) from `src/components/customIcons`. This cleanup removes unused code and reduces project clutter.
Prevent users from creating a learning subject with a name shorter than 3 characters by disabling the "Create" button. This ensures input validation at the UI level before submission.
The "You" section in the NavBar was commented out, likely as part of a temporary or experimental change. This simplifies the navigation menu and might reflect a design decision to restructure or deprioritize this feature.
Introduced a search box to filter learning subjects by name in real time. Updated UI to handle cases with no matches and display appropriate messages. This improves usability by allowing users to quickly find relevant topics.
Replaced Box-based layout with Grid and Container for a responsive design. Added "Learning Eligible" indicator to created learning subjects. Improved code readability and alignment with Material-UI standards.
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.

1 participant