5sControl / 5sControl/5s-frontend
[1h]fix bugs in Orders View(time in started order)
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
- [x] Fix bug in design.
1. Открыть приложение;
2. Отрыть вкладку Orders View;
3. Выбрать заказа со статусом started(пример 59420).
Result: Дизайн не соответствует фигме, дата работы указана в формате: Date: 23.02.2023 - 01.01.1970.
Expecte result: Дизайн соответствует фигме, дата работы указана в формате: Offer date: 13.02.2023 Offer valid for 30 days.


- [x] Fix bug in completion of the order
1. Открыть приложение;
2. Отрыть вкладку Orders View;
3. Выбрать заказа со статусом started(пример 59420).
Result: Датой окончания заказа - 01.01.1970.
Expecte result: Датой окончания заказа - in progress.
Contributor guide
Research direction
Look at the Orders View component, likely in a file like src/views/OrdersView.tsx or similar. Find where the order data is displayed, particularly the date formatting for orders with status 'started'. Compare the current date rendering logic with the expected format 'Offer date: 13.02.2023 Offer valid for 30 days' and the 'in progress' label for completion date. Check for hardcoded dates like '01.01.1970' and replace with proper logic. Verify the design matches the provided Figma reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100