Граф коммитов

125 Коммитов

Автор SHA1 Сообщение Дата
pbicvloc 247a6dc0ec
New translations 2024-08-05 14:11:49 +02:00
adiletelf 4ddf684b4a
Fix visual background color not applying to axis, collapse all button, 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
2024-07-31 12:17:32 +04:00
adiletelf ef4100bccf
Fix not showing collapse button for parent tasks (#349)
* Fix not showing collapse button for parent tasks

* Bump version t0 3.0.12.0
2024-06-12 17:13:31 +04:00
MulyukovAidar d2ddf6bf81
Merge branch 'main' into dev 2024-06-03 14:24:13 +04:00
MulyukovAidar 71c1a1fa57
Dev (#345)
* Create build.yml

* Dev vdnursultan feature (#302)

* added toggle for disabling rectangle roundness

* renamed setting

* version up

* 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

* Update build.yml

* Create codeql.yml

* New translations

* New translations

* V3.0.0 (#314)

* 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 <v-aimulyukov@microsoft.com>

* 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 <v-rboranov@microsoft.com>
Co-authored-by: v-ruboranov <v-ruboranov@microsoft.com>
Co-authored-by: Nursultan Dzhumabaev <nurzamazkatanks@gmail.com>
Co-authored-by: Nursultan Dzhumabaev <v-dnursultan@microsoft.com>
Co-authored-by: MulyukovAidar <v-aimulyukov@microsoft.com>

* Fix bugs (#320)

* 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'

* New translations

* Fix legend labels and show `collapse/expand` buttons when "category labels" 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

* Bump version to 3.0.2 (#324)

* Render "Collapse all" / "Expand all" even if "Category labels" is disabled (#325)

* Fix issue when milestones were rendered twice (#327)

* 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 disappearing bars bug (#332)

* 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 (#333)

* 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 context menu, do not show multiple context menus (#335)

* New translations

* New translations

* Fix axis position compared to tasks position (#339)

* 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

* When tasks are small drawing them as rounded makes them look awful. (#341)

Fix axis position compared to tasks position

* Remove restrictions on legend width (#344)

* Remove restrictions on legend width

* Update CHANGELOG.md

---------

Co-authored-by: Nursultan Dzhumabaev <v-dnursultan@microsoft.com>
Co-authored-by: Nikita Grachev <v-grniki@microsoft.com>
Co-authored-by: pbicvloc <104190707+pbicvloc@users.noreply.github.com>
Co-authored-by: adiletelf <74559101+adiletelf@users.noreply.github.com>
Co-authored-by: Rustam Boranov <v-rboranov@microsoft.com>
Co-authored-by: v-ruboranov <v-ruboranov@microsoft.com>
Co-authored-by: Nursultan Dzhumabaev <nurzamazkatanks@gmail.com>
2024-05-30 10:37:38 +04:00
MulyukovAidar e88db94abe
Merge branch 'main' into dev 2024-05-30 10:08:51 +04:00
adiletelf fb779af4c4
Remove restrictions on legend width (#344)
* Remove restrictions on legend width

* Update CHANGELOG.md
2024-05-13 11:05:17 +04:00
adiletelf c81ac292a4
When tasks are small drawing them as rounded makes them look awful. (#341)
Fix axis position compared to tasks position
2024-04-03 19:19:10 +04:00
adiletelf 781fd648d1
Fix axis position compared to tasks position (#339)
* 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
2024-03-28 13:58:11 +04:00
pbicvloc b92d176041
New translations 2024-03-28 09:34:39 +01:00
pbicvloc a3d4f5a14a
New translations 2024-03-26 18:02:34 +01:00
adiletelf 198c67fa64
Fix context menu, do not show multiple context menus (#335) 2024-03-25 13:02:31 +04:00
MulyukovAidar 714f091a1c
Create codeql.yml 2024-03-22 12:19:16 +04:00
adiletelf 19944c18ea
Return old UI appearance - task bars will be shifted to the left (#333)
* 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
2024-03-19 18:44:15 +04:00
adiletelf 3a4f434033
Fix disappearing bars bug (#332)
* 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
2024-03-19 13:44:25 +04:00
adiletelf 92124bbce1
Fix issue when milestones were rendered twice (#327)
* 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
2024-03-12 13:44:33 +04:00
adiletelf 34043cf27c
Render "Collapse all" / "Expand all" even if "Category labels" is disabled (#325) 2024-03-06 18:11:06 +04:00
adiletelf 1ea5077f72
Bump version to 3.0.2 (#324) 2024-03-01 17:09:21 +04:00
adiletelf 680e25c88a
Fix legend labels and show `collapse/expand` buttons when "category labels" 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
2024-03-01 17:06:15 +04:00
pbicvloc cc0fd1c49b
New translations 2024-02-27 18:52:46 +01:00
adiletelf 310192b109
Fix bugs (#320)
* 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'
2024-02-26 15:25:29 +04:00
adiletelf 04cd9a8958
V3.0.0 (#314)
* 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 <v-aimulyukov@microsoft.com>

* 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 <v-rboranov@microsoft.com>
Co-authored-by: v-ruboranov <v-ruboranov@microsoft.com>
Co-authored-by: Nursultan Dzhumabaev <nurzamazkatanks@gmail.com>
Co-authored-by: Nursultan Dzhumabaev <v-dnursultan@microsoft.com>
Co-authored-by: MulyukovAidar <v-aimulyukov@microsoft.com>
2024-02-20 12:41:18 +04:00
pbicvloc d5fffd4f11
New translations 2024-01-25 09:44:21 +01:00
pbicvloc 190a903be6
New translations 2023-09-07 15:08:26 +02:00
Nikita Grachev 4542e71461
Create codeql.yml 2023-08-23 12:22:30 -03:00
Nikita Grachev d2124c3153
Update build.yml 2023-08-23 12:21:44 -03:00
Nursultan Dzhumabaev e663ced088
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
2023-08-18 14:49:52 +04:00
MulyukovAidar 6a0dcab8ba
Update build.yml
updated to run older gantt
2023-08-18 14:14:18 +04:00
Nursultan Dzhumabaev 3ec7dccf33
Dev vdnursultan feature (#302)
* added toggle for disabling rectangle roundness

* renamed setting

* version up
2023-08-18 12:47:34 +04:00
MulyukovAidar 0de5a2466f
Create build.yml 2023-08-16 10:48:13 +04:00
microsoft-github-policy-service[bot] a3a69bd887
Microsoft mandatory file (#275)
Co-authored-by: microsoft-github-policy-service[bot] <77245923+microsoft-github-policy-service[bot]@users.noreply.github.com>
2023-08-15 17:30:28 +04:00
Nikita Grachev ea4a7f18de
Update README.md 2020-02-25 15:25:23 +07:00
Elena Rodionova 982715319d wrong completion by linearGradiend binding fix (#183) 2019-10-16 19:21:41 +07:00
Elena Rodionova 8ab9605d1d Color issue patch + localization issue fix (#177)
* patch for Localization stringResources json error

* bar color issue fix

* changes after CR
2019-10-01 10:42:58 +03:00
Elena Rodionova 721ce4b795 patch for Localization stringResources json error (#176) 2019-09-25 16:46:05 +03:00
Elena Rodionova b7dcd5a488 Gantt 2.2.0 master (#172)
* Conditional polyfills

* Conditional polyfills

* Gantt issues fixing

* change scrollbar logic

* No rounded corners for small gaps; Max Completion option

* rows misplacement on resource labels position change fix; wrong completion in grouped task in one row bug fixed

* npm audit fix && powerbi-tooltip update && isResourcesFilled check for rendering labels and cell size calculation

* delete formatting setting for data labels if Resource bucket is not filled

* IE linearGradient bound url issue's fix

* maxCompletion logic change for backward compatibility

* high contrast mode and linearGradient binding fix

* changelog & version

* change version

* telemetry errors fix

* linearGradient by randomHex & changes after CR

* draft for svg linearGradient

* different variants

* SVG buttons logic change

* SVG buttons logic change

* remove draft

* changes according to CR

* hotfix for rounded rects

* days off displaying fix

* delete draft

* delete draft
2019-09-03 22:55:25 +07:00
Elena Rodionova 3c2f9111a5 Gantt 2.2.0 (#167)
* Conditional polyfills

* Conditional polyfills

* Gantt issues fixing

* change scrollbar logic

* No rounded corners for small gaps; Max Completion option

* rows misplacement on resource labels position change fix; wrong completion in grouped task in one row bug fixed

* npm audit fix && powerbi-tooltip update && isResourcesFilled check for rendering labels and cell size calculation

* delete formatting setting for data labels if Resource bucket is not filled

* IE linearGradient bound url issue's fix

* maxCompletion logic change for backward compatibility

* high contrast mode and linearGradient binding fix

* changelog & version

* change version

* telemetry errors fix

* linearGradient by randomHex & changes after CR

* draft for svg linearGradient

* different variants

* SVG buttons logic change

* SVG buttons logic change

* remove draft

* changes according to CR
2019-08-19 19:08:07 +07:00
Elena Rodionova 6a648e2d40 Gantt 2.1.0 (#164)
* Gantt issues fixing

* change scrollbar logic

* No rounded corners for small gaps; Max Completion option

* rows misplacement on resource labels position change fix; wrong completion in grouped task in one row bug fixed

* npm audit fix && powerbi-tooltip update && isResourcesFilled check for rendering labels and cell size calculation

* delete formatting setting for data labels if Resource bucket is not filled

* IE linearGradient bound url issue's fix
2019-08-01 15:28:53 +07:00
Ilfat Galiev 50ba1170e8
Fix: Horizontal lines overlapping bars (#156) 2019-07-09 17:51:39 +03:00
Elena Rodionova 166f9ff690 Conditional polyfills (#149)
* Conditional polyfills

* Conditional polyfills
2019-06-21 19:48:19 +07:00
Nikita Grachev d6026e4094
Milestones draft, UI improvement and bugfix (#143) (#147)
* convertion to webpack: part 1

* unit tests fixing

* fix UT's for utils update

* grouping issue fix

* UI improvement

* button expand/collapse issue fix

* remove completion color and rewrite some UT's due to margin/color changes

* new UI bugfix draft

* draw rects by path element

* milestones draft

* milestones draft: bucket and types usage

* increasing row feature + axis misplacement bugfix

* completion with low percentage UI failure fix

* UT's and tslint fix

* dynamical formatting options for milestones

* dynamical milestone settings for different cases

* common taks and common milestones on collapse feature

* fix for similar dated milestones

* fix: milestones layout on row height change

* API and packaged update

* grouping tasks no-reaction &&  expand/collapse fix

* d3 v5 remove/merge issue fix

* fix IE svg scaling issue + UTs update

* common bar & milestones Unit Tests

* milestones & common milestones UTs fix

* Unit tests: fix dataset and common tasks issues checking

* days off duration fix

* linearGradient url by taskType building fix

* collapse all with common bar bugfix

* Gantt specific duration issue when DaysOff=ON fix
2019-06-20 23:09:29 +07:00
Nikita Grachev ff940ba939
Fixed: Tasks selection doesn't work in Chrome (#129) 2018-08-30 15:04:56 +07:00
Evgenii Elkin b15ab7443d Completion line issue was fixed (#127) 2018-08-16 16:32:13 +03:00
Evgenii Elkin e13c412fab Init (#126) 2018-08-14 18:07:15 +03:00
Elena Rodionova 0d42bc788a High contrast mode (#125) 2018-08-08 18:56:44 +03:00
Evgenii Elkin cec20e8932 Added subtasks hierarchy (#124)
* fixed june list of bugs

# Solved conflicts:
#	src/gantt.ts
#	test/visualData.ts
#	test/visualTest.ts

* June bugs and features

* review fixes
2018-08-03 22:05:10 +07:00
Ignat Vilesov 9d5686a523
Fixes highlighting issue (#121)
* 27206 Fix highlighting issue [Gantt Chart highlights data points incorrectly (ICM 76810792)]
* 27207 Cover changes by UTs [Gantt Chart highlights data points incorrectly (ICM 76810792)]
2018-07-17 16:51:54 +03:00
mvgaliev 1a89eafeb5 fixed display names of capabilities (#119) 2018-05-28 15:30:17 +03:00
mvgaliev cae0c56ebe added localization (#118) 2018-05-23 15:29:57 +07:00
Power BI Custom Visuals Bot faeac512e6 Localization strings from utils update (#107)
* updated localization strings

* updated localization strings
2018-05-21 18:49:51 +07:00