Skip to content

[NAE-2484] - Change data dialog FormControl - #364

Merged
mazarijuraj merged 2 commits into
release/6.6.0from
NAE-2484
Oct 23, 2026
Merged

mazarijuraj merged 2 commits into
release/6.6.0from
NAE-2484

Conversation

@mazarijuraj

@mazarijuraj mazarijuraj commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes NAE-2484 following implementation in NAB-400

Summary by CodeRabbit

  • Bug Fixes
    • The change-data dialog now lets you edit each value separately and shows validation feedback for the corresponding value.
    • Saving is unavailable while any value is invalid. When saved, each updated value remains associated with its original data entry.

- cherry-pick changes from builder task (NAB-400)
@mazarijuraj
mazarijuraj requested review from Kovy95 and Retoocs October 22, 2026 10:57
@mazarijuraj mazarijuraj self-assigned this Oct 22, 2026
@coderabbitai

coderabbitai Bot commented Oct 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: f4509ffb-edc9-4305-84ea-dedb542bc0f8
📥 Commits

Reviewing files that changed from the base of the PR and between 99755f3 and db05f3d.

📒 Files selected for processing: 2
  • projects/netgrif-components/src/lib/builder/dialogs/dialog-change-data/dialog-change-data.component.html
  • projects/netgrif-components/src/lib/builder/dialogs/dialog-change-data/dialog-change-data.component.ts

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

Walkthrough

The change-data dialog now uses one validated form control for each data-set value. On save, it returns the original IDs with the corresponding edited values.

Changes

Change-data dialog

Layer / File(s) Summary
Indexed controls and save result
projects/netgrif-components/src/lib/builder/dialogs/dialog-change-data/dialog-change-data.component.ts, projects/netgrif-components/src/lib/builder/dialogs/dialog-change-data/dialog-change-data.component.html
The component creates a validated control for each data-set value. The template binds each field to its indexed control and disables save when the form array is invalid. Saving returns each data-set item’s ID with its edited value.

Priority: ➖ Normal

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

Change: Bug fix

Merge Risk: ⚪ Minimal · up to db05f

The dialog preserves each edited value with its original ID, and no issue remains that should block merging.

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 clearly identifies the change to the Change Data dialog FormControl and includes the related issue key.
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 1…
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: 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 1 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install timed out. The project may have too many dependencies for the sandbox.

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.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 50%)

See analysis details on SonarQube Cloud

@mazarijuraj
mazarijuraj merged commit a9298d4 into release/6.6.0 Oct 23, 2026
10 of 11 checks passed
@mazarijuraj
mazarijuraj deleted the NAE-2484 branch October 23, 2026 10:01
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.

2 participants