Closed slugb0t closed 1 month ago
Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again!
This pull request implements several bug fixes and improvements to the Zenodo workflow in the dashboard. The changes focus on error handling, UI enhancements, and refactoring of the Zenodo publishing process.
sequenceDiagram
participant User
participant UI
participant API
User->>UI: Initiate Zenodo publish
UI->>API: GET /api/{owner}/{repo}/release/zenodo/status
API-->>UI: zenodoWorkflowStatus
alt zenodoWorkflowStatus is "published" or "error"
UI->>UI: Update zenodoPublishStatus and zenodoPublishDOI
UI->>UI: Clear zenodoPublishProgressInterval
else zenodoWorkflowStatus is "inProgress"
UI->>UI: Update zenodoPublishStatus
end
UI->>User: Show Zenodo publish progress modal
classDiagram
class License {
+String id
+String identifier
+String status
}
note for License "Added status attribute to handle license validation state"
Change | Details | Files |
---|---|---|
Improved error handling and status updates in the Zenodo publishing process |
|
bot/index.js ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue |
Enhanced UI for license and metadata status in the dashboard |
|
bot/index.js ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue |
Refactored and improved metadata handling |
|
bot/archival/index.js bot/license/index.js ui/types/codeMetadata.d.ts |
Optimized API calls and data processing |
|
bot/index.js bot/metadata/index.js |
Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help!
Thanks for making updates to your pull request. Our team will take a look and provide feedback as soon as possible. Please wait for any GitHub Actions to complete before editing your pull request. If you have any additional questions or concerns, feel free to let us know. Thank you for your contributions!
Summary by Sourcery
Fix the Zenodo workflow by addressing issues with license status handling and improving the Zenodo publish progress check. Enhance the user interface for Zenodo publish progress and refactor bot logic for better error handling and logging.
Bug Fixes:
Enhancements: