Skip to content

Conversation

@sannidhi-s-shetty
Copy link
Contributor

Form to take details of execom member. And a delete execom based on the sid feature added.

Copy link
Member

@Prajwalprakash3722 Prajwalprakash3722 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall the changes look good,lot of code needs to be reorganised and cleaned
But the proof of concept is now clear.

Copy link
Member

@Prajwalprakash3722 Prajwalprakash3722 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code is being organised, still lot to be done.

@Prajwalprakash3722
Copy link
Member

maybe try to comment out the unused variables next time, at least it will pass the test

@Prajwalprakash3722
Copy link
Member

image

can we redesign the layout like this?, makes easy to identify the buttons.

Copy link
Member

@Prajwalprakash3722 Prajwalprakash3722 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks neat and properly organised, I will pull the branch test it out and report if any issues.

Copy link
Member

@Prajwalprakash3722 Prajwalprakash3722 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall it looks neat with minor changes

const expectedValue = 'my life my choice';

if (inputValue === expectedValue) {
console.log("match");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of consoling the match, can we have a SnackBar that will show the user result

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if there is a match, then deleteExecom() gets called, for that there is a Snackbar telling ended tenure or not. Is there a need for another one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if the user input is not correct, how can we inform them? any other idea

Copy link
Contributor Author

@sannidhi-s-shetty sannidhi-s-shetty May 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If strings do not match, below the text field a string "strings do not match" gets displayed for 2 seconds.
And if string matches, a Snackbar telling whether the deletion was successful or not gets displayed.

<br/>
Please type <i>my life my choice</i> to confirm.
</DialogContentText>
<TextField
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we mark the border of the input incase if the user does not enter the required string, when they enter the required string turn the input border as green (Just an Idea)



useEffect(() => {
if (props.data !== undefined) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Are we handling the edit action? if so where and how?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not as of now.....just kept the code from events.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright :)

@Prajwalprakash3722
Copy link
Member

@sannidhi-s-shetty any update on this?

Copy link
Member

@Prajwalprakash3722 Prajwalprakash3722 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have couple of doubts,

  • If we are fetching the members in AlumniAccordions page why are we passing members as props?

  • How one can add/edit the execom? where did the editing option go?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you elaborate more on this file?

</Paper> */}

<SocietyExec sid = {ecats.aps}/>
<AlumniAccordions members={alumni.aps} sid={ecats.aps} color="rgb(110 110 193)" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why are we passing the member as props where it is being fetched in the AlumniAccordions Component?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants