Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename 'Team' to 'Authors' in various components for clarity #1075

Open
wants to merge 1 commit into
base: task/digital-rocks
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ const DataFilesManageProjectModal = () => {
className="dataFilesModal"
>
<ModalHeader toggle={toggle} charCode="&#xe912;">
{readOnlyTeam ? 'View' : 'Manage'} Team
{readOnlyTeam ? 'View' : 'Manage'} Authors
</ModalHeader>
<ModalBody>
<DataFilesProjectMembers
Expand All @@ -150,7 +150,7 @@ const DataFilesManageProjectModal = () => {
{error ? (
<div className={styles.error}>
<Message type="warn">
An error occurred while modifying team members
An error occurred while modifying authors
</Message>
</div>
) : null}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ const DataFilesProjectFileListing = ({
) : null}
{!isPublicationSystem(rootSystem) && !isReviewSystem(rootSystem) && (
<Button type="link" onClick={onManage}>
{readOnlyTeam ? 'View' : 'Manage'} Team
{readOnlyTeam ? 'View' : 'Manage'} Authors
</Button>
)}
{DataFilesProjectFileListingAddon && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const DataFilesProjectMembers = ({
{!readOnlyTeam && (
<>
<Label className="form-field__label" size="sm">
Add Member
Add Authors
</Label>

<div className={styles['user-search']}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const DataFilesManageProjectModalAddon = ({ projectId }) => {

const columns = [
{
Header: 'Guest Members',
Header: 'Guest Authors',
accessor: (el) => el,
Cell: (el) => {
const { first_name, last_name, email } = el.value;
Expand Down Expand Up @@ -162,8 +162,13 @@ const DataFilesManageProjectModalAddon = ({ projectId }) => {
{!readOnlyTeam && (
<>
<Label className="form-field__label" size="sm">
Add Guest Member
Add Guest Author
</Label>
<div style={{ marginTop: "-12px", marginBottom: "12px" }}>
<small className="text-muted">
Collaborators who do not have TACC accounts. These authors won’t have access to the portal but will be included as authors.
</small>
</div>
<Formik
initialValues={{ guestUsers: [] }}
validationSchema={validationSchema}
Expand Down Expand Up @@ -233,7 +238,7 @@ const DataFilesManageProjectModalAddon = ({ projectId }) => {
iconNameBefore="add"
className={styles['button-full']}
>
Add Guest Member
Add Guest Author
</Button>
</>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ const ReviewAuthors = ({ project, onAuthorsUpdate }) => {
<div className={styles.controls}>
<>
<Button type="link" onClick={onManageTeam}>
Manage Team
Manage Authors
</Button>
</>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styles from './ProjectMembersList.module.scss';
const ProjectMembersList = ({ members, onAddCoAuthor }) => {
return (
<>
<h3>Other Members</h3>
<h3>Other Authors</h3>
{members.map((member, index) => (
<div key={index} className={styles['user-div']}>
<span className={styles['user-name']}>
Expand Down
Loading