Wrap Sidebar content in AutofillContextProvider. This will be changed in future when we connect to real API
Removed UnsavedChangesModal component, as it is already being shown by MetadataInstanceForm component. It was doubled and tests were failing, and overlay was darker.
Added TooltipProvider. Some Metadata templates have additional description that is shown in Tooltips when users hover over metadata name.
Added MetadataInstanceList. Now all added metadata instances are visible.
Handled simple cases of Cancel behavior on MetadataInstanceForm.
Handled going into edit mode on individual MetadataInstanceEntry
Description
This PR adds showing list of already added Metadata Instances.
(original PR https://github.com/box/box-ui-elements/pull/3640 that was closed after closing
metadata-sidebar-redesign
branch)Changes
@box/metadata-editor
to latest versionAutofillContextProvider
. This will be changed in future when we connect to real APIUnsavedChangesModal
component, as it is already being shown byMetadataInstanceForm
component. It was doubled and tests were failing, and overlay was darker.TooltipProvider
. Some Metadata templates have additional description that is shown in Tooltips when users hover over metadata name.MetadataInstanceList
. Now all added metadata instances are visible.Cancel
behavior onMetadataInstanceForm
.MetadataInstanceEntry
Screenshots