Joe Reuter
57a72a78f7
[Lens] Configurable color syncing ( #86180 )
2020-12-22 17:35:27 +01:00
Matthew Kime
c129f93083
[index patterns] Fleep app - Keep saved object field list until field caps provides fields ( #85370 )
2020-12-19 21:56:06 -06:00
Luke Elmers
9a3e2910a3
App Services: Remove remaining uiActions, expressions, data, embeddable circular dependencies. ( #82791 )
...
* Move applyFilter, selectRange, valueClick triggers to data/embeddables.
* Update imports.
* Remove embeddable references to non-existent data plugin dependency.
* remove data mocks from embeddable
* Remove query, filters, timeRange from EmbeddableInput and move to apps.
* Remove data plugin imports from embeddable test samples.
* Remove circular dependencies caused by expressions renderer handlers.
* Update circular deps allowList.
* Remove data dependency on embeddable.
* Revert accidental data plugin change.
* Fix new circular deps issues.
* Update generated docs.
* Fix type errors in vis_type_xy
* Fix inspector data table.
2020-12-18 18:34:07 -07:00
Devon Thomson
8ce9b474d6
[Time to Visualize] Fix Dashboard OnAppLeave ( #86193 )
...
Added isTransferInProgress to embeddable_state_transfer for apps to determine whether or not to show onAppLeave confirm
2020-12-18 15:07:36 -05:00
Peter Pisljar
b93034b72c
inspector table adapter cleanup ( #84232 )
2020-12-17 12:14:07 +01:00
Devon Thomson
ee37f6dd91
[Time to Visualize] Transition Embeddable State Transfer to Session Storage ( #85688 )
...
* Transitioned embeddable state transfer service to use sessionStorage
2020-12-15 13:18:36 -05:00
Daniil
845f716271
[Data table] Reactify & EUIficate the visualization ( #70801 )
...
* Use data grid for table vis
* Create basic table template
* Add table_vis_split component
* Apply cell filtering
* Add aria-label attributes
* Use field formatters for values
* Add no results component
* Remove legacy dependencies
* Add usePagination
* Create usePagination util
* Use percentage column and total row
* Use csv export button
* Update labels
* Fix merge conflicts
* Use split table
* Fix functional tests
* Fix dashboard tests
* Update data table functional tests
* Fix missed test
* Introduce showToolbar option
* Remove useless package
* Fix merge conflicts
* Return back kibanaUtils required bundle
* Revert "Remove useless package"
This reverts commit 144a7cd77c
.
* Use feature flag for legacy vis
* Add footer row
* Remove lock files
* Revert "Remove lock files"
This reverts commit 5c5acd79f4
.
* Minor fixes
* Use common no result message
* Fix broken tests
* Use ui state sorting
* Fix error
* Fix merge conflicts
* Add legacy functional tests
* Pull pagination footer up to keep with table
and fix column split growing continuously in dashboard
* Comments fixes
* Use cell actions for filtering
* Fix translations
* Fix comments
* Reduce legacy tests amount
* Update sorting
* Update split column layout
* Add telemetry for legacy vis
* Apply latest changes for split table
* Fix eslint errors
* Use aria labels with values
* Use aria label for export btn
* Fix functional test
* Update translations
* Cleanup
* Truncate cells content
* Enhance types in table_vis_response_handler.ts
* Persist columns width on change
* Fix sorting history
* Add a migration script for toolbar
* Export sorted table
* Use reportUiCounter instead of reportUiStats
* Fix integration tests
* Fix typos
* Adjust FieldFormat type
* Hide the density selector
* Update docs
* Fix pagination
* Restrict hiding the toolbar
* Fix column index on filter
* Add closePopover action
Co-authored-by: cchaos <caroline.horn@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 14:44:20 +03:00
Vadim Dalecky
b01a327076
Row trigger 2 ( #83167 )
...
* feat: 🎸 add ROW_CLICK_TRIGGER
* feat: 🎸 wire row click event to UI Actions trigger in Lens
* feat: 🎸 add row click trigger to url drilldown
* feat: 🎸 add datatable to row click context
* feat: 🎸 pass in row index in row click trigger context
* feat: 🎸 add columns to row click trigger context
* feat: 🎸 fill values and keys event scope array
* feat: 🎸 generate correct row scope variables
* fix: 🐛 report triggers from lens embeddable
* feat: 🎸 add sample preview for row click trigger
* feat: 🎸 remove url drilldown preview box
* chore: 🤖 remove mock variable generation functions
* feat: 🎸 generate context and global variable lists
* feat: 🎸 preview event variable list
* feat: 🎸 show empty url error on blur
* feat: 🎸 add ability to always show popup for executed actions
* refactor: 💡 rename multiple action execution method
* fix: 🐛 don't add separator befor group on no main items
* feat: 🎸 wire in uiActions service into datatable renderer
* feat: 🎸 check each row if it has compatible row click actions
* feat: 🎸 allow passing data to expression renderer
* feat: 🎸 add isEmbeddable helper
* feat: 🎸 pass embeddable to lens table renderer
* feat: 🎸 hide lens table row actions which are empty
* feat: 🎸 re-render lens embeddable when dynamic actions chagne
* feat: 🎸 hide actions column if there are no row actions
* feat: 🎸 re-render lens embeddable on view mode chagne
* fix: 🐛 fix TypeScript errors
* chore: 🤖 fix TypeScript errors
* docs: ✏️ update auto-generated docs
* feat: 🎸 add hasCompatibleActions to expression layer
* feat: 🎸 remove "data" from expression renderer handlers
* fix: 🐛 fix TypeScript errors
* test: 💍 fix Jest tests
* docs: ✏️ update autogenerated docs
* fix: 🐛 wrap event payload into data
* test: 💍 add "alwaysShowPopup" test
* chore: 🤖 add comment requested in review
https://github.com/elastic/kibana/pull/83167#discussion_r537340216
* test: 💍 add hasCompatibleActions test
* test: 💍 add datatable renderer test
* test: 💍 add Lens embeddable input change tests
* test: 💍 add embeddable row click test
* fix: 🐛 add url validation
* test: 💍 add url drilldown tests
* docs: ✏️ remove url drilldown preview from docs
* docs: ✏️ remove preview from url templating
* docs: ✏️ add row click description
* chore: 🤖 move 36.5 KB bundle balance to url_drilldown
* test: 💍 simplify test case
* style: 💄 change types places
* refactor: 💡 clean up panel variable generation
* test: 💍 add getPanelVariables() tests
* fix: 🐛 generate runtime variables correctly
* fix: 🐛 improve getVariableList() and add tests for it
* feat: 🎸 add translation, improve types
2020-12-14 13:28:23 +01:00
Pierre Gayvallet
a4caffae2f
Improve and cleanup chrome helpMenu links ( #82300 )
...
* Improve and cleanup chrome helpMenu links
* update doc due to merge
* remove dev dependencies from test plugin
* update generated doc after merge
* update generated doc
* generated doc
* generated doc
2020-12-11 11:38:25 +01:00
Luke Elmers
3b5ed46c9d
[data.search] Clean up arguments to esaggs. ( #84973 )
2020-12-10 07:40:50 -07:00
Anton Dosov
cb29438b0d
[Search] Fix dashboard embeddables don't refetch on searchSessionId change ( #84261 )
2020-12-10 14:21:35 +01:00
Vadim Dalecky
9bef95a6fb
HTTP CRUD+ API for Index Patterns ( #83576 )
...
* refactor: 💡 extract out createIndexPatternsService() method
* feat: 🎸 add create index pattern route
* feat: 🎸 add index patterns http context
* feat: 🎸 add schema for index pattern create method
* refactor: 💡 compose schema out of variables
* feat: 🎸 allow to not make the new index pattern a default one
* feat: 🎸 implement index pattern create endpoint
* docs: ✏️ add index pattern create endpoint docs
* fix: 🐛 add error handling wrapper
* feat: 🎸 add index pattern GET route
* docs: ✏️ add index pattern GET mention to docs
* feat: 🎸 add higher order route handler to check for context
* feat: 🎸 add index pattern deletion endpoint
* docs: ✏️ add delete endpoint docs entry
* feat: 🎸 add index pattern update route
* feat: 🎸 add ability to update timeFieldName
* feat: 🎸 add ability to edit intervalName, sourceFilters, fields
* feat: 🎸 allow updating index pattern type and typeMeta
* feat: 🎸 add ability to update index_pattern fields
* docs: ✏️ add index pattern update endpoint docs
* docs: ✏️ fix typo
* feat: 🎸 disable XSRF and add Content-Type
* fix: 🐛 enable xsrf
* feat: 🎸 send 404 status code when index pattern is not found
* fix: 🐛 correctly report empty change set error
* feat: 🎸 fields API add route for adding field to IP
* docs: ✏️ add index pattern field create route
* fix: 🐛 throw on creating an existing index pattern field
* feat: 🎸 add field upsert route
* feat: 🎸 add field get api endpoint
* feat: 🎸 add field delete endpoint
* refactor: 💡 improve 404 error handling
* refactor: 💡 improve index pattern 404 error class
* feat: 🎸 add field update api endpoint
* docs: ✏️ typo
* refactor: 💡 rename ski_field_refresh to refresh_fields in creat
* refactor: 💡 rename to refresh_fields param in update call
* refactor: 💡 rename parameter to refresh_fields in fields api
* feat: 🎸 allow creating and deleting only scripted fields
* style: 💄 fix TypeScript/Prettier error
* test: 💍 add index pattern creation negative tests
* test: 💍 add index pattern create method tests
* feat: 🎸 remove make_default flag
* docs: ✏️ update docs
* test: 💍 add index patter api get tests
* test: 💍 add delete index pattern tests
* fix: 🐛 fix TypeScript error after refactor
* docs: ✏️ update autogenerated docs
* docs: ✏️ update autogenerated docs
* refactor: 💡 change Fields API to Scripted Fields API
* feat: 🎸 allow only scripted fields in Scripted Fields API
* test: 💍 add index patter api update tests
* test: 💍 add scripted field create api tests
* test: 💍 add scripted field delete api tests
* test: 💍 add scripted fields fetch api tests
* test: 💍 add scripted field field put api tests
* test: 💍 add scripted field update api test
* feat: 🎸 add index pattern field update endpoint
* feat: 🎸 improve index patterns fields api
* test: 💍 fix test
* docs: ✏️ update docs README
* test: 💍 add field metadata deletion teests
* docs: ✏️ improve index pattern api readme
* fix: 🐛 fix TypeScript errors
* test: 💍 update jest tests
* docs: ✏️ update auto-generated docs
* feat: 🎸 remove intervalName from index pattern create API
* test: 💍 fix integration tests
* fix: 🐛 make refresh_fields default to false
* chore: 🤖 remove searchable and aggregatable from public API
* chore: 🤖 remove various field properties
* chore: 🤖 remove "index" attribute from public field schema
* docs: ✏️ update docs to match API
* chore: 🤖 fix TypeScript errors
* test: 💍 try fixing functional tests
* docs: ✏️ update auto-generated docs
* chore: 🤖 check if this fixes security tests
* fix: 🐛 create index patterns context only if user is authc
* fix: 🐛 assert on index patterns service
* test: 💍 try fixing integration tests
* fix: 🐛 try fixing integration tests
* chore: 🤖 update auto-generated docs
* refactor: 💡 directly inject index pattern provider into create
* refactor: 💡 create index pattern service directly in each route
* refactor: 💡 remove index pattern route context provider
* chore: 🤖 remove unused code
* chore: 🤖 remove refresh_fields from scripted fields
* style: 💄 change template param names
* refactor: 💡 make field.count always be an integer
* docs: ✏️ update auto-generated docs
* refactor: 💡 inject index patterns using getStartServices
* docs: ✏️ update autogenerated docs
* docs: ✏️ update docs
2020-12-08 10:33:18 +01:00
Lukas Olson
e48e7446c0
[data.search] Move background session service to data enhanced plugin ( #84837 )
...
* [data.search] Move search method inside session service and add tests
* Move background session service to data_enhanced plugin
* Fix types
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-07 08:51:19 -07:00
Matthew Kime
2c7a85dd38
Query string input - load index patterns instead of saved objects ( #84457 )
...
* load index patterns instead of saved objects
* remove getFromSavedObject
* add test
2020-12-06 11:24:11 -06:00
Luke Elmers
d2fc976b09
[data.search][data.indexPatterns] Expose esaggs + indexPatternLoad on the server. ( #84590 )
2020-12-03 08:28:50 -07:00
Luke Elmers
7393c230a4
[data.search.searchSource] Update SearchSource to use Fields API. ( #82383 )
2020-12-03 08:09:23 -07:00
Marco Liberati
17d986e499
[Embeddable] Export CSV action for Lens embeddables in dashboard ( #83654 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-03 10:46:51 +01:00
Anton Dosov
4cb44d9e33
[Search] Integrate "Send to background" UI with session service ( #83073 )
2020-12-01 14:01:46 +01:00
Nathan Reese
a8d5b778ee
Update IndexPatternSelect to get fields from indexPatternService instead of savedObject attributes ( #84376 )
...
* Update indexPatternSelect to get fields from indexPatternService instead of savedObject attributes
* keep original search implemenation
* import from public
* remove unused code
* API updates
* review feedback
2020-11-30 09:40:45 -07:00
Liza Katz
b3430e3f09
[Search] Search batching using bfetch (again) ( #84043 )
...
Re-merging after cypress fixes
2020-11-25 16:32:05 +02:00
Matthias Wilhelm
f294a9e2ab
[Discover] Refactor discover.js controller topnav code ( #79062 )
...
* Move discover.js functions to helper functions in separate files
* Convert to TypeScript
* Add unit tests
* Add removeField function to SearchSource
2020-11-25 11:07:08 +01:00
Lukas Olson
f80da6cc39
[data.search] Simplify poll logic and improve types ( #82545 )
...
* [Search] Add request context and asScoped pattern
* Update docs
* Unify interface for getting search client
* Update examples/search_examples/server/my_strategy.ts
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
* Review feedback
* Fix checks
* Fix CI
* Fix security search
* Fix test
* Fix test for reals
* Fix types
* [data.search] Refactor search polling and improve types
* Fix & update tests & types
* eql totals
* doc
* Revert "eql totals"
This reverts commit 01e8a06847
.
* lint
* response type
* shim inside strategies
* shim for security
* fix eql params
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Liza K <liza.katz@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-25 00:38:12 +02:00
Joe Reuter
38a09b99c4
Expression: Add render mode and use it for canvas interactivity ( #83559 )
2020-11-24 18:42:02 +01:00
Alexey Antonov
6ef6c0fa4d
TSVB should use "histogram:maxBars" and "histogram:barTarget" settings for auto instead of a default 100 buckets ( #83628 )
...
* TSVB needs a "tsvb:max_buckets" target setting for auto instead of a default 120 buckets
Closes : #54012
* remove calculate_auto
* max bars -> Level of detail
* rename allowLevelofDetail
* fix PR comment
* Update constants.ts
* Update src/plugins/vis_type_timeseries/public/application/components/index_pattern.js
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
* create LEVEL_OF_DETAIL_MIN_BUCKETS constant
* calcAutoIntervalLessThan -> search.aggs.calcAutoIntervalLessThan
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Wylie Conlon <wylieconlon@gmail.com>
2020-11-24 19:19:06 +03:00
Mikhail Shustov
5ec6fe315f
[DX] Bump TS version to v4.1 ( #83397 )
...
* bump version to 4.1.1-rc
* fix code to run kbn bootstrap
* fix errors
* DO NOT MERGE. mute errors and ping teams to fix them
* Address EuiSelectableProps configuration in discover sidebar
* use explicit type for EuiSelectable
* update to ts v4.1.2
* fix ts error in EuiSelectable
* update docs
* update prettier with ts version support
* Revert "update prettier with ts version support"
This reverts commit 3de48db3ec
.
* address another new problem
Co-authored-by: Chandler Prall <chandler.prall@gmail.com>
2020-11-24 16:04:33 +01:00
Marco Liberati
423888c14e
[Lens] CSV Export for Lens ( #83430 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-24 12:37:27 +01:00
Matthew Kime
fd9f504e3b
[Index patterns] Remove field cache ( #82223 )
2020-11-23 09:52:25 -06:00
Jen Huang
81f4dc9bdf
Add iconType
and disableLanguageSwitcher
options to QueryStringInput
( #83700 )
...
* Add iconType and disableLanguageSwitcher options to QueryStringInput
* Remove unnecessary span, add tests
* Update docs
* Adjust suggestions offset
* Add comment
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-23 07:06:01 -08:00
Tiago Costa
d7cdcf61c7
Revert "[Search] Search batching using bfetch ( #83418 )" ( #84037 )
...
This reverts commit 5708c5d004
.
2020-11-23 01:22:34 +00:00
Liza Katz
5708c5d004
[Search] Search batching using bfetch ( #83418 )
...
* Use bfetch for search (no abort behavior)
* fix merge
* Handle request abortion + unit tests
* fix jest
* shim totals in oss
* proper formatting for errors
* jest, types and docs
* Fix doc
* Remove old search code and rename UI Setting
* jest mocks
* jest
* Solve unhanled error
* Use AbortSignal
* ts
* code review - use abort controller instead of observable
* Revert "Remove old search code and rename UI Setting"
This reverts commit 17de9fa257
.
* Remove old search code and rename UI Setting
* revert search route
* fix event unsubscribe
* code review 2
* revert filter
* simplify batch done logic
* code review
* filter items in the beginning
* jest
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-22 17:13:08 +02:00
Matthew Kime
48ac9f706e
[index patterns] Field custom name => custom label ( #83717 )
...
* custom name => custom label
2020-11-19 16:03:05 -06:00
Lukas Olson
9b30de41b6
[data.search] Server-side background session service ( #81099 )
...
* [Search] Add request context and asScoped pattern
* Update docs
* Unify interface for getting search client
* [WIP] [data.search] Server-side background session service
* Update examples/search_examples/server/my_strategy.ts
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
* Review feedback
* Fix checks
* Add tapFirst and additional props for session
* Fix CI
* Fix security search
* Fix test
* Fix test for reals
* Add restore method
* Add code to search examples
* Add restore and search using restored ID
* Fix handling of preference and order of params
* Trim & cleanup
* Fix types
* Review feedback
* Add tests and remove handling of username
* Update docs
* Move utils to server
* Review feedback
* More review feedback
* Regenerate docs
* Review feedback
* Doc changes
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-18 22:04:26 -07:00
Luke Elmers
62e06aee9b
[esaggs][inspector]: Refactor to prep for esaggs move to server. ( #83199 )
2020-11-18 09:11:05 -07:00
Matthias Wilhelm
0a7f462939
[Discover] Allow custom name for fields via index pattern field management ( #70039 )
...
Co-authored-by: Matt Kime <matt@mattki.me>
2020-11-17 13:18:07 +01:00
Anton Dosov
eaa65535ed
Use saved object references for dashboard drilldowns ( #82602 )
2020-11-12 15:54:55 +01:00
Maja Grubic
cb27a7295b
[Data-Plugin] Add telemetry around query/filter bar usage ( #82709 )
...
* [Discover] Add telemetry around query/filter bar usage
* Updating documentation
* Adding a separate method for tracking query submit
* Updating doc changes
* Adding trackUiMetric to Data plugin
* Doc changes
* Do not make usageCollection a start dependency
* Updating documentation
* Adding metrics for filter inclusion, edit, and disabled
* updating docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-11 12:18:41 +00:00
Liza Katz
8842e9b7a9
[Autocomplete] Support useTimeFilter option ( #81515 )
...
* pass timefilter to autocomplete
* ignoreTimeRange advanced setting
* Show all results in filter bar autocomplete
* Round timerange to minute for autocomplete memoization
* Change useTimeFilter param name
Update autocomplete tests and docs
* Fix maps test
useTimeFilter in uptime
* docs
* useTimeRange in apm
* remove date validation
* Update src/plugins/data/common/constants.ts
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
* docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2020-11-10 20:50:09 +02:00
Matthew Kime
7a67cffe37
Index patterns api - load field list on server ( #82629 )
...
The server side index patterns api can now load the field list. Previously it would error if a field list refresh was required.
The regular and rollup index pattern field list loading methods were merged. Rollup index patterns require additional functionality over regular index patterns when it comes to loading the field list, but this won't be necessary once rollups v2 is released.
2020-11-09 17:11:21 -06:00
Luke Elmers
c6afc47f32
Remove data <--> expressions circular dependencies. ( #82685 )
2020-11-09 13:01:22 -07:00
Joe Reuter
651345b18b
[Lens] Expose active data in some places ( #79851 )
2020-11-06 17:05:34 +01:00
Devon Thomson
7c66880a11
[Time to Visualize] Embeddable Error Handling Without ReplacePanel ( #82201 )
...
Fixed embeddable error handling so that fatal errors are caught and displayed with an errorEmbeddable no matter when they occur.
2020-11-05 11:11:29 -05:00
Peter Pisljar
7f70fc8478
Embeddables/migrations ( #82296 )
2020-11-05 07:03:23 +01:00
Lukas Olson
44368b0b66
[data.search] Add request handler context and asScoped pattern ( #80775 )
...
* [Search] Add request context and asScoped pattern
* Update docs
* Unify interface for getting search client
* Update examples/search_examples/server/my_strategy.ts
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
* Review feedback
* Fix checks
* Fix CI
* Fix security search
* Fix test
* Fix test for reals
* Fix types
Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
2020-11-04 11:58:15 -07:00
spalger
af73961646
Revert "Index patterns api - load field list on server ( #81218 )"
...
This reverts commit e683ece777
.
2020-11-04 09:52:15 -07:00
Matthew Kime
e683ece777
Index patterns api - load field list on server ( #81218 )
...
Index patterns api - load field list on server
2020-11-04 09:18:56 -06:00
Marta Bondyra
64f50f8ff7
Add moving average function ( #82122 )
2020-11-04 14:19:03 +01:00
Alexey Antonov
ffc4ba2514
[Step 2] Use Observables on server search API ( #80709 )
...
* [Step 2] Use Observables on server search API
* apply some suggestions
* use concatMap instead of expand
* update docs
* cleanup
* fix PR comments
* remove AsyncOptions
* remove $config from eql_search_strategy
* remove $config from es_search_strategy
* remove DoSearchFnArgs, SearchMethod
* some work
* fix docs
* remove waitForCompletion param
* cleanup
* some work
* fix circular imports
* Update src/plugins/data/server/search/es_search/es_search_rxjs_utils.ts
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
* Update src/plugins/data/common/search/es_search/es_search_rxjs_utils.ts
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
* Update src/plugins/data/common/search/es_search/es_search_rxjs_utils.ts
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
* Update x-pack/plugins/data_enhanced/common/search/es_search/es_search_rxjs_utils.ts
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
* fix PR comments
* update docs
* apply suggestions
Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-03 12:43:32 +03:00
Pierre Gayvallet
d4b2a5145a
SavedObjects tagging MVP ( #79096 )
...
* create xpack plugin skeleton, start to implement management section
* add tag creation modal
* first implementation of the tags table
* use InMemoryTable
* add edit modal and delete action
* update plugin list
* add tag list, fix types
* add capabilities check on client-side
* add tag combo box component
* add missing i18n keys
* fix privilege FTR tests
* add base structure for FTR tests
* fix feature ftr test
* use string literals for i18n
* create savedObjectsTaggingOss plugin, move API types to oss plugin, start to wire to SO management page.
* update plugin list
* fix types
* allow to use `_find` with multiple references
* add FTR test for _find API on references fields
* add _find integration tests
* update generated doc
* start to implement tag filtering on SO management section
* update generated docs
* wire tagging API to dashboard listing page
* fix i18n namespace
* fix type & tests
* update dashboard listing snapshots
* adapt FTR listingTable service to search for parsable queries
* wite tagging API to visualize listing
* update tagging plugin limits
* add server-side and client-side validation for tag create/edit
* rename title field to name
* fix types
* fix types bis
* add removeReferencesTo API to SOR/SOC
* update generated doc
* add server-side unit test for `savedObjectsTagging` plugin
* move tagging API types to its own file
* add savedObjectsTaggingOss mock
* add tags_cache tests
* add tests for client-side tag client
* extract uiApi to distinct files
* various API improvements
* add more tests
* add link between tag and so management sections + add connection counts
* add base functional test suite for tagging
* add more FTR tests
* improve feature control func test
* update codeowners
* update generated doc
* fix access to proxy modal
* adapt SO save modal to allow to add tag field
* add SO decorator registry and tag implementation
* add unit tests for SO tag decorator
* add functional tests for visualize integration
* add tag SO read permission for vis/dash feature
* add RBAC api integ tests
* add API integration tests
* add test for getTagConnectionsUrl
* add SOM test suite
* add dashboard integration suite
* remove test line
* add missing unit tests
* improve API types doc
* fix create modal save button label
* remove console.log
* improve doc
* self review
* add refresh interval for tag cache
* improve page object doc
* minor cleanup
* address review comments
* small layout fixes
* add initial focus
* use lazy accessor for tag request handler context
* adapt SOM export and export route to handle references
* remove icon from feature config due to master changes
* fix SO table tests
* update generated docs
* sort tags by name in filter dropdown and listing component
* wire SO tagging to dashboard save modal
* fix types
* - add 'create tag' action in tag selector
- add notifications on update/create/delete from management
- delete modal wording
* add description max length validation
* remove real-time validation
* fix i18n bundle id
* update expected size of savedObjectsTagging plugin
* use own useIfMounted
* update limit again, contract components cannot be lazy loaded atm.
* math is hard
* remove single usage of lodash for bundle size
* add async imports for create/edit modal
* add FTR test for 'create tag' action from tag selector
* allow 'create new' option to prepopulate name field
* extract savedObjectToTag
* add advancedSettings read user for security api_integ suite
* add audit login for security client wrapper
* use import type when possible
* wire SO tagging to lens visualization
* fix lens jest test
* Fix `create tag` option being selected when closing the selector dropdown
* add sorting to tag column from getTableColumnDef
* address some of restrry comments
* rename tag selector's setSelected option to onTagsSelected
* fix audit logging even type for saved_object_remove_references
* update plugin size limit to current size
* adapt maxlength validation wording
* remove selection column until we have batch action menu
* remove connections link when user lack read privilege to savedObjectManagement
* forbid registering multiple SO decorators with the same priority
* add so decorator test
* extract getTagFindReferences and create API mock
* update audit-logging ascidoc
* doc nit
* throw conflict error if update returns any failure
* use refresh=true as default
* wording nits
* export: rename `references` to `hasReference`
* update generated doc
* set description max length to 100
* do not initialize tag cache on anonymous pages
* split fetchObjectsToExport into two distinct functions
* change tag client `delete` call order
* tsdoc nits
* more nits
* add README for oss plugin
* add oss plugin start tests
* SavedObject.find: rename `references` to `hasReference`
* change section description label
* remove url prefix constants
* last nits and comments
* update generated doc
2020-11-03 10:33:18 +01:00
Joe Reuter
2dcb6b4687
Add derivative function ( #81178 )
2020-11-02 10:30:44 +01:00
Vadim Dalecky
aaadbe88c5
Context menu trigger for URL Drilldown ( #81158 )
...
* feat: 🎸 add context menu trigger to URL drilldown
* fix: 🐛 translate "Drilldowns" grouping title
* feat: 🎸 add dynamic action grouping to dynamic actions
* fix: 🐛 add translations to trigger texts
* feat: 🎸 enambe ctx menu trigger in both flyouts, move to end
* fix: 🐛 show context menu event scope variable sfor ctx menu
* test: 💍 add tests
* fix: 🐛 use correct namespace for translation keys
* docs: ✏️ update autogenerated docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-10-30 13:04:48 +01:00