Skip to content

P0080 clean#510

Merged
Saurabh186 merged 2 commits intodevelopmentfrom
P0080-clean
Mar 31, 2026
Merged

P0080 clean#510
Saurabh186 merged 2 commits intodevelopmentfrom
P0080-clean

Conversation

@Saurabh186
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@windsurf-bot windsurf-bot bot left a comment

Choose a reason for hiding this comment

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

💡 To request another review, post a new comment with "/windsurf-review".

</button>
<mat-menu #menu="matMenu" class="profile-menu ml-1">
<h4 class="m-0 py-2 px-6 text-dark font-medium">{{ user.displayName }}</h4>
<div mat-menu-item class="flex items-center gap-2" (click)="switchedDarkMode(!isDarkMode())">
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

The dark mode toggle has been moved to the user menu, which improves the UI. However, the function call has changed from switchedDarkMode($event.checked) to switchedDarkMode(!isDarkMode()). Make sure the function can handle a direct boolean parameter instead of an event object.

Comment on lines +22 to +24
// .mat-mdc-cell {
// border-bottom-color: var(--color-table-cell-border) !important;
// }
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Instead of commenting out CSS rules that are no longer needed, it would be better to remove them completely. Commented code adds maintenance burden and can cause confusion for other developers. If these styles need to be referenced later, they can be found in version control history.

width: 100%;
padding: 8px 16px !important;
border-bottom: 1px solid var(--color-table-cell-border) !important;
// border-bottom: 1px solid var(--color-table-cell-border) !important;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Similarly here, if the border-bottom style is no longer needed, it should be removed rather than commented out.

@Saurabh186 Saurabh186 merged commit 88ed9eb into development Mar 31, 2026
1 check passed
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.

2 participants