Skip to content

Align Gantt behavior with supported surface - #27

Merged
blackopsrepl merged 1 commit into
mainfrom
issue-9-gantt-features
Mar 21, 2026
Merged

Align Gantt behavior with supported surface#27
blackopsrepl merged 1 commit into
mainfrom
issue-9-gantt-features

Conversation

@blackopsrepl

Copy link
Copy Markdown
Contributor

Closes #9.\n\n## Summary\n- add opt-in sortable Gantt grid headers driven by columns\n- wire pinned tasks through to Frappe custom classes so pinned styling actually renders\n- remove leftover CSS hooks for unsupported maximize, drag tooltip, project badge, and cross-project arrow behavior\n- update README examples to describe only the shipped Gantt feature set\n

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6cab2bd72b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread js-src/14-gantt.js
th.appendChild(document.createTextNode(col.label));
th.appendChild(sf.el('span', { className: 'sort-icon' }, isCurrent ? (sortState.direction === 'asc' ? '▲' : '▼') : ''));

sf.bindActivation(th, function () {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Replace undefined activation helper used by sortable headers

Any integration that follows the new README and sets sortable: true will fail here during setTasks(): I searched the repo and there is no sf.bindActivation implementation in either js-src or the built static/sf/sf.js, so buildHeaderCell() throws before the grid renders. That makes the newly added sortable-column path unusable until this is replaced with a real event binding or the helper is added.

Useful? React with 👍 / 👎.

@blackopsrepl
blackopsrepl force-pushed the issue-9-gantt-features branch from 6cab2bd to b323315 Compare March 21, 2026 12:25
@blackopsrepl
blackopsrepl merged commit f3c82fe into main Mar 21, 2026
1 check passed
@blackopsrepl
blackopsrepl deleted the issue-9-gantt-features branch May 15, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align Gantt implementation with the extra features already present in CSS

1 participant