Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare extension and CI for release candidate #978

Merged
merged 51 commits into from
Sep 17, 2023

Conversation

krassowski
Copy link
Member

@krassowski krassowski commented Sep 8, 2023

References

Fixes #961

Code changes

New and renamed keywords:

  • "Click Token"
  • "Open Context Menu Over Token"
  • "Mouse Over Token"
  • "Mouse Over And Wiggle" → "Mouse Over Token And Wiggle"
  • "Mouse Over With Control" → "Mouse Over Token With Control"

Type comments are no more.

Removed no longer needed CI pins 🎉

Remaining completer bugs:

  • completer width increases when typing when panel is documentation open (most likely upstream bug, possibly induced by the recent PR that changed when that width is counted in, needs better tests upstream)
  • completion reconciliator fails due to insertText getter not being respected due to spread syntax (upstream, but I have workaround for now)
  • wrong offset in tokens (fixed locally)
  • elide in paths
  • documentation rendering should be decided per-item and delegated to respective providers (upstream)
    • open issue upstream to discuss
    • workaround by just calling parent renderer for non-LSP items
  • processedItemsCache
    • with new changes upstream it is probably best to defer
  • caching result of resolve request
  • completion in paths test highlights a bug
  • highlights error in console when tabbing

User-facing changes

Backwards-incompatible changes

None

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

Binder 👈 Launch a binder notebook on branch krassowski/jupyterlab-lsp/hover-ci

which is what was causing the remaining tests to be flaky
@krassowski krassowski mentioned this pull request Sep 10, 2023
2 tasks
@krassowski krassowski marked this pull request as ready for review September 11, 2023 09:45
@krassowski krassowski changed the title Fixing CI: custom script to click on text fragments Prepare extension and CI for release candidate Sep 14, 2023
Prior to this commit the positions would be always resolved with respect
to the root document because virtual document was being taken from
adapter using `virtualPositionToRootPosition` func which is error
prone as the assumption of virtual document == root document is not
obvious; this function was removed. To make the fixes work, a
workaround for foreign document created in inherited classes always having
the usptream class was added; the issue was reported in
jupyterlab/jupyterlab#15126
@krassowski krassowski closed this Sep 15, 2023
@krassowski krassowski reopened this Sep 15, 2023
Notably, we no longer adjust start/end position based on individual
items because that was not predictable; instead we revert the logic
and populate insert text as needed to match start/end. We only change
end to equal start if there are absolutely no prefix matches, which
is required because otherwise everything would be filtered out.
selecting `ValueError` on `va` would produce `valueError`.
@krassowski
Copy link
Member Author

This is down to 15 failing tests, 4 of which are upstream issues.

@krassowski krassowski merged commit 3fb68db into jupyter-lsp:main Sep 17, 2023
14 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant