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?
This commit is contained in:
parent
657c2ba3b2
commit
4376ebb3dc
4 changed files with 157 additions and 238 deletions
95
frappe/core/form_tour/user_list_tour/user_list_tour.json
Normal file
95
frappe/core/form_tour/user_list_tour/user_list_tour.json
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
{
|
||||
"creation": "2023-05-24 12:53:02.844582",
|
||||
"dashboard_name": "",
|
||||
"docstatus": 0,
|
||||
"doctype": "Form Tour",
|
||||
"first_document": 0,
|
||||
"idx": 0,
|
||||
"include_name_field": 0,
|
||||
"is_standard": 1,
|
||||
"list_name": "List",
|
||||
"modified": "2023-05-24 13:21:29.552864",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "User List Tour",
|
||||
"new_document_form": 0,
|
||||
"owner": "Administrator",
|
||||
"page_name": "",
|
||||
"page_route": "[\"List\",\"User\",\"List\"]",
|
||||
"reference_doctype": "User",
|
||||
"report_name": "",
|
||||
"save_on_complete": 0,
|
||||
"steps": [
|
||||
{
|
||||
"description": "List view shows all the documents for a particular DocType. Here you can see all the current enabled users in the system. ",
|
||||
"element_selector": ".frappe-list",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Top Center",
|
||||
"title": "Users List",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "These are filters. You can use them to narrow down list of records.",
|
||||
"element_selector": ".standard-filter-section.flex",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 1,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Bottom",
|
||||
"title": "Filters",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "When standard filters are not enough you can use advance filters. ",
|
||||
"element_selector": ".filter-selector > .btn-group",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"ondemand_description": "Advance filters are applied on fields with different operators. \n<br>\nClick on \"Apply Filters\" to continue.",
|
||||
"popover_element": 0,
|
||||
"position": "Left",
|
||||
"title": "Advanced Filters",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "Let's create a new user.",
|
||||
"element_selector": ".btn-primary.primary-action",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 1,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 1,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"parent_element_selector": "",
|
||||
"popover_element": 0,
|
||||
"position": "Bottom",
|
||||
"title": "New User",
|
||||
"ui_tour": 1
|
||||
}
|
||||
],
|
||||
"title": "User List Tour",
|
||||
"track_steps": 1,
|
||||
"ui_tour": 1,
|
||||
"view_name": "List",
|
||||
"workspace_name": ""
|
||||
}
|
||||
|
|
@ -1,159 +0,0 @@
|
|||
{
|
||||
"creation": "2023-05-18 12:12:01.839494",
|
||||
"dashboard_name": "",
|
||||
"docstatus": 0,
|
||||
"doctype": "Form Tour",
|
||||
"first_document": 0,
|
||||
"idx": 0,
|
||||
"include_name_field": 0,
|
||||
"is_standard": 1,
|
||||
"list_name": "List",
|
||||
"modified": "2023-05-18 12:22:07.306556",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Desk",
|
||||
"name": "Todo List Tour",
|
||||
"new_document_form": 0,
|
||||
"owner": "Administrator",
|
||||
"page_name": "",
|
||||
"page_route": "[\"List\",\"ToDo\",\"List\"]",
|
||||
"reference_doctype": "ToDo",
|
||||
"report_name": "",
|
||||
"reset_tours": 0,
|
||||
"save_on_complete": 0,
|
||||
"steps": [
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">List View</h5>",
|
||||
"element_selector": ".layout-main-section.frappe-card",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Left",
|
||||
"title": "TODO",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">List View as the name suggest is used to see documents/records in list format.</h5>",
|
||||
"element_selector": ".frappe-list",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Top Center",
|
||||
"title": "TODO List",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">Using Quick filter you can refine and narrow down the displayed data by applying specific criteria or conditions</h5>",
|
||||
"element_selector": ".list-sidebar.overlay-sidebar.hidden-xs.hidden-sm",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Right",
|
||||
"title": "Sidebar",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">You can also filter using this inputs</h5>",
|
||||
"element_selector": ".standard-filter-section.flex",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 1,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Bottom",
|
||||
"title": "Input Filters",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5>Click on the Filter button</h5>",
|
||||
"element_selector": ".filter-selector > .btn-group",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 1,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"ondemand_description": "<h5 style=\"line-height:1.5\">Aou can add multiple filters and hit apply to refine results</h5>",
|
||||
"popover_element": 1,
|
||||
"position": "Left",
|
||||
"title": "Advanced Filters",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">Click here to remove all filter</h5>",
|
||||
"element_selector": ".filter-selector > .btn-group > .filter-x-button",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 1,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Left",
|
||||
"title": "Clear Filters",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">You can arrange data in ascending or descending order based on selected attributes.\n<ol>\n <hr/>\n <li>Click on <b>Last Updated On</b></li>\n <br/>\n <li>Select the Attribute based on which you want to sort</li>\n</ol>\n</h5>",
|
||||
"element_selector": ".sort-selector",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": -20,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Left",
|
||||
"title": "Sort By",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">Click to change ascending or descending order.\n</h5>",
|
||||
"element_selector": ".sort-selector > .btn-group > .btn-order",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": -20,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Left",
|
||||
"title": "Sort By",
|
||||
"ui_tour": 1
|
||||
}
|
||||
],
|
||||
"title": "Todo List Tour",
|
||||
"track_steps": 1,
|
||||
"ui_tour": 1,
|
||||
"view_name": "List",
|
||||
"workspace_name": ""
|
||||
}
|
||||
|
|
@ -1,79 +0,0 @@
|
|||
{
|
||||
"creation": "2023-05-18 12:09:40.792239",
|
||||
"dashboard_name": "",
|
||||
"docstatus": 0,
|
||||
"doctype": "Form Tour",
|
||||
"first_document": 0,
|
||||
"idx": 0,
|
||||
"include_name_field": 0,
|
||||
"is_standard": 1,
|
||||
"list_name": "",
|
||||
"modified": "2023-05-18 12:22:01.208707",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Desk",
|
||||
"name": "Tools Workspace Tour",
|
||||
"new_document_form": 0,
|
||||
"owner": "Administrator",
|
||||
"page_name": "",
|
||||
"page_route": "[\"Workspaces\",\"Tools\"]",
|
||||
"reference_doctype": "",
|
||||
"report_name": "",
|
||||
"reset_tours": 0,
|
||||
"save_on_complete": 0,
|
||||
"steps": [
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">This is Tools Workspace</h5>",
|
||||
"element_selector": ".codex-editor",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Left",
|
||||
"title": "Workspace",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">Workspace have cards that serve as links to different modules and features. For instance, the Email List card provides easy access to related components like Newsletter and Email Group </h5>",
|
||||
"element_selector": "[card_name=\"Email\"]",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Right",
|
||||
"title": "Email Card",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "<h5 style=\"line-height:1.5;\">Shortcuts are a set of clickable links that serve as direct links to frequently accessed modules and features</h5>",
|
||||
"element_selector": "[shortcut_name=\"ToDo\"]",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 1,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_form_tour": "Todo List Tour",
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Right",
|
||||
"title": "Todo Shortcut",
|
||||
"ui_tour": 1
|
||||
}
|
||||
],
|
||||
"title": "Tools Workspace Tour",
|
||||
"track_steps": 1,
|
||||
"ui_tour": 1,
|
||||
"view_name": "Workspaces",
|
||||
"workspace_name": "Tools"
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
{
|
||||
"creation": "2023-05-24 12:50:23.740052",
|
||||
"dashboard_name": "",
|
||||
"docstatus": 0,
|
||||
"doctype": "Form Tour",
|
||||
"first_document": 0,
|
||||
"idx": 0,
|
||||
"include_name_field": 0,
|
||||
"is_standard": 1,
|
||||
"list_name": "",
|
||||
"modified": "2023-05-24 13:01:56.539128",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Desk",
|
||||
"name": "Users Workspace Tour",
|
||||
"new_document_form": 0,
|
||||
"owner": "Administrator",
|
||||
"page_name": "",
|
||||
"page_route": "[\"Workspaces\",\"Users\"]",
|
||||
"reference_doctype": "",
|
||||
"report_name": "",
|
||||
"save_on_complete": 0,
|
||||
"steps": [
|
||||
{
|
||||
"description": "This is Users Workspace. You'll find all shortcuts for user, roles and permission management here.",
|
||||
"element_selector": ".codex-editor",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 0,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Left",
|
||||
"title": "Workspace",
|
||||
"ui_tour": 1
|
||||
},
|
||||
{
|
||||
"description": "This is a shortcut to User DocType. \n<br>\n\nLet's Click on the User shortcut to explore all users in System.",
|
||||
"element_selector": "[shortcut_name=\"User\"]",
|
||||
"fieldtype": "0",
|
||||
"has_next_condition": 0,
|
||||
"hide_buttons": 1,
|
||||
"is_table_field": 0,
|
||||
"modal_trigger": 0,
|
||||
"next_form_tour": "User List Tour",
|
||||
"next_on_click": 0,
|
||||
"offset_x": 0,
|
||||
"offset_y": 0,
|
||||
"popover_element": 0,
|
||||
"position": "Right",
|
||||
"title": "Users Shortcut",
|
||||
"ui_tour": 1
|
||||
}
|
||||
],
|
||||
"title": "Users Workspace Tour",
|
||||
"track_steps": 1,
|
||||
"ui_tour": 1,
|
||||
"view_name": "Workspaces",
|
||||
"workspace_name": "Users"
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue