Skip to content

v3.1.1.0 - merge Dev to main #371

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

Open
wants to merge 32 commits into
base: main
Choose a base branch
from
Open

v3.1.1.0 - merge Dev to main #371

wants to merge 32 commits into from

Conversation

Demonkratiy
Copy link

No description provided.

MulyukovAidar and others added 30 commits August 16, 2023 10:48
* added toggle for disabling rectangle roundness

* renamed setting

* version up
updated to run older gantt
* added toggle for disabling rectangle roundness

* renamed setting

* version up

* hotFix: renamed property in capabilities.json

* hotfix: renamed property in capabilities.json
* Issue 38630: options state comparison added

* Issue 38630: new compare function created

* npm packages update & deprecated deletion

* playwright added

* eslint added

* travis.yml file removed

* d3 packages added, updated in files

* lodash added, files updated

* core-js require removed

* eslint errors and warnings fix

* karma.conf and test.webpack.config fix

* version updates in files, capabilities and less file fix

* renderTooltip method fix

* clearCatcher opacity configured in style

* behavior fix

* lodash restore - render fix

* Formatting models update

* context menu configured

* supportsHighlights feature added

* code refactoring

* packages update

* taskCollapse comparison removed

* label naming fix in formatting models

* audit fix

* tests global fix

* merge

* code refactoring

* durationMin min value fix

* less file fix

* Add collapseTasksUpdateId to formatting settings

* nullable and undefined value errors fix

* added toggle for disabling rectangle roundness

* renamed setting

* version up

* hotFix: renamed property in capabilities.json

* hotfix: renamed property in capabilities.json

