Closed megasanjay 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 significant updates to the Zenodo release process, enhancing the user interface, improving error handling, and adding new features to the dashboard. The changes span across multiple files, including UI components, server-side API endpoints, and the bot's functionality.
sequenceDiagram
participant User
participant System
participant ZenodoAPI
User->>System: Start Zenodo publish process
activate System
System->>ZenodoAPI: Check publish status
activate ZenodoAPI
ZenodoAPI-->>System: Return status
deactivate ZenodoAPI
System-->>User: Show publish progress modal
deactivate System
User->>System: View status on dashboard
System-->>User: Display status (inProgress, error, published)
journey
title Zenodo Release Process
section Start Release
User: Clicks "My draft is ready for release" -> 5: User prepares draft for release
section Publish Release
User: Clicks "Start the Zenodo publish process" -> 5: User initiates publish process
System: Shows "Zenodo publish in progress" modal -> 4: System provides feedback
System: Updates status to "published" or "error" -> 4: System provides feedback
section View Release
User: Navigates to dashboard -> 4: User checks release status
User: Clicks DOI link if published -> 5: User views Zenodo record
classDiagram
class ZenodoMetadata {
+string accessRight
+string version
}
class ZenodoDeposition {
+string lastPublishedZenodoDoi
+string zenodoId
+string zenodoStatus
}
ZenodoDeposition --> ZenodoMetadata : contains
note for ZenodoMetadata "Added version attribute to track release version"
Change | Details | Files |
---|---|---|
Enhanced Zenodo release process with improved UI and workflow |
|
ui/pages/dashboard/[owner]/[repo]/release/zenodo.vue ui/pages/dashboard/[owner]/[repo]/index.vue ui/server/api/[owner]/[repo]/release/zenodo/index.post.ts ui/server/api/[owner]/[repo]/release/zenodo/index.get.ts ui/server/api/[owner]/[repo]/release/zenodo/status.get.ts |
Improved error handling and validation in the bot's functionality |
|
bot/metadata/index.js bot/archival/index.js bot/license/index.js bot/cwl/index.js |
Updated database schema and migrations |
|
bot/prisma/migrations/20241011223412_analytics/migration.sql ui/prisma/migrations/20241011223412_analytics/migration.sql |
Refactored and improved issue rendering and pull request handling |
|
bot/utils/renderer/index.js bot/index.js ui/server/api/codeMetadata/[identifier]/index.post.ts |
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!
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!
Summary by Sourcery
Add version handling and progress tracking for Zenodo publishing in the dashboard. Enhance the Zenodo publishing workflow with improved UI feedback and database updates. Introduce a new API endpoint to check Zenodo publishing status and refactor bot logic for better commit handling.
New Features:
Enhancements:
Chores: