-
Notifications
You must be signed in to change notification settings - Fork 187
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
Issue #48 #52
Issue #48 #52
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
Agreed, it makes sense not to have all the emojis displayed, as this is distracting when reading the contributor's message. Great job adding the useState
hook for randomColor
; it works great when testing, and I am impressed! I see the useEffect
hook generates a random color and sets it as the randomColor
state whenever the isEnlarged state changes. I like how you have set up your setRandomColor
function; from my calculation, there are over 16 million different random color combinations. Translating to lots of variety when clicking👏🏻
@negar-75 Great work, and I will be continually reviewing today and adding empowering feedback 😎 I am impressed with your quick execution on bringing the chalkboard theme to life and the randomization of the chalk colors when viewing contributor's text. You have added much value to the presentation of this project for it to continue to evolve. I'm looking forward to continually directing your code changes. Have a great day, and thank you for your patience in my review and merging. |
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.
That makes sense, and thank you for refactoring the MasonryLayout,jsx.
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.
@negar-75 When viewing the added code in this MasonryBox.module.css
it makes sense why it is constructed how you have it. I would like to get your thoughts on the layout of the Before I Die.....
text and the contributor's text in the test box. In terms of visual appearance, do you believe it looks better centered? Please refer to the photos below⬇️
(Currently)
} | ||
|
||
.enlargedPhotoText { | ||
color: black; | ||
overflow-y: scroll; |
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.
Setting the:
overflow-y: auto;
overflow-y: scroll; | |
overflow-y: auto; |
This will eliminate the side scroll bar that is currently popping up (see picture below and this sidebar currently, when a contributor text is short, will be displayed weirdly. I believe it is best to set it to auto
for simplicity. Please let me know what you think about if you have another solution to prevent the scroll bar from moving inwards on the text box when a contributor's text is short.
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.
@negar-75 Great work, and thank you for your time making the UI contributions! Additionally thank you for your organized commit structure. Please let me know your thoughts on the comments I have left, and I look forward to your follow-up and merging and closing this issue! Have a great day!
Hi @XanderRubio |
@XanderRubio and also we have another problem that whenever we refresh our page we get the message to download heart-beat.wav |
Yes, you are correct @negar-75. I'm not sure why, but when I was reviewing earlier and viewing the deployment preview, I saw the scroll showing up before, and it was affecting the contributors with short text and shows up weirdly now when I view it shows up just as you share your screenshots. My apologies about that. Is your version showing a different formatting for how the images show? The following videos are the current version, followed by the draft version for this issue that is viewed on the preview link for this pull request #52. The draft version preview link has the images showing farther to the left and not completely centered. I want to check if you see the same on your local development server. Thanks 😎 Current Version of Before I Die Code: Draft version: |
I see this message in the console. Is this what you are referring too? |
@XanderRubio |
and about translation depend on IP, |
thanks for precise review and detailed comments, |
I am working on auto translation of "Before I die" heading based on IP |
Thank you for clarifying @negar-75 . It seems that the issue may be related to how the project is currently being deployed on Vercel. However, I would prefer to deploy it using GitHub. It's possible that the issue I was seeing in my browser was due to this deployment method. If everything appears normal in your local development environment, that's great. Let's proceed with merging to the main branch and see how it looks. We can always fix any issues or revert the commit if necessary. |
Makes sense. Can you go ahead and create an issue please for this 😎? |
however I checked the position of grid and saw there is padding in the left side , |
This makes sense and great idea to implement. Once we get this merged, we will review and create an issue specifically for the contributor text to translate based on IP and I would need to do research, or another contributor with experience will be able to assist. This is great, though as I didn't consider the translating based on IP, and appreciate you thinking ahead @negar-75! |
Yes, setting the parent element's display property to 'flex', and then |
So what should I do now in branch issue#48? |
@negar-75 I went ahead and merged and noticed the formatting was still off when viewing on the live link. I then went ahead and reverted the pull request to get the main branch back to how it was before. When viewing on your local set-up, please have a look at the current preview link here and see how the formatting of the images looks for you. Many open source projects will have a deployed version of a preview of what is being merged into the main branch, and this is good to always check before as it can be different sometimes from a developer's local dev server. |
Go ahead and click on Visit Preview to see the currently deployed version from your pull request. I'm grateful for your time in this and also for creating the ability for us to learn during this process. This is what I would recommend you do:
Please let me know if you have any questions or feedback, Negar. |
this is what I see in my local system of vercel link |
That is strange🤔 Because I know we didn't make any changes that would shift the div that holds contributor's images and send them off to the left. Very odd, and thank you for confirming from your perspective and viewing in FireFox also. I did notice after cloning your forked code and then viewing between the main and your issue-#48 branch that the div is flex see image below. Additionally, here is my perspective when running your code on my local React server, and the first time you see the the view of the Before I Die page is on the main branch of your forked repo and then when I switch to the branch issue-#48 the div element for the images doesn't show flex anymore which is strange since the Untitled.1.mov |
hey @XanderRubio |
so, because I am new with git stuff, what is the next step to merging pull request issue-#48? |
Great this makes sense on the web scroll from viewing your pull request #59! |
All good! Git can be confusing, and there are many times I still need to take a moment to wrap my head around what is the current Git situation. In this case, I would recommend going to your fork repo and opening up a new pull request and you should have no issue opening as the main branch of the Before I Die code will be different than the version you will be adding. Once you do this, check again for me on the deployment link preview as I'm still seeing the images off to the left. It seems you already did this with the recent #59 pull request. |
should I create new pull request here for issue #48 ? |
@negar No need to resubmit your changes after I reverted the merge into main. Your pull request #59 already includes the textbox and color randomization changes from before. Pull request #59 is connected to issue #48, so once we merge your branch into main it will automatically close that issue. Reverting the merge in #52 was just to undo the image alignment changes, which weren't quite centered. When I reverted, it went back in time to the previous version of main before the merge. This doesn't affect your code in the issue#48 branch or pull request #59 at all. Your pull request still contains the same changes as before. Overall, you followed the correct Git flow. I know it can be confusing when merges are reverted, but just know your changes are still safe in your pull request. Let me know if you have any other questions! |
No description provided.