Skip to content

Conversation

@okmkey45
Copy link

@okmkey45 okmkey45 commented Jan 13, 2025

Clasical left sidebar

image

Task Groups

image

Both clasical left sidebar and task Groups enabled

image

Custom config bar function

With this config:

custom_config_bar: ({ task, task_group }) => {
  const task_group_name_first_char = task_group.name[0]
  const task_group_id_last_char = task_group.id[task_group.id.length - 1]
  const task_group_abbr = `${task_group_name_first_char}-${task_group_id_last_char}`
  return {
    label: `${task.name} (${task_group_abbr})`
  }
}

image

Set bar text color automatically

Based on the color attribute on the task, if available, it calculates if the text should be black or white in order to be properly displayed

@okmkey45 okmkey45 changed the title Row override added for tasks for custom row positioning Clasical side task list and row override for custom row positioning Jan 17, 2025
@okmkey45 okmkey45 changed the title Clasical side task list and row override for custom row positioning Add clasical left sidebar and task group features Jan 18, 2025
@okmkey45 okmkey45 changed the title Add clasical left sidebar and task group features Add clasical left sidebar, task group, custom config bar function and set bar text color automatically features Jan 19, 2025
@okmkey45
Copy link
Author

Hello. So sorry. I feel like this may be getting a little bit noisy. I'm going to close this for now but please let me know if you might be interested in these features

@okmkey45 okmkey45 closed this Jan 22, 2025
@yxkong
Copy link

yxkong commented Jan 26, 2025

Very useful features

@benjivm
Copy link

benjivm commented Jan 27, 2025

The sidebar support especially. If not this PR then please create a separate one for this feature.

@safwansamsudeen
Copy link
Collaborator

Hi @okmkey45

These are a lot of changes 😄 - we appreciate it.

Gantt is currently under maintenance, but I hope to review your PR by the end of this month. Thank you so much for your work.

Are there any other features/changes not described?

@yxkong
Copy link

yxkong commented Feb 4, 2025

When using it, if there are multiple tasks within the same time period for a group, the tasks will be folded up.

@whernebrink
Copy link

These are great features. Would love to see them make it in at some point.

@beevabeeva
Copy link

I would consider the left sidebar crucial at this point for the package to be a competitive/viable option.
Not to take away from the great work already done.
I'll probably start my own fork from this PR.

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.

6 participants