gristlabs_grist-core/app/server
Paul Fitzpatrick 20d8124f45 (core) support ?embed=true and &style=light for a clean embed experience
Summary:
This adds query parameters useful for tailoring the Grist experience, with an eye to embedding.

Setting `style=light` removes side and top bars, as a first pass at a focused view of a single document page (this would benefit from refining).

Setting `embed=true` has no significant effect just yet other than it restricts document access to viewer at most (this can be overridden by specifying `/m/default`).

Test Plan: added tests

Reviewers: dsagal

Reviewed By: dsagal

Differential Revision: https://phab.getgrist.com/D2585
2020-08-14 13:34:38 -04:00
..
lib (core) support ?embed=true and &style=light for a clean embed experience 2020-08-14 13:34:38 -04:00
declarations.d.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
devServerMain.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
mergedServerMain.ts (core) move home server into core 2020-07-21 20:39:10 -04:00
serverMethods.js (core) move home server into core 2020-07-21 20:39:10 -04:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00