Skip to content

Commit 7d7634f

Browse files
authored
Merge branch 'main' into add-viewmode-QuarterYear
2 parents df2e585 + fabcdfb commit 7d7634f

27 files changed

+14024
-36369
lines changed

.eslintrc

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
{
22
"parser": "@typescript-eslint/parser",
3-
"extends": [
4-
"standard",
5-
"standard-react",
6-
"plugin:prettier/recommended",
7-
"prettier/standard",
8-
"prettier/react",
9-
"plugin:@typescript-eslint/eslint-recommended"
10-
],
3+
"extends": ["react-app", "react-app/jest"],
114
"plugins": ["@typescript-eslint"],
125
"env": {
136
"node": true

.vscode/launch.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "pwa-chrome",
9+
"request": "launch",
10+
"name": "Launch Chrome against localhost",
11+
"url": "http://localhost:3000",
12+
"webRoot": "${workspaceFolder}"
13+
}
14+
]
15+
}

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ You may handle actions
4444
onTaskDelete={onTaskDelete}
4545
onProgressChange={onProgressChange}
4646
onDoubleClick={onDblClick}
47+
onClick={onClick}
4748
/>
4849
```
4950

@@ -72,6 +73,7 @@ npm start
7273
| :----------------- | :---------------------------------------------------------------------------- | :-------------------------------------------------------------------------------------- |
7374
| onSelect | (task: Task, isSelected: boolean) => void | Specifies the function to be executed on the taskbar select or unselect event. |
7475
| onDoubleClick | (task: Task) => void | Specifies the function to be executed on the taskbar onDoubleClick event. |
76+
| onClick | (task: Task) => void | Specifies the function to be executed on the taskbar onClick event. |
7577
| onDelete\* | (task: Task) => void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed on the taskbar on Delete button press event. |
7678
| onDateChange\* | (task: Task, children: Task[]) => void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed when drag taskbar event on timeline has finished. |
7779
| onProgressChange\* | (task: Task, children: Task[]) => void/boolean/Promise<void>/Promise<boolean> | Specifies the function to be executed when drag taskbar progress event has finished. |
@@ -86,6 +88,7 @@ npm start
8688
| :------------- | :------ | :---------------------------------------------------------------------------------------------------------- |
8789
| viewMode | enum | Specifies the time scale. Hour, Quarter Day, Half Day, Day, Week(ISO-8601, 1st day is Monday), Month, QuarterYear, Year. |
8890
| viewDate | date | Specifies display date and time for display. |
91+
| preStepsCount | number | Specifies empty space before the fist task |
8992
| locale | string | Specifies the month name language. Able formats: ISO 639-2, Java Locale. |
9093
| rtl | boolean | Sets rtl mode. |
9194

0 commit comments

Comments
 (0)