Skip to content
Merged
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
24 changes: 22 additions & 2 deletions client/src/components/projects/ProjectCoAuthoringToolsButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ const ProjectCoAuthoringToolsButtons: React.FC<ProjectCoAuthoringToolsButtonsPro
/>
<Button
onClick={() =>
window.open(`/projects/${projectID}/restacker`, "_blank")
window.open(`/projects/${projectID}/accessibility`, "_blank")
}
color="blue"
size="small"
>
License Restacker
Accessibility Remediation
<Icon name="external alternate" className="!ml-2" />
</Button>
<Button
Expand All @@ -93,6 +93,16 @@ const ProjectCoAuthoringToolsButtons: React.FC<ProjectCoAuthoringToolsButtonsPro
Glossary Manager
<Icon name="external alternate" className="!ml-2" />
</Button>
<Button
onClick={() =>
window.open(`/projects/${projectID}/restacker`, "_blank")
}
color="blue"
size="small"
>
License Restacker
<Icon name="external alternate" className="!ml-2" />
</Button>
{hasCommonsBook && (
<Button
onClick={handleOpenReaderResourcesModal}
Expand All @@ -102,6 +112,16 @@ const ProjectCoAuthoringToolsButtons: React.FC<ProjectCoAuthoringToolsButtonsPro
Manage Reader Resources
</Button>
)}
<Button
onClick={() =>
window.open(`/projects/${projectID}/ai-co-author`, "_blank")
}
color="blue"
size="small"
>
Metadata Editor
<Icon name="external alternate" className="!ml-2" />
</Button>
</>
)}
</div>
Expand Down
28 changes: 0 additions & 28 deletions client/src/components/projects/ProjectView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1644,21 +1644,6 @@ const ProjectView = (props) => {
</Breakpoint>
</Button>
}
{
project.libreLibrary && project.libreCoverID && !isMiniRepo && (
<Button
as={Link}
color='pink'
to={`/projects/${project.projectID}/ai-co-author`}
aria-label='Textbook Curation'
>
<Icon name='magic' />
<Breakpoint name='desktop'>
AI Co-Author
</Breakpoint>
</Button>
)
}
{
project.hasTrafficAnalyticsConfigured && (
<Button
Expand Down Expand Up @@ -1687,7 +1672,6 @@ const ProjectView = (props) => {
</Button>
{
!isMiniRepo && (
<>
<Button
color='orange'
as={Link}
Expand All @@ -1699,18 +1683,6 @@ const ProjectView = (props) => {
Peer Review
</Breakpoint>
</Button>
<Button
color='teal'
as={Link}
to={`${props.match.url}/accessibility`}
aria-label='Accessibility'
>
<Icon name='universal access' />
<Breakpoint name='desktop'>
Accessibility
</Breakpoint>
</Button>
</>
)}
<Dropdown text='More Tools' color='purple' as={Button} className='text-center-force'>
<Dropdown.Menu>
Expand Down
Loading