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

Develop #233

Merged
merged 22 commits into from
Jan 23, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
16e400c
Responsive change in search, logo and org tab
al-yx Dec 27, 2024
23998eb
Project card changes
al-yx Jan 6, 2025
6daa305
Make Grid component responsive and add padding for small screens
al-yx Jan 9, 2025
f922b3c
fixes
sagarika-padmanaban Jan 9, 2025
a9364bb
directed the help icon to anudesh wiki
Rahul-538 Jan 10, 2025
fa59089
Merge branch 'develop' of https://github.com/AI4Bharat/Anudesh-Fronte…
Rahul-538 Jan 10, 2025
9b497f8
Update button text to 'Skip to next task' and fix chat history state …
al-yx Jan 16, 2025
825f177
Merge pull request #215 from AI4Bharat/Rahul-540
sagarika-padmanaban Jan 16, 2025
ce19d6a
fix
sagarika-padmanaban Jan 16, 2025
a483db9
pull
sagarika-padmanaban Jan 16, 2025
86be689
Merge pull request #222 from AI4Bharat/update-button-text-and-fix-cha…
sagarika-padmanaban Jan 17, 2025
1240fc1
merge
sagarika-padmanaban Jan 20, 2025
aa257db
comt
sagarika-padmanaban Jan 20, 2025
98f3f43
Instruction Driven Chat Page is fully responsive, and tested
dhaval-codes Jan 21, 2025
068f43f
Merge branch 'develop' of https://github.com/AI4Bharat/Anudesh-Fronte…
dhaval-codes Jan 21, 2025
6f171e5
Add CSS to View and fix MobileNavbar
al-yx Jan 22, 2025
6a1541c
fixexs
sagarika-padmanaban Jan 23, 2025
1efd880
Merge pull request #232 from AI4Bharat/conceal
sagarika-padmanaban Jan 23, 2025
5f6e319
merge
sagarika-padmanaban Jan 23, 2025
a0fd070
Merge pull request #216 from AI4Bharat/enhancement/responsive
ishvindersethi22 Jan 23, 2025
eecc484
Merge pull request #231 from AI4Bharat/instructionDrivenChatPageRespo…
ishvindersethi22 Jan 23, 2025
a7de97f
Update ReviewPage.jsx
sagarika-padmanaban Jan 23, 2025
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
22 changes: 21 additions & 1 deletion src/app/new-project/newproject.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ const CreateProject = () => {
const [tableData, setTableData] = useState([]);
const [searchAnchor, setSearchAnchor] = useState(null);
const [is_published, setIsPublished] = useState(false);
const [conceal, setconceal] = useState(false);
const [selectedFilters, setsSelectedFilters] = useState({});
const [createannotationsAutomatically, setsCreateannotationsAutomatically] =
useState("none");
Expand Down Expand Up @@ -393,6 +394,10 @@ const CreateProject = () => {
const handleChangeIsPublished = (event) => {
setIsPublished(event.target.checked);
};
const handleChangeconceal = (event) => {
setconceal(event.target.checked);
};


useEffect(() => {
setTotalDataitems(DataItems.count);
Expand Down Expand Up @@ -571,6 +576,7 @@ const CreateProject = () => {
is_published: is_published,
password: passwordForProjects,
metadata_json: questionsJSON,
conceal:conceal
};
console.log(newProject);

Expand Down Expand Up @@ -606,6 +612,7 @@ const CreateProject = () => {
is_published: is_published,
password: passwordForProjects,
metadata_json: questionsJSON,
conceal:conceal
};
console.log(newProject);

Expand Down Expand Up @@ -1502,7 +1509,20 @@ const CreateProject = () => {
sx={{ mt: 2, ml: 2, mb: 2 }}
/>
</Grid>
) : null}
) :null
}
<Grid container direction="row" alignItems="center">
<Typography gutterBottom components="div">
Hide Details :
</Typography>
<Switch
checked={conceal}
onChange={handleChangeconceal}
inputProps={{ "aria-label": "controlled" }}
sx={{ mt: 2, ml: 2, mb: 2 }}
/>
</Grid>

</>
)}
<Grid
Expand Down
Loading
Loading