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

deallocate fix #187

Merged
merged 2 commits into from
Dec 3, 2024
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
14 changes: 10 additions & 4 deletions src/app/ui/pages/chat/InstructionDrivenChatPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ const grey = {
>
<Box
sx={{
width: "50vw",
width: { xs: "100%", sm: "70%", md: "50%" },
display: "flex",
flexDirection: "column",
padding: "1.5rem",
Expand Down Expand Up @@ -501,7 +501,9 @@ const grey = {
fontSize: "1rem",
width: "270%",
height: "auto",
resize:"none",
fontWeight: "400",
minHeight: "5rem",
lineHeight: "1.5",
padding: "12px",
borderRadius: "12px 12px 0 12px",
Expand All @@ -522,8 +524,9 @@ const grey = {
fontSize: "1rem",
padding: "0.5rem",
border: "none",
resize:"none",
overflow: "hidden",
minHeight: "3rem",
minHeight: "5rem",
height: "auto",
border: `1px solid ${grey[200]}`,
boxShadow: `0px 2px 2px ${grey[50]}`,
Expand Down Expand Up @@ -572,7 +575,8 @@ const grey = {

<Box
sx={{
width: "50vw",
width: { xs: "100%", sm: "70%", md: "50%" },

display: "flex",
justifyContent: "start",
alignItems: "start",
Expand Down Expand Up @@ -622,7 +626,9 @@ const grey = {
height: "50%",
width: "270%",
height: "auto",
resize:"none",
fontWeight: "400",
minHeight: "5rem",
lineHeight: "1.5",
padding: "12px",
borderRadius: "12px 12px 0 12px",
Expand All @@ -646,7 +652,7 @@ const grey = {
padding: "0.5rem",
border: "none",
overflow: "hidden",
minHeight: "3rem",
minHeight: "5rem",
height: "auto",
border: `1px solid ${grey[200]}`,
boxShadow: `0px 2px 2px ${grey[50]}`,
Expand Down
11 changes: 0 additions & 11 deletions src/components/Project/TaskTable.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,17 +287,6 @@ const TaskTable = (props) => {

const unassignTasks = async () => {
setDeallocateDialog(false);
if (
props.ProjectDetails.project_type ===
"AcousticNormalisedTranscriptionEditing"
) {
setSnackbarInfo({
open: true,
message: "The task de-allocation has been disabled for your project",
variant: "error",
});
return;
}
const deallocateObj =
props.type === "annotation"
? new DeallocateTasksAPI(id, selectedFilters.annotation_status)
Expand Down
Loading