83 Commits

Author SHA1 Message Date
gavin
d72019bb8a
Merge pull request #164 from zhihuahuang/feat-language-zh-and-view-mode-constant
Feat language zh and view mode constant
2020-02-17 11:15:02 +05:30
huangzhihua
fa22dc7895 feat: Add VIEW_MODE constant 2020-01-09 11:25:40 +08:00
huangzhihua
99781a8274 feat: Add zh month language 2020-01-08 21:58:32 +08:00
Mustafa Hayri ÜNEŞİ
4c130206c4 Add TR language (#156) 2020-01-06 12:16:05 +05:30
Jeroen Rinzema
dd18120d30 fix: broken image link (#153)
updated image source of the frappe gantt logo
2019-11-24 22:06:11 +05:30
diegodurrod
08edaa3d22 Fixed language (#131)
Fixed language when English is not the default language
2019-04-29 12:59:50 +05:30
Anurag Mishra
1f5d842ddb
Merge pull request #116 from St7s/patch-1
add ptBr month
2019-04-26 13:42:36 +05:30
Anurag Mishra
17ccc27a9a
Merge branch 'master' into patch-1 2019-04-26 13:39:47 +05:30
Anurag Mishra
8f6818bc8b
Merge pull request #124 from Antholoj/master
Add option to show months in fr
2019-04-26 12:53:43 +05:30
Anurag Mishra
309c59e6e2
Merge pull request #130 from diegodurrod/patch-1
Added Spanish (es) date language
2019-04-26 12:48:39 +05:30
diegodurrod
6061ae755d
Added Spanish (es) date language 2019-04-22 10:53:54 +02:00
Daoud
211a18666e Add option to show months in fr 2019-03-01 13:52:48 +01:00
St7s
41ea97b4dd
add fr month 2019-01-10 09:01:30 +01:00
Faris Ansari
13f579f4b6
Merge pull request #106 from davidalves1/patch-1
Add option to show months in pt-BR
2018-10-20 23:54:16 +05:30
David Alves de Souza
251e8c25f5
Add option to show months in pt-BR 2018-10-04 17:32:54 -03:00
Faris Ansari
9e3c490196 v0.3.0 2018-09-23 19:49:24 +05:30
Faris Ansari
8447e15225
Merge pull request #96 from vlexz/master
year view mode, localization for month names
2018-09-23 19:45:03 +05:30
Faris Ansari
c5154fc9eb Merge branch 'master' of https://github.com/vlexz/gantt into vlexz-master 2018-09-23 19:44:12 +05:30
Faris Ansari
48ea5ad5a2 Fix formatting 2018-09-23 19:43:12 +05:30
Faris Ansari
50386745ca
Merge branch 'master' into master 2018-09-23 19:41:09 +05:30
Faris Ansari
81622e434b
Merge pull request #99 from kannkyo/master
#98 extend time format to use milliseconds
2018-08-18 21:36:00 +05:30
kannkyo
2712ac3201 #98 extend time format to use milliseconds 2018-08-17 00:11:28 +09:00
Oleksii Voznosymenko
af45438ba9 change default language to english in demo code 2018-08-13 16:29:18 +03: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
49e6880252 [fix] element argument should support HTML and SVG element 2018-07-08 12:23:13 +05:30
Rushabh Mehta
a7e61db72f
Merge pull request #79 from PlethoraLabs/master
Adding CSS file and options example in README.md
2018-06-13 14:07:51 +05:30
Kostas Minaidis
e2a9185dac
Adding CSS file and options example 2018-05-29 20:20:18 +03:00
Anto Christopher
0c39cc9b4e Add feature to change popup trigger event (#77)
* Add change-popup-mode

* Add feature to change popup trigger event

* Remove example of change_popup_mode from index

* Revert back to the original build files

* Make changes asked in review

* Remove default to click from bind event as default already set

* code formatting
2018-05-23 12:36:43 +05:30
Faris Ansari
98f38e1684 [fix] custom_html_popup
- fixes #60
2018-05-20 20:27:34 +05:30
Faris Ansari
94409f0bb8 v0.1.1 2018-05-20 20:04:17 +05:30
Faris Ansari
ec5e559b5c Fixes
- end_date calculation
- hide_popup on grid_click
- bar position should also consider hours
- date_change event only if date has changed
2018-05-20 20:03:18 +05:30
Faris Ansari
cd93fbf655 [fix] Incorrect formatted date
- #61
- problem: December being formatted as 01ecember
2018-05-19 21:40:03 +05:30
Faris Ansari
8f4214a926 [fix] Drag events not working on view mode change
- #61
2018-05-19 21:19:57 +05:30
İsmail Demirbilek
45d218994d fix date_utils add params (#65)
Please see https://github.com/frappe/gantt/blob/master/src/date_utils.js#L4
2018-04-01 14:29:47 +05:30
Carlos Jesús Huchim Ahumada
97591595ac Allow change scss variables (#66) 2018-04-01 14:26:15 +05:30
Faris Ansari
e8467917d7 Add overflow: auto to container 2018-03-05 12:04:51 +05:30
Faris Ansari
1680bb7338 Merge branch 'master' of github.com:frappe/gantt 2018-03-04 20:01:44 +05:30
Faris Ansari
ee1062c182 Don't show popup while dragging 2018-03-04 20:00:49 +05:30
Raghavendra Kamath
5a03973e06 Update the readme to add new Gantt logo (#53)
* Update the readme to add new Gantt logo

* Update README.md
2018-02-17 23:55:15 +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
c8bfc1d679 build version 0.0.7 2017-10-30 16:21:21 +05:30
Faris Ansari
d432ab200e Merge branch 'master' of github.com:frappe/gantt 2017-10-30 15:07:11 +05:30
Faris Ansari
241c65db69 Element parameter support for HTML Element, SVG Element or CSS selector (#25)
* * adjusted the library to support both string css selectors and a raw svg element when resetting its internal variables

* * changes parent_element to use const again instead of let

* * updated the element selection logic to include checking for an html element and finding a child svg object

* * updated parameter comment and exception message to mention both html and svg dom element support

* Code formatting
2017-07-31 14:46:10 +05:30
Faris Ansari
78033cd689 Merge pull request #21 from dalwadani/patch-1
Remove letter-spacing to display Arabic properly
2017-06-26 00:26:48 +05:30
Dhaifallah Alwadani
67a67b927c Remove letter-spacing to display Arabic properly 2017-06-21 17:36:16 +03:00