Skip to content

Feat/lawyer availability hearing conflict detection - #1640

Open
Nareshkumawat-star wants to merge 6 commits into
viru0909-dev:mainfrom
Nareshkumawat-star:feat/lawyer-availability-hearing-conflict-detection
Open

Feat/lawyer availability hearing conflict detection#1640
Nareshkumawat-star wants to merge 6 commits into
viru0909-dev:mainfrom
Nareshkumawat-star:feat/lawyer-availability-hearing-conflict-detection

Conversation

@Nareshkumawat-star

Copy link
Copy Markdown

Description

Introduces lawyer availability tracking and real-time conflict detection during court hearing scheduling to mitigate scheduling conflicts and case delays in the Indian judicial workflow.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Documentation update

closes #1625

Key Changes Made

  1. Lawyer Availability Management:
    • Lawyers can mark dates as unavailable with specific reasons (vacations, appearances in higher courts, personal leave).
    • API: POST /api/v1/lawyer/availability, GET /api/v1/lawyer/availability, DELETE /api/v1/lawyer/availability/{id}.
  2. Judge Hearing Scheduler & Conflict Detection:
    • GET /api/v1/hearings/check-conflict validates proposed hearing dates against the assigned lawyer's marked availability.
    • When a judge selects an unavailable date, a non-blocking warning banner appears with judge override capability.
  3. Automated Hearing Notifications:
    • Dispatches in-app notifications to litigants and lawyers when a hearing is set.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

Test User added 6 commits July 20, 2026 22:04
@vercel

vercel Bot commented Jul 20, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the CodeBlooded's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

Copy link
Copy Markdown
Contributor

Hi @Nareshkumawat-star, thanks for contributing to Nyay Setu! 🎉

I have automatically:

  • 👤 Assigned this PR to you.
  • 🏷️ Applied the gssoc:approved label.

Our workflows will now analyze your changes to classify:

  • 📈 PR Difficulty: level:*
  • 🧩 PR Type: type:*
  • 🌟 PR Quality: quality:*

Tip

Ensure your PR description references the issue it resolves (e.g. Closes #123). This allows the bot to inherit any additional labels from that issue!

Happy coding! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT] Add lawyer availability calendar and hearing scheduling for judges

1 participant