gristlabs_grist-core/app/client/ui
Alex Hall cd0c6de53e (core) Automatically or explicitly show document tours in the same way as example cards.
Summary:
Extracts code from showExampleCard into a generic function which is reused for document tours.

It handles reading and writing to user preferences for automatic showing and explicitly reopening.

Test Plan:
Manually tested that it automatically shows a tour just once and clicking to reopen works.

There's not much new functionality so there's little that needs testing. This is an initial version that's mostly internal and is likely to be polished for users in the future.

If I should still add tests, I'd like confirmation that the current behaviour is as desired.

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2944
2021-07-27 18:35:48 +02:00
..
AccountWidget.ts (core) Replace time zone selector with one based on the newer autocomplete. 2021-07-23 08:02:05 -04:00
AddNewButton.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ApiKey.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
App.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
App.ts (core) Add support for editing on mobile. 2021-02-03 23:10:51 -05:00
AppHeader.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
AppUI.ts (core) Make side panels responsive and start closed on small screens. 2021-02-08 15:07:04 -05:00
BillingForm.ts (core) Configure more comprehensive eslint rules for Typescript 2021-04-26 18:54:55 -04:00
BillingPage.ts (core) Fix several flaky tests. 2021-07-19 11:47:14 -04:00
BillingPageCss.ts (core) Make side panels responsive and start closed on small screens. 2021-02-08 15:07:04 -05:00
BillingPlanManagers.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
BottomBar.ts (core) Making side bars a bit more usable for narrow screen 2021-01-19 15:22:01 +01:00
buttons.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
CodeHighlight.ts (core) Update UI for formula and column label/id in the right-side panel. 2021-03-17 01:35:56 -04:00
ColumnFilterMenu.ts (core) Enhance autocomplete and choice colors 2021-07-16 09:10:51 -07:00
CustomThemes.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
DocHistory.ts (core) Fix JS error when switching from DocHistory to ActionLog too quickly. 2020-12-11 14:33:29 -05:00
DocMenu.ts (core) Allow docs to be permanently deleted in icon view 2021-06-15 08:33:47 -07:00
DocMenuCss.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
DocTour.ts (core) Allow creating custom document tours with a special table 2021-07-23 20:23:30 +02:00
Document.css (core) move client code to core 2020-10-02 13:24:21 -04:00
DocumentSettings.ts (core) Replace time zone selector with one based on the newer autocomplete. 2021-07-23 08:02:05 -04:00
errorPages.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ExampleCard.ts (core) Automatically or explicitly show document tours in the same way as example cards. 2021-07-27 18:35:48 +02:00
ExampleInfo.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FieldConfig.ts (core) Implement UI for trigger formulas. 2021-06-29 10:24:16 -04:00
FieldMenus.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FileDialog.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
FilterBar.ts (core) split sort and filter menu into its own button 2021-05-03 09:13:28 +02:00
forms.ts (core) In Welcome questionnaire, add 'School' option, ask to enter company or school 2020-11-02 14:05:31 -05:00
GridOptions.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
GridViewMenus.ts (core) Context menu for cards. 2021-06-29 15:29:56 +02:00
HomeImports.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
HomeIntro.ts (core) Allow docs to be permanently deleted in icon view 2021-06-15 08:33:47 -07:00
HomeLeftPane.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
LeftPanelCommon.ts (core) Brings welcome tour and hide behind a flag 2021-07-19 16:30:53 +02:00
MakeCopyMenu.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
MenuToggle.ts (core) Context menu for cards. 2021-06-29 15:29:56 +02:00
modals.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
mouseDrag.ts (core) Add our very own implementation of tokenfield (aka pillbox, tag list) 2021-05-03 17:16:24 -04:00
MultiSelector.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
NotifyUI.ts (core) suspend a team site after an AppSumo refund 2021-07-15 09:14:12 -04:00
OnBoardingPopups.ts (core) Allow creating custom document tours with a special table 2021-07-23 20:23:30 +02:00
PagePanels.ts (core) Brings welcome tour and hide behind a flag 2021-07-19 16:30:53 +02:00
Pages.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
PageWidgetPicker.ts (core) Fix widget loading spinner title 2021-06-15 08:56:24 -07:00
PinnedDocs.ts (core) Allow docs to be permanently deleted in icon view 2021-06-15 08:33:47 -07:00
ProfileDialog.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
resizeHandle.ts Initial config with a few files that build on client and server side. 2020-05-20 00:50:46 -04:00
RightPanel.ts (core) Renaming column by clicking away resulted in renaming different column. 2021-06-08 20:27:06 +02:00
RowContextMenu.ts (core) Context menu for cards. 2021-06-29 15:29:56 +02:00
selectBy.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
sendToDrive.ts (core) Fixing origin check during Google Authentication 2021-07-23 00:43:27 +02:00
shadowScroll.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
ShareMenu.ts (core) Export to Excel and Send to drive 2021-07-21 16:36:00 +02:00
Tools.ts (core) Automatically or explicitly show document tours in the same way as example cards. 2021-07-27 18:35:48 +02:00
tooltips.ts (core) Draft cells 2021-05-25 21:14:49 +02:00
TopBar.ts (core) Add a button and a tooltip to Access Rules page item, in View-As mode. 2021-03-08 16:08:21 -05:00
TopBarCss.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
transientInput.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
transitions.ts (core) Show a welcome card when a user opens an example for the first time. 2020-09-09 23:08:50 -04:00
TreeViewComponent.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
TreeViewComponentCss.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
TriggerFormulas.ts (core) Implement UI for trigger formulas. 2021-06-29 10:24:16 -04:00
UserImage.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
UserManager.ts (core) Disallow the combination of Public Edit access and granular ACLs. 2021-03-26 09:59:41 -04:00
ViewLayoutMenu.ts (core) Context menu for cards. 2021-06-29 15:29:56 +02:00
viewport.ts (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
ViewSectionMenu.ts (core) remove the sort&filter save button on readonly mode 2021-05-07 18:08:05 +02:00
VisibleFieldsConfig.ts (core) Configure more comprehensive eslint rules for Typescript 2021-04-26 18:54:55 -04:00
WelcomePage.ts (core) streamline registration flow for new appsumo users 2021-06-25 10:47:10 -04:00
welcomeTour.ts (core) Brings welcome tour and hide behind a flag 2021-07-19 16:30:53 +02:00
widgetTypes.ts (core) move client code to core 2020-10-02 13:24:21 -04:00