Skip to content

Commit 3753fd8

Browse files
Merge pull request #57 from DHTMLX/next
Next
2 parents b002c71 + e89a391 commit 3753fd8

File tree

1,076 files changed

+91067
-400
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,076 files changed

+91067
-400
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,23 @@ jobs:
4242
tags: registry.webix.io/kanban-docs-alt:${{ steps.vars.outputs.short_ref }}
4343

4444
- run: curl "https://docs.dhtmlx.com/hooks/restart-docker?token=${{ secrets.RESTART_TOKEN }}&project=docs-kanban-alt-${{ steps.vars.outputs.short_ref }}"
45+
algolia-crawl:
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Checkout Repo
50+
uses: actions/checkout@v4
51+
52+
- name: Wait for Deployment
53+
run: sleep 30
54+
55+
- name: Algolia Crawler Creation and Crawl
56+
uses: algolia/algoliasearch-crawler-github-actions@v1.0.10
57+
with:
58+
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }}
59+
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }}
60+
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }}
61+
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }}
62+
site-url: "https://docs.dhtmlx.com/kanban/"
63+
crawler-name: "Kanban Docs Crawler"
64+
override-config: true

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
npm-debug.log*
1919
yarn-debug.log*
2020
yarn-error.log*
21-
*.cjs
22-
.pnp.loader.mjs
2321
.yarn
22+
.pnp.cjs
23+
.pnp.loader.mjs
24+
.yarnrc.yml
25+
prompts
26+
gptit.toml
27+
.gitconfig

