From cc5a7b4e51694ed9e5cf9594fd104a9be07e2221 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Sat, 2 Sep 2023 09:34:20 +0300 Subject: [PATCH] Fix cosmetic issues in the cloud storage creation form (#6783) Specifically, with the AWS credential fields: * Replace SHOUTY CAPS with normal sentence case. * Remove the word "ID" from the label of the second field; it's a key, not an ID. * Remove gratuitous snake_case from the validation messages. ### Motivation and context The shouty caps were mildly irritating, and once I started fixing them, I decided I might as well fix some other issues too. ### How has this been tested? ### Checklist - [x] I submit my changes into the `develop` branch - [x] I have added a description of my changes into the [CHANGELOG](https://github.com/opencv/cvat/blob/develop/CHANGELOG.md) file - ~~[ ] I have updated the documentation accordingly~~ - ~~[ ] I have added tests to cover my changes~~ - ~~[ ] I have linked related issues (see [GitHub docs]( https://help.github.com/en/github/managing-your-work-on-github/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword))~~ - [x] I have increased versions of npm packages if it is necessary ([cvat-canvas](https://github.com/opencv/cvat/tree/develop/cvat-canvas#versioning), [cvat-core](https://github.com/opencv/cvat/tree/develop/cvat-core#versioning), [cvat-data](https://github.com/opencv/cvat/tree/develop/cvat-data#versioning) and [cvat-ui](https://github.com/opencv/cvat/tree/develop/cvat-ui#versioning)) ### License - [x] I submit _my code changes_ under the same [MIT License]( https://github.com/opencv/cvat/blob/develop/LICENSE) that covers the project. Feel free to contact the maintainers if that's a concern. --------- Co-authored-by: Boris Sekachev --- cvat-ui/package.json | 2 +- .../create-cloud-storage-page/cloud-storage-form.tsx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cvat-ui/package.json b/cvat-ui/package.json index d9923bfad..366cd8637 100644 --- a/cvat-ui/package.json +++ b/cvat-ui/package.json @@ -1,6 +1,6 @@ { "name": "cvat-ui", - "version": "1.55.5", + "version": "1.55.6", "description": "CVAT single-page application", "main": "src/index.tsx", "scripts": { diff --git a/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx b/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx index 7b060ebad..0dbb23e90 100644 --- a/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx +++ b/cvat-ui/src/components/create-cloud-storage-page/cloud-storage-form.tsx @@ -332,9 +332,9 @@ export default function CreateCloudStorageForm(props: Props): JSX.Element { return ( <>