-
Notifications
You must be signed in to change notification settings - Fork 6
Use React version of Dock Manager in the samples #957
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nsicElements interface
damyanpetev
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better that before :)
One note still - I assume those are manual? In which case they can be migrated to cleaner functional components and use props and refs (if truly required) instead of the current not too pretty state:
this.dockManager = document.getElementById("dockManager") as IgrDockManager;
this.dockManager.layout = ...Regardless, we can merge this as an improvement for sure.
| public createTabPane(orientation: IgrSplitPaneOrientation, contentPanes: any[], size?: number): any { | ||
| const pane = { | ||
| type: IgcDockManagerPaneType.documentHost, | ||
| type: IgrDockManagerPaneType.documentHost, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: not entirely sure of the fate of those - IIRC the old React wrappers had those without prefix (since enums generally aren't prefixed) and there should be backfills for the non-prefixed named. Though this matches the current WC state at least and perhaps usage of the old enums wasn't really there.
Ideally, I'd have those as 'documentHost' directly, but that's not an option yet either due to typing. I suppose we'll keep the Igr- prefixes as backfills anyway after the update too.
Just something to keep in mind.
* Update index.tsx * refactor(grids): change cell merging samples grid height (#949) * update packages for 25.2 release (#953) * mdd-fix-nav-interaction (#954) * mdd-fix-nav-interaction #939 * Update package-lock.json --------- Co-authored-by: HUSSAR-mtrela (Martin Trela) <martin.trela@gmail.com> * User Annotation Layer sample for React (#956) * Mdd update bing map with enterprise key (#958) * mdd-update-with-enterprise-key-dialog mdd-update-with-enterprise-key-dialog * mdd-update-bing-maps mdd-update-bing-maps * mdd-update mdd-update * mdd-fix-build-error (#959) * mdd-fix-build-error mdd-fix-build-error reduce all the extra tile series to keep sample clean * Update index.tsx * Update index.tsx * mdd-update-display-all-peer-review mdd-update-display-all-peer-review * Update index.tsx * Update index.tsx * mdd-update-root-bing-display-all (#961) mdd-update-root-bing-display-all * mdd-fix-custom-imagery-navigation (#962) mdd-fix-custom-imagery-navigation * Initial plan * Add grid-lite package and create all 13 sample components Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> * Add package.json files for all grid-lite samples and regenerate routing Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> * Remove all ReadMe.md files generated by gulp task Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> * fix(grid-lite): some basic fixes from import * Use React version of Dock Manager in the samples (#957) * fix(dockmanager): update all dock manager samples to use IgrDockManager * fix(grid-lite): applying various fixes for the grid-lite samples * fix(grid-lite): reintroducing intrinsic elements defs for grid-lite * fix(grid-lite): multiple grid-lite fixes (#965) * fix(cd): fixing build pipeline to not replace packages wrongly * fix(checkbox, radio, switch): add gap for wrapper on sample level * refactor(checkbox, radio, switch): align with blazor samples --------- Co-authored-by: mddifilippo89 <mdifilippo@infragistics.com> Co-authored-by: IMinchev <61944284+IMinchev64@users.noreply.github.com> Co-authored-by: IGvaleries <vsuszynski@infragistics.com> Co-authored-by: Andrew Goldenbaum <agoldenbaum@infragistics.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> Co-authored-by: Stamen Stoychev <SStoychev@infragistics.com> Co-authored-by: Maria Tsvyatkova <mtsvyatkova@infragistics.com> Co-authored-by: Bozhidara Pachilova <bozhidara.pp@gmail.com> Co-authored-by: Vasya Kacheshmarova <vasq1989@gmail.com>
Related to https://github.com/IgniteUI/dock-manager/issues/543