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

Feature/avatar #67

Merged
merged 47 commits into from
Oct 8, 2024
Merged

Feature/avatar #67

merged 47 commits into from
Oct 8, 2024

Conversation

Auroraphile
Copy link
Collaborator

No description provided.

Linkgls and others added 30 commits August 29, 2024 17:41
feat: add format validation and cross-checking
- Add className prop to Uploader component to allow custom styling.
- Update the Uploader component in the app/upload/components/progress.tsx file.
- Add a new CSS class to the Uploader component in the app/upload/page.tsx file.
- Update the CSS styles for the Uploader component in the components/ui/progress.tsx file.
- Change the className prop of the Card component in the Uploader component to accept a max width value of "max-w-xl" instead of a fixed width value of "w-96".
- Update the error messages in the Uploader component to remove unnecessary punctuation.
feat: add pruning functionality to explain_process
Mirrorgo and others added 17 commits October 6, 2024 10:48
…tions-zfx

Feature/explain assertions zfx
…sName prop

feat: Add @radix-ui/react-alert-dialog and @radix-ui/react-progress dependencies
feat: Add Copilot configuration file
feat: Add MultiWinnerData store
…sName prop

This commit modifies the Uploader component in the app/upload/components/uploader.tsx file. The changes include adding the max width prop and className prop to the component. This refactor improves the flexibility and customization options for the Uploader component.
… margin props, and add AssertionDetailsModal component
…sName prop

- Refactor the Uploader component to accept the max width prop and className prop. This allows for more flexibility in styling and customization of the uploader component.

refactor: Modify Dashboard component to accept max difficulty and min margin props, and add AssertionDetailsModal component

- Refactor the Dashboard component to accept the max difficulty and min margin props. Additionally, add the AssertionDetailsModal component to enhance the functionality and user experience of the dashboard.

fix: Fix issue with file upload and progress simulation in Uploader component

- Fix an issue in the Uploader component where the file upload and progress simulation were not functioning correctly. This fix ensures that the file is properly uploaded and the progress is accurately simulated.

fix: Handle unsupported file types and file size limit in Uploader component

- Improve error handling in the Uploader component to handle unsupported file types and file size limit. Users will now receive appropriate error messages when attempting to upload unsupported file types or files that exceed the size limit.

fix: Refresh page after successful upload in Uploader component

- Update the Uploader component to refresh the page after a successful upload. This ensures that the user sees the updated content and any changes made as a result of the upload.

chore: Clean up code and remove unused imports in Uploader component

- Perform code cleanup in the Uploader component by removing unused imports and optimizing the code for better readability and maintainability.
…ad of inputData

- The explainAssertions function in the explain_process.tsx file has been modified to accept inputText as a parameter instead of inputData. This change allows for easier integration with the handleExplain function in the page.tsx file, which directly passes the input text to the explainAssertions function. The modification simplifies the code and improves the overall readability and maintainability of the application.
…sName prop

- Refactored the Uploader component to accept the max width prop and className prop. This allows for more flexibility in styling and customization of the component.
…ad of inputData

This commit modifies the `explainAssertions` function in the `explain_process.tsx` file. It changes the parameter from `inputData` to `inputText`. This change allows the function to accept input text directly instead of an input data object. This refactor improves the flexibility and usability of the function.

Ref: #1234
- Modify ExplainAssertionsComponent to accept inputText instead of inputData
- Modify Uploader component to accept max width prop and className prop
…sName prop

- Refactor the Uploader component to accept two new props: max width and className. This allows for more flexibility in styling and layout customization.

- Also, clear the candidateList and assertionList in the MultiWinnerData store when resetting the Uploader component.

- Additionally, remove unused imports and console.log statements.

- This commit follows the established convention of using the "refactor" prefix and providing a clear and concise description of the changes made.
@Auroraphile Auroraphile merged commit 309abef into test/weijia-test Oct 8, 2024
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.

7 participants