Open andrewbattista opened 3 years ago
See: https://react.semantic-ui.com/modules/popup/#types-trigger
Looks like we will need to update RDMDepositForm.js
From:
import { Card, Container, Divider, Grid, Ref, Sticky } from "semantic-ui-react";
To:
import { Popup, Card, Container, Divider, Grid, Ref, Sticky } from "semantic-ui-react";
And then we can use the component. Example of updating TitlesField component.
<Popup
trigger={
<div>
<TitlesField
options={this.vocabularies.metadata.titles}
recordUI={this.props.record.ui}
required
/>
</div>
}
>
<Popup.Header>
Popup example
</Popup.Header>
<Popup.Content>
Popup body
</Popup.Content>
</Popup>
@dismorfo thank you ! The next step will be for me to work with @nmwolf and @kwissel to determine where we need to add popups
6-PAT and 17-PAT are related to general work with the deposit form. Certain fields can benefit from "helpers" in the vein of the default text in the
version
field (i.e., short sentences that link to patron facing policies or information that helps depositors). These can include but are not limited to:This is related to work required for #31 and involves a two step process of generating the information/text/links required for the form and then overriding the theme detail pages