Implementation task 1 of the Breadcrumbs Flow component (spec-driven development pipeline).
What to do:
- Create the
vaadin-breadcrumbs-flow-parent module with three sub-modules (vaadin-breadcrumbs-flow, vaadin-breadcrumbs-flow-integration-tests, vaadin-breadcrumbs-testbench) and their pom.xml wiring
- Add empty class shells:
Breadcrumbs (@Tag/@NpmPackage/@JsModule, extends Component implements HasSize, HasStyle, HasAriaLabel, HasComponentsOfType<BreadcrumbsItem>) and BreadcrumbsItem (implements HasText, HasEnabled, HasPrefix)
- Add the experimental feature-flag plumbing:
BreadcrumbsFeatureFlagProvider, ExperimentalFeatureException, the META-INF/services ServiceLoader registration, and an onAttach feature-flag check
- Enable the flag in the IT module via
src/main/resources/vaadin-featureflags.properties
- Add empty TestBench element shells
BreadcrumbsElement / BreadcrumbsItemElement
- Register the new module in the root
pom.xml
- Smoke tests:
new Breadcrumbs() / new BreadcrumbsItem("Home") instantiate, the component round-trips through Java serialization, and the feature-flag check throws ExperimentalFeatureException when disabled (and not when enabled)
Spec references:
Part of vaadin/web-components#7960
Implementation task 1 of the Breadcrumbs Flow component (spec-driven development pipeline).
What to do:
vaadin-breadcrumbs-flow-parentmodule with three sub-modules (vaadin-breadcrumbs-flow,vaadin-breadcrumbs-flow-integration-tests,vaadin-breadcrumbs-testbench) and theirpom.xmlwiringBreadcrumbs(@Tag/@NpmPackage/@JsModule,extends Component implements HasSize, HasStyle, HasAriaLabel, HasComponentsOfType<BreadcrumbsItem>) andBreadcrumbsItem(implements HasText, HasEnabled, HasPrefix)BreadcrumbsFeatureFlagProvider,ExperimentalFeatureException, theMETA-INF/servicesServiceLoader registration, and anonAttachfeature-flag checksrc/main/resources/vaadin-featureflags.propertiesBreadcrumbsElement/BreadcrumbsItemElementpom.xmlnew Breadcrumbs()/new BreadcrumbsItem("Home")instantiate, the component round-trips through Java serialization, and the feature-flag check throwsExperimentalFeatureExceptionwhen disabled (and not when enabled)Spec references:
Part of vaadin/web-components#7960