Skip to content
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

Rspc 2025 1 #1461

Merged
merged 88 commits into from
Apr 15, 2024
Merged

Rspc 2025 1 #1461

merged 88 commits into from
Apr 15, 2024

Conversation

SharanKumar06
Copy link

@SharanKumar06 SharanKumar06 commented Apr 15, 2024

Issue that this pull request solves

minor bug fixes, integration of notification panel

  1. Used a global variable in the backend for fetching current user designation, as suggested by dashboard module (view.py, menucard.html)

2.Notifications panel added (sidepanel.html)

Closes: # (issue number)

Proposed changes

Brief description of what is fixed or changed

Types of changes

Put an x in the boxes that apply

  • [ x] Bugfix (non-breaking change which fixes an issue)
  • [ x] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Other (please describe):

Checklist

Put an x in the boxes that apply

  • [ x] My code follows the style guidelines of this project
  • [ x] I have performed a self-review of my own code
  • [x ] I have created new branch for this pull request
  • [ x] I have commented my code, particularly in hard-to-understand areas
  • [ x] I have made corresponding changes to the documentation
  • [ x] My changes generate no new warnings
  • [ x] My changes does not break the current system and it passes all the current test cases.

Screenshots

Please attach the screenshots of the changes made in case of change in user interface

Other information

@prajjwalkapoor
@ChaudharyRaman
@varun7singh
@Priyansh61
Any other information that is important to this pull request

Copy link

@Priyansh61 Priyansh61 left a comment

Choose a reason for hiding this comment

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

Comment on lines 678 to 683
if user_designation == 'Assistant':
user_designation = 'Assistant Professor'

if user_designation == 'CSE':
user_designation= 'CSE HOD'

Choose a reason for hiding this comment

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

Please avoid hardcoding designation use an enum or const for this.

Comment on lines 717 to 722
if receiver_designation == 'Assistant':
receiver_designation = 'Assistant Professor'

if receiver_designation == 'CSE':
receiver_designation = 'CSE HOD'

Choose a reason for hiding this comment

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

same as above

Copy link
Author

Choose a reason for hiding this comment

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

@Priyansh61
Done...

@ChaudharyRaman ChaudharyRaman merged commit 8fa8821 into FusionIIIT:rspc Apr 15, 2024
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.