shivaansh0610-LUFFY opened a new pull request, #605:
URL: https://github.com/apache/fineract-backoffice-ui/pull/605
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<!-- Commits must be signed to merge — see CONTRIBUTING.md#commit-signing if
you haven't set this up. -->
## What and why
Fixes the scheduler jobs table text truncation issue in #581. The
`.truncate-text` styling previously imposed a hardcoded `200px` maximum width,
causing long job names to be truncated even when additional column space was
available. This change makes truncation respect the actual column width and
gives narrow columns explicit widths.
Closes #581
## Verification
<!-- List what you ran and what you checked. Note whether the UI was
exercised with mocks, a real Fineract backend, or both. -->
- `npm run lint` ✅
- `npm run test:unit` ✅ — 1527/1527 tests passed
- `npm run build` ✅
- Mocked Playwright scheduler jobs spec ✅ — 3/3 passed
- UI verification performed at 1440×900 using the existing mocked Playwright
workflow.
- Before/after visual verification confirms that `Transfer Fee For Loans
From Savings` and `Update Accounting Running Balances` now use the available
`Display Name` column width instead of being prematurely truncated.
## Screenshots
### Before
<img width="1440" height="900" alt="fineract-581-before"
src="https://github.com/user-attachments/assets/22fd1573-48ba-40e8-91e4-826143292d67"
/>
The long scheduler job names are truncated despite available space in the
table.
### After
<img width="1440" height="900" alt="fineract-581-after"
src="https://github.com/user-attachments/assets/f4dc7388-01c1-4aa2-99fe-2e5d8f242ae2"
/>
The `Display Name` column uses the available width while the `Select`,
`Active`, `Next Run Time`, and `Actions` columns remain appropriately
constrained.
### Screen recording
https://github.com/user-attachments/assets/9ad6d536-2970-4800-bc9f-4279baf572a3
## AI assistance (optional)
<!-- If generative AI materially assisted this contribution, optionally
state the tool or model and
the harness or workflow used. The contributor remains responsible for the
submitted change. -->
- Tool / model: Claude Code
- Harness / workflow: Existing mocked Playwright scheduler-jobs workflow;
temporary git worktree for before-state capture; `DEMO_RECORD=1` for the
after-state recording.
## Checklist
<!-- Check each item, or explain why it does not apply. -->
- [x] I did not hand-edit generated files under `src/app/api/`.
- [x] New component or service code uses the adapter boundary in
`src/app/core/adapters/` instead of direct browser globals or imperative
third-party APIs.
- [x] User-facing strings use translation keys.
- [x] I added or updated tests appropriate to this change, or explained why
tests were not needed.
- [x] UI workflow changes include suitable e2e coverage, including
real-backend testing where relevant.
- [ ] Commits are signed — see [Commit
Signing](CONTRIBUTING.md#commit-signing) in CONTRIBUTING.md.
- [x] I followed the [AI-assisted contributions
guidance](CONTRIBUTING.md#ai-assisted-contributions).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]