Git Product home page Git Product logo

gantt's People

Contributors

adrienclairembault avatar ccailly avatar cconard96 avatar cedric-anne avatar ct0rm4n avatar dependabot[bot] avatar flegastelois avatar orthagh avatar rom1-b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gantt's Issues

Gantt does not honor task or project order

Hello,
We are implementing projects and starting to use this plugin. But we just realize that it alouds to move task around, changing the order of rows, but it does not save this order. I could not find a place on the database that should be storing this custom order.

Display and sort of projects on Gantt global

Hi!
I've installed the last release of the Gantt plugin.
On the Gantt tab, all the project start with the date of the present day instead of their planned start date or their real start date.
I work with GLPI 10.0.2 Gantt 1.0.1

[Bug] Ineffective Followup Task Adjustment when Modifying Preceding Task's End Date

Summary:
When adjusting the end date (planned) of a task that has a followup task linked to it, the modification has no consequence on the followup task, rendering the link ineffective.

Steps to Reproduce:

  1. Create two tasks in a project, one planned to start on day 1 of the next month and end on the 10th, the other planned to start on the 10th and end on the 15th.
  2. Connect the two tasks in the GANTT view by dragging a line between the end of the first and the beginning of the second task.
  3. Adjust the planned end date of task 1 to the 11th by dragging the task bar.

Result:
The planned end date of task 1 is correctly moved to the 11th, but there is no impact on task 2.

Expected Result:
The planned start date of task 2 should move to the 11th, and the planned end date of task 2 to the 16th, and the planned end date of the project to be automatically adjusted accordingly.

[Feature] Default Sorting by Start Date

Summary:
Enhance user experience by introducing default sorting based on start date for the project list, subprojects within a project, and tasks within a project. The current default sorting by name is less intuitive, and a shift to sorting by start date aims to provide users with a more meaningful and contextually relevant view.
Current default:
image
Requested default:
image

[Feature] Enhanced Collapsing and Expanding of Projects and Tasks

Summary: Improve the user experience in the GANTT view by refining the handling of collapsed and expanded states for projects and tasks.
Current Scenario: When opening the Global GANTT or the GANTT of a specific project, all subprojects and tasks are visible.
Proposed Changes:

  1. Collapsed Default View:
    • Open the GANTT with all projects and tasks collapsed by default.
    • Enhances the user experience, particularly for those who prefer starting with a global overview before delving into specific subprojects.
  2. Quick Toggle Button:
    • Add a toggle-button in the header to the left of Project / Task for swiftly collapsing or expanding all subprojects and tasks.
      image
    • Improves usability by providing a convenient shortcut for managing project visibility.
  3. Status Memory Feature:
    • Implement a feature to auto-save the latest expanded/collapsed status of a project.
    • Streamlines user interactions by preserving the preferred view when navigating between projects and the GANTT view.

Plugin Gantt Doesn't Work with GLPI Versions 10.0.1 and 10.0.2

Hello,

After install gantt pluin it appear in the project tools, but show a blank tab info with PHP Warning in the apache error logs:

PHP Warning: public/build/libs.js file not found from plugin gantt! in /var/www/localhost/htdocs/glpi/src/Html.php on line 1874

image

Could you help to solve this issue?

Thanks
Rodolpho Rohr

[Bug] In Full Screen Mode, Secondary Menu Floating Over GANTT chart

Summary:
When clicking on the Fullscreen icon at the bottom right of the GANTT screen, the GANTT chart is maximized, but the GLPI secondary menu is not hidden, it keeps floating over the chart, at its fixed position.
image

Current workaround:
Every time when the full screen mode is used, for example to present the projects to the board of directors, use the browser to edit the inline-style as follows:
<div class="navbar navbar-expand-md navbar-light secondary-bar sticky-md-top shadow-sm" style="z-index:-99">

[Feature] Combined Display of Planned and Real Timeline for Discrepancy Analysis

Summary:
Enable a more comprehensive analysis of project timelines in the GANTT plugin by introducing the ability to display both planned and real timelines simultaneously. When either the planned or real dates are provided, the respective timeline is shown. However, when both planned and real dates are available, they should be presented on top of each other for a detailed comparison.

Details:

  1. Individual Display:
    • When only planned or real dates are provided: display the respective timeline.
      (currently the timeline is only shown with the data of the planned dates)
  2. Simultaneous Display:
    • When both planned and real dates are provided: display the planned and real timelines on top of each other. The planned timeline might be shown as a thin line above the real timeline.
      image

Export gantt

There is a way to export the Gantt?? To csv or PDF or jpg? Thanks!

[Bug] Text overlapping with percentage

Summary:

Currently, when task text is too long, it typically gets cropped on the right side, but the full content can be viewed in the tooltip. However, an issue arises when a task has commenced, and a percentage value is displayed. In this scenario, the text overflows to the left, resulting in an overlap with the percentage display.

Result without percentage progress:
image

Result with percentage progress:
image

[Question] Why is uuid being used as a link?

I am working into expanding this plugin but have some questions:

  • Why the uuid is being used as a connector in the parental relationship between tasks and projects? ID looks easier to handle. What I am missing?
  • It seems that Gantt is officially a plugin but unofficially part of the core, since it does not have a separate database table for its needs but there are fields on core tables that refere to Gantt-plugin.

So I need to implement a 'sortorder' field so that tasks could be moved around the project. Do you have some guidelines that I can follow about this issue? Because creating a table 'glpi_plugins_gantt' seems the obvious choice but since there are fields on core that reference Gantt I am lost of how to proceed.

