Tracking PR: live deployment - #54
Draft
joneugster wants to merge 101 commits into
Draft
Conversation
Also could avoid a screen flash in some cases — not resetting these in the effect handler is an improvement, and worth the cost of two URLSearchParams constructors.
Incorporate fixes
feat: more-standard settings for hiding the navigation bar
feat: link live.lean-lang.org to comparator.live.lean-lang.org feat: link live.lean-lang.org to comparator.live.lean-lang.org
Fix bad destination for #11
Allow Verso preview in lean4web for correctly configured projects
Full completions when mathlib is imported can be on the order of 200k items, on the order of 20-40MB jsonrpc responses. Because these are on the same websocket connection as `$/lean/fileProgress`, we will block on transferring the completions response before communicating to the user that elaboration has finished successfully. This sometimes leads to reportedly 10-30s user-visible latency between finishing typing and waiting for the yellow spinner in the infoview to resolve. In practice, completions appear to be compressed by a factor of 8-9x by the deflate algorithm supported by websockets. We expect this should improve user-facing (non-completion) responsiveness when large completions are in flight, as other factors such as JSON.parse or toString are measured as negligible (well under 100ms) for the same payload. It may also improve end-to-end completion responsiveness itself, but probably at most only by a factor of about 2x according to experiments.
fix: enable compression for large messages
switching 'can I trust this proof' to side menu when collaborating, and enabling selective emphasis of collaborate and comparator in the header bar
merge upstream collaboration features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR shows the patches live.lean-lang.org has.
DO NOT MERGE