Skip to content

Conversation

@heydoyouknowme0
Copy link
Contributor

No description provided.

@heydoyouknowme0 heydoyouknowme0 changed the base branch from feat/navigation-bar-new to feature/faculty-profile-page April 11, 2025 07:12
@heydoyouknowme0 heydoyouknowme0 force-pushed the feature/faculty-profile-page branch 3 times, most recently from c099698 to c15b5e6 Compare April 14, 2025 20:18
#360  
This pull request adds animation in the heading section of the image
header to fix the overflow problems.
This pull request updates the library section to reflect more accurate
and current information about resources and services, introduces ONOS
Consortium details, and improves the presentation of e-resource links in
both English and Hindi. The changes include updated statistics, new
consortium information, and UI improvements for accessing library
resources.

**Content and Data Updates:**

* Updated library statistics and resource counts in both English
(`i18n/en.ts`) and Hindi (`i18n/hi.ts`) translations to reflect the
latest figures and the inclusion of the ONOS Consortium.
[[1]](diffhunk://#diff-8ee4c65eaaf735c33bd37bf76d2a87fb76d02b7928096cc26db6364694988ceeL551-R551)
[[2]](diffhunk://#diff-912c4f60653cc2c8d00fda0b21a7a65ab1c3e1c3f65007e1f211f40c951596b8L501-R501)
* Revised descriptions for current journals and e-Shodh Sindhu sections
to match new data and clarify access via the library intranet site, in
both languages.
[[1]](diffhunk://#diff-8ee4c65eaaf735c33bd37bf76d2a87fb76d02b7928096cc26db6364694988ceeL929-R935)
[[2]](diffhunk://#diff-912c4f60653cc2c8d00fda0b21a7a65ab1c3e1c3f65007e1f211f40c951596b8L922-R928)

**New Consortium Information:**

* Added ONOS Consortium headings and descriptions to the e-resources
section in both English and Hindi translation files, and updated the
`Translations` interface accordingly.
[[1]](diffhunk://#diff-8ee4c65eaaf735c33bd37bf76d2a87fb76d02b7928096cc26db6364694988ceeL929-R935)
[[2]](diffhunk://#diff-912c4f60653cc2c8d00fda0b21a7a65ab1c3e1c3f65007e1f211f40c951596b8L922-R928)
[[3]](diffhunk://#diff-f021560af3d5a0f14642131f53f3141ab31d57c62b232272a5a097673e427d49R649-R650)

**UI Improvements:**

* Modified the library collection and resources page
(`collection-and-resources/page.tsx`) to display direct links to the
library intranet for each e-resource section, improving user access.
([app/[locale]/institute/sections/library/collection-and-resources/page.tsxL118-R141](diffhunk://#diff-ebba89b748be1d332f4c8ee4f45e2d6befb8f5221b5b9ba4288a184d46fd4fd6L118-R141))

**Minor Text Corrections:**

* Fixed minor typos and improved phrasing in various translation
strings, such as clarifying eligibility for Book Bank facilities and
correcting terminology.
[[1]](diffhunk://#diff-8ee4c65eaaf735c33bd37bf76d2a87fb76d02b7928096cc26db6364694988ceeL863-R863)
[[2]](diffhunk://#diff-8ee4c65eaaf735c33bd37bf76d2a87fb76d02b7928096cc26db6364694988ceeL875-R875)
[[3]](diffhunk://#diff-912c4f60653cc2c8d00fda0b21a7a65ab1c3e1c3f65007e1f211f40c951596b8L868-R868)

---------

Co-authored-by: Navneet Kaur <[email protected]>
Co-authored-by: Aryawart-kathpal <[email protected]>
Co-authored-by: Aryawart Kathpal <[email protected]>
- Size of vertical images is not exactly 1/2 of horizontal image
(because of spacing)
- added random images from internet for vertical testing
This pull request introduces significant enhancements to the faculty and
staff listing page, focusing on richer faculty profiles and improved UI
for external links and areas of interest. It also includes minor
formatting corrections and consistency improvements in the health centre
section and Hindi translations.

**Faculty profile enhancements:**

* Added new fields to the `faculty` schema and API queries, including
`areasOfInterest`, `googleScholarId`, `linkedInId`, `researchGateId`,
and `scopusId`, enabling richer faculty profiles and external link
support.
([server/db/schema/faculty.schema.tsR45](diffhunk://#diff-8bcc32dd561b4fe62d5c0f87de70181d1d472510a7d4a937e24ee17dbbec9f9dR45),
[app/[locale]/faculty-and-staff/page.tsxR339-R343](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6R339-R343))
* Displayed faculty members' areas of interest, showing up to two and
summarizing additional ones, for better visibility of expertise.
([app/[locale]/faculty-and-staff/page.tsxR407-R488](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6R407-R488))
* Implemented responsive UI for external profile links (Google Scholar,
LinkedIn, ResearchGate, Scopus), with distinct layouts for large and
small screens, improving accessibility and user experience.
([app/[locale]/faculty-and-staff/page.tsxR365-R371](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6R365-R371),
[app/[locale]/faculty-and-staff/page.tsxR407-R488](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6R407-R488))

**UI and formatting improvements:**

* Improved layout and spacing in faculty cards, including image
alignment and header spacing, for a more polished appearance.
([app/[locale]/faculty-and-staff/page.tsxL369-R396](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6L369-R396))
* Corrected formatting and object consistency in hospital data and
health centre timings, ensuring better readability and maintainability.
([app/[locale]/institute/sections/health-centre/page.tsxL36-R36](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL36-R36),
[app/[locale]/institute/sections/health-centre/page.tsxL305-R309](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL305-R309),
[app/[locale]/institute/sections/health-centre/page.tsxL318-R328](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL318-R328),
[app/[locale]/institute/sections/health-centre/page.tsxL490-R503](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL490-R503))

**Translation consistency:**

* Standardized Hindi translations for health centre and faculty-related
text, improving clarity and uniformity.

---------

Co-authored-by: Navneet Kaur <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: ArnavSharma005 <[email protected]>
Co-authored-by: heydoyouknowme0 <[email protected]>
Populated research and consultancy
#397 
This pull request adds a new "SC & ST Cell" section to the institute
website, including a dedicated page, navigation entry, and multilingual
support. It also improves the display of faculty contact information by
making email addresses clickable mailto links.

**SC & ST Cell Feature Addition**

* Added a new navigation entry for "SC & ST Cell" in the institute cells
menu within the header (`header.tsx`).
([app/[locale]/header.tsxR83-R88](diffhunk://#diff-05aeabaff5d1ec0d925bc6519f8dcf6cdc4f94efcf74117ecca3fbbd77eb7777R83-R88))
* Implemented a new page at `/institute/cells/scst` with a detailed
layout, including description, cell functions, liaison officer, and
important links, using translations and design components
(`scst/page.tsx`).
([app/[locale]/institute/cells/scst/page.tsxR1-R171](diffhunk://#diff-19c9706882ffe3c5011d10c9fc1e574aa3f0c8095b33184bddde8ec8abf2ba6cR1-R171))

**Internationalization and Data Structure Updates**

* Extended the translations and data structure in both English (`en.ts`)
and Hindi (`hi.ts`) to include all content and links for the SC & ST
Cell, such as descriptions, functions, officer info, and resources.
[[1]](diffhunk://#diff-8ee4c65eaaf735c33bd37bf76d2a87fb76d02b7928096cc26db6364694988ceeR609-R660)
[[2]](diffhunk://#diff-912c4f60653cc2c8d00fda0b21a7a65ab1c3e1c3f65007e1f211f40c951596b8R559-R610)
* Updated the `Translations` TypeScript interface to support the new
`scst` section and its nested fields (`translations.ts`).

**UI/UX Improvements**

* Updated the IPR cell's faculty email display to be a clickable mailto
link for better usability (`ipr/page.tsx`).
([app/[locale]/institute/cells/ipr/page.tsxL214-R219](diffhunk://#diff-8343f2570bf40278954d7880dcf9e37d0852c2722fab41d8faf4f435e9ae375bL214-R219))
#401 
This pull request makes a minor update to the layout of the SCST page
header. The main change is an adjustment to the styling of the header's
title container to improve its responsiveness and appearance.

- UI/Styling Improvements:
* The title container in the SCST page header (`page.tsx`) now has a
width of 90% and a maximum width (`max-w-5xl`), which helps the header
text scale better on different screen sizes. Additionally, the
`whitespace-nowrap` class was removed from the title to allow text
wrapping, and the `md:text-2xl` class was removed for consistency in
font sizing across breakpoints.
([app/[locale]/institute/cells/scst/page.tsxL33-R34](diffhunk://#diff-19c9706882ffe3c5011d10c9fc1e574aa3f0c8095b33184bddde8ec8abf2ba6cL33-R34))
This pull request introduces the "areas of interest" field to faculty
profiles across the application, enhancing the display and management of
faculty expertise. It also includes improvements to the faculty profile
UI, adds department information, and makes minor corrections to health
center data and translations.

**Faculty Profile Enhancements:**

* Added support for the `areasOfInterest` field to faculty profiles,
including database queries, profile editing, and display on both faculty
list and individual faculty pages. This allows faculty to specify and
showcase their research areas and specializations.
([app/[locale]/@modals/(.)profile/edit/page.tsxR59](diffhunk://#diff-e73212c94224fb2541821a5e5cdf5880f9ecace5d712ec5cd8dff6e590ded805R59),
[app/[locale]/@modals/(.)profile/edit/page.tsxR84](diffhunk://#diff-e73212c94224fb2541821a5e5cdf5880f9ecace5d712ec5cd8dff6e590ded805R84),
[app/[locale]/faculty-and-staff/page.tsxR339-R343](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6R339-R343),
[app/[locale]/faculty-and-staff/utils.tsxR115](diffhunk://#diff-3e362b10e143377150343a08121115b31eeefe1081b2d3cdc3bb5551eaec6b4dR115),
[app/[locale]/faculty-and-staff/utils.tsxL288-R317](diffhunk://#diff-3e362b10e143377150343a08121115b31eeefe1081b2d3cdc3bb5551eaec6b4dL288-R317),
[app/[locale]/faculty-and-staff/page.tsxR407-R488](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6R407-R488))
* Updated the profile edit form to handle `areasOfInterest` as a
comma-separated list, with user guidance and validation.
([app/[locale]/@modals/(.)profile/edit/client-utils.tsxR19](diffhunk://#diff-7c2e4d7020e011706a88acc0afb6b98c2056a5adb5900f07977925b7e4ec1b03R19),
[app/[locale]/@modals/(.)profile/edit/client-utils.tsxR130-R166](diffhunk://#diff-7c2e4d7020e011706a88acc0afb6b98c2056a5adb5900f07977925b7e4ec1b03R130-R166))

**UI/UX Improvements:**

* Enhanced the faculty profile UI by displaying department names,
improving the edit button appearance, and refining the layout for
research areas and external profile links.
([app/[locale]/faculty-and-staff/utils.tsxR128-R132](diffhunk://#diff-3e362b10e143377150343a08121115b31eeefe1081b2d3cdc3bb5551eaec6b4dR128-R132),
[app/[locale]/faculty-and-staff/utils.tsxL196-R202](diffhunk://#diff-3e362b10e143377150343a08121115b31eeefe1081b2d3cdc3bb5551eaec6b4dL196-R202),
[app/[locale]/faculty-and-staff/utils.tsxL206-R227](diffhunk://#diff-3e362b10e143377150343a08121115b31eeefe1081b2d3cdc3bb5551eaec6b4dL206-R227),
[app/[locale]/faculty-and-staff/page.tsxR365-R371](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6R365-R371),
[app/[locale]/faculty-and-staff/page.tsxL369-R396](diffhunk://#diff-73d9b8e5183a03609e638663514db195677d4e964b2ba2898d7ad4aa250d81d6L369-R396),
[app/[locale]/faculty-and-staff/utils.tsxL321-R346](diffhunk://#diff-3e362b10e143377150343a08121115b31eeefe1081b2d3cdc3bb5551eaec6b4dL321-R346))
* Separated the display of intellectual contribution counts into its own
section for better clarity and organization.
([app/[locale]/faculty-and-staff/utils.tsxR355-R377](diffhunk://#diff-3e362b10e143377150343a08121115b31eeefe1081b2d3cdc3bb5551eaec6b4dR355-R377))

**Internationalization (i18n):**

* Added translation keys and values for "Areas of Interest" in both
English and Hindi, ensuring the new field is properly localized.
[[1]](diffhunk://#diff-8ee4c65eaaf735c33bd37bf76d2a87fb76d02b7928096cc26db6364694988ceeR333)
[[2]](diffhunk://#diff-912c4f60653cc2c8d00fda0b21a7a65ab1c3e1c3f65007e1f211f40c951596b8R342)
[[3]](diffhunk://#diff-f021560af3d5a0f14642131f53f3141ab31d57c62b232272a5a097673e427d49R201)

**Minor Fixes and Cleanups:**

* Fixed formatting and consistency in the health center section,
including hospital names and timings.
([app/[locale]/institute/sections/health-centre/page.tsxL36-R36](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL36-R36),
[app/[locale]/institute/sections/health-centre/page.tsxL305-R309](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL305-R309),
[app/[locale]/institute/sections/health-centre/page.tsxL318-R328](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL318-R328),
[app/[locale]/institute/sections/health-centre/page.tsxL490-R503](diffhunk://#diff-38944ec42877c43150f9f89c1ae5bbc6a073d69363647186f6abfa9696cdcecfL490-R503))
* Cleaned up translation files for better readability and consistency.

---------

Co-authored-by: Navneet Kaur <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: ArnavSharma005 <[email protected]>
Co-authored-by: heydoyouknowme0 <[email protected]>
This pull request updates the rendering logic for the courses table in
`app/[locale]/academics/curricula/page.tsx`. The main improvement is
ensuring that courses with no associated majors are still displayed in
the table, preventing them from being omitted.

Rendering improvements:

* Courses that have no entries in `coursesToMajors` are now rendered as
a single row with just their `code` and `title`, ensuring all courses
are shown in the table.
([app/[locale]/academics/curricula/page.tsxL93-R102](diffhunk://#diff-f28e90cdfc2124ecddf73b3a9d4522b6270d42112fa9b8a81c67656ed7722c86L93-R102))
* The mapping logic for rendering table rows has been refactored to
handle the case where `coursesToMajors` is empty, improving code
readability and correctness.
([app/[locale]/academics/curricula/page.tsxL116-R124](diffhunk://#diff-f28e90cdfc2124ecddf73b3a9d4522b6270d42112fa9b8a81c67656ed7722c86L116-R124))
Added single clubs page
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.