Ayush Chaudhari
761751f269
feat: App-Defined Workflow Tasks and Server Scripts on Transition ( #33255 )
...
* feat: add workflow task doctypes
* chore: add Workflow Task to Script Type of Server Scripts
* chore: add description for Workflow Tasks
* feat: fetch dotted paths and corresponding names from hooks
* fix: use Select field instead of Autocomplete
* feat: execute tasks in the background on state transition
* fix: throw error when task not found
* fix: naming for transition task set by user
* fix: child table views
* feat: support for server scripts
* chore: comments and description
* fix: change the casing of docevent options
* fix: change test casing
* feat: Add Workflow Transition field to webhooks
* fix: temporarily remove filter
* feat: add webhooks as workflow actions
* test: test execution of synchronous app-defined methods and server scripts
* chore: shorten the description and change the fieldname of the field 'execute_asynchronously' to 'asynchronous'
* test: server script executipn
* fix: add field to UI
* test: change customer to domain
* test: change Customer to Domain
* fix: patch for change in webhook fields
* chore: fetch only used fields in get_all
* fix: don't run test logic in application code 🙂
* test: separate tests for workflow tasks
* Revert "fix: patch for change in webhook fields"
This reverts commit 2e9c51c43ca2b3698991fbe75cc4032368ab174c.
* chore: break into smaller functions
* test: webhooks with workflow tasks
isolate mock responses to test_sync_tasks
* Revert "fix: change test casing"
This reverts commit e2bad96ed01dea0a26d002ea44a1e0175525ed31.
* Revert "fix: change the casing of docevent options"
This reverts commit ddfc81bf775fad74225f25815b8e3e7b255dc9eb.
* fix: webhook casing
* fix: type hint for doc
2025-07-29 11:01:44 +05:30
rutwikhdev
8aa292968c
fix: find workflow by id instead of state name
2024-12-17 22:08:35 +05:30
Fisher Yu
ea61af2ceb
[fix] Add missing translate function call ( #25747 )
...
* Update Properties.vue
* Update store.js
* Update Section.vue
* Update list_settings.js
* Update grid_row.js
* Update list_settings.js
* chore: add in missing context for some strings
Co-authored-by: Corentin Flr <10946971+cogk@users.noreply.github.com>
* chore: formatting and lint fixes
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
---------
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Akhil Narang <me@akhilnarang.dev>
Co-authored-by: Corentin Flr <10946971+cogk@users.noreply.github.com>
2024-04-12 14:39:02 +05:30
Fisher Yu
41a7b42f16
fix: Translate form and workflow builder ( #25482 )
...
* Update AttachControl.vue
* Update ButtonControl.vue
* Update CheckControl.vue
* Update CodeControl.vue
* Update DataControl.vue
* Update ImageControl.vue
* Update LinkControl.vue
* Update RatingControl.vue
* Update SelectControl.vue
* Update SignatureControl.vue
* Update TableControl.vue
* Update TextControl.vue
* Update TextEditorControl.vue
* Update Section.vue
* Update Column.vue
* Update Tabs.vue
* Update Field.vue
* Update Sidebar.vue
* Update AddFieldButton.vue
* Update AddFieldButton.vue
* Update Section.vue
* Update WorkflowBuilder.vue
* Update Autocomplete.vue
* Update EditableInput.vue
* Update AttachControl.vue
* Update ButtonControl.vue
* Update CheckControl.vue
* Update CodeControl.vue
* Update DataControl.vue
* Update ImageControl.vue
* Update LinkControl.vue
* Update RatingControl.vue
* Update SelectControl.vue
* Update SignatureControl.vue
* Update TextControl.vue
* Update TextEditorControl.vue
* Update Field.vue
* Update EditableInput.vue
* Update TableControl.vue
* Update Column.vue
* fix: variable in translatable string
* fix: add context for row number label
* fix: translate labels in workflow builder
* style: formatting
---------
Co-authored-by: barredterra <14891507+barredterra@users.noreply.github.com>
Co-authored-by: Ankush Menat <ankush@frappe.io>
2024-03-18 18:41:50 +05:30
barredterra
da1e8750c8
refactor: replace in_list(array, member) with array.includes(member)
2024-03-10 16:09:09 +01:00
猛火
854cebd5b1
fix: Solve the problem that the document editor will report an error when the type name includes multiple spaces ( #23940 )
2023-12-26 14:34:48 +05:30
Shariq Ansari
41af595a9a
fix: set default allow_self_approval as 1
2023-11-16 12:39:56 +05:30
Suraj Shetty
b4bc871aab
style: Auto format vue file with prettier
...
- Ran pre-commit run --all-files
2023-11-13 11:26:00 +05:30
Shariq Ansari
6b5b21f343
chore: show beta indicator
2023-10-19 11:28:44 +05:30
Shariq Ansari
3aa37bc84c
fix: reload workflow data after save
2023-10-19 11:21:56 +05:30
Sambasiva Suda
53c795f4b8
fix: Workflow Builder not updating diagram with added states/transitions in table ( #22429 )
...
Co-authored-by: Shariq Ansari <sharique.rik@gmail.com>
2023-10-03 17:13:51 +05:30
Ankush Menat
1ebbbc772e
Merge branch 'develop' into feat-desk-refresh
2023-09-18 21:05:37 +05:30
Shariq Ansari
6ce30724cb
chore: linter fix
2023-09-15 18:33:18 +05:30
Sambasiva Suda
d312cb443c
fix: saving workflow in workflow builder
2023-09-15 15:32:48 +05:30
Shariq Ansari
191044a2c3
style: changed primary arrow color
2023-09-03 14:14:54 +05:30
Shariq Ansari
628bdd18d2
fix: allow to add all states even if it is already added
2023-07-16 13:40:06 +05:30
Shariq Ansari
1607eb9ef3
fix: added breadcrumbs on workflow builder page
2023-06-07 09:57:43 +05:30
Shariq Ansari
6dfcd529d1
fix: max width for state and text center
2023-05-10 17:57:25 +05:30
Shariq Ansari
c3e6d7c620
fix: changed state shape
...
default fitview
2023-05-10 15:14:52 +05:30
Shariq Ansari
35f1c0213d
fix: dont save if state or transition is empty and is_active is set
2023-05-10 14:41:15 +05:30
Shariq Ansari
9f6eb02a2c
fix: validate transitions while saving workflow
2023-05-04 18:09:31 +05:30
Shariq Ansari
d8c9ba35e5
fix: validate transitions while connecting states
2023-05-04 18:08:43 +05:30
Shariq Ansari
80d59a8cb5
fix: do not set selected as null if state/action loose focus becoz it is getting priority when we select another state while state is selected
2023-05-03 13:31:27 +05:30
Shariq Ansari
173511b4b2
fix: loose focus before adding new state
2023-05-03 13:25:59 +05:30
Shariq Ansari
e7a5c2282d
fix: set focus on action when edge is updated
2023-05-03 12:53:51 +05:30
Shariq Ansari
7c6077ded5
fix: loose focus when clicked on background
2023-05-03 12:52:43 +05:30
Shariq Ansari
4611447e6f
fix: set stateid as 1 if there is no states
...
default doc_status as Draft instead of 0
2023-05-03 12:47:26 +05:30
Shariq Ansari
e01e5a92ef
fix: load update_fields options
2023-05-03 02:06:59 +05:30
Shariq Ansari
5fccffb676
fix: move allow_edit property after doc_status
2023-05-03 02:01:47 +05:30
Shariq Ansari
f209474ba0
fix: on data change trigger history update for undo redo
2023-05-03 01:59:02 +05:30
Shariq Ansari
4e93f6cc7b
fix: reset elements before fetch
2023-05-03 00:27:49 +05:30
Shariq Ansari
10c48a568c
fix: only allow to select remaining states
2023-05-03 00:11:28 +05:30
Shariq Ansari
43dcda036b
fix: select entire transition on edge/acess role/action click also deselect on blur
2023-05-03 00:05:57 +05:30
Shariq Ansari
b7861195ab
fix: deselect all nodes while adding new state
2023-05-03 00:04:32 +05:30
Shariq Ansari
befde647ae
fix: delete node only if backspace is clicked not meta/ctrl + backspace
2023-05-02 21:20:49 +05:30
Shariq Ansari
1622f8d86a
fix: loose focus when clicked outside container
2023-05-02 21:13:27 +05:30
Shariq Ansari
a405f99154
fix: update states & transition table on save
2023-05-02 21:05:45 +05:30
Shariq Ansari
5b21db8d2a
fix: show Draft/Submitted/Cancelled instead of 0/1/2 in doc_status dropdown
2023-05-02 20:59:12 +05:30
Shariq Ansari
277c5e16d2
fix: select action on connecting two state
2023-05-02 20:37:47 +05:30
Shariq Ansari
b6aa76b7ef
fix: also include selected in undo redo object
2023-05-02 20:28:33 +05:30
Shariq Ansari
1384b65f5b
fix: select state when added
2023-05-02 20:21:41 +05:30
Shariq Ansari
9ab905c46c
fix: show state/transition data on sidebar on click
2023-05-02 20:09:47 +05:30
Shariq Ansari
5894286d1f
fix: sidebar header
2023-05-02 19:27:32 +05:30
Shariq Ansari
8e9c2aa643
fix: resizable sidebar
2023-05-02 19:15:18 +05:30
Shariq Ansari
bcfd07be73
fix: added sidebar to show workflow data
2023-05-02 19:00:34 +05:30
Shariq Ansari
13e5031c3c
fix: cmd/ctrl+s to save workflow
2023-05-02 18:29:26 +05:30
Shariq Ansari
654c941635
fix: clean workflow_data before saving
2023-05-02 18:23:50 +05:30
Shariq Ansari
3d0af4b9c6
fix: save_changes in to workflow_data field
2023-05-02 18:04:44 +05:30
Shariq Ansari
a10cf8d8e8
fix: also show role access for transition
2023-05-02 17:57:05 +05:30
Shariq Ansari
f258ca09ac
fix: render states & transition by fetching workflow data
2023-05-02 17:55:46 +05:30