-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Create Angular mixins for fractional-width columns and groupa…
…ble columns (#1591) # Pull Request ## 🤨 Rationale Turns out the pattern introduced in #1587 for [using TypeScript mixins does not work for Angular directives](angular/angular#42594 (comment)) and resulted in [build failures for a built library used outside the workspace](https://dev.azure.com/ni/DevCentral/_build/results?buildId=6361598&view=logs&j=5cb0c4d9-f36d-5fb3-bf2e-85320ef8bd68&t=51824763-f056-5c1e-0120-b664705fb575&l=71). Reading the linked comment it sounds like we are seeing the exact behavior described. `@Input` bindings used in the base class (column-id) are failing to resolve. Even the extra sinister part where it works in the workspace (our tests do [test bindings to base class props like column-id](https://github.com/ni/nimble/blob/main/angular-workspace/projects/ni/nimble-angular/table-column/anchor/tests/nimble-table-column-anchor.directive.spec.ts#L169)) but not in apps using the published library 😵. ## 👩💻 Implementation Revert the refactor ## 🧪 Testing Rely on CI ## ✅ Checklist - [x] I have updated the project documentation to reflect my changes or determined no changes are needed. Nada
- Loading branch information
Showing
11 changed files
with
272 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
angular-workspace/projects/ni/nimble-angular/table-column/mixins/fractional-width-column.ts
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
angular-workspace/projects/ni/nimble-angular/table-column/mixins/groupable-column.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.