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.
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
[Dashboard First] Lens By Value #70272
[Dashboard First] Lens By Value #70272
Changes from 11 commits
297dba0
168825a
0039a97
8ec8020
681625f
473a052
3ee8263
a34d585
b7ff957
5d05ac9
adc1298
a3d0adc
3ecb3d9
72a068a
d1ab683
9cb9a7c
a0fffd0
4d64d5e
9e5f7a9
580fbba
df5fad0
c6d87c7
cd61dfc
7f86d23
43657f9
888ca49
b9d9c5c
c823217
87a780c
d3d2cfd
b793ca3
ef65220
ee625ec
4e39564
ed461d3
c9878c5
cb72a3e
a5910f2
ac5c91a
068ebaf
c1435e0
ac94aec
642eea8
9af2c06
8b43747
df876af
aeb25ee
6fc1f00
9598011
10d98e3
e85caeb
2ef26c6
ff13e40
3411c36
1d5b123
f497244
5b6d397
d345571
0dee8a7
12b9aa4
e3dc91a
29ae393
719d67c
3470c63
566500c
8796ab0
216fd7f
d0e3fd8
6f28a7f
cf74955
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
why do we need to pass this one down ? (was not needed for visualize by value ?)
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.
also, should we not go thru visualize embeddable to create a lens embeddable from dashboard ? i would prefer if we would directly work with lens embeddable there.
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.
The createByValue argument was used to differentiate between editing a by value embeddable, creating a by reference embeddable, and creating a by value embeddable. I was able to remove this prop by checking for the presence of the embeddableId in the stateTransferService instead, which should make it a little cleaner.
In terms of creating a lens embeddable via the visualize embeddable factory, it's been that way for a while due to the lens app being registered as an alias App in visualize. Changing this flow will be a larger initiative, but we're already making progress on it. @ryankeairns has a really nice design for a new 'add panel' flow.