Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite Framework #393

Merged
merged 37 commits into from
Apr 30, 2024
Merged

Rewrite Framework #393

merged 37 commits into from
Apr 30, 2024

Conversation

safwansamsudeen
Copy link
Collaborator

@safwansamsudeen safwansamsudeen commented Apr 7, 2024

This PR brings in the big features asked in Gantt issues, as part of the rejuvenation of the library in April 2024.

Features

  1. Readonly mode is available (with the readonly option, by default false) - closes Allow Tasks to Be Editable #323, closes [Feature Request] Add Editable Property #351
  2. Weekends are highlighted (with the highlight_weekend option, by default true) - closes Different display on weekends #102
  3. Header is fixed - closes Fixed grid header #115
  4. Thumbnails are supported (with the thumbnail option, pass in image URL) - fixes Add support for task image #213
  5. Label moves with horizontal scrolling.
  6. More events (breaking): on_click fires now on a single click, with on_double_click for double clicks. on_hover also is available - closes [Feature Request] implement mouse events #342, closes [Feature Request] implement touch event #343, closes User has to click twice a task to trigger the onclick event #40
  7. Scroll to today when the chart is rendered (with the scroll_to option, by default start, change to today) - closes Default display date #112; or specific date (pass a date string or date object to scroll_to) - closes Default display date #112, closes Set date range in lower_text #133
  8. "Today" button that scrolls to today while clicked (turn off with the today_button option)
  9. View mode select that changes the view mode (turn on with the view_mode_select option)
  10. Date highlight in the header when hovered
  11. Hover now results in the popup (after a delay of 300 ms) and clicking results in the editing option.
  12. Allow user to dynamically generate lower/upper text via the lower_text and upper_text options by passing in a function - closes View Mode: Week #119. This function takes the date, the view mode, and the default text supplied by the framework as its parameters.
  13. Lines can be turned on and off using the lines option: defaults to both, can specify either horizontal or vertical or none.
  14. Popup can be turned off (breaking): the popup option has replaced the custom_poup_html option, and setting it to false will turn off the popup - closes How to no display popup when click task.  #144. Additionally, the popup now shows where you click - closes The task detail popup gets hidden is the the task length is more than the view #39.

UI

The design has been vastly improved. Color schemes have changed, header has been improved, handle designs have been updated, and many other changes.

Bugs Fixed

And many, many, others.

This was referenced Apr 14, 2024
index.html Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
src/index.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment