Skip to content

[Customer Portal[BE] Update project response - #271

Merged
sacheeramesh merged 2 commits into
wso2-open-operations:customer-portal-milestone-1from
Rashmika998:customer-portal-milestone-1-projects
Mar 1, 2026
Merged

sacheeramesh merged 2 commits into
wso2-open-operations:customer-portal-milestone-1from
Rashmika998:customer-portal-milestone-1-projects

Conversation

@Rashmika998

@Rashmika998 Rashmika998 commented Mar 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

  • Update projects response to fetch the startDate and endDate.
  • Rename the hasSR to hasSr.
  • Add createdByMe field to search cases of a project.

Related PRs

Summary by CodeRabbit

  • New Features
    • Projects show a service-request indicator to identify projects with associated service requests
    • Projects include optional start and end dates for better timeline and scheduling visibility
    • Case search adds a "Created by me" filter to quickly find cases you created

@Rashmika998 Rashmika998 self-assigned this Mar 1, 2026
@Rashmika998 Rashmika998 added Type/Improvement Marks enhancements or improvements to existing features App/Customer Portal Area/Backend labels Mar 1, 2026
@coderabbitai

coderabbitai Bot commented Mar 1, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between ed1774f and 8fc6473.

📒 Files selected for processing (1)
  • apps/customer-portal/backend/modules/entity/types.bal
🚧 Files skipped from review as they are similar to previous changes (1)
  • apps/customer-portal/backend/modules/entity/types.bal

📝 Walkthrough

Walkthrough

Adds three fields to ProjectResponse (hasSr: boolean, startDate?: Date, endDate?: Date) and one optional boolean filter createdByMe? to CaseSearchFilters in the customer-portal backend types file.

Changes

Cohort / File(s) Summary
Types file updates
apps/customer-portal/backend/modules/entity/types.bal
Added boolean hasSr, Date? startDate, and Date? endDate to public type ProjectResponse record; added boolean createdByMe? to public type CaseSearchFilters record.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested reviewers

  • shayanmalinda
  • yuk7hi
  • SParaparan

Poem

🐰 I hopped through code to add a tiny clue,
Flags for SRs and dates to view,
A filter for the cases I made,
Small changes — a tidy parade,
Hooray, the types now feel brand new! 🎉

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The pull request description is minimal and lacks required template sections such as Purpose, Goals, Approach, User stories, Release notes, Documentation, and others specified in the repository template. Expand the description to follow the repository template, including Purpose (with issue links), Goals, Approach, User stories, Release notes, Documentation, Security checks, and other required sections.
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title references updating project response and aligns with the main changes (adding startDate, endDate fields and renaming hasSR to hasSr), though it's somewhat generic.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sacheeramesh
sacheeramesh merged commit 616df6b into wso2-open-operations:customer-portal-milestone-1 Mar 1, 2026
1 check passed
@Rashmika998 Rashmika998 moved this from Done to Staging Deployed in Customer Portal Development Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

App/Customer Portal Area/Backend Type/Improvement Marks enhancements or improvements to existing features

Projects

Status: Staging Deployed

Development

Successfully merging this pull request may close these issues.

2 participants