* Rounded Rectangle feature toggle complete: Merge dev into certification (#304)

* added toggle for disabling rectangle roundness

* Create build.yml

* renamed setting

* version up

* Dev vdnursultan feature (#302)

* added toggle for disabling rectangle roundness

* renamed setting

* version up

* hotFix: renamed property in capabilities.json

* hotfix: renamed property in capabilities.json

* Update build.yml

updated to run older gantt

* Dev vdnursultan feature (#303)

* added toggle for disabling rectangle roundness

* renamed setting

* version up

* hotFix: renamed property in capabilities.json

* hotfix: renamed property in capabilities.json

---------

Co-authored-by: MulyukovAidar <[email protected]>

* Rounded corners now affects tasks and day offs

* npm packages update

* static functions restored

* visualBuilder lint fix and highlight typo fix in visualData

* ts-node package removed

* hasOwnProperty call replaced with in operator

* hasHighlight calculation refactor

* gantt roles calculation refactor

* equality operator fixed

* ganttDiv scroll event handler referring this fix

* modifying variables and methods to static type

* updateInternal method part is separated to render method

* tools version upgraded

* use node16 and fix for error:03000086:digital

* use node18

* fix error:03000086:digital in test step in build.yml

* node 12, build status from github action

* node 14

* node 16

* node 10

* node16 + fix test error

* flag moved to karma conf

* ubuntu 20.04

* remove redundant settings

* azure pipelines removed

* context menu moved to behavior

* redundant lodash usages fixed, some methods replaced with in-built javascript functions

* version up, feature complete

* dependencies update

* formattingModels update

* Update README.md

* Add GitHub Actions pipeline to test code

* Remove tslint.json

* Fix persisting collapsed tasks

* Update packages

* Move enums to dedicated files. Refactor methods to use enums instead of strings

* Add "Visual_Short_Description", "Visual_Long_Description" localization keys

* Move all enums to enums.ts

* Make "Collapse All", "Expand All" clickable instead of only the arrow

* fix eslint error: Remove 2015 ES module declaration

* Update build.yml

* Fix build.yml to use ubuntu-20.04

* Refactor "createTasks" method and fix eslint errors

* Fix test that checks if elements are highlighted

In DataViewValueColumn highlights array represents elements which should be highlighted. The bug was that highlights array was randomly generated with values greater than actual values.

Fix broken test

---------

Co-authored-by: Rustam Boranov <[email protected]>
Co-authored-by: v-ruboranov <[email protected]>
Co-authored-by: Nursultan Dzhumabaev <[email protected]>
Co-authored-by: Nursultan Dzhumabaev <[email protected]>
Co-authored-by: MulyukovAidar <[email protected]>
* Fix: force rounded corners of bars when "barsRoundedCorners" is enabled.

Previously, rounded corners were disabled when bar is too narrow.

* Fix: remove redundant "Show" button in "Legend" card

* Fix: remove "collapse all arrow" when category labels are disabled

* Fix: put data labels in the center when "position" is set to "Inside"

* Fix: axis is cut off when "Date Type" is set to "Hour".
Add outer padding to fix.

* Fix eslint error

* Update API to 5.8.0

* Fix tests regarding task position

Adding toggle to control rounded corners broke the tests.

* Replace 'playwright' with 'playwright-chromium'
…abels" is disabled (#323)

* Fix populating legend fill colors

* Show "Collapse All", "Expand All" buttons even when "Category labels" is disabled

* Fix tests with label name
* Show "Legend name" in tooltips

* Fix issue where milestones were rendered twice

* Add localization keys for "Expand All", "Collapse All" buttons

* Update packages

* Enable multi selection with metaKey for legends and tasks

* Add comments
* Fix: show context menu when right-clicking on empty place inside visual

* Fix rendering task with milestones

* Fix issue: bars are shifted when "rounded corners" settings is enabled

* Bump version to 3.0.5.0

* Fix tests regarding task position

* Remove redundant behavior option
* Return old UI appearance - task bars will be shifted to the left a little

I decided not to change UI for old reports, because we didn't get complaints about shifted task bars

* Update chartutils to 6.0.3
* Fix axis position compared to tasks position

* Increase axis and tasks padding so axis is visible when "Date type" is set to "Hour"

* Remove magic numbers

* Upgrade API to 5.9.0
* Remove restrictions on legend width

* Update CHANGELOG.md
* Fix not showing collapse button for parent tasks

* Bump version t0 3.0.12.0
…, task labels (#352)

* Add all font settings (italic, bold, etc.) for the "Expand All" button, also make the default value satisfy the contrast ration of 4.6:1

* Update API to 5.11.0, tools to 5.5.1 and other packages

* Enable multi-selection with ctrl, meta and shift keys

* Fix visual background color not applying to axis, collapse all button, task labels

* Add toggle to enable/disable milestones dotted lines and color picker for it's color

* Include css styles from interactivity-utils and chart-utils to gantt.less

* Match legend colors to datapoint colors

* Add keyboard navigation

* Add keyboard selection tests

* Make milestones focusable and add aria labels

* Add tabindex to collapse/expand buttons
* Add keyboard focus animation to better visualize focus

* Add settings to control milestone line type / organize milestones in groups

* Add report page tooltips support

* Fix task fill gradient and keyboard focus styles

* Make clickable elements have pointer cursor

* Make task column draggable

* Add milestones line opacity

* Remove unused clearCatcher

* Organize category labels settings into groups

* Add legend font settings

* Add task labels font settings

* Add toggle switch to match data labels colors with legend colors

* Add axis/task labels background color

* Refactor computing height of 'task-lines'

Visually nothing changes, but in the DOM 'task-lines' no longer jumps out of the owner svg.gantt

* Make sticky header with axis and "Collapse all" button

* Refactor computing position of axis/chart/collapseAll elements

* Fix sorting tasks when "Group tasks" is enabled

* Update packages

* Bump version to 3.0.14.0

* Fix the bug with task labels background opacity resetting to 100 when specifying 0 opacity

* Update packages

* Remove interactivity-utils

* Apply font settings to "Collapse All/Expand All" button

* Rename all "Fill" properties to "Color"

* Make draggable column bigger

* Fix the test that accesses removed interactivity-utils

* Enable the support multiple visual selection feature

* Refactor to use explicit types for D3 selections

* Fix invalid computation of the task width when task 'start' and 'end' dates are undefined

* Add .vscode to .gitignore

* Fix the TypeScript types in tests

* Create a test that checks that the amount of expand/collapse buttons is equal to the amount of parent tasks

* Add 'aria-label' and 'role' attributes for keyboard focusable elements

* Refactor methods to reduce the amount of parameters

* Fix milestones data points creation

* Refactor code

* Add font settings for axis text

* Fix bug when "Days off" were not rendered

* Rework milestone settings

* Add background toggles for category labels and date type axis (they overwrite General background)

* Rollback milestones creation and handling

Milestone settings depended on the order of data points.
It could not be fixed. Therefore, I decided to rollback the fix.

* Format files to fit code styles

* Update outdated packages

* Rename constant variables in Gantt chart models

* Refactor

* Rename TaskTypes interface to LegendType and update related properties for clarity

* Add new card settings for background colors

* Fix optional chaining for legendName in Gantt chart

* Replace lodash.clone with structuredClone

* Bump version to 3.1.0
…with previous versions (#369)

* Fix npm vulnerabilities

* Set category labels background to enabled by default for consistency with previous versions

* Bump version to 3.1.1
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.

5 participants