gristlabs_grist-core/app/client/ui2018
Alex Hall 73c4efa315 (core) Hide the GristDocTour table by default but reveal it when /p/GristDocTour is in the URL
Summary:
Adds 'GristDocTour' as a possible value of urlState().docPage

GristDoc checks for this and converts it to a normal view record ID

It also then sets a flag showGristDocTour=true which tells Pages.ts to show the page in the sidebar

Otherwise the page is 'hidden' in the sidebar in the same way it would be if blocked by ACL rules

This all feels very hacky, but I don't know this code well enough to know if there's a better way. Hopefully this behaviour is temporary.

Test Plan: Tested manually, not sure if this is worth an automated test at this stage

Reviewers: paulfitz, dsagal

Reviewed By: paulfitz, dsagal

Subscribers: dsagal

Differential Revision: https://phab.getgrist.com/D2953
2021-07-30 20:14:34 +02:00
..
breadcrumbs.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
buttons.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
buttonSelect.ts (core) Making cells colors effective also in Card and Card List views 2021-02-09 15:08:44 +01:00
checkbox.ts (core) Implement UI for trigger formulas. 2021-06-29 10:24:16 -04:00
ColorPalette.ts (core) Brings the new color select. 2021-02-19 16:18:14 +01:00
ColorSelect.ts (core) Add color options to choice config UI 2021-07-09 12:07:38 -07:00
cssVars.ts (core) Freezing columns on a GridView 2021-06-18 12:22:13 +02:00
draggableList.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
editableLabel.ts (core) Add rules to eslint to better match our coding conventions. 2021-05-24 12:56:18 -04:00
IconList.ts (core) Add Lock icon 2021-06-01 13:10:57 -04:00
icons.ts (core) One more phase of ACL UI revision. 2020-12-22 22:18:12 -05:00
links.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
loaders.ts (core) move client code to core 2020-10-02 13:24:21 -04:00
menus.ts (core) Implement UI for trigger formulas. 2021-06-29 10:24:16 -04:00
modals.ts (core) Fix widget loading spinner title 2021-06-15 08:56:24 -07:00
pages.ts (core) Hide the GristDocTour table by default but reveal it when /p/GristDocTour is in the URL 2021-07-30 20:14:34 +02:00
search.ts (core) fix closing of the search bar 2021-05-25 16:46:30 +02:00
select.ts (core) Implement UI for trigger formulas. 2021-06-29 10:24:16 -04:00