Add native grid-lanes entry point#681
Conversation
* start phase 1 Co-authored-by: Copilot <copilot@github.com> * Fix (and upgrade) lint --------- Co-authored-by: Copilot <copilot@github.com>
* Filtering and sorting * fix type-check Co-authored-by: Copilot <copilot@github.com> --------- Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Co-authored-by: Copilot <copilot@github.com>
Code Review — PR #681:
|
| Category | Score |
|---|---|
| Logic & correctness | 9/10 |
| Code quality | 9/10 |
| Maintainability | 9/10 |
| Efficiency | 10/10 |
| Test coverage | 8/10 |
| Security | 10/10 |
Beta blockers: 1 (.vscode/settings.json). The two doc bugs are worth fixing before GA but won't cause runtime failures.
GridLanes View Transition Styling OptionsCore IssuesGridLanes needs to solve three related View Transition problems:
Any solution should preserve per-instance runtime options, avoid leaking library OptionsThis note compares options for getting runtime GridLanes animation settings View Transition pseudo-elements are document-level, so custom properties set on 1. Root Inline StylesSet runtime custom properties directly on Pros:
Cons:
2. Temporary Stylesheet Per TransitionInject a scoped Pros:
Cons:
3. Singleton Scoped Stylesheet RuleCreate one module-level scoped CSS rule lazily, keep it for the page lifetime, Pros:
Cons:
Recommendation: this is the best balance for GridLanes. 4. Static CSS OnlyPut all timing values in the shipped Pros:
Cons:
5. Web Animations APIStart the View Transition, then drive the relevant pseudo-elements with the Web Pros:
Cons:
|
|
Maybe check |
/grid-lanesand/grid-lanes.csscoredirectoryCloses #660