cosmos-explorer/less
Laurent Nguyen 861042c27e
Fix bug publish screenshot (#762)
[Preview this branch](https://cosmos-explorer-preview.azurewebsites.net/pull/762?feature.someFeatureFlagYouMightNeed=true)

The main change in this PR fixes the snapshot functionality in the Publish pane-related components. Because the code cell outputs are now rendered in their own iframes for security reasons, a single snapshot of the notebook is no longer possible: each cell output takes its own snapshot and the snapshots are collated on the main notebook snapshot.
- Move the snapshot functionality to notebook components: this removes the reference of the notebook DOM node that we must pass to the Publish pane via explorer.
- Add slice in the state and actions in notebook redux for notebook snapshot requests and result
- Add post robot message to take snapshots and receive results
- Add logic in `NotebookRenderer` to wait for all output snapshots done before taking the main one collating.
- Use `zustand` to share snapshot between Redux world and React world. This solves the issue of keeping the `PanelContainer` component generic, while being able to update its children (`PublishPanel` component) with the new snapshot.

Additional changes:
- Add `local()` in `@font-face` to check if font is already installed before downloading the font (must be done for Safari, but not Edge/Chrome)
- Add "Export output to image" menu item in notebook cell, since each cell output can take its own snapshot (which can be downloaded)
![image](https://user-images.githubusercontent.com/21954022/117454706-b5f16600-af46-11eb-8535-6bf99f3d9170.png)
2021-05-11 18:24:05 +00:00
..
Common Fix bug publish screenshot (#762) 2021-05-11 18:24:05 +00:00
TableStyles Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00
documentDB.less Migrate Add Database Panel to React (#597) 2021-05-10 14:02:14 -05:00
forms.less Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00
hostedexplorer.less A11y fixes - Add a skip link and remove duplicate ids (#381) 2021-01-12 09:55:04 -08:00
index.less Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00
infobox.less Added a different message if the account is free tier (#69) 2020-07-08 10:02:47 -07:00
menus.less Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00
messagebox.less Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00
quickstart.less Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00
resourceTree.less Initial Move from Azure DevOps to GitHub 2020-05-25 21:30:55 -05:00
tree.less Fix missing scrollbar in left pane when too many collections/notebooks (#375) 2021-01-08 14:00:26 +00:00