gristlabs_grist-core/app
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
..
client (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
common (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
gen-server (core) Redesign examples and templates UI 2021-07-28 12:29:03 -07:00
plugin (core) Showing censored values as a grey cell 2021-06-07 13:11:41 +02:00
server (core) process GristDocAPI calls from custom widgets in the client 2021-07-30 10:41:32 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00