All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- (users) Removed possibility to "Mark as ready" multiple studies
- removed
openedDoiFormSlice
from Redux root reducer. - in
WizardJSONSchemaParser.tsx
replaced the Redux state variableopenedDoiForm
with a variableisDOIForm
, that usesobjectType
from Redux state. - (users) change text inside save success toast
- (users) Added pagination to the tables of all summary steps
- (users) Fixed narrow page summary table pagination
- Own condition for datacite to enable only "Clear form" option for Datacite
- Moved saving of DOI from WizardDoiForm.tsx component to WizardFillObjectDetailsForm component
- Catching error 400 when validating XML file
- Update UI design for Wizard Alert ( #954)
- (users) Directing to the correct step in WizardSteps for different workflows.
- get
objectTypesArray
even for error pages. - XML File should be validated and uploaded properly
- Condition to disable "Mark as ready" when there already exist a study.
- A new button group for DOI
- Save the linked folder for a submission to backend service
- File table and table's breadcrumbs in Datafolder step
- Datafolder view and Folder table view inside Datafolder step
- summary table
- files
WizardDOIForm.tsx
andopenedDoiFormSlice.tsx
- (users) all fields in Dataset form except Title and Description
- (users) At Datacite step "Delete form" and "Upload XML file" from the "Options ..."
2024.7.0 - 2024-07-25
- Coveralls' failure in Github
- Fix creating a submission without workflow type leading to page 400 by making it required #955
- Disable workflow type changes after initial selection #923
- Redesign file upload error ( #959)
- message toast design for info and error alerts in StatusMessageHandler ( #957)
- Centralize CSCtheme and translation configuration for Vitest test files
- Refactor error message layout to adhere CSC Design #944
- Update status message toast design #943
- Reword button to
Save progress and exit
#940 - Refactor error message to adhere SD style with i18n support #932
- Changed: The location of "options ..." selection
- Modify Patch submission with only "name" and "description" #816
- Modified Form layout, Tooltip and Upload XML according to new UI design #811
- Change the way to add DOI form to submission with new endpoint "/doi"
- Change url of ROR from http to https #813
- Refactor folder -> submission #807
- Renamed "NewDraft" to "Submission" to all existing components and routes and related tests.
- Refactor API urls to have "/v1" , to adapt backend change CSCfi/metadata-submitter#476 fixes , #826
- Update major and non-major depencies
- New way for having Redux store and mock data to be used in Jest tests without using an external library #922
- Update json-schema-ref-parser to latest stable version 11.5.4
- Use Vite as the new bundle tool to replace CRA and Webpack
- Use Vitest for unit tests instead of Jest
- github action updates as well as dependabot watched branch
- Migrate from npm to pnpm
- Migrate e2e tests from Cypress to Playwright, modified relevant fixtures and tests #936
- Refactor Home view with new Tab, Search and SubmissionTable components #939
- Reintroduced summary page with new bar and publish(set release date) button at top with localization.
- Add e2e test for Home view and SubmissionTable #948
- Added cancel function to
Save progress and exit
dialog #952 - Adding Delete option for deleting form #812
- New summary page layout #791
- New accordion stepper for submission #538
- Update datacite's affiliation fields in cypress tests #770
- Added changes for diffrent types of workflow when creating a submission #921
- Added UI text to translation files for English and Finnish
- Add secondary navigation bar #946
- Add updated footer #817
- Fix for Typescript not working correctly in local machine and Gitlab pipeline #950
- Removed WizardFooter #952
- Removed unused library eslint-config-prettier, follow up of #974
- Removed
redux-mock-store
library which was used to mock Redux store and data for Jest tests #922 - Remove the use CRA boilderplate and webpack from the codebase.
0.13.0 - 2021-04-7
-
Field Keywords in DOI form #715
-
New UI for wizard stepper #763
-
Option to filter by submission's name in Home page #685
-
New navigation bar and new home page #669
- Moved Log out button to be under User profile in navigation bar
- Rendered draft submissions and published submissions as tables with pagination in Home page
- Added functionality to sort the dateCreated
- Added breakpoints for fontSizes and responsive pagination
- Removed components and test files for deprecated features
- Update unit tests and integration tests for current UI state
-
Drag & drop file upload #653
-
Disallow use of "any" type #624
-
Date picker #559
-
New login page #573
-
Wizard stepper as accordion #538
-
Autocomplete name field in DOI form #529
-
Enable draft template update #528
-
Auto-add subject scheme to all subjects #522
-
Enable deletion of draft templates #499
-
Support for
ajv-i18n
#496 -
Display helper text on invalid form array fields #495
-
Centralized status message handling in app root #493
- Moved component to components root folder
- Render messages only in one place with use of reducer
- Updated tests
-
Handle uploaded XML filename as display title #457
-
DOI form #455
- Autocomplete field optimization
- Autocomplete field invalid characters
- FormArray component when removing certain field
-
Test form render with custom schema (Jest) #453
-
Preview object details #452
-
Require title on all forms #449
-
Updated projectId in GET and POST requests for folders and templates #696
- ProjectId is a mandatory query parameter in GET requests for folders and templates
- ProjectId is a mandatory propperty in POST requests for folders and templates
- Templates has a separate API endpoint and is no longer a propety under User
- Template's index is a mandatory property in PATCH request for a template
-
Folder's Id is needed when creating a new object or draft object #672
- Added folderId as query parameter for object's and draft object's Post request
- Patching folder is no longer needed when patching object or draft object
-
Updated Node.js version in GitHub workflows and Dockerfile #655
-
Disallow use of any-type #624
- Changelog
-
Update Cypress tests to match JSON schema changes #627
-
Refactor Cypress tests by following best practices #623
- Documentation for MUI
-
Use React Hooks by ESLint hooks rule #621
-
Flow to TypeScript conversion #560
-
Test DAC form title and sychronize with new backend build #544
-
Migrate to MUI v5 #543
-
Navigate wizard with folder id as URL parameter #533
-
Dependency updates
- Update text field value with
setValue
method #666 - Cast integer fields as numbers #661
- Remove form array items in saved / submitted objects #659
- Disallow object update with invalid form #656
- Handle required form array fields #484
- Prevent user deleting object in published folder #486
- Display error when replacing XML file with file with same name #483
- Disallow draft delete if form is not valid #458
- Update object display titles when object gets updated #456
- Display correct confirmation text when publishing folder #447
0.11.0 - 2021-08-31
-
Use official coveralls github actions for reporting #430
-
Retry Cypress tests to give more consistent results #426
-
Render draft objects on right sidebar in object add step #425
-
Edit & publish draft folders #421
- Edit button for draft folders view
- Disable publish for draft folder
- Display tooltip with icon if no submitted objects
- Enable publish if submitted objects
- Handle folder action buttons according to draft folder logic
- Redux state reset for object type and submission folder on submit
-
Form section tooltips with icons #419
- Dependency updates
- Improved pagination component #424
- Submitting updated form with undefined object tags #435
0.10.0 - 2021-08-12
-
Get options from ROR API and use data for organizations in autocomplete field #416
-
Reusable pagination component for draft & published submissions #400
-
Display field descriptions as tooltips. Tooltips are triggered with icons #356
-
Enable linking of accessionIds between object types #330
-
List user draft templates in home route #257
- Fetch all schema types in home
- Draft template E2E tests
- Navigation for folder creation
-
Enable user to save drafts when publishing folder #234
- Option to view draft
- Cancel button to publish dialog
- E2E tests for draft saving
- E2E test for 401 error
-
Dependency updates #401, #402, #403,
-
E2E tests GitHub workflow structure update #375
-
Update packages and package-lock.json #311
-
React Hook Form V7 migration #281
-
Dependabot to update monthly #268
-
Updated Analysis test #246
- Form field default value handling
- AJV format for date
-
Fix for Sample object when overwriting form #417
-
Error page for 400-error #386
-
Parse DAC form
telephonenumber
as string before submitting form #352 -
Hightlight DAC form
Main contact
since it's required field #333 -
Populate all fields on editing saved / submitted form #323
-
Get correct object name in
FormArray
method #322- E2E test for Experiment form
-
Correct formatting of sha-256 in E2E test #320
-
Redux state current object reset when submitting object #319
-
Highlight all required form fields #296
-
API call orded when deleting folders #285
-
Fetch object types in application start #283
-
New form & clear form problems with emptying form fields #258
-
Handle "DAC" object type as acronym #233
0.9.2 - 2021-04-08
- Test error pages #223
- Tests for validation on field blur #222
- Wizard routing with URL query parameters instead of Redux state #204
- AJV V8 migration issue #219
- Enable edit of attributes and and links for saved object #205
0.9.1 - 2021-03-24
- Dependency updates
- Dependabot base branch #202
0.9.0 - 2021-03-22
-
Custom hook for draft saving #185
-
Design improvements #184
- Create New Folder > Create submission
- Main grid spacing
- Consistent card and grid object headers
- Subtitle colors
- Checkbox positions
- Nested form section width control
- Highlight required form fields
- Global theme enhancements
- Saved and draft object badges
- List draft and published folders via router
- Navigation link targets for "Open submissions" and "Submissions"
- Removed icons before object type labels in object index
- Display submitted object count with icon and tooltip
- Display draft count next to submission label in object index
- Wrapped Reach Testing Library tests with theme provider
- Submission action button background color
-
Support for Links rendering on objects with
oneOf
key #182 -
Constant variables for hard coded values #168
- Folder and files for constants
- Enums for predefined values
- Display "Dataset" object in summary
-
Updated documentation for contanst #180
-
Updated flow-bin #171
- Strict return types
-
Dependency updates #166
-
E2E test for filling required Analysis title #183
-
General bugfixes #179
- Don't require
husky
in production build - Fix CodeQL workflow
- Cypress update
- Prettier should ignore build directory
- Cypress & prettier eslint configuration
- NPM version to 7.6.0
- Moved ESLint to dev dependency
- Updated
react-scripts
to 4.0.3 - Test production build with Cypress in GitHub actions
- Don't require
-
Form re-renders #178
0.8.0 - 2021-02-11
-
Test XML upload snackbar notification #163
-
Enable submitted form edit & XML replace #161
- Display submitted object title in saved objects list
- Render buttons in group for objects in saved objects list
- Conditional submit button type on forms based on draft status
- Success messages by user action
- Dialog content and functionality for edited form with submitted status
-
Handle objects with tags #153
- Grouping objects by object type
-
Added "New form" button to form actions #149
-
Accessible skip links for object adding #148
-
Improved draft & published submissions listing on home route #136
- Enable listing of all submissions
- List all objects inside folder
- Enable deletion of objects
- Skip link focus on XML upload form #154
- Saving multiple drafts when navigating stepper #156
- Reduced API calls when fetching folders #152
- Clear form button problem when editing draft #146
- Prevent empty folder publish #140
- Consistent network name in docker-compose #137
0.7.0 - 2021-01-19
-
List for saved drafts in "Add objects" step #136
- Edit & delete functionality
- Draft overwriting
- Folder name & description patch
- Schema storage from local to session storage
-
Analysis form & summary E2E tests #125
- Folder details error handling #132
- General bugfixes & improvements #123, #124
0.6.0 - 2021-01-06
-
Notify draft save status #121
-
Response error handling with corresponding pages and redirects (401, 403, 404, 500) #114, #119
-
Render user information #118
-
Feature for draft auto-save #112
-
E2E testing with Cypress #108, #109, #111
- CodeQL workflow to GitHub Actions
- Render all notifications in snackbar #106
0.5.0 - 2020-11-23
- XML upload accessibility for keyboard users #99
- Added error checks for folder related operations #97
- List submitted objects in "Add objects" step #92
- Folder details (name & description) update functionality #89
-
XML upload form from Formik to React Hook Form #87
- React Testing Library tests
-
Improved folder actions in wizard footer #86
jest-localstorage-mock
#90
- Incorrect draft -alert rendering #95
0.4.0 - 2020-10-20
- Centralized status message handler #83
- Alert dialog component #81
- Improved current naming conventions #82
- Login flow with new routes for Home & Login #76, #79, #80
0.3.0 - 2020-08-14
-
Redesigned wizard and layout #32, #51, #64
- Wizard stepper
- Handle store state with Redux
- Form for folder creation
- Persistent footer
- Backend folder support
- Support for adding objects to folders
- Summary for metadata objects
- Object adding layout
- Clear form functionality
- Unsaved draft alert
-
Login page #63
-
Support for caching JSON schema #62
-
Support for OneOf form fields #57
-
List submissions in home route #49
-
Navigation bar #48
-
GitHub Actions for code style, format, type checks and tests #23, #24, #25, #27
-
Improvements to XML upload (file handling, error messages, notifications) #19
- Migrate from Formik to React Hook Form (JSON schema based forms) #52
- Prettier column width #50
- Various form problems #60
- Development and Docker related proxies #15
0.1.0 - 2020-06-26
- React SPA initialization with URL routing
- XML upload form for metadata object types with validation and notifications about upload status