docs/api/overview/main_overview.md

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -197,29 +197,29 @@ new kanban.Toolbar("#toolbar", {
197197

198198
| Name | Description |
199199
| ----------------------------------------------------------- | ------------------------------------------------------ |
200-
| [GET `/cards`](../provider/rest_routes/get_routes/js_kanban_get_cards_route.md) | @getshort(../provider/rest_routes/get_routes/js_kanban_get_cards_route.md) |
201-
| [GET `/columns`](../provider/rest_routes/get_routes/js_kanban_get_columns_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_columns_route.md) |
202-
| [GET `/links`](../provider/rest_routes/get_routes/js_kanban_get_links_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_links_route.md) |
203-
| [GET `/rows`](../provider/rest_routes/get_routes/js_kanban_get_rows_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_rows_route.md) |
204-
| [GET `/users`](../provider/rest_routes/get_routes/js_kanban_get_users_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_users_route.md) |
205-
| [GET `/uploads`](../provider/rest_routes/get_routes/js_kanban_get_uploads_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_uploads_route.md) |
206-
| [POST `/cards`](../provider/rest_routes/post_routes/js_kanban_post_cards_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_cards_route.md) |
207-
| [POST `/cards/{cardId}/comments`](../provider/rest_routes/post_routes/js_kanban_post_cards_comments_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_cards_comments_route.md) |
208-
| [POST `/cards/{cardId}/vote`](../provider/rest_routes/post_routes/js_kanban_post_cards_votes_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_cards_votes_route.md) |
209-
| [POST `/columns`](../provider/rest_routes/post_routes/js_kanban_post_columns_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_columns_route.md) |
210-
| [POST `/links`](../provider/rest_routes/post_routes/js_kanban_post_links_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_links_route.md) |
211-
| [POST `/rows`](../provider/rest_routes/post_routes/js_kanban_post_rows_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_rows_route.md) |
212-
| [POST `/uploads`](../provider/rest_routes/post_routes/js_kanban_post_uploads_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_uploads_route.md) |
213-
| [PUT `/cards`](../provider/rest_routes/put_routes/js_kanban_put_cards_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_cards_route.md) |
214-
| [PUT `/cards/{id}/move`](../provider/rest_routes/put_routes/js_kanban_put_cards_move_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_cards_move_route.md) |
215-
| [PUT `/cards/{cardId}/comments/{cardId}`](../provider/rest_routes/put_routes/js_kanban_put_cards_comments_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_cards_comments_route.md) |
216-
| [PUT `/columns`](../provider/rest_routes/put_routes/js_kanban_put_columns_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_columns_route.md) |
217-
| [PUT `/columns/{id}/move`](../provider/rest_routes/put_routes/js_kanban_put_columns_move_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_columns_move_route.md) |
218-
| [PUT `/rows`](../provider/rest_routes/put_routes/js_kanban_put_rows_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_rows_route.md) |
219-
| [PUT `/rows/{id}/move`](../provider/rest_routes/put_routes/js_kanban_put_rows_move_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_rows_move_route.md) |
220-
| [DELETE `/cards`](../provider/rest_routes/delete_routes/js_kanban_delete_cards_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_cards_route.md) |
221-
| [DELETE `/cards/{cardId}/comments/{cardId}`](../provider/rest_routes/delete_routes/js_kanban_delete_cards_comments_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_cards_comments_route.md) |
222-
| [DELETE `/cards/{cardId}/vote`](../provider/rest_routes/delete_routes/js_kanban_delete_cards_votes_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_cards_votes_route.md) |
223-
| [DELETE `/columns`](../provider/rest_routes/delete_routes/js_kanban_delete_columns_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_columns_route.md) |
224-
| [DELETE `/links`](../provider/rest_routes/delete_routes/js_kanban_delete_links_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_links_route.md) |
225-
| [DELETE `/rows`](../provider/rest_routes/delete_routes/js_kanban_delete_rows_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_rows_route.md) |
200+
| [GET `/cards`](api/provider/rest_routes/get_routes/js_kanban_get_cards_route.md) | @getshort(../provider/rest_routes/get_routes/js_kanban_get_cards_route.md) |
201+
| [GET `/columns`](api/provider/rest_routes/get_routes/js_kanban_get_columns_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_columns_route.md) |
202+
| [GET `/links`](api/provider/rest_routes/get_routes/js_kanban_get_links_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_links_route.md) |
203+
| [GET `/rows`](api/provider/rest_routes/get_routes/js_kanban_get_rows_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_rows_route.md) |
204+
| [GET `/users`](api/provider/rest_routes/get_routes/js_kanban_get_users_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_users_route.md) |
205+
| [GET `/uploads`](api/provider/rest_routes/get_routes/js_kanban_get_uploads_route.md)| @getshort(../provider/rest_routes/get_routes/js_kanban_get_uploads_route.md) |
206+
| [POST `/cards`](api/provider/rest_routes/post_routes/js_kanban_post_cards_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_cards_route.md) |
207+
| [POST `/cards/{cardId}/comments`](api/provider/rest_routes/post_routes/js_kanban_post_cards_comments_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_cards_comments_route.md) |
208+
| [POST `/cards/{cardId}/vote`](api/provider/rest_routes/post_routes/js_kanban_post_cards_votes_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_cards_votes_route.md) |
209+
| [POST `/columns`](api/provider/rest_routes/post_routes/js_kanban_post_columns_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_columns_route.md) |
210+
| [POST `/links`](api/provider/rest_routes/post_routes/js_kanban_post_links_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_links_route.md) |
211+
| [POST `/rows`](api/provider/rest_routes/post_routes/js_kanban_post_rows_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_rows_route.md) |
212+
| [POST `/uploads`](api/provider/rest_routes/post_routes/js_kanban_post_uploads_route.md)| @getshort(../provider/rest_routes/post_routes/js_kanban_post_uploads_route.md) |
213+
| [PUT `/cards`](api/provider/rest_routes/put_routes/js_kanban_put_cards_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_cards_route.md) |
214+
| [PUT `/cards/{id}/move`](api/provider/rest_routes/put_routes/js_kanban_put_cards_move_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_cards_move_route.md) |
215+
| [PUT `/cards/{cardId}/comments/{cardId}`](api/provider/rest_routes/put_routes/js_kanban_put_cards_comments_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_cards_comments_route.md) |
216+
| [PUT `/columns`](api/provider/rest_routes/put_routes/js_kanban_put_columns_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_columns_route.md) |
217+
| [PUT `/columns/{id}/move`](api/provider/rest_routes/put_routes/js_kanban_put_columns_move_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_columns_move_route.md) |
218+
| [PUT `/rows`](api/provider/rest_routes/put_routes/js_kanban_put_rows_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_rows_route.md) |
219+
| [PUT `/rows/{id}/move`](api/provider/rest_routes/put_routes/js_kanban_put_rows_move_route.md)| @getshort(../provider/rest_routes/put_routes/js_kanban_put_rows_move_route.md) |
220+
| [DELETE `/cards`](api/provider/rest_routes/delete_routes/js_kanban_delete_cards_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_cards_route.md) |
221+
| [DELETE `/cards/{cardId}/comments/{cardId}`](api/provider/rest_routes/delete_routes/js_kanban_delete_cards_comments_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_cards_comments_route.md) |
222+
| [DELETE `/cards/{cardId}/vote`](api/provider/rest_routes/delete_routes/js_kanban_delete_cards_votes_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_cards_votes_route.md) |
223+
| [DELETE `/columns`](api/provider/rest_routes/delete_routes/js_kanban_delete_columns_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_columns_route.md) |
224+
| [DELETE `/links`](api/provider/rest_routes/delete_routes/js_kanban_delete_links_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_links_route.md) |
225+
| [DELETE `/rows`](api/provider/rest_routes/delete_routes/js_kanban_delete_rows_route.md)| @getshort(../provider/rest_routes/delete_routes/js_kanban_delete_rows_route.md) |

docs/api/overview/rest_routes_overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description: You can have an Internal RestDataProvider routes overview of JavaSc
99
import Tabs from '@theme/Tabs';
1010
import TabItem from '@theme/TabItem';
1111

12-
This page gives you the list of all REST routes with their short description and links to pages with more details.<br> Before you dive into each route description, it's recommended to read about [Working with Server](guides/working_with_server.md).
12+
This page gives you the list of all REST routes with their short description and links to pages with more details.<br/> Before you dive into each route description, it's recommended to read about [Working with Server](guides/working_with_server.md).
1313

1414
---
1515

docs/guides/initialization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ To learn more about configuring the Toolbar of Kanban, read the [**Configuration
8080
### Configuration properties
8181

8282
:::note
83-
The full list of properties to configure **Kanban** can be found [**here**](api/overview/properties_overview.md). <br>
83+
The full list of properties to configure **Kanban** can be found [**here**](api/overview/properties_overview.md). <br/>
8484
The full list of properties to configure **Toolbar of Kanban** can be found [**here**](api/overview/toolbar_properties_overview.md).
8585
:::
8686

docs/guides/integration_with_salesforce.md

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ You should be familiar with the basic concepts and patterns of [**Salesforce**](
1313
DHTMLX Kanban is compatible with [Salesforce](https://www.salesforce.com/) platform. We have prepared code examples on how to add DHTMLX Kanban into Salesforce environment. For more information, refer to the corresponding [Example on GitHub](https://github.com/DHTMLX/salesforce-lwc-demo).
1414

1515
:::note
16-
The JavaScript Kanban widget automatically detects that it operates within a [Salesforce](https://www.salesforce.com/) environment and configures the integration logic internally. In most cases, you do not need to call any [Salesforce-specific methods](#salesforce-specific-methods) manually.
16+
The JavaScript Kanban widget automatically detects that it operates within a [**Salesforce**](https://www.salesforce.com/) environment and configures the integration logic internally. In most cases, you do not need to call any [**Salesforce-specific methods**](#salesforce-specific-methods) manually.
1717
:::
1818

1919
## Preparing environment
@@ -49,20 +49,41 @@ Normally, salesforce-specific methods are not required, but they can be availabl
4949

5050
### Salesforce-specific methods
5151

52-
You can use the following methods of the `salesForceEnv` helper class:
52+
You can use the following methods of the `salesForceEnv` helper class:
5353

5454
| Method | Description |
5555
| :--------------------------------------------------------------- | :----------------------------------------------------------------------------- |
5656
| `salesForceEnv.detect()` | Detects whether the Kanban is running inside Salesforce |
57-
| `salesForceEnv.addGlobalEvent(eventName, handler, htmlElement)` | Attaches a global event to the first available `HTMLElement` |
58-
| `salesForceEnv.getTopNode()` | Returns the first available `HTMLElement` inside the Salesforce DOM hierarchy |
57+
| `salesForceEnv.addGlobalEvent(eventName, handler, htmlElement)` | Attaches a global event to the first available HTML element |
58+
| `salesForceEnv.getTopNode()` | Returns the first available HTML element inside the Salesforce DOM hierarchy |
59+
60+
```jsx {4,7}
61+
import {
62+
Kanban,
63+
Toolbar,
64+
salesForceEnv
65+
} from "@dhx/trial-kanban";
66+
67+
salesForceEnv.detect();
68+
```
5969

6070
### Additional exported function
6171

6272
| Function | Description |
6373
| :------------------- | :-------------------------------------------------------------------------------- |
6474
| `enableSalesForce()` | Manually sets the Salesforce environment when automatic detection is unavailable |
6575

76+
```jsx {5,8}
77+
import {
78+
Kanban,
79+
Toolbar,
80+
salesForceEnv,
81+
enableSalesForce
82+
} from "@dhx/trial-kanban";
83+
84+
enableSalesForce();
85+
```
86+
6687
## Workflow steps
6788

6889
1. Add the `data-wx-root="true"` attribute to your LWC container

docs/news/whats_new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ If you are updating Kanban from an older version, check [Migration to newer vers
1212

1313
Released on October 14, 2025
1414

15-
[Review of release on the blog](https://dhtmlx.com/blog/dhtmlx-kanban-1-7/)
15+
[Review of release on the blog](https://dhtmlx.com/blog/meet-dhtmlx-kanban-1-7/)
1616

1717
### Salesforce Integration
1818

docusaurus.config.js

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,17 +134,30 @@ const onAfterDataTransformation = (data) => {
134134
const config = {
135135
noIndex: false,
136136
title: 'DHTMLX JavaScript Kanban Docs',
137-
tagline: 'DHTMLX JavaScript Kanban Docs',
137+
tagline: 'DHTMLX JavaScript Kanban Docs',
138138
url: 'https://docs.dhtmlx.com',
139-
baseUrl: '/kanban/',
140-
139+
baseUrl: process.env.DOCUSAURUS_BASEURL || '/kanban/',
140+
i18n: {
141+
defaultLocale: 'en',
142+
locales: ['en', 'de', 'ru', 'zh', 'ko'],
143+
localeConfigs: {
144+
zh: {
145+
htmlLang: 'zh-CN',
146+
label: '中文'
147+
},
148+
}
149+
},
141150
onBrokenLinks: 'warn',
142-
onBrokenMarkdownLinks: 'warn',
143151
onBrokenAnchors: 'warn',
144152
favicon: 'img/favicon.ico',
145153
organizationName: 'DHTMLX', // Usually your GitHub org/user name.
146154
projectName: 'docs-kanban', // Usually your repo name.
147155
trailingSlash: true,
156+
markdown: {
157+
hooks: {
158+
onBrokenMarkdownLinks: 'warn',
159+
}
160+
},
148161
scripts:[
149162
{
150163
src: 'https://dhtmlx.com/gtag/docs.js',
@@ -217,7 +230,11 @@ const config = {
217230
"label": "Download",
218231
"href": "https://dhtmlx.com/docs/products/dhtmlxKanban/download.shtml",
219232
"position": "right"
220-
}
233+
},
234+
{
235+
type: 'localeDropdown',
236+
position: 'right',
237+
},
221238
],
222239
},
223240
footer: {

0 commit comments

Comments
 (0)