[Feature] Customizable Line Labels for Projects and Tasks

Summary: In the GANTT view, enhance user flexibility by allowing customization of line labels. Currently limited to Project/Task, Start Date, and Duration, the ability to add, rearrange, and adjust the width of fields from both projects and tasks would significantly improve user experience and cater to individual workflow preferences. Examples for interesting fields to add would be project/task type, project priority, etc…

Details:

  1. Add Fields:
    • Enable users to add fields from both projects and tasks to the line labels in the GANTT view.
  2. Field Order and Width:
    • Provide the option to rearrange the order of fields to accommodate individual preferences.
    • Allow users to adjust the width of each field for optimal visibility and information presentation.

[Feature] Enhanced Search and Filter Options

Summary: Improve search functionality in the GANTT view by introducing additional search criteria: enhance the existing "Find"/"Filter" feature by adding a dropdown menu for refined searches.
Details:

  1. Dropdown Menu:
    • Add a dropdown menu next to the "Find"/"Filter" toggle button.
      image
    • Options in the dropdown menu: "by name," "by priority," "by team member."

[Feature] Autoscheduling of tasks

What and why

As a user of the GLPI Gantt plugin, I would like to suggest a new feature: the ability to automatically schedule linked tasks in the Gantt view. This functionality is currently only available in the pro version gantt. Hence this plugin is not using the pro version, it is not available, but the functionality could be recreated.

The benefit of this feature is that it would allow users to quickly and easily schedule tasks within the Gantt view, without having to manually adjust the start and end dates of each task. This would save a lot of time and effort for users, especially for those working on large projects with many tasks. Additionally, autoscheduling could also help to ensure that tasks are scheduled in the most efficient and logical order, which would improve the overall productivity and organization of projects.

Things that need to be considered:

  1. There are several link types:
Type Value Description
finish to start 0 source task has to end to start the target task
start to start 1 source task has to start to start the target task
finish to finish 2 source task has to end before the target task can end
start to finish 3 source task has to start before the target task can end

'Note: finish to start' and 'start to start' are the most commonly used scenarios.

  1. Start time of target tasks can be controlled by duration, lead and lag fields
Field Unit Description
duration minute defines how much time does the task take (planned start date + duration)
lead day specifies the number of days a task start date is brought forward
lag day specifies the number of days a task is delayed
- duration (as minutes, defines how much time does the task take)
- lead (as days, specifies the number of days a task is brought forward)
- lag (as days, specifies the number of days a task is delayed

Example for finish to start link type:
Source task is updated and new planned end date is '2023-01-05 14:30:00'.

duration lead lag target planned start date
0 0 0 2023-01-05 14:30:00
200 0 0 2023-01-05 17:50:00
0 2 0 2023-01-03 14:30:00
0 0 5 2023-01-10 14:30:00
200 2 0 2023-01-03 17:50:00
200 0 5 2023-01-10 17:50:00
  1. Autoscheduling should be also possible outside the gantt view. For example, there could be a new tab inside the project task view where task links could be managed. It is arguable if this should be a core functionality of the GLPI-Core.

  2. There is already a simple form which appears when a task link is double clicked, but it only shows one input form element for the lag field. The modal should contain the fields lead and duration as well.

  3. It may be useful to exempt specific tasks from auto scheduling. If this is the case, it should be visible (e. g. by background color). A question would be, what would happen if a task not exempted anymore and if it autoschedule right away.

  4. As the gantt-library offers some config option (such as work_hours). There should be a dedicated config page where those options are managable. The config option work_hours ties closely to autoscheduling, because when a task is moved / changed end date, the following tasks would may end up on weekends (which may be unwanted). With work_hours enabled, the duration of a task only applies on that period of time.

Gannt order default by plan date start

By Default fix gannt orderer by plan date start,
I fix it and work fine

    $iterator = $DB->request([
        'FROM' => 'glpi_projects',
        'WHERE' => [
            'projects_id' => 0,
            'show_on_global_gantt' => 1,
            'is_template' => 0,
            'is_deleted' => 0
        ] + getEntitiesRestrictCriteria('glpi_projects', '', '', true),
        'ORDERBY' => 'glpi_projects.plan_start_date'

project/task/milestone are created on root entity only

Hello,
Im not native english, i will do my best.

This is an example :
I have an entity A (root>Entity A)
I have an user B that is Admin on root>Entity A (and nothing more)
I have a project C on root>Entity A

Everything is OK when i use only GLPI vanilla features

When i use TASKS tab in project C with user B on root>Entity A, and create a taskwith it, they are created with root>Entity A entity

  • Then, they are accessible, because user B on root>Entity A have permissions on root>Entity A entity

The problem is here :
When i use GANTT tab in project C with user B on root>Entity A, and create a project/task/milestone with it, they are created with root entity

  • Then, they are not accessible, because user B on root>Entity A have no permissions on root entity, only root>Entity A
  • They are still accessible with accounts that have entity root (like GLPI superadmin, or any account that is Admin on root entity)

Expected behaviour :
When i use GANTT tab in project C with user B on root>Entity A, and create a project/task/milestone with it, they are created with root>Entity A entity

glpi 10 / show gantt diagram on glpi project

after installing gantt plugin on glpi 10 version and when trying to view gantt diagram of existing project i have the error :

PHP User Warning (512): public/build/libs.js file not found from plugin gantt! in /var/www/html/glpi/src/Html.php at line 1874

Capture

Gantt diagram not show up

I have installed and enable the Gantt plugin on GLPI 10.0.5 but the diagram and the project list like this image below, can you help me?
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.