You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]>
0 commit comments