-
-
Notifications
You must be signed in to change notification settings - Fork 717
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
fix: Misplaced Screen Title & Fix Layout Structure #2088
fix: Misplaced Screen Title & Fix Layout Structure #2088
Conversation
WalkthroughThe recent changes enhance the user interface across multiple screens by integrating a Changes
Assessment against linked issues
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? |
Our Pull Request Approval ProcessWe have these basic policies to make the approval process smoother for our volunteer team. Testing Your CodePlease make sure your code passes all tests. Our test code coverage system will fail if these conditions occur:
The process helps maintain the overall reliability of the code base and is a prerequisite for getting your PR approved. Assigned reviewers regularly review the PR queue and tend to focus on PRs that are passing. ReviewersDo not assign reviewers. Our Queue Monitors will review your PR and assign them.
Reviewing Your CodeYour reviewer(s) will have the following roles:
CONTRIBUTING.mdRead our CONTRIBUTING.md file. Most importantly:
Other
|
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.
Congratulations on making your first PR! 🎊 If you haven't already, check out our Contributing Guidelines and PR Reporting Guidelines to ensure that you are following our guidelines for contributing and creating PR.
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (7)
- src/screens/UserPortal/Events/Events.module.css (1 hunks)
- src/screens/UserPortal/Events/Events.tsx (2 hunks)
- src/screens/UserPortal/People/People.module.css (1 hunks)
- src/screens/UserPortal/People/People.tsx (2 hunks)
- src/screens/UserPortal/Posts/Posts.module.css (1 hunks)
- src/screens/UserPortal/Posts/Posts.tsx (2 hunks)
- src/screens/UserPortal/UserScreen/UserScreen.tsx (2 hunks)
Files skipped from review due to trivial changes (4)
- src/screens/UserPortal/Events/Events.module.css
- src/screens/UserPortal/People/People.module.css
- src/screens/UserPortal/Posts/Posts.module.css
- src/screens/UserPortal/UserScreen/UserScreen.tsx
Additional comments not posted (6)
src/screens/UserPortal/People/People.tsx (2)
15-15
: Import statement added forProfileDropdown
.This import statement is necessary for the newly added
ProfileDropdown
component.
128-131
: AddedProfileDropdown
component next to theh1
element.The
ProfileDropdown
component is added for better user profile management and consistency across the UI. The layout structure ensures alignment and spacing are maintained.src/screens/UserPortal/Posts/Posts.tsx (2)
27-27
: Import statement added forProfileDropdown
.This import statement is necessary for the newly added
ProfileDropdown
component.
286-289
: AddedProfileDropdown
component next to theh1
element.The
ProfileDropdown
component is added for better user profile management and consistency across the UI. The layout structure ensures alignment and spacing are maintained.src/screens/UserPortal/Events/Events.tsx (2)
23-23
: Import statement added forProfileDropdown
.This import statement is necessary for the newly added
ProfileDropdown
component.
163-166
: AddedProfileDropdown
component next to theh1
element.The
ProfileDropdown
component is added for better user profile management and consistency across the UI. The layout structure ensures alignment and spacing are maintained.
@palisadoes Please do let me know if this PR requires any changes |
@anuragnegi000 Run prettier to fix format issues |
@varshith257 prettier? |
changes in background color Co-authored-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>
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.
Done!
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (1)
- src/screens/UserPortal/Events/Events.module.css (1 hunks)
Files skipped from review as they are similar to previous changes (1)
- src/screens/UserPortal/Events/Events.module.css
|
It could be good to remove commented code from all pages that made changes in this PR |
sure |
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.
LGTM with fixing review comment and format issues
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.
Actionable comments posted: 1
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (3)
- src/screens/UserPortal/Events/Events.module.css (1 hunks)
- src/screens/UserPortal/Posts/Posts.module.css (1 hunks)
- src/screens/UserPortal/UserScreen/UserScreen.tsx (2 hunks)
Files skipped from review as they are similar to previous changes (2)
- src/screens/UserPortal/Posts/Posts.module.css
- src/screens/UserPortal/UserScreen/UserScreen.tsx
Additional context used
Biome
src/screens/UserPortal/Events/Events.module.css
[error] 17-17: Expected a compound selector but instead found '='.
Expected a compound selector here.
(parse)
[error] 17-17: expected
,
but instead found.
Remove .
(parse)
[error] 18-19: Expected a qualified rule, or an at rule but instead found '>>>>>>>63e706517'.
Expected a qualified rule, or an at rule here.
(parse)
a298bf8
@varshith257 please do let me know if this PR requires any other changes? |
Can you do this to fix format issues? |
@varshith257 it's still failing |
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.
LGTM
The test is failing due to PR is develop -> develop branch. We can safely can give exemption for this time
@anuragnegi000 Make sure from next time to create a new branch for a PR :) |
|
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.
Please fix the linting errors
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (3)
- src/screens/UserPortal/Events/Events.module.css (1 hunks)
- src/screens/UserPortal/People/People.module.css (1 hunks)
- src/screens/UserPortal/Posts/Posts.module.css (2 hunks)
Files skipped from review as they are similar to previous changes (3)
- src/screens/UserPortal/Events/Events.module.css
- src/screens/UserPortal/People/People.module.css
- src/screens/UserPortal/Posts/Posts.module.css
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.
Code is linted properly
@palisadoes please re-check as the code is already linted |
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.
Please explain the decision on the CSS file update
858eafa
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.
Actionable comments posted: 0
Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Files selected for processing (3)
- src/screens/UserPortal/Events/Events.module.css (1 hunks)
- src/screens/UserPortal/People/People.module.css (1 hunks)
- src/screens/UserPortal/Posts/Posts.module.css (2 hunks)
Files skipped from review as they are similar to previous changes (3)
- src/screens/UserPortal/Events/Events.module.css
- src/screens/UserPortal/People/People.module.css
- src/screens/UserPortal/Posts/Posts.module.css
Please fix the failing tests. |
You'll need to reopen this PR using a different name for the local branch. That'll make it easier for the reviewers to test your changes. I'll have to close this. This is a welcome change and should be implemented. |
Please ask the slack channel. Usually these errors occur when you bypass our husky checks or you haven't merged with the latest upstream code |
What kind of change does this PR introduce?
Bugfix
Issue Number:
Fixes #2071
Did you add tests for your changes?
No, test are not required for this change
Snapshots/Videos:
Before:-
After:-
If relevant, did you update the documentation?
No
Summary
Now the child container is not taking any extra space as it was taking before
Does this PR introduce a breaking change?
No
Other information
Have you read the contributing guide?
Yes
Summary by CodeRabbit
New Features
ProfileDropdown
component to theEvents
,People
, andPosts
screens, enhancing user navigation and profile management.Style
People
andEvents
screens to improve layout consistency.Refactor
h1
elements with enhanced styling.