5sControl / 5sControl/5s-frontend

[5h] Gantt report: Performing the same operation at the same time

Open
#847 0 comments 0 reactions 1 assignee Assigned to @SergBily View on GitHub
bug mobile v. 0.8.1
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Precondition:
Go to https://office.5scontrol.com/mobile/

Login in system as worker
Login in system as admin

Description:
При указании выбора времени новой заготовки, пересекающейся с временем уже созданной заотовки одного рабочего, в отчете вторая операция накладывается на первую операцию

Steps to reproduce:
1. Created new "Заготовка" with the help of QR-code
2. Пройти все этапы от создания до завершения этапа заготовки с аккаунта рабочего
3. Перейти в очтет Ганта с аккаунта Админа
4. Проверить перакю заготовку и вторую.

Expected result:
Таймспаны не могут накладываться друг на друга по времени у одного рабочего

Actual result:
Таймспаны операции накладываются друг на друга у одного рабочего

Environment:
Worker:
Samsung Galaxy S10+
Android version 10
Google Chrome 131.0.6778.82

Admin:
Huawei P30 Pro
Android version 12.0.0.141

Attachment:
[06.12.2024 16_14.webm](https://github.com/user-attachments/assets/a70f9140-732e-4214-b579-c0bf92ac9497)

Contributor guide

Open the contributing guide

Research direction

The issue is about overlapping time spans in a Gantt chart report. Look for Gantt chart components, likely in a reports or visualization section. Check how worker operations and time intervals are fetched and rendered. The video attachment shows the bug; reproducing requires setting up two overlapping operations for the same worker and inspecting the chart rendering logic.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.