-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[data views] cache field caps requests #168910
Merged
mattkime
merged 258 commits into
elastic:main
from
mattkime:fields_for_wildcard_stale_while_revalidate
Jan 16, 2024
Merged
Changes from 242 commits
Commits
Show all changes
258 commits
Select commit
Hold shift + click to select a range
5dc9eee
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 797263d
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 691df4f
caching fields requests mostly working
mattkime 609a962
implement advanced setting for cache length AND etag headers
mattkime 2aec419
add mock
mattkime 2abf10e
attempt to fix discover alerting functional test
mattkime 4de45b5
304 sohuldn't accept body
mattkime 8d8fbb4
try setting cache to zero to see if fewer tests fail
mattkime 146ba0b
remove some comments
mattkime 567e250
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 830b959
fix tests
mattkime 9638c36
restore default cache max-age
mattkime 442c048
fix 304 responses, implement refresh button, hopefully fix a test
mattkime c0e4e26
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 3f533ab
fix tests
mattkime ffde29e
revert fields_for_wildcard changes
mattkime 40704e7
revert fields_for_wildcard changes
mattkime 4b02f2d
functional test fixes
mattkime f294f75
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 78bd537
disable cache for sanity check
mattkime 86681be
cleanup
mattkime 4099571
fix test
mattkime 97e7689
restore default cache time length
mattkime 7b7189d
functional test fix
mattkime 7d93e2b
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 5de584f
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 5313afb
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 521e028
hopefully fix some functional tests
mattkime d93f86b
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 4845511
add vary header which should clear cache on user change
mattkime 9dd5d15
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 7f52130
test fixes
mattkime 1566350
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime abcf7d6
I think I implemented the Vary header
mattkime 5f123ae
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine ebc5c67
remove unused type
mattkime 62e3d79
t Merge branch 'fields_for_wildcard_stale_while_revalidate' of github…
mattkime efdc60a
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 0b90af3
remove unused type
mattkime 6cc3ba4
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime cbfc4de
fix jest test
mattkime cde6207
add console.log debugging for functional tests
mattkime 2c0e5d5
add console.log debugging for functional tests
mattkime e2b2ba7
add refresh button in data view picker, attempt to fix field formatte…
mattkime c929e5f
functional test fixes
mattkime 8f59cf5
fix transform functional test
mattkime 7e7da4a
fix data view mgmt type filter on refresh
mattkime fd083a1
try to fix another test
mattkime b1e3357
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 4e5d94d
script field functional test fixes
mattkime 651a792
I hope I fixed the maps functional test
mattkime 8685243
fix some functional tests
mattkime 7319b18
cleanup and functional test fix
mattkime 45b3dca
don't cache empty responses
mattkime 4b4266f
fix functional tests by removing unneeded code
mattkime 2f11c36
cleanup
mattkime 5e94706
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime b0f930e
remove console.log statements
mattkime 208f643
use hash instead of userid
mattkime e101dba
fix browser bundle size
mattkime 6e9e871
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime eb2e989
add integration tests
mattkime 121c2e8
update refresh button text
mattkime aa3503b
increase bundle limit
mattkime 7734118
skip flakey test
mattkime b12cade
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 247bcaa
skip flakey test
mattkime 66836bd
skip flaky test
mattkime 294dfd1
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime c2d5595
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 8736f54
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 387b203
update snapshot
mattkime 99b03af
skip scripted field test, its being flaky
mattkime 4246c60
skip scripted field test, its being flaky
mattkime 42bd2f4
refactor security / data view plugin dependency
mattkime fef8a55
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 6693cf6
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 7b384d4
Revert "refactor security / data view plugin dependency"
mattkime 486308a
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime b009721
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 5c58232
remove circ dependency
mattkime 7445428
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 6ea9098
disable flaky test
mattkime 864d9ef
remove discover refresh button and turn off cache
mattkime 2d7ab2f
fix api integration test
mattkime dbee901
cleanup
mattkime 80249e5
remove skips
mattkime f26a084
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime cd4049b
[CI] Auto-commit changed files from 'node scripts/eslint --no-cache -…
kibanamachine 544aa05
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime df2307e
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 0fc9422
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime efa3195
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime e03a3ec
reenable cache but only for classic environment
mattkime 7bae56d
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 5c69712
type cleanup
mattkime 377a5a6
remove user hash from server response
mattkime 7dc380f
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 1a9a450
remove server side user hash header
mattkime 5971b41
typefix
mattkime fd7adb2
remove unneeded functional test changes
mattkime 278d005
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 55b8191
implement versioned router on fields endpoint
mattkime 1b8704d
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 89c4ff2
fix fields route
mattkime c0fb816
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 6efa5f1
fix test
mattkime 9723dc3
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime c5c993e
add performance journey
mattkime 6d7212a
remove one serialization
mattkime ed73b7b
fix api integration test
mattkime cdeec68
add performance journeys
mattkime 72bbeb7
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 26d3d6d
Add new fields to list with correct types
kertal 7b999db
Improve code
kertal 3a6c239
Remove redundant newFieldsByFieldNameMap
kertal 179105b
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 3fa1369
update setting text
mattkime f40eb1d
use new method for security dependency
mattkime cf7c893
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 781a580
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 9b719cc
Revert "use new method for security dependency"
mattkime 780fc78
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime ccd243a
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 9ec2773
Revert "Revert "use new method for security dependency""
mattkime e412172
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime c51b7d2
[CI] Auto-commit changed files from 'node scripts/lint_ts_projects --…
kibanamachine 6d5df9d
add loading text for button, better button push test logic
mattkime 7f7be97
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 3f7fb79
fix i18n name
mattkime 3c1ab44
wait on field list refresh
mattkime fdcd16c
add refresh button push to serverless index filter test
mattkime 53f1f19
fix ml alert test
mattkime ebd04c7
fix discover security functional test
mattkime 46c9ee7
functional test fix attempts
mattkime 60b0675
another attempt at fixing the discover security test
mattkime b563acd
add some debugging to hopefully help with remaining errors
mattkime b145375
a little more debugging
mattkime eb0604d
a little more debugging
mattkime 6216b37
attempt to fix lens functional test with additional data view refresh
mattkime c386791
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 307a16d
Add multi field support
kertal 54daa2f
Merge branch 'main' into unified-field-list-add-new-fields
kibanamachine 2bce926
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime af83362
fix discover alert functional test
mattkime 1d0dcd5
get fresh field list vith data view swapping.
mattkime 797f6ce
fix discover alert functional test
mattkime 913bedb
fix discover alert functional test
mattkime e6e1e3e
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
kibanamachine b3349b1
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 3f58ecd
fix functional test
mattkime 152d016
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 08a3ea8
cleanup
mattkime 836452a
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime ca50f4d
Merge branch 'main' into unified-field-list-add-new-fields
kibanamachine b73f727
Update docs/concepts/data-views.asciidoc
mattkime c7fbf1e
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 9c4e416
better rendering of refresh button
mattkime 17d4b59
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 44dded0
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 999a6a9
Add support for Lens
kertal 1a30c70
Merge remote-tracking branch 'origin/unified-field-list-add-new-field…
kertal dc9fa0e
cleanup
mattkime 4b17356
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 082430d
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 985ed11
better caching, add tests
mattkime d7701c7
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime fa237a4
Merge remote-tracking branch 'upstream/main' into unified-field-list-…
kertal 15cc582
Add functional test
kertal 3cea884
Merge branch 'main' into unified-field-list-add-new-fields
kibanamachine 065a50c
Add documentation
kertal e9fd00e
Improve code
kertal 63907e4
Merge branch 'unified-field-list-add-new-fields' of github.com:kertal…
kertal 454592c
Add Lens test
kertal 75cc235
Improve Lens code preventing an endless loop of update
kertal 12616b4
Merge branch 'main' into unified-field-list-add-new-fields
kibanamachine 27dd198
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
jughosta e0792e6
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 3a74600
Update packages/kbn-unified-field-list/src/hooks/use_existing_fields.ts
kertal 15e5168
Update packages/kbn-unified-field-list/src/hooks/use_grouped_fields.ts
kertal 139b651
Update packages/kbn-unified-field-list/src/services/field_existing/fi…
kertal ab514e4
Update packages/kbn-unified-field-list/src/services/field_existing/fi…
kertal e25dcf9
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
jughosta 5cd087f
Merge remote-tracking branch 'upstream/main' into unified-field-list-…
kertal b424159
Improve code
kertal 9b70dec
Merge branch 'main' into unified-field-list-add-new-fields
kibanamachine 30dfec6
Add isFieldLensCompatible for new fields in Lens
kertal f747c2e
Improve multi field code
kertal 9ed0c49
Improve code
kertal 5420c77
Remove redundant field list refreshing
kertal f340fae
Undo multi field changes
kertal 26c4d72
Address feedback
kertal ab2c743
Merge remote-tracking branch 'upstream/main' into unified-field-list-…
kertal 921a598
Address review feedback
kertal ec55f89
Fix error
kertal c76c87e
Add useMemo for new fields
kertal 165c3cd
Address review feedback
kertal cbf3cc9
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime e4fdc38
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 07f5058
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine cbee199
Merge branch 'main' into unified-field-list-add-new-fields
jughosta 9170300
[CI] Auto-commit changed files from 'node scripts/notice'
kibanamachine d62dba7
Merge branch 'main' into unified-field-list-add-new-fields
jughosta 02a4537
[Discover] Small fixes for types and memo deps. Add tests.
jughosta 449565e
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 87d63fe
Merge branch 'main' of github.com:elastic/kibana into fields_for_wild…
mattkime 04e40be
cleanup
mattkime 786ce63
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime a01dd65
fix display of advanced setting
mattkime f67dc85
add functional test to check for presence and absense of advanced set…
mattkime 603708e
fix tests, improve buttons?
mattkime 937366b
fix functional tests
mattkime a6bbc40
fix functional tests
mattkime 15f8771
fix functional tests
mattkime 290a3ca
fix functional tests
mattkime dda0d98
fix functional tests
mattkime 621a1df
Merge pull request #16 from jughosta/unified-field-list-add-new-field…
kertal 8617b3d
Merge branch 'main' into unified-field-list-add-new-fields
kibanamachine 223f546
Merge branch 'main' into unified-field-list-add-new-fields
kibanamachine 8549c3f
Merge remote-tracking branch 'upstream/main' into unified-field-list-…
kertal f751a4e
Address review feedback
kertal d024027
Apply useLatest feedback
kertal e628af7
better buttons, better software
mattkime 66fd722
fix functional test
mattkime 465d993
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime d18c90a
Merge branch 'unified-field-list-add-new-fields' into fields_for_wild…
mattkime 3a7b331
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 48d28c9
fix functional test
mattkime 0a34ba8
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime a40cc37
partial progress on fixing fields
mattkime c1ab8ff
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 6342b89
cleanup and hopefully fix tests related to auto refresh
mattkime 8e5ba7e
remove some comments
mattkime b56cb26
remve unneeded change
mattkime 19c06b2
functional test fix
mattkime 3bf8c03
Update src/plugins/data_view_management/public/components/edit_index_…
mattkime 36fc2a6
translate some text, remove unneeded comma
mattkime ff11592
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime d1d1c0c
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
kibanamachine 14a2fd8
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime 67dbffe
fix refresh button in mobile view
mattkime 765152d
restore doc change
mattkime 416a785
better caching, with test
mattkime 9f2700d
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 194527e
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime b12b865
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime 99356b3
undo removal of version header for hasUserDataView
mattkime 244896e
Merge branch 'fields_for_wildcard_stale_while_revalidate' of github.c…
mattkime a9315ac
fix test
mattkime 0493689
Merge branch 'main' into fields_for_wildcard_stale_while_revalidate
mattkime File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
@kertal Do we need to wait here until it finishes?
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.
yes, else it wouldn't work in Lens (currently), which refreshes the field list, taking the most recent data view, if there are new fields. if we don't wait, we could run into the situation, that fields have not been loaded yet
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.
@kertal We enrich the field list with the new fields from the fields_wildcard response anyway. Why would not they be loaded? And for Lens we do another refresh in datapanel code. I think waiting for all data view fields here conflicts with the purpose of appending new fields manually. How would it improve the performance?
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.
I need to double check this, because I think when we don't wait for the field result, and this request takes longer, Lens is refreshing the field list using the previous completed data view fields version, while Discover is taking advantage of merging the old with the new fields ... I could be very wrong about his of course. If this wasn't the case, yes, we could think of removing the wait, to get faster results / rendering, while still refreshing the fields in the background
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.
I've checked by removing the
await
of therefreshFields
function, and adding a 5s timeout inside the function to simulate a long running field refresh. In my test, the new field didn't show up. This is high likely because:kibana/x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx
Line 301 in d024027
kibana/x-pack/plugins/lens/public/datasources/form_based/datapanel.tsx
Line 283 in d024027
refreshFields
function hasn't completed, new fields don't show up... and I tested in Discover, where the field was added unmapped, for high likely another reason
Would it be possible to remove the await for refreshFields, in theory yes, but it would need definitely changes (something we can do further down the road)
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.
@kertal Thanks for looking into it!
We could update the code where it separates Unmapped fields https://github.com/elastic/kibana/blob/main/packages/kbn-unified-field-list/src/hooks/use_grouped_fields.ts#L159-L161 to account for
newFields
in Discover.The issue is that making the UnifiedFieldList know about new fields is not enough, data view instance needs to know about them too as we call
dataView.getFieldByName
anddataView.fields
in other places. Callingawait dataViewsService.refreshFields(dataView, false, true);
"fixes" the data view. But it also extends loading time.Probably it's fine for now as our main objective is to automatically show new fields.
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.
I think we can optimize that, but since it's just refreshed when there are new fields it's not generally slowing the loading for other cases. So I don't think it's a priority (But a nice to have ... of course)
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.
I also agree this should be fine for this PR, although I'm open to exploring potential improvements as a followup, especially where @jughosta has the best understanding of Unified Field List.