Basic functionality of an annotation panel
The panel is without css styles. Basic functionality is implemented.
Merge branch 'features/9452-login-screen' into 'dev' Re #9452
Implemented a login screen and added ant-design package to the react project
See merge request aswi/aswi-2022/aswi20220x00!14
Changed email to username
Changed email field to username, changed error message when field is not filled and removed validation of a field format.
Merge branch 'features/9465-frontend-add-document-window' into 'dev' Re #9465
Created a modal that adds new documents and when API is implemented it will send documents to a server.
See merge request aswi/aswi-2022/aswi20220x00!16
Created a document adding modal
Created a layout of the annotation screen
Created a layout with empty panels. They will be done in other branches.
Renamed props.tsx to loginProps.tsx
Props was too generic so I renamed it to show its purpose better.
Added documentation comments
Added documentation comments to the login screen and its layout
Updated layout of the login screen
Changed layout to bootstrap, added a logo and a title.
Added todos for login form events
To test the functionality, login form values are logged to the console when the form is submitted. That is dangerous, so I added todos that will remind us to delete these logs when authentication is implemented.
Streched login button
Login button now fills width of the form
Changed error messages
Changed error messages for required email and password and added check of email address format
Added layout of the login screen
Created a layout in a separate file and added it to the login screen
Added basic login form
Installed ant-design
Backend - JWT Authentication done
RestApi client generation script based on OpenAPI (swagger)
ESLint and Prettier tools basic config
WebApp (React + Next + TypeScript) project added