Skip to content

WEB-1372: Fix clipped columns in entity lists - #4192

Open
harshiniiiiiii wants to merge 1 commit into
openMF:devfrom
harshiniiiiiii:WEB-1372-responsive-entity-list-columns
Open

harshiniiiiiii wants to merge 1 commit into
openMF:devfrom
harshiniiiiiii:WEB-1372-responsive-entity-list-columns

Conversation

@harshiniiiiiii

@harshiniiiiiii harshiniiiiiii commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes the clipped right-hand columns in the Clients, Groups, and Centers entity lists, and the unreadable loans table below 1100px.

Root cause (shared lists): .entity-list-container was capped at max-width: 70% while also using overflow: hidden. At 846px the container was narrower than the grid content, so Account No., External ID, and Office Name were clipped with no way to reach them. At 846px the container measured 547px client width against 898px of list content (the ticket reports 585px / 898px).

Root cause (Loans): below 1100px .loans-layout switches to a column, but kept align-items: flex-start. The .loans-container therefore sized to its 848px content instead of the available width and was clipped by the page/sidenav.

Changes:

  • Make .entity-list-container fluid (width: calc(100% - 32px); max-width: 84rem) so it uses the available width at every breakpoint.
  • Tighten the shared list grid tracks below 1100px to 8px-grid values, add min-width: min-content to the header/rows and overflow-x: auto on .list. On very narrow screens (e.g. 600px) the list scrolls horizontally instead of losing columns, and the footer stays pinned with position: sticky; left: 0.
  • Fix the search input being content-box, which made the 100%-wide field overflow its flex item and get clipped once the Centers toolbar had room to put both search fields on one line.
  • Add title bindings for account number, external ID, and office name so a value that is visually ellipsized remains readable in full.
  • Add align-items: stretch to the stacked .loans-layout so the loans table scrolls inside .table-scroll (which already has the synced top scrollbar) instead of overflowing the page.

No columns are hidden or duplicated, no sticky first column, and no new responsive abstraction was introduced.

Related issues and discussion

Jira: WEB-1372

Screenshots

846px wide (the width from the report), before / after.

Screen Before After
Clients Clients before at 846px Clients after at 846px
Groups Groups before at 846px Groups after at 846px
Centers Centers before at 846px Centers after at 846px
Loans Loans before at 846px Loans after at 846px

Verification

Measured in Chrome against demo.mifos.community at 600 / 846 / 1024 / 1280 / 1440 CSS px.

Width Clients / Groups / Centers Loans
600 List 502px client / 724px content, scrolls horizontally; footer stays pinned; no page overflow Container 513px (was 848px, overflowing); table scrolls inside its own wrapper
846 Container 748px, list 748/748; all columns visible (was 547 vs 898) Container 749px (was 848px); table scrolls inside its own wrapper
1024 Container 926px, list 926/926; all columns visible Container 920px; all columns visible
1280 Container 1182px, list 1182/1182; all columns visible Container 721px beside the filter panel; table scrolls inside its own wrapper
1440 Container 1342px, list 1342/1342; all columns visible Container 856px; all columns visible
  • No page-level horizontal overflow at any tested width.
  • At 600px the list footer stays at the left edge while the rows scroll (sticky, verified at scrollLeft: 222).
  • Centers toolbar no longer overflows its container at 846px (toolbar scrollWidth 748 = clientWidth 748).

Checks on the final commit (f95b77740):

  • GitHub Actions — all required checks passed: Run Lint and Build, Unit Tests (Jest), Playwright E2E, Validate MPL-2.0 Headers, Single Commit Check, check-contributor-membership.
  • CodeRabbit — review completed with no actionable comments.
  • Locally: npm run lint, Prettier, Stylelint, Htmlhint, file-header validation and npm run build all passed; the focused Jest run for clients.component.spec.ts and centers-view.component.spec.ts passed (2 suites, 27 tests). There is no component spec for Groups or the Loans list.
  • The manual browser measurements above were taken with system Chrome through Playwright because Playwright's bundled browsers are not installed locally; the repository's Playwright E2E workflow ran successfully on CI.

Checklist

  • One commit, squashed (WEB-1372: Fix clipped columns in entity lists).
  • Read and understood web-app/.github/CONTRIBUTING.md.
  • "Before" and "After" screenshots attached above.
  • No new translatable strings (the new title bindings render data values).

@harshiniiiiiii
harshiniiiiiii requested a review from a team October 26, 2026 12:27
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 59 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: openMF/web-app
  • Branch: dev
  • File: .coderabbit.yaml
  • Commit: cfb8c56
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 0efaed3a-1da3-4813-92d6-dd8cc275e844
Commits

Reviewing files that changed from the base of the PR and between 7bcedc3 and 4d7a895.

Files selected for processing: 5
  • src/app/centers/centers.component.html
  • src/app/clients/clients.component.html
  • src/app/groups/groups.component.html
  • src/app/loans/loans.component.scss
  • src/assets/styles/_entity-list.scss

Note

.coderabbit.yaml has unrecognized properties

CodeRabbit is using all valid settings from your configuration. Unrecognized properties (listed below) have been ignored and may indicate typos or deprecated fields that can be removed.

Parsing warnings: 1
Validation error: Unrecognized key: "pre_merge_checks"
Configuration instructions
  • Please see the configuration documentation for more information.
  • You can also validate your configuration using the online YAML validator.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: openMF/web-app
  • Branch: dev
  • File: .coderabbit.yaml
  • Commit: 2b46af2
  • Layers: Repository YAML
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 31af528e-3587-4e19-822e-0a517a22b0e5
Commits

Reviewing files that changed from the base of the PR and between 2b46af2 and f95b777.

Files selected for processing: 5
  • src/app/centers/centers.component.html
  • src/app/clients/clients.component.html
  • src/app/groups/groups.component.html
  • src/app/loans/loans.component.scss
  • src/assets/styles/_entity-list.scss

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.

Walkthrough

Center, client, and group rows add title attributes for account numbers, external IDs, and office names. Shared entity-list styles and the loan layout change sizing, scrolling, and alignment at narrower viewports.

Changes

Entity list display

Layer / File(s) Summary
Entity row titles
src/app/centers/centers.component.html, src/app/clients/clients.component.html, src/app/groups/groups.component.html
Rows add title attributes for account numbers, external IDs, and office names. Displayed values and missing external-ID fallbacks remain unchanged.
Responsive list sizing and scrolling
src/assets/styles/_entity-list.scss, src/app/loans/loans.component.scss
The shared list styles update container width, search sizing, grid dimensions, horizontal scrolling, and footer positioning. At widths up to 1100px, the list uses a compact grid and the loan layout stretches its children.

Priority: Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested reviewers: alberto-art3ch

Merge Risk: Minimal · previous review f95b7

The responsive list changes preserve column alignment and confine horizontal scrolling without identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "WEB-1372: Fix clipped columns in entity lists" matches the main change. The PR fixes clipped right-hand columns in the Clients, Groups, and Centers lists and clipping in the Loans table bel…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "WEB-1372: Fix clipped columns in entity lists" matches the main change. The PR fixes clipped right-hand columns in the Clients, Groups, and Centers lists and clipping in the Loans table below 1100px. The changeset also adds title tooltips and adjusts the shared container width, which the title does not mention, but those are supporting changes. The title is short, specific, and uses a ticket identifier that a teammate can trace.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (5 skipped: 5 unsupported.)

Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@harshiniiiiiii
harshiniiiiiii force-pushed the WEB-1372-responsive-entity-list-columns branch 2 times, most recently from f95b777 to c6dd162 Compare October 26, 2026 12:59
@harshiniiiiiii

Copy link
Copy Markdown
Contributor Author

@IOhacker ptal

@harshiniiiiiii
harshiniiiiiii force-pushed the WEB-1372-responsive-entity-list-columns branch 3 times, most recently from a70a7b5 to 4349df0 Compare October 30, 2026 03:33
The shared entity list capped its container at 70% width and hid overflow, so
the right-hand columns were unreachable between ~846px and ~1100px. Make the
container fluid, tighten the grid tracks on the 8px grid below 1100px, and let
the list scroll horizontally on very narrow screens while the footer stays
pinned. Also stretch the stacked loans layout so its table scrolls inside the
page instead of overflowing it, and expose full account/external/office values
as title tooltips where tracks can ellipsize them.
@harshiniiiiiii
harshiniiiiiii force-pushed the WEB-1372-responsive-entity-list-columns branch from 4349df0 to 4d7a895 Compare October 30, 2026 03:52

This branch has not been deployed

No deployments
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.

1 participant