Commit graph

3194 commits

Author SHA1 Message Date
Ritwik Puri
3446ca9155
fix: consider default value for content in update_workspace2 patch (#21258) 2023-06-08 13:14:37 +05:30
Ankush Menat
fa6dc03cc8
refactor: frappe.cache() usage to frappe.cache (#21282) 2023-06-08 11:47:17 +05:30
Ankush Menat
34ee6a1677
fix: declare the function (#21261)
[skip ci]
2023-06-06 16:11:02 +05:30
Ankush Menat
be1da0dd00 chore: remove duplicate cache clearing 2023-06-03 22:53:10 +05:30
Sagar Vora
9f5a994f70 fix!: improved filter validation in Engine.get_query 2023-05-31 14:16:52 +05:30
Ankush Menat
77db84a2be fix: reset tour
[skip ci]
2023-05-30 15:39:14 +05:30
Shariq Ansari
474186c264 fix: only show public and user's private blocks in dropdown 2023-05-30 12:08:43 +05:30
Shariq Ansari
07781eefe9 fix: create private custom html block 2023-05-30 12:07:43 +05:30
Shariq Ansari
d00e41d725 refactor: rearranged code 2023-05-29 16:21:00 +05:30
Shariq Ansari
7776f85cb0
Merge branch 'develop' into custom-html-block-global-css 2023-05-29 16:02:24 +05:30
Shariq Ansari
2a97e3b19f fix: removed html message since we no longer have no ristrictions 2023-05-29 15:59:41 +05:30
Shariq Ansari
62565b5191 fix: made a util to create shadow element 2023-05-29 15:57:58 +05:30
Shariq Ansari
08f0f8beb1 fix: make desk css available i shadow html 2023-05-29 15:56:38 +05:30
Ankush Menat
2ed2f8747d chore: track doc creation
This is alternate to "Activation" level that already exists, activation
level will be phased out over time.
2023-05-29 13:34:24 +05:30
Shariq Ansari
0c90d1748f fix: go back instead of opening select_doctype dialog 2023-05-26 21:12:05 +05:30
Shariq Ansari
2af7e74eb9 fix: made select_doctype accessable gobally which can be used to change doctype from form-builder 2023-05-26 20:41:28 +05:30
Shariq Ansari
17f25aab93 fix: form-builder/new-doctype opens separate dialog
refactored form_builder.js
2023-05-26 20:38:43 +05:30
Ankush Menat
7c82876305 fix: patch existing users/site 2023-05-25 15:25:57 +05:30
Ankush Menat
81c103a741 refactor: remove form tour settings 2023-05-25 15:04:38 +05:30
Maharshi Patel
639de716d5
Merge branch 'develop' into onboarding-tour 2023-05-25 12:30:04 +05:30
Maharshi Patel
40b78692fe chore: fix linters
missing translate function and newline at end of file.
2023-05-25 11:54:37 +05:30
Maharshi Patel
32396c7fe5 fix: guess module if not set in form tour
if unable to guess save in Desk module.
2023-05-25 11:42:24 +05:30
Ankush Menat
4ab98b998d
fix: setup wizard recursion in routing (#21101)
- setup wizard shows slide from index in route
- if you visit `/app/setup-wizard` then index in route is `undefined`
- because of hacky code we do `id + ''` so `undefined` becomes `"undefined"` a truthy value

The recursion of undefined > 0 > undefined > 0 continues until browser
intervenes and stops further routing.
2023-05-24 17:43:51 +05:30
Ankush Menat
4376ebb3dc refactor: replace todo tour with user tour
adding more users is most likely to improve adoption. so better place to
show tours is user doctype?
2023-05-24 13:24:09 +05:30
Ankush Menat
657c2ba3b2 fix: clear cached onboarding status on update 2023-05-24 12:48:07 +05:30
Ankush Menat
09ce5f7a94 chore: fix main workspace tour copy
- fix copy
- make it run on any workspace
2023-05-24 12:44:27 +05:30
Ankush Menat
8d63e2f183 fix: clear boot cache on updating form tour 2023-05-24 12:31:51 +05:30
Ankush Menat
78dc9fc9ac fix: fieldtype json -> text 2023-05-24 12:06:04 +05:30
Maharshi Patel
19c4b396ae chore: fix linters 2023-05-24 11:44:36 +05:30
Maharshi Patel
5f91ed93ef
Merge branch 'develop' into onboarding-tour 2023-05-23 18:16:20 +05:30
Ankush Menat
119313810e
fix: misc onboarding fixes (#21078)
* fix: show fields without label too

* fix: make form tour step editable

* fix: hide duplicate save buttons


[skip ci]
2023-05-23 15:39:00 +05:30
Maharshi Patel
69705ec086 fix: update module in json to Desk 2023-05-23 15:36:59 +05:30
Maharshi Patel
4557a7b664 fix: minor changes as per review. 2023-05-23 15:23:58 +05:30
Maharshi Patel
2451d8d263 fix: remove always required for element_selector. 2023-05-23 15:22:27 +05:30
Maharshi Patel
4e74051732 fix: add form tour settings to desk module. 2023-05-23 15:18:15 +05:30
Ankush Menat
c643d4a33c chore: capitalization 2023-05-22 16:15:53 +05:30
Ankush Menat
9f83ead7a2 fix: remove setup_complete events
This can trigger along side actual setup complete event causing two
parallel requests.
2023-05-22 14:48:19 +05:30
Maharshi Patel
e191d6fb73
Merge branch 'develop' into onboarding-tour 2023-05-19 11:05:50 +05:30
ruthra kumar
6b2bcd5b07 fix: using 'Equals' and 'Is' on multiselect throws error 2023-05-18 16:48:19 +05:30
Maharshi Patel
76c118bac7 feat: frappe framework basic UI tours. 2023-05-18 12:27:37 +05:30
Maharshi Patel
7ee486c896 fix: clear dashboard_name only if list name is not Dashboard 2023-05-18 03:54:48 +05:30
Maharshi Patel
8bd0ab6db4 feat: form tour logic and ui tour routes
on client-side added some form logic required by ui tours and to generate page_route based on conditions. on server-side added logic to update Form Tour Settings.
2023-05-18 03:04:36 +05:30
Maharshi Patel
458f03525e fix: typo in reference_doctype depends_on 2023-05-18 02:58:05 +05:30
Maharshi Patel
acbf784e2a feat: add fields for onboarding ui tours.
Fields required for UI Tours.
2023-05-18 02:15:09 +05:30
Shariq Ansari
6174cbaef9
Merge branch 'develop' into custom-workspace-block 2023-05-17 20:46:23 +05:30
Shariq Ansari
c8179a1873 fix: only allow developer & Administrator to create standard doctype using form builder 2023-05-17 20:41:08 +05:30
Shariq Ansari
d08b0fa477 fix: allow custom html block based on roles applied
if roles table is empty it will allow access
2023-05-17 17:39:08 +05:30
Shariq Ansari
b8c6791e7f chore: guidelines for how to interact with HTML from JS and global class will not work in HTML 2023-05-17 16:52:08 +05:30
Shariq Ansari
001425f71b fix: backend to create workspace custom block and update workspace 2023-05-17 14:59:19 +05:30
Shariq Ansari
45c05be9a3 fix: created workspace custom block doctype to store custom blocks 2023-05-17 14:54:24 +05:30