Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice stuff! We should take this code you've written and move it over to the existing
Questionscolumn instead of creating a new one - may you please make the following changes:Here's what it will look like afterwards:
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thank you,
Btw, can you please explain to me what the below two lines do, I assume they show the changes, but how do I apply those changes🤔, I am doing it manually by copying and pasting, is that how I do it?
are these two separate commands or just a single command?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah no worries! That line is output from me making the changes locally and then creating a commit so I have it just incase. I could have pushed this commit to your branch, but I'm confident you've got things under control!
As far as applying the changes, you can manually copy and paste them, or we could have done it via
git format-patch: https://devconnected.com/how-to-create-and-apply-git-patch-files/. For example, I would have made the changes on my laptop and then create & uploaded the.patchfor you to apply viagit am.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much, I am learning so much with this contribution 😊
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, done with all the changes :D. It works fine, but how do I modify the
cellInfofunction such that, it only renders the row whose Id matches with the Question Id generated by therandomQuestionIdfunction? , I tried with many changes, but it quite didn't work :( as I wanted it to work. Or maybe I shouldn't change thecellInfo, rather I have to render the matched row from the Header'sonClickfunction. Basically, I need to create a separate function saygenerateMatchedRowwhich will render the row which is matched with therandomIdand then call it inside theonClickfunction.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I think there might be a misunderstanding! The code you've written right now actually solves what the original poster wanted in #170:
This means that we don't need to modify anything else related to
cellInfo- your code is great as is!