VisActor / VisActor/VTable

[Feature] 甘特图增加专门的配置,在bar 能拖动、拖拽的情况下,向右侧拖动、向两侧拖拽不让任务条超出边界

Open
#3,893 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature good first issue
Dominant language
TypeScript
Stars
3.7k
Forks
486
Avg merge
1d 19h
Merged PRs (30d)
16

Description

What problem does this feature solve?

绘制的甘特图,头部展示的是当天的小时维度,甘特图bar可以拖动,也可以调整大小。拖动的时候,不想让拖拽超出当前表格的边界

What does the proposed API look like?

类似与 moveToExtendDateRange: false

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Gantt chart bar-drag and resize handling, then inspect the existing moveToExtendDateRange option as the proposed API reference. Define the new configuration's behavior for dragging rightward and resizing toward either side, and verify that task bars remain within the current table boundaries.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization, frontend
Issue type
Feature
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.