kibana/examples
Jean-Louis Leysens a166fba83d
[Files] Files management (#144425)
## Summary

Files management UI that rounds out the files MVP. This is UI is
intended to be progressively enhanced and provides a way for system
administrators get some insight and manage the files created and stored
in Kibana.

## To reviewers

* This is UI for retrieval and deletion of files (the R+D of CRUD)
* Creating and deleting tags to be supported in a future version
* This UI is intended to form part of the broader content management
experience
* We use the `TableListView` component as far as possible

## How to test

1. Start Kibana with `yarn start --run-examples`
2. Go to the "Developer Examples" from the left nav menu
3. Go to the "Files example" plugin
4. Click the "Upload file" button, upload a few different image types
(PNG, JPG and WEBP)
5. Go to "Stack management" > "Files"
6. Behold your files in the management UI
7. (Bonus) check that the UI and API `GET /api/files/find`, `GET
/api/files/metrics` and `DELETE /api/files/blobs` are not accessible to
non-admin or appropriately privileged users (i.e., those with "Files
management" access).

## List of functionality

 - [x] List all saved objects (scoped to admin)
 - [x] Is able to bulk-delete files
 - [x] Shows basic storage diagnostics
 - [x] Is able to search and filter files

## Screenshots

<details>
<summary>screenshots</summary>

<img width="1545" alt="Screenshot 2022-11-08 at 13 56 54"
src="https://user-images.githubusercontent.com/8155004/200570783-cfefdbf3-c5ff-4ece-ba24-48a455fcca75.png">

<img width="910" alt="Screenshot 2022-11-10 at 12 52 35"
src="https://user-images.githubusercontent.com/8155004/201083812-bc9f25f5-b423-43a6-9229-5e2a4cdd943a.png">

<img width="451" alt="Screenshot 2022-11-10 at 12 37 07"
src="https://user-images.githubusercontent.com/8155004/201081039-832a1980-684c-4abb-bb05-0c7c6a849d4d.png">

<img width="959" alt="Screenshot 2022-11-08 at 13 57 15"
src="https://user-images.githubusercontent.com/8155004/200570797-f122cff5-7043-4e01-9b51-d5663c1b26d6.png">

<img width="500" alt="Screenshot 2022-11-08 at 13 57 38"
src="https://user-images.githubusercontent.com/8155004/200570801-35cdbd99-0256-4dee-9f78-2f6ad853305f.png">

</details>

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-17 05:53:31 -07:00
..
bfetch_explorer [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
dashboard_embeddable_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
data_view_field_editor_example [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
developer_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
embeddable_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
embeddable_explorer [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
expressions_explorer [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
field_formats_example [ts/checkProjects] validate extends of all ts projects (#145176) 2022-11-16 08:57:51 -07:00
files_example [Files] Files management (#144425) 2022-11-17 05:53:31 -07:00
guided_onboarding_example [Guided onboarding] Update header button logic (#144634) 2022-11-14 16:50:10 -07:00
hello_world [ts/checkProjects] validate extends of all ts projects (#145176) 2022-11-16 08:57:51 -07:00
locator_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
locator_explorer [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
partial_results_example [ts/checkProjects] validate extends of all ts projects (#145176) 2022-11-16 08:57:51 -07:00
preboot_example [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
response_stream [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
routing_example [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
screenshot_mode_example [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
search_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
share_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
state_containers_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
ui_action_examples [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
ui_actions_explorer [auto] migrate existing plugin/package configs 2022-10-28 14:06:46 -05:00
user_profile_examples Add the ability to limit the number of users you can select (#144618) 2022-11-07 12:39:30 +00:00
README.asciidoc Add a few asciidoc readmes (#72082) 2020-07-17 11:08:57 -04:00

[[example-plugins]]
== Example plugins

This folder contains example plugins.  To run the plugins in this folder, use the `--run-examples` flag, via

[source,bash]
----
yarn start --run-examples
----