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/link frontend #62

Closed
wants to merge 85 commits into from
Closed

Feature/link frontend #62

wants to merge 85 commits into from

Conversation

Linkgls
Copy link
Collaborator

@Linkgls Linkgls commented Oct 8, 2024

Complete the upload function and all alert error card formats.
Also, finish the intermodulation with the core function lib.

Linkgls and others added 30 commits August 22, 2024 19:30
chore: modify the dashboard page and add the pnpm-lock ignore
chore:xy-test2
Merge pull request #31 from DemocracyDevelopers/release
The Uploader component has been modified to accept an optional className prop. This allows for more flexibility in styling the component when it is used in different contexts.

- Updated the Uploader component to include an interface UploaderProps with a className prop
- Modified the JSX code to pass the className prop to the root div element

Closes #<issue_number>
fuxingz and others added 27 commits October 3, 2024 12:35
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
…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
@Linkgls Linkgls requested a review from fuxingz October 8, 2024 05:05
Copy link
Collaborator

@fuxingz fuxingz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good

@Linkgls Linkgls closed this 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.

8 participants