4fd2e5660c
Enhance LearningMaterialViewer and TaskWorkspace components to open links in a new tab with appropriate security attributes. This improves user experience by ensuring external links are handled safely.
Primakov Alexandr2025-12-15 21:30:50 +03:00
eb5bc8a10a
Update authUser mutation to accept optional workplaceNumber parameter and adjust login function accordingly. Enhance API logging for authentication requests to include workplaceNumber for better debugging.
Primakov Alexandr2025-12-15 18:03:10 +03:00
a0ac758049
Add refreshChains function to ChallengeContext and integrate it into ChainsPage for improved data management. This allows for manual refreshing of chain data when the component mounts, enhancing user experience.
Primakov Alexandr2025-12-15 17:43:21 +03:00
1291519cda
Refactor TaskWorkspace to use getFeatureValue for feature flag retrieval, improving clarity and consistency in skip button functionality.
Primakov Alexandr2025-12-14 16:05:05 +03:00
e29242accf
Add feature flag for task skip functionality in TaskWorkspace. Update bro.config.js to enable skip button based on feature toggle, enhancing user experience in task management.
Primakov Alexandr2025-12-14 15:59:07 +03:00
b9af3c4ee5
Enhance task management by adding skip functionality in TaskWorkspace and TaskPage. Implement storage methods for tracking skipped tasks, allowing users to navigate to the next task or the first skipped task seamlessly. Update polling manager configuration for improved performance.
Primakov Alexandr2025-12-14 15:39:45 +03:00
f7df4c755d
Refactor TaskWorkspace to conditionally display learning materials with a button for user interaction. Update TaskPage to filter task navigation buttons based on accessibility, improving user experience in task management.
Primakov Alexandr2025-12-14 15:25:53 +03:00
0092e55b65
Add optional learningMaterial field to ChallengeTask model and update API endpoints. Introduce LearningMaterialViewer component for displaying additional educational content in Markdown format. Enhance TaskWorkspace to conditionally render learning materials, improving user experience with task-related resources.
Primakov Alexandr2025-12-14 15:18:26 +03:00
cbf411cd54
Implement final answer management in submission hook and storage utilities. Add functions to save, load, and clear final answers in localStorage. Update useSubmission hook to prioritize final answers over drafts, enhancing user experience during task submissions.
Primakov Alexandr2025-12-14 14:17:30 +03:00
f4e85fe980
Update LoginPage layout for improved spacing and enhance storage utility with new clearAllChainProgress function. Adjust clearAll method to retain workplace number while ensuring all chain progress data is removed upon logout.
Primakov Alexandr2025-12-14 14:12:32 +03:00
3c1a235832
Fix color scheme logic in TaskPage component to ensure consistent button styling based on task accessibility. Simplified the color scheme condition for better readability and maintainability.
Primakov Alexandr2025-12-14 14:08:04 +03:00
1a52901b90
Enhance task navigation and progress tracking across components. Update TaskWorkspace to improve task completion handling and button interactions. Refactor ChainsPage to select the furthest accessible task based on user progress. Implement storage functions for managing furthest task indices, ensuring users can only navigate to available tasks. Update TaskPage to check task accessibility and redirect users appropriately, improving overall user experience.
Primakov Alexandr2025-12-14 14:06:18 +03:00
c9bbe83bbb
Refactor Dashboard component to implement a structured routing system with dedicated pages for workplace input, login, chain selection, task management, and completion. Introduce centralized localStorage management for user data and navigation logic, enhancing user experience and streamlining the application flow. Remove the deprecated LoginForm component and update the MainPage to redirect users based on their authentication and task status.
Primakov Alexandr2025-12-14 13:58:24 +03:00
dac2ba4078
Update task progress display in MainPage component to remove total task count from the string. This simplifies the information presented to the user while maintaining clarity on the current task index.
Primakov Alexandr2025-12-13 19:28:55 +03:00
f774cd27d8
Implement completion screen in MainPage component to celebrate task achievements. Introduce state management for completed chains and enhance UI with congratulatory messages and a continue button. Remove unused notification logic to streamline the component.
Primakov Alexandr2025-12-13 19:27:25 +03:00
259b1c9353
Add rules and patterns for working with Challenge Platform. Introduce guidelines for Chakra UI usage, localStorage management, context updates, code formatting, and multi-step forms. Enhance user experience with a dynamic queue checking system and progress bar. Include a checklist for commits to ensure code quality and consistency.
Primakov Alexandr2025-12-13 19:23:39 +03:00
fb8da4ffd9
Enhance TaskWorkspace component to manage submission results more effectively. Introduce state for last submission result and update rendering logic to display either the current or last result. Refactor status display to ensure consistent feedback during task processing, improving user experience.
Primakov Alexandr2025-12-12 15:11:35 +03:00
0965318bca
Update TaskWorkspace component to integrate ReactMarkdown for enhanced task description rendering. Add remark-gfm support for GitHub Flavored Markdown, improving text formatting and presentation. Update package dependencies in package.json and package-lock.json to include react-markdown and remark-gfm.
Primakov Alexandr2025-12-12 15:03:27 +03:00
25baea7447
Implement local storage management for selected chain and task in MainPage component. Add state restoration logic on component mount and ensure cleanup on task completion. This enhances user experience by preserving selections across sessions.
Primakov Alexandr Alexandrovich
2025-11-04 12:25:27 +03:00
79e3dc9864
Refactor Header and TaskWorkspace components to enhance UI and user feedback. Header now accepts chainName and taskProgress props for improved context display. TaskWorkspace updates include styling adjustments, conditional rendering for queue status, and feedback messages, streamlining user interaction during task processing.
Primakov Alexandr Alexandrovich
2025-11-04 11:55:09 +03:00
bb31cc5c6c
Update TaskWorkspace component to conditionally render queue status based on final submission state, improving user feedback during task processing.
Primakov Alexandr Alexandrovich
2025-11-04 11:52:42 +03:00
4c88e7d19a
Add submission status indicators to TaskWorkspace component, including queue status, acceptance, and revision feedback. Enhance UI with loading spinner and conditional rendering for submission results.
Primakov Alexandr Alexandrovich
2025-11-04 11:43:40 +03:00
ceb8910dcb
Remove onTaskComplete call from TaskWorkspace effect to streamline final submission handling.
Primakov Alexandr Alexandrovich
2025-11-04 11:32:34 +03:00
8f7eabc5c4
Update API query to keep unused data for 0 seconds and modify triggerCheckStatus to not force a refresh during polling.
Primakov Alexandr Alexandrovich
2025-11-04 11:23:06 +03:00
cde28b1dd8
Refactor API response structure to include success status and body for all endpoints, ensuring consistent response format across the application.
Primakov Alexandr Alexandrovich
2025-11-04 11:18:13 +03:00
67f29c103a
Add transformResponse handlers to API queries and mutations for consistent response structure
Primakov Alexandr Alexandrovich
2025-11-04 11:15:55 +03:00
b2eaaebd7f
Remove Keycloak integration and related authentication logic. Update dashboard to exclude admin page and simplify user management. Introduce new components for chain selection, header, and login form. Refactor main page to handle user authentication and task selection more effectively. Update API routes for challenge-related endpoints.
Primakov Alexandr Alexandrovich
2025-11-04 11:06:34 +03:00
9b511a8e1e
Update README.md to provide comprehensive documentation for the Challenge Platform frontend, including project description, features for students and teachers, technology stack, project structure, installation instructions, API endpoints, configuration, local development setup, user roles, and key functionalities.
Primakov Alexandr Alexandrovich
2025-11-03 13:00:46 +03:00
624280ab5e
Refactor project structure and integrate Redux for state management. Update configuration files for new project name and add Webpack plugins for environment variables. Implement user authentication with Keycloak and create a context for challenge management. Add various components for user interaction, including dashboards and task workspaces. Enhance API integration and add error handling utilities. Introduce analytics and polling mechanisms for improved user experience.
Primakov Alexandr Alexandrovich
2025-11-03 12:55:34 +03:00
3a65307fd0
init brojs
Primakov Alexandr Alexandrovich
2025-11-02 17:44:37 +03:00