Skip to content

fix(nav-toggle): fixing the nav toggle and close directives targets - #17821

Merged
kdinev merged 5 commits into
masterfrom
nav-toggle-directives-tests
Oct 22, 2026
Merged

kdinev merged 5 commits into
masterfrom
nav-toggle-directives-tests

Conversation

@kdinev

@kdinev kdinev commented Oct 20, 2026 •

Copy link
Copy Markdown
Member

Fix

Both directives.ts inputs are now public and have JSDoc. igxToggleAction already declares its input this way.

Additional information (check all that apply):

  • Bug fix
  • New functionality
  • Documentation
  • Demos
  • CI/CD
  • Tests
  • Changelog
  • Skills/Agents

Checklist:

  • All relevant tags have been applied to this PR
  • This PR includes unit tests covering all the new code (test guidelines)
  • This PR includes API docs for newly added methods/properties (api docs guidelines)
  • This PR includes feature/README.MD updates for the feature docs
  • This PR includes general feature table updates in the root README.MD
  • This PR includes CHANGELOG.MD updates for newly added functionality
  • This PR contains breaking changes
  • This PR includes ng update migrations for the breaking changes (migrations guidelines)
  • This PR includes behavioral changes and the feature specification has been updated with them

Copilot AI balanced review requested due to automatic review settings October 20, 2026 14:37
@kdinev kdinev added nav-drawer Navigation drawer (menu) component toggle labels Oct 20, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The narrow visibility change preserves runtime behavior, and static review found no blocking issues; tests were not executed.

No open issues 🎉

What changed in this PR

Makes navigation toggle and close targets public so applications can bind them during strict template checking, without changing runtime behavior.

Changes:

  • Exposes and documents both directive inputs.
  • Adds tests for toggling, closing, and missing targets.
  • Documents the fix in the changelog.
File Description
projects/​igniteui-angular/​navigation-drawer/​src/​navigation-drawer/​navigation-drawer.component.spec.ts Adds directive interaction tests.
projects/​igniteui-angular/​core/​src/​core/​navigation/​directives.ts Makes target inputs public and adds API documentation.
CHANGELOG.md Records the template-checking fix.

Review effort: Balanced

@kdinev
kdinev requested a review from ivanvpetrov October 20, 2026 14:40
Comment thread CHANGELOG.md Outdated
kdinev and others added 2 commits October 21, 2026 16:43
Co-authored-by: ivanvpetrov <110455887+ivanvpetrov@users.noreply.github.com>
…wer/navigation-drawer.component.spec.ts

Co-authored-by: ivanvpetrov <110455887+ivanvpetrov@users.noreply.github.com>
@ivanvpetrov
ivanvpetrov self-requested a review October 21, 2026 14:53
@kdinev
kdinev enabled auto-merge (squash) October 22, 2026 07:46
@kdinev
kdinev merged commit 1d43379 into master Oct 22, 2026
7 checks passed
@kdinev
kdinev deleted the nav-toggle-directives-tests branch October 22, 2026 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants