mirror of
https://github.com/elastic/kibana.git
synced 2025-04-21 16:29:04 -04:00
* wip file upload component * early version of upload component, ui only * compressed buttons * retry button and restructure some more stuff about default args for the stories * added first iteration of upload state with tests * do not self-unsubscribe * remove unused import * added simple state store observable and ability to abort uploads * rename file_upload => file_upload_ui * rename fileupload -> uploadfile and created new upload_files.ts stateful component, wip * move file kinds registry to common * hook up files registry to public side, also delete server side implementation * implemented upload file ui, changed files$ to be a list of objects, not an array of observables * did a bunch of stuff hooking up state to component * added public side mock for filesclient * rather use existing state to derive values, some other stuff * added comment * added files context * throw first error * check max file size and added abort state tets * use i18n * check mime type too and handle retry state correctly * handle immediate upload * update error message * actually give files back after done * upload files => upload file and move some stuff around * map instead of tap * use form row for showing the error message * minor refactor * export everything * move some files around * added some react jest tests too * actually add the test file (previous commit was for a fix * added processing of file names * try fix import path * remove stories for UI component * type lints * added i18n.json * reverse direction again * kibana utils bundle added * type lint * remove unnecessary variable * updated where route registration happens * remove _ * removed an option (compressed) also enabled repeated uploads and updated how the error message is laid out * put upload file component behind lazy laoding * added export of component back in * typo * do not show messages while uploading * added a test case for the display of error messages * remove unused import * expand comment * use the correct file name parser! * updated story name and how long error message is generated * rename inner render method * fix types * upload_file_ui -> upload_file.component * address a11y violation and use inline css only * updated copy per feedback * refactor state class per feedback * refactor to use context per vadims recommendation * added some more tests * added a comment and allowed passing through of kind type * [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix' * removed props from .component since we now have context Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
80 lines
3.5 KiB
JSON
80 lines
3.5 KiB
JSON
{
|
|
"prefix": "xpack",
|
|
"paths": {
|
|
"xpack.actions": "plugins/actions",
|
|
"xpack.alerting": "plugins/alerting",
|
|
"xpack.eventLog": "plugins/event_log",
|
|
"xpack.stackAlerts": "plugins/stack_alerts",
|
|
"xpack.stackConnectors": "plugins/stack_connectors",
|
|
"xpack.apm": "plugins/apm",
|
|
"xpack.canvas": "plugins/canvas",
|
|
"xpack.cases": "plugins/cases",
|
|
"xpack.cloud": "plugins/cloud",
|
|
"xpack.csp": "plugins/cloud_security_posture",
|
|
"xpack.dashboard": "plugins/dashboard_enhanced",
|
|
"xpack.discover": "plugins/discover_enhanced",
|
|
"xpack.crossClusterReplication": "plugins/cross_cluster_replication",
|
|
"xpack.embeddableEnhanced": "plugins/embeddable_enhanced",
|
|
"xpack.endpoint": "plugins/endpoint",
|
|
"xpack.enterpriseSearch": "plugins/enterprise_search",
|
|
"xpack.features": "plugins/features",
|
|
"xpack.files": "plugins/files",
|
|
"xpack.dataVisualizer": "plugins/data_visualizer",
|
|
"xpack.fileUpload": "plugins/file_upload",
|
|
"xpack.globalSearch": ["plugins/global_search"],
|
|
"xpack.globalSearchBar": ["plugins/global_search_bar"],
|
|
"xpack.graph": ["plugins/graph"],
|
|
"xpack.grokDebugger": "plugins/grokdebugger",
|
|
"xpack.idxMgmt": "plugins/index_management",
|
|
"xpack.indexLifecycleMgmt": "plugins/index_lifecycle_management",
|
|
"xpack.infra": "plugins/infra",
|
|
"xpack.fleet": "plugins/fleet",
|
|
"xpack.ingestPipelines": "plugins/ingest_pipelines",
|
|
"xpack.kubernetesSecurity": "plugins/kubernetes_security",
|
|
"xpack.lens": "plugins/lens",
|
|
"xpack.licenseApiGuard": "plugins/license_api_guard",
|
|
"xpack.licenseMgmt": "plugins/license_management",
|
|
"xpack.licensing": "plugins/licensing",
|
|
"xpack.lists": "plugins/lists",
|
|
"xpack.logstash": ["plugins/logstash"],
|
|
"xpack.main": "legacy/plugins/xpack_main",
|
|
"xpack.maps": ["plugins/maps"],
|
|
"xpack.aiops": ["packages/ml/aiops_components", "plugins/aiops"],
|
|
"xpack.ml": ["plugins/ml"],
|
|
"xpack.monitoring": ["plugins/monitoring"],
|
|
"xpack.osquery": ["plugins/osquery"],
|
|
"xpack.painlessLab": "plugins/painless_lab",
|
|
"xpack.profiling": [ "plugins/profiling" ],
|
|
"xpack.remoteClusters": "plugins/remote_clusters",
|
|
"xpack.reporting": ["plugins/reporting"],
|
|
"xpack.rollupJobs": ["plugins/rollup"],
|
|
"xpack.runtimeFields": "plugins/runtime_fields",
|
|
"xpack.screenshotting": "plugins/screenshotting",
|
|
"xpack.searchProfiler": "plugins/searchprofiler",
|
|
"xpack.security": "plugins/security",
|
|
"xpack.server": "legacy/server",
|
|
"xpack.securitySolution": "plugins/security_solution",
|
|
"xpack.sessionView": "plugins/session_view",
|
|
"xpack.snapshotRestore": "plugins/snapshot_restore",
|
|
"xpack.spaces": "plugins/spaces",
|
|
"xpack.savedObjectsTagging": ["plugins/saved_objects_tagging"],
|
|
"xpack.taskManager": "legacy/plugins/task_manager",
|
|
"xpack.timelines": "plugins/timelines",
|
|
"xpack.transform": "plugins/transform",
|
|
"xpack.triggersActionsUI": "plugins/triggers_actions_ui",
|
|
"xpack.upgradeAssistant": "plugins/upgrade_assistant",
|
|
"xpack.synthetics": ["plugins/synthetics"],
|
|
"xpack.ux": ["plugins/ux"],
|
|
"xpack.urlDrilldown": "plugins/drilldowns/url_drilldown",
|
|
"xpack.watcher": "plugins/watcher",
|
|
"xpack.observability": "plugins/observability",
|
|
"xpack.banners": "plugins/banners",
|
|
"xpack.threatIntelligence": "plugins/threat_intelligence"
|
|
},
|
|
"exclude": ["examples"],
|
|
"translations": [
|
|
"plugins/translations/translations/zh-CN.json",
|
|
"plugins/translations/translations/ja-JP.json",
|
|
"plugins/translations/translations/fr-FR.json"
|
|
]
|
|
}
|