Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

UI/contact us #78

Closed

Conversation

Vinay-Pratap-Singh
Copy link
Contributor

@Vinay-Pratap-Singh Vinay-Pratap-Singh commented Oct 19, 2023

Describe your changes

Created the contact us page

Issue ticket number and link

#76 #77 #75 #74

Please confirm the below message,

  • I confirm that I have performed a self-review of my code, and written explainable comments in the code, the UI is rendered without any errors, the UI is responsive, dark mode UI is implemented, removed all debug-related code.

@Vinay-Pratap-Singh
Copy link
Contributor Author

@sub1120 please have a look and tell me the review so that I can move with other stuffs

@sub1120
Copy link
Contributor

sub1120 commented Oct 19, 2023

@sub1120 please have a look and tell me the review so that I can move with other stuffs

Hello @Vinay-Pratap-Singh, Thanks for your active contribution. Sorry, but this PR is too long to review. It is always easier to review and merge small PRs, and If we move this fast, we may end up missing small things behind. Could you please create separate PRs for different sections of UI?

Also, we are planning to setup testing before we move further in UI development. I have already created an issue #73 for it, if you or any of your friend have any idea about "How to setup UI Testing", please have a look upon it.

@shivamvijaywargi
Copy link
Contributor

@sub1120 please have a look and tell me the review so that I can move with other stuffs

Hello @Vinay-Pratap-Singh, Thanks for your active contribution. Sorry, but this PR is too long to review. It is always easier to review and merge small PRs, and If we move this fast, we may end up missing small things behind. Could you please create separate PRs for different sections of UI?

Also, we are planning to setup testing before we move further in UI development. I have already created an issue #73 for it, if you or any of your friend have any idea about "How to setup UI Testing", please have a look upon it.

I like this idea, but let it slide this one time since it is already done.

Let's review this and merge and from next time onwards @Vinay-Pratap-Singh please keep the PRs short.

@sub1120
Copy link
Contributor

sub1120 commented Oct 20, 2023

@sub1120 please have a look and tell me the review so that I can move with other stuffs

Hello @Vinay-Pratap-Singh, Thanks for your active contribution. Sorry, but this PR is too long to review. It is always easier to review and merge small PRs, and If we move this fast, we may end up missing small things behind. Could you please create separate PRs for different sections of UI?

Also, we are planning to setup testing before we move further in UI development. I have already created an issue #73 for it, if you or any of your friend have any idea about "How to setup UI Testing", please have a look upon it.

I like this idea, but let it slide this one time since it is already done.

Let's review this and merge and from next time onwards @Vinay-Pratap-Singh please keep the PRs short.

Okay, I will try to review it as soon as possible.

Copy link
Contributor

@shivamvijaywargi shivamvijaywargi left a comment

Choose a reason for hiding this comment

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

Please check the comments.

src/app/contact/page.tsx Outdated Show resolved Hide resolved
src/app/contact/page.tsx Outdated Show resolved Hide resolved
src/app/error.tsx Show resolved Hide resolved
src/app/not-found.tsx Show resolved Hide resolved
src/components/contact/Breadcrumb.tsx Outdated Show resolved Hide resolved
src/components/course/CourseCard.tsx Outdated Show resolved Hide resolved
@Vinay-Pratap-Singh
Copy link
Contributor Author

@sub1120 please have a look and tell me the review so that I can move with other stuffs

Hello @Vinay-Pratap-Singh, Thanks for your active contribution. Sorry, but this PR is too long to review. It is always easier to review and merge small PRs, and If we move this fast, we may end up missing small things behind. Could you please create separate PRs for different sections of UI?

Also, we are planning to setup testing before we move further in UI development. I have already created an issue #73 for it, if you or any of your friend have any idea about "How to setup UI Testing", please have a look upon it.

Thanks @shivamvijaywargi and @sub1120 for considering it, from next time i will try to make pr for each component.
Also will resolve the comments soon

Copy link
Contributor

@shivamvijaywargi shivamvijaywargi left a comment

Choose a reason for hiding this comment

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

Please check the comments

src/app/contact/page.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@shivamvijaywargi shivamvijaywargi left a comment

Choose a reason for hiding this comment

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

Good work until now, please review the last couple of changes and we should be good to go

src/app/contact/page.tsx Outdated Show resolved Hide resolved
src/components/breadcrumb/Breadcrumb.tsx Outdated Show resolved Hide resolved
src/components/contact/ContactForm.tsx Outdated Show resolved Hide resolved
src/components/contact/ContactForm.tsx Outdated Show resolved Hide resolved
@Vinay-Pratap-Singh
Copy link
Contributor Author

@shivamvijaywargi please have a look into it and let me know if any further improvement is required.

@shivamvijaywargi
Copy link
Contributor

@sub1120 please take it over.

@sub1120
Copy link
Contributor

sub1120 commented Oct 28, 2023

@sub1120 please take it over.

checking...

@sub1120
Copy link
Contributor

sub1120 commented Oct 28, 2023

@Vinay-Pratap-Singh, please check few requested UI changes from my side. Apart from that all good. Nice work.

Copy link
Contributor

Choose a reason for hiding this comment

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

Vinay, below UI looks little different from design (spacing and separator). Could you please compare and check once. For sperator please use shadcn seperator

Current Design
image image

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done have a look @sub1120

Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use separator component provided by shandcn instead of border.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't think it is required, if I can do that using the border then why use a separator over there unnecessarily?
Even if you want me to use a separator then can you please provide me any specific reason either in the name of performance, good practice, or from any relevant resource that using a separator is better instead of a border which is an inbuilt property of the CSS.

Copy link
Contributor

Choose a reason for hiding this comment

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

Generally shandcn components provide better accessibility.

Check out this separator code to know how it is different from our current implementation.

https://github.com/radix-ui/primitives/blob/main/packages/react/separator/src/Separator.tsx

So let's try whenever possible use shadcn components.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the reference, I also understand the accessibility part but not convinced for this particular thing that I should remove the border and replace it with the separator code.
Because the argument from your end is not sufficient to which you are giving to change the code.

I accepted the required changes and modified the code as per your concerns which were really good and important but I do not think the same for this.

By the way, I am not going to modify this code, you guys can reject this PR as you guys are the owner and have complete authority over how you want this project to be.

Thanks for all the PRs to which you guys have merged by which I had got a good experience and was an amazing journey. From now onward I will not be able to contribute more to this project.

Thanks to @shivamvijaywargi and @sub1120 for giving me the chance to contribute to this project.

Copy link
Contributor

@sub1120 sub1120 Oct 30, 2023

Choose a reason for hiding this comment

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

@Vinay-Pratap-Singh we are just trying to maintain best practices in this project and accessibility is one of it. If we maintain code standards from the beginning, it will allow other collaborators to follow the same.

I know this PR took more than the usual time for review. But believe us, we are just trying our best to maintain the codebase. You are among the top contributors in this project. We would love to continue with you, but it's totally your choice.🙂

src/app/contact/page.tsx Outdated Show resolved Hide resolved
src/app/contact/page.tsx Outdated Show resolved Hide resolved
src/app/contact/page.tsx Outdated Show resolved Hide resolved
src/app/contact/page.tsx Outdated Show resolved Hide resolved
src/sampledata.ts Outdated Show resolved Hide resolved
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants