gristlabs_grist-core/app/client
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
..
aclui (core) tweak description of FullCopies special permission 2021-07-30 06:18:41 -04:00
components (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
lib (core) Replace time zone selector with one based on the newer autocomplete. 2021-07-23 08:02:05 -04:00
models (core) Redesign examples and templates UI 2021-07-28 12:29:03 -07:00
ui (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
ui2018 (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
widgets (core) Allow creating custom document tours with a special table 2021-07-23 20:23:30 +02:00
app.css (core) Make mobile the default mode. 2021-02-25 11:31:43 -05:00
app.js (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
declarations.d.ts (core) Remove REPL code 2021-07-20 15:17:03 +02:00
exposeModulesForTests.js (core) Some cleanup: remove old unused modules. 2020-11-20 11:23:20 -05:00
logo.css (core) Cleanup removing some old unused files, fixing logo.css, and removing #grist-app. 2020-10-09 17:04:09 -04:00
tsconfig.json freshen app/client/ui2018/cssVars.ts 2020-06-23 16:16:38 -04:00