47 Commits

Author SHA1 Message Date
Safwan Samsudeen
a65bcff5c1 feat: first round of tooling upgrades 2024-04-30 06:24:33 +05:30
Safwan Samsudeen
3194f883ad chore: format 2024-04-30 05:06:17 +05:30
Safwan Samsudeen
1403f2e581 feat: popup, build 2024-04-28 18:53:42 +05:30
Safwan Samsudeen
55be33cfa9 feat: modify lower text option 2024-04-28 18:09:44 +05:30
Safwan Samsudeen
99261dfe1a feat: popup after delay
chore: build
2024-04-28 18:06:47 +05:30
Safwan Samsudeen
a72b75a2f1 chore: build 2024-04-26 16:56:24 +05:30
Safwan Samsudeen
e7c735db68 fix: date highlight, aligning
chore: build
2024-04-25 21:08:04 +05:30
Safwan Samsudeen
0ee9b6ad69 feat: auto change view mode, fix multiple bugs 2024-04-25 20:28:59 +05:30
Safwan Samsudeen
2fd3aefd79 feat: today button, improved scroll
chore: build
2024-04-23 20:29:40 +05:30
Safwan Samsudeen
ab9ecf753f chore: build 2024-04-20 11:54:03 +05:30
Safwan Samsudeen
85c943b191 chore: build, make thick strokes more prominent 2024-04-14 18:28:52 +05:30
Safwan Samsudeen
94d2cf5772 chore: replace var with let, improve demo, build 2024-04-14 17:59:53 +05:30
Safwan Samsudeen
9401b35139 feat: fixed header, thumbnail, movable label;
bug of bar task id fixed
2024-04-10 23:02:25 +05:30
Safwan Samsudeen
b8bad72109 feat: highlight weekends, build dist 2024-04-08 03:20:28 +05:30
Safwan Samsudeen
f9da6ad42f chore: format (add prettier), fix minor bug, build 2024-04-05 15:39:04 +05:30
Gursheen Anand
916fd15255 feat: option to enable expected progress bars 2023-11-20 00:54:49 +05:30
Stephan Vierkant
ddb35724cb chore: use Intl.DateTimeFormat to translate month names 2023-06-08 13:51:50 +05:30
Faris Ansari
6233b6cd4b chore: update rollup config
- minify css
- sourcemap
- github action to auto-publish on npm
2022-04-28 10:23:58 +05:30
Faris Ansari
4cf30c6630 v0.6.0 2022-01-17 15:50:47 +05:30
Faris Ansari
8f0b83d27d v0.5.0 2020-06-19 18:33:05 +05:30
gavin
318ea68107
Revert "feat: Support Japanese (#162)" (#171)
This reverts commit 94f1cd795810ee44b5b04cf48f2209f8487c8bf0.
2020-03-16 13:29:00 +05:30
TakanashiAsuka
94f1cd7958
feat: Support Japanese (#162)
Added support for Japanese language

* Support Japanese
* Update frappe-gantt.js
2020-02-17 11:18:04 +05:30
Faris Ansari
9e3c490196 v0.3.0 2018-09-23 19:49:24 +05:30
Faris Ansari
50386745ca
Merge branch 'master' into master 2018-09-23 19:41:09 +05:30
kannkyo
2712ac3201 #98 extend time format to use milliseconds 2018-08-17 00:11:28 +09:00
Oleksii Voznosymenko
69978e00d2 removed commented code 2018-08-08 23:34:23 +03:00
Oleksii Voznosymenko
1b36ec9464 russian localization for month names 2018-08-08 23:15:43 +03:00
Oleksii Voznosymenko
4995e9ed0e added year display mode 2018-08-08 22:17:02 +03:00
Faris Ansari
4b11841bc1 v0.2.0 2018-07-08 12:25:00 +05:30
Faris Ansari
94409f0bb8 v0.1.1 2018-05-20 20:04:17 +05:30
Faris Ansari
ee1062c182 Don't show popup while dragging 2018-03-04 20:00:49 +05:30
Faris Ansari
24cb69dd4e Update popup position on drag 2018-02-17 23:47:31 +05:30
Faris Ansari
8c082e7bc9
[v0.1.0] Major Refactor (#57)
* [v0.1.0] Major Refactor

- Remove moment and Snap dependencies
- Use Rollup as build tool
- Use Prettier for linting/styling
- Use Jest for testing
- Use yarn

* Change Bar hover behaviour, Bar animation

* Corner radius configurable
2018-02-17 23:40:58 +05:30
Stephen Kasica
2abbb1dce5 Define bar corner radius on initialization (#43)
* Merge defaults and config deeply in set_defaults

The Object.assign method performs a shallow merge, thus it can lose
properties in nested objects. For example, if config.bar = { foo: bar }
then it would entirely replace defaults.bar and self.config.bar.height
would be undefined. The deepmerge library is a lightweight module that
merges enumerable attributes deeply. In the above example,
self.config.bar would then be {foo: bar, height: 20}.

I think this commit also retroactively applies some previous changes to
dist/frappe-gantt.js and dist/frappe-gantt.js.map from commits: 241c65db697475a3a17324f4c613d28353f89a8c,
1926ddbd48f1ff0bd7a0d49cadf14fcd415c3bfd, and be45a9656ffd482e1611198158b6032c965e1309.

* Define bar corner radius on initialization

Allows this property to be set without changing source code. Requires
deep merge of default and config objects added in commit f32e76af7733515f10a9adc004100e57f794f804

* Fix bug causing TypeError when config parameter is undefined

Fixes issue when optional config parameter is unspecified since
Deepmerge throws error  "Cannot convert undefined or null to object"
in such cases.
2018-01-18 22:32:12 +05:30
Faris Ansari
25c4d24c0f build version 0.0.6 2017-06-06 12:05:09 +05:30
Faris Ansari
d4b3080360 build version 0.0.5 2017-03-21 10:33:08 +05:30
Faris Ansari
df2d35c77d [fix] canvas width 2017-02-14 18:33:37 +05:30
Faris Ansari
b33216274c generate id if not given, custom popup html 2017-02-14 17:14:57 +05:30
Faris Ansari
ac37400390 Add refresh method
updates gantt with new tasks, no need to initialize new object
2017-02-14 15:10:31 +05:30
Faris Ansari
630f8405e1 [fix] date text in week mode 2017-02-02 16:52:53 +05:30
Faris Ansari
9bcd2a4236 [fix] drag when no progress handle 2017-01-29 12:43:24 +05:30
Faris Ansari
44954a77aa build version 0.0.3 2017-01-28 15:37:55 +05:30
Faris Ansari
32c1ca9129 update details popup on change, compute_date refactor 2017-01-28 13:58:35 +05:30
Faris Ansari
5ab94156dd child task restrict position, scroll position 2017-01-28 12:48:25 +05:30
Faris Ansari
cbafcde5f8 fixed progress resize handle 2017-01-05 13:10:36 +05:30
Faris Ansari
cf3e4bbd8f build version 0.0.1 2016-12-28 12:22:03 +05:30
Faris Ansari
abfbaa709b fixed month issues, change lib name to frappe-gantt 2016-12-23 15:31:58 +05:30