This project was bootstrapped with Create React App.
I've included build in git, so you don't need to build the project
you may serve it with a static server like serve -s build or use your own
The task implemented
- All mandatory subtasks are implemented
- I use
fakerinstead of static JSON to mock a data, in my point of view it doesn't impact on the task itself but brings me more flexible environment
Добавить случайные задержки на получение данных и визуализировать это для для пользователя в виде индикаторов загрузкиimplementedДобавить симуляцию получения нового письмаimplementedПоддержка клавиатуры и горячих клавиш для основных сценариевimplemented for moving between emails byArrowUp,ArrowDownКонтекстное меню для списка писемskipped, in one hand if create custom high quality dropdown it's complex in terms of time, in other hand using some npm library is not complicated at all
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.