Skip to content

chore: run formatting and linting on files and reenable in the pipeline - #250

Merged
aaronschweig merged 2 commits into
mainfrom
chore/linting-and-formatting
Aug 13, 2026
Merged

chore: run formatting and linting on files and reenable in the pipeline#250
aaronschweig merged 2 commits into
mainfrom
chore/linting-and-formatting

Conversation

@aaronschweig

@aaronschweig aaronschweig commented Aug 12, 2026

Copy link
Copy Markdown
Member

Closes #245

Summary by CodeRabbit

  • New Features

    • Added ESLint and Prettier checks to the build pipeline.
  • Bug Fixes

    • Completed a missing pager-indicator style block.
    • Improved resource collection card expansion styling and click behavior.
    • Expanded form event typing to support text areas and select controls.
  • Documentation

    • Improved readability and consistency across guides, examples, tables, and changelog formatting.
  • Style

    • Applied consistent formatting across application templates, styles, configuration, stories, and tests without changing existing behavior.

Signed-off-by: aaronschweig <aaron.schweig@gmail.com>
@aaronschweig
aaronschweig requested review from a team as code owners August 12, 2026 15:37
@coderabbitai

coderabbitai Bot commented Aug 12, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@aaronschweig, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 20 minutes

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

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 222a2404-15a0-4bcd-b9ba-da0fbc44f404

📥 Commits

Reviewing files that changed from the base of the PR and between fabbd2f and f092199.

📒 Files selected for processing (1)
  • projects/ngx/declarative-ui/resource-field/resource-collection-field/resource-collection-field.component.html
📝 Walkthrough

Walkthrough

Changes

The pipeline now runs ESLint and Prettier checks. Documentation tables and examples were reformatted. Angular templates, TypeScript, Sass, tests, stories, configuration, and bundle scripts received formatting updates. Form and resource-field templates also include direct index usage and related markup changes.

Formatting and validation

