-
Notifications
You must be signed in to change notification settings - Fork 323
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
Dynamic dropdown support #4072
Merged
Merged
Dynamic dropdown support #4072
Conversation
This file contains 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
Frizi
force-pushed
the
wip/frizi/dynamic-dropdown-184012743
branch
2 times, most recently
from
January 25, 2023 20:22
a58934a
to
ddce482
Compare
Frizi
requested review from
MichaelMauderer,
wdanilo,
farmaazon,
mwu-tow and
kazcw
as code owners
January 26, 2023 21:03
wdanilo
requested changes
Jan 26, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Frizi
force-pushed
the
wip/frizi/dynamic-dropdown-184012743
branch
2 times, most recently
from
February 1, 2023 12:37
eade623
to
600d0ef
Compare
Frizi
force-pushed
the
wip/frizi/dynamic-dropdown-184012743
branch
from
February 1, 2023 14:48
600d0ef
to
7cc15d4
Compare
wdanilo
approved these changes
Feb 2, 2023
Frizi
force-pushed
the
wip/frizi/dynamic-dropdown-184012743
branch
from
February 3, 2023 09:19
8e6e02b
to
ee12641
Compare
Frizi
added
CI: Clean build required
CI runners will be cleaned before and after this PR is built.
CI: Ready to merge
This PR is eligible for automatic merge
and removed
CI: Clean build required
CI runners will be cleaned before and after this PR is built.
CI: Ready to merge
This PR is eligible for automatic merge
labels
Feb 3, 2023
Frizi
force-pushed
the
wip/frizi/dynamic-dropdown-184012743
branch
from
February 3, 2023 11:27
ca3ed07
to
660ad12
Compare
Frizi
added
the
CI: Clean build required
CI runners will be cleaned before and after this PR is built.
label
Feb 3, 2023
Frizi
force-pushed
the
wip/frizi/dynamic-dropdown-184012743
branch
3 times, most recently
from
February 3, 2023 14:48
0277bbc
to
a0bdd5d
Compare
Frizi
force-pushed
the
wip/frizi/dynamic-dropdown-184012743
branch
from
February 3, 2023 14:49
a0bdd5d
to
d7d6025
Compare
hubertp
approved these changes
Feb 3, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a workaround for spurious failures
There is a cleanup race-condition between individual tests casued by asynchronous initialization of JGit. It's rare but happens and leads to spurious failures. Marking as flaky to unblock unrelated PRs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
CI: Clean build required
CI runners will be cleaned before and after this PR is built.
CI: Ready to merge
This PR is eligible for automatic merge
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.
Pull Request Description
Implementation of https://www.pivotaltracker.com/story/show/184012743
column-name-widget-switching.mp4
This is also a step towards more general widget support. The widget metadata is queried using
Meta.get_annotation
method through a dedicated visualization. For now onlySingle_Choice
case is handled, and always all suggestions are is returned.Important Notes
There are limitations as to which node segments receive a widget. Only chain method calls are supported now (
thing.method
syntax), and only outside of lambda scope. Widgets in lambdas will require support for visualisations of lambda subexpressions, which is currently missing in the engine. The IDE technically tries to place the widgets there, but the data never arrives. It should work once the engine support is added.This PR includes a mock for
Meta.get_annotation
call that only supportsTable.at
method. Real implementation is a separate task that is already in progress.Checklist
Please include the following checklist in your PR:
Scala,
Java,
and
Rust
style guides.
./run ide build
and./run ide watch
.