Commit graph

183 commits

Author SHA1 Message Date
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
RitvikSardana
33cb3775cb Merge branch 'develop' of https://github.com/frappe/frappe into develop-ritvik-filter-eval-support 2024-03-21 12:29:28 +05:30
Ankush Menat
cc2c39d583
fix: avoid translating layout field labels (#25548)
- section
- tabs

Resolves https://github.com/frappe/frappe/pull/25482#discussion_r1530827772
2024-03-19 18:01:39 +00:00
RitvikSardana
f1c4f88843 fix: eval support for child table 2024-03-19 12:02:17 +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
RitvikSardana
e152fa579d feat: add eval support for link field filters 2024-03-14 23:15:46 +05:30
barredterra
da1e8750c8 refactor: replace in_list(array, member) with array.includes(member) 2024-03-10 16:09:09 +01:00
Ankush Menat
26cf1c8acb fix: dont set fetch from if partial 2024-03-07 18:43:42 +05:30
Shariq Ansari
4fecf0c07b fix: create custom doctype from customize form 2024-01-24 23:56:16 +05:30
Shariq Ansari
14f1850532 fix: changed external icon & minor changes 2024-01-24 23:56:16 +05:30
RitvikSardana
cdfd1edf9d fix: improve new doctype dialog api 2024-01-24 23:56:08 +05:30
RitvikSardana
35a8a64879 fix: prefill doctype dialog with 'Is Child Table' 2024-01-24 23:56:07 +05:30
RitvikSardana
34ff893f14 fix(dx): one click to edit doctype or create a new doctype 2024-01-24 23:56:07 +05:30
猛火
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
Corentin Flr
6f36c0fa0b
fix(form_builder): Use locale-aware sorting and search for fieldtypes (#23454)
* fix(form_builder): Use locale-aware string sort and search for DocFields

* fix(form_builder): Fix CSS cursor for DocField autocomplete
2023-12-01 21:39:52 +05:30
Shariq Ansari
8c4f2829c8
Merge pull request #23479 from shariquerik/add-section-below 2023-11-28 19:35:09 +05:30
Shariq Ansari
7602174871 fix: add section below 2023-11-27 15:21:13 +05:30
RitvikSardana
71201675ba fix: add back if condition 2023-11-23 13:33:15 +05:30
RitvikSardana
89dbb42f6f fix: link field shown only for Link fieldtype 2023-11-23 13:12:16 +05:30
RitvikSardana
0c4245634f
feat: Apply Filters to Link Fields Via Form Builder (#22844)
Co-authored-by: Suraj Shetty <13928957+surajshetty3416@users.noreply.github.com>
2023-11-15 11:34:19 +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
98f357cbb1 chore: handle dark mode 2023-11-08 13:50:47 +05:30
Shariq Ansari
4d6bc58a59 revert: code control loosing focus when edit (for now reverting need better fix) 2023-11-08 13:31:25 +05:30
Shariq Ansari
5e07df7af4 fix: removed unsed code from Column.vue 2023-11-08 12:13:10 +05:30
Shariq Ansari
3efbc30222 fix: added all options to add/remove section/column in section header 2023-11-08 11:55:38 +05:30
Shariq Ansari
88113b6c08 fix: added Dropdown component 2023-11-08 11:54:35 +05:30
Shariq Ansari
aa55ccf88f fix: always show section header 2023-11-07 19:32:15 +05:30
Shariq Ansari
c648d3424b
Merge pull request #23072 from bosue/form_builder_switch_icons
fix(UX): Switch 'Duplicate' and 'Move' buttons on Form Builder.
2023-11-02 18:20:05 +05:30
Bernd Oliver Sünderhauf
ba1544c49d fix(UX): Switch 'Duplicate' and 'Move' buttons on Form Builder. 2023-11-02 13:26:17 +01:00
Shariq Ansari
198ac226c5 fix: add dedeicated add field button at each column 2023-11-02 15:35:29 +05:30
Shariq Ansari
aa0e72deca fix: was not able to remove unselected tab 2023-11-01 18:40:19 +05:30
Shariq Ansari
0cf6eacc1c fix: added delay in draggable for touch devices scrolling will not be affected 2023-11-01 14:20:26 +05:30
Shariq Ansari
211740315b fix: do not delete tab/section/colum/field if pressing delete to edit properties or label 2023-11-01 00:13:34 +05:30
Shariq Ansari
afdfc5cddd fix: delete/backspace to delete tab/section/column if selected 2023-10-31 21:16:06 +05:30
Shariq Ansari
4955a90f55 fix: click on + button to add field and press enter tab will be deleted 2023-10-31 21:05:33 +05:30
Shariq Ansari
ca2152d56c feat: ctrl+shift+n to add new field & delete/backspace to delete the field when it in on focus 2023-10-31 20:51:41 +05:30
Shariq Ansari
d95b3b6fb0 feat: created autocomplete component to control options with up/down key 2023-10-31 20:28:31 +05:30
Shariq Ansari
456cdae3b0 chore: show add tab button always 2023-10-31 13:07:30 +05:30
Shariq Ansari
58bf248bb8 chore: do not focus on label if form builder is loaded 2023-10-31 12:36:11 +05:30
Shariq Ansari
c45306e923 chore: spacing 2023-10-31 12:33:22 +05:30
Shariq Ansari
3df24c7060 fix: move autocomplete popup on bottom-start 2023-10-31 12:15:35 +05:30
Shariq Ansari
b345ad5fe0 fix: focus on fields label after adding it 2023-10-31 12:05:30 +05:30
Shariq Ansari
0e397d6f6a fix: minor fixes 2023-10-31 11:50:56 +05:30
Shariq Ansari
55a57164a2 fix: delete passed tab not current tab 2023-10-31 02:25:35 +05:30
Shariq Ansari
c31161a564 chore: Only show add section button if there is no tabs 2023-10-31 02:15:19 +05:30
Shariq Ansari
8956bbd3ec chore: hide tab actions in preview mode 2023-10-31 02:03:11 +05:30
Shariq Ansari
6a626318be fix: teleport dropdown outside to handle clipping 2023-10-31 01:39:47 +05:30
Shariq Ansari
5f8887d794 fix: add new field btn in empty column
also created AddFieldButton component
2023-10-31 00:35:00 +05:30
Shariq Ansari
bdbb11fbb9 fix: add new field using + button on field 2023-10-30 21:48:12 +05:30
Shariq Ansari
a28c8e9745 chore: cleanup 2023-10-30 21:47:39 +05:30