After adding the experiments fetching, some problems has occured. They have been already discussed on the meeting, so please - implement the stated changes.
TO-DOs
status field should be 1 of 4 states: draft, ongoing, closed, archived
[ ] BE - improve the generator
[ ] FE - add design for all the badges (maybe extract it to the component?) / discuss the matter with @kosmidma
end_date field for experiment should not be required
[ ] BE - improve backend schema & generator
[ ] FE - make sure that the end date is shown correctly, i.e. ... when is null & date otherwise
place field should be generated
[ ] BE - imrpove the generator
calibration & software version should be moved to description
[ ] FE - remove the fields from experiment card, improve their rows layout & remove the unused icons
critial flag is something that will be calculated on the backend from measurements, thus it may be skipped for now until we get the mechnism to work from bakcend point of view
[ ] remove handling of the critical flags (maybe create the FTTB unused partial for alert-box & add error variant to the badge component?)
Problem description
After adding the experiments fetching, some problems has occured. They have been already discussed on the meeting, so please - implement the stated changes.
TO-DOs
status
field should be 1 of 4 states:draft
,ongoing
,closed
,archived
end_date
field for experiment should not be required...
when is null & date otherwiseplace
field should be generatederror
variant to the badge component?)