5sControl / 5sControl/5s-frontend

[1h]fix bugs in Orders View(time in started order)

Ouverte
#76 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug Front
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

![Image](https://user-images.githubusercontent.com/113969187/225881504-74f1edec-0a85-4dd4-bd3f-a062bfa64b37.png)

![Image](https://user-images.githubusercontent.com/113969187/225881503-c576a7ee-f9b2-4f98-807f-06ea33214d03.png)

- [x] Fix bug in completion of the order

1. Открыть приложение;
2. Отрыть вкладку Orders View;
3. Выбрать заказа со статусом started(пример 59420).
Result: Датой окончания заказа - 01.01.1970.
Expecte result: Датой окончания заказа - in progress.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.