Layer / File(s) Summary
Pipeline and documentation formatting
.github/workflows/pipeline.yaml, AGENTS.md, CHANGELOG.md, README.md, docs/*, projects/ngx/README.md
Enabled lint and format checks and reformatted documentation content without changing documented contracts.
Dashboard and card source formatting
projects/ngx/cards/*, projects/ngx/declarative-ui/dashboard/*
Reformatted dashboard and card templates, styles, TypeScript, tests, and stories.
Form and resource-field updates
projects/ngx/declarative-ui/form/*, projects/ngx/declarative-ui/resource-field/*
Replaced the collection loop alias with $index, expanded form event target types, added the expanded-card class, removed body click propagation, and reformatted related code.
Stories and table test cleanup
projects/ngx/declarative-ui/stories/*, projects/ngx/declarative-ui/table*
Reformatted stories and table code. Table-card tests now use a typed WithFilterTabs interface instead of any.
Build and project configuration
projects/webcomponents/README.md, renovate.json, scripts/bundle-wc.mjs, tsconfig.storybook.json
Reformatted project configuration, bundle scripts, and web-component documentation without changing configured values or script behavior.

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

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The PR includes broad documentation reformatting and several behavior-related changes beyond the linked linting objectives. Remove unrelated documentation and behavior changes, or link issues that define those additional objectives.
Docstring Coverage ⚠️ Warning Docstring coverage is 11.11% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the formatting, linting, and pipeline changes.
Linked Issues check ✅ Passed The PR addresses both requirements in [#245]: it fixes lint issues and re-enables the pipeline linting step.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/linting-and-formatting

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.

@aaronschweig
aaronschweig enabled auto-merge (squash) August 12, 2026 15:43

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@docs/declarative-table.md`:
- Line 22: Update the external script element in the declarative table
documentation to use an explicit paired closing tag instead of self-closing
syntax, ensuring subsequent inline initialization remains outside the external
script and executes correctly.

In
`@projects/ngx/declarative-ui/resource-field/resource-collection-field/resource-collection-field.component.html`:
- Line 24: Add a click handler to the `.card__body` element in the
`mfp-resource-field` template that stops event propagation, preventing clicks on
expanded collection values from reaching the enclosing `ui5-table-row` and
triggering `onRowClick(item)`.

In `@projects/ngx/declarative-ui/resource-field/resource-field.component.html`:
- Around line 27-35: Remove the non-null assertions from the bindings in the
display branches of the resource-field template. Ensure the conditions or
component state narrow boolValue() and stringValue() to defined values before
passing them to BooleanValue and LinkValue; otherwise, explicitly handle the
undefined case. If an assertion is unavoidable, document its invariant at the
relevant symbol.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: ca221542-8c1f-4a27-a39d-d35be7c90e37

📥 Commits

Reviewing files that changed from the base of the PR and between 892e507 and fabbd2f.

📒 Files selected for processing (93)
  • .github/workflows/pipeline.yaml
  • AGENTS.md
  • CHANGELOG.md
  • README.md
  • docs/dashboard.md
  • docs/declarative-form.md
  • docs/declarative-table-card.md
  • docs/declarative-table.md
  • docs/resource-field.md
  • docs/test-ids.md
  • projects/ngx/README.md
  • projects/ngx/cards/favorites/favorites.component.html
  • projects/ngx/cards/favorites/favorites.component.scss
  • projects/ngx/cards/favorites/favorites.component.ts
  • projects/ngx/cards/mock-card/mock-card.component.scss
  • projects/ngx/cards/service-status/service-status-card.component.html
  • projects/ngx/cards/service-status/service-status-card.component.scss
  • projects/ngx/cards/service-status/service-status-card.component.ts
  • projects/ngx/cards/stories/visited-service-card.stories.ts
  • projects/ngx/cards/whats-new/whats-new.component.scss
  • projects/ngx/cards/whats-new/whats-new.component.ts
  • projects/ngx/declarative-ui/dashboard/card/dashboard-card.component.html
  • projects/ngx/declarative-ui/dashboard/card/dashboard-card.component.scss
  • projects/ngx/declarative-ui/dashboard/card/dashboard-card.component.spec.ts
  • projects/ngx/declarative-ui/dashboard/card/utils/dashboard-card-registry.spec.ts
  • projects/ngx/declarative-ui/dashboard/card/utils/dashboard-card-registry.ts
  • projects/ngx/declarative-ui/dashboard/card/utils/mount-angular-card.spec.ts
  • projects/ngx/declarative-ui/dashboard/card/utils/mount-sap-card.spec.ts
  • projects/ngx/declarative-ui/dashboard/card/utils/mount-wc-card.spec.ts
  • projects/ngx/declarative-ui/dashboard/constants/constants.ts
  • projects/ngx/declarative-ui/dashboard/constants/index.ts
  • projects/ngx/declarative-ui/dashboard/dashboard/dashboard-element-methods.spec.ts
  • projects/ngx/declarative-ui/dashboard/dashboard/dashboard.component.html
  • projects/ngx/declarative-ui/dashboard/dashboard/dashboard.component.scss
  • projects/ngx/declarative-ui/dashboard/dashboard/dashboard.component.ts
  • projects/ngx/declarative-ui/dashboard/dashboard/engines/zflow/resize.helpers.spec.ts
  • projects/ngx/declarative-ui/dashboard/dashboard/engines/zflow/resize.helpers.ts
  • projects/ngx/declarative-ui/dashboard/dashboard/engines/zflow/z-flow-engine.ts
  • projects/ngx/declarative-ui/dashboard/dashboard/engines/zflow/z-flow.helpers.spec.ts
  • projects/ngx/declarative-ui/dashboard/discard-changes-dialog/discard-changes-dialog.component.html
  • projects/ngx/declarative-ui/dashboard/discard-changes-dialog/discard-changes-dialog.component.spec.ts
  • projects/ngx/declarative-ui/dashboard/discard-changes-dialog/discard-changes-dialog.component.ts
  • projects/ngx/declarative-ui/dashboard/edit-cards-dialog/edit-cards-dialog.component.html
  • projects/ngx/declarative-ui/dashboard/edit-cards-dialog/edit-cards-dialog.component.spec.ts
  • projects/ngx/declarative-ui/dashboard/edit-cards-dialog/edit-cards-dialog.component.ts
  • projects/ngx/declarative-ui/dashboard/section/dashboard-section.component.html
  • projects/ngx/declarative-ui/dashboard/section/dashboard-section.component.spec.ts
  • projects/ngx/declarative-ui/dashboard/section/dashboard-section.component.ts
  • projects/ngx/declarative-ui/dashboard/unsaved-changes-dialog/unsaved-changes-dialog.component.html
  • projects/ngx/declarative-ui/dashboard/unsaved-changes-dialog/unsaved-changes-dialog.component.spec.ts
  • projects/ngx/declarative-ui/dashboard/unsaved-changes-dialog/unsaved-changes-dialog.component.ts
  • projects/ngx/declarative-ui/dialogs/delete-confirmation-dialog/delete-confirmation-dialog.component.html
  • projects/ngx/declarative-ui/dialogs/resource-form-dialog/resource-form-dialog.component.html
  • projects/ngx/declarative-ui/form/declarative-form/declarative-form.component.html
  • projects/ngx/declarative-ui/form/declarative-form/declarative-form.component.ts
  • projects/ngx/declarative-ui/form/declarative-form/form-collection-field/form-collection-field.component.html
  • projects/ngx/declarative-ui/form/declarative-form/form-collection-field/form-collection-field.component.ts
  • projects/ngx/declarative-ui/form/utils/set-property-by-path.ts
  • projects/ngx/declarative-ui/models/ui-definition.ts
  • projects/ngx/declarative-ui/resource-field/boolean-value/boolean-value.component.html
  • projects/ngx/declarative-ui/resource-field/boolean-value/boolean-value.component.ts
  • projects/ngx/declarative-ui/resource-field/link-value/link-value.component.html
  • projects/ngx/declarative-ui/resource-field/link-value/link-value.component.ts
  • projects/ngx/declarative-ui/resource-field/resource-collection-field/resource-collection-field.component.html
  • projects/ngx/declarative-ui/resource-field/resource-field.component.html
  • projects/ngx/declarative-ui/resource-field/resource-field.component.spec.ts
  • projects/ngx/declarative-ui/resource-field/secret-value/secret-value.component.html
  • projects/ngx/declarative-ui/resource-field/tag-list-value/tag-list-value.component.html
  • projects/ngx/declarative-ui/resource-field/tag-list-value/tag-list-value.component.spec.ts
  • projects/ngx/declarative-ui/stories/dashboard.stories.ts
  • projects/ngx/declarative-ui/stories/declarative-table.stories.ts
  • projects/ngx/declarative-ui/stories/delete-confirmation-dialog.stories.ts
  • projects/ngx/declarative-ui/stories/discard-changes-dialog.stories.ts
  • projects/ngx/declarative-ui/stories/edit-cards-dialog.stories.ts
  • projects/ngx/declarative-ui/stories/resource-form-dialog.stories.ts
  • projects/ngx/declarative-ui/stories/unsaved-changes-dialog.stories.ts
  • projects/ngx/declarative-ui/table-card/declarative-table-card.component.html
  • projects/ngx/declarative-ui/table-card/declarative-table-card.component.scss
  • projects/ngx/declarative-ui/table-card/declarative-table-card.component.spec.ts
  • projects/ngx/declarative-ui/table-card/filter-tabs/filter-tabs.component.html
  • projects/ngx/declarative-ui/table-card/filter-tabs/filter-tabs.component.ts
  • projects/ngx/declarative-ui/table-card/models/configs.ts
  • projects/ngx/declarative-ui/table/declarative-table/declarative-table.component.html
  • projects/ngx/declarative-ui/table/declarative-table/declarative-table.component.scss
  • projects/ngx/declarative-ui/table/declarative-table/declarative-table.component.spec.ts
  • projects/ngx/declarative-ui/table/utils/proccess-fields.spec.ts
  • projects/ngx/declarative-ui/table/utils/proccess-fields.ts
  • projects/ngx/declarative-ui/table/utils/rules.engine.spec.ts
  • projects/ngx/declarative-ui/table/utils/rules.engine.ts
  • projects/webcomponents/README.md
  • renovate.json
  • scripts/bundle-wc.mjs
  • tsconfig.storybook.json
💤 Files with no reviewable changes (3)
  • projects/ngx/declarative-ui/table-card/declarative-table-card.component.scss
  • projects/ngx/declarative-ui/table-card/models/configs.ts
  • projects/ngx/declarative-ui/dashboard/card/utils/dashboard-card-registry.ts

Comment thread docs/declarative-table.md
Signed-off-by: aaronschweig <aaron.schweig@gmail.com>
@aaronschweig
aaronschweig merged commit bc55a4d into main Aug 13, 2026
7 checks passed
@aaronschweig
aaronschweig deleted the chore/linting-and-formatting branch August 13, 2026 07:25
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.

fix: lint issues

2 participants