Skip to content

Commit 8fb1aea

Browse files
Merge pull request #294 from Nosto/copilot/fix-293
docs: replace web component terminology with custom element
2 parents 13cb0b7 + 3f8513b commit 8fb1aea

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/copilot-instructions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- `npm run typecheck` (takes ~3 seconds)
1818
- `npm test` (takes ~7 seconds)
1919
- `npm run lint-fix` (takes ~4 seconds)
20-
- **ALWAYS validate changes** by running Storybook (`npm run storybook`) and testing web component functionality.
20+
- **ALWAYS validate changes** by running Storybook (`npm run storybook`) and testing custom element functionality.
2121

2222
**When taking Storybook screenshots, always close the controls section first** using the "Hide addons [alt A]" button for cleaner screenshots and **wait for `#storybook-root .storybook-wrapper` to be available** before capturing the screenshot.
2323

@@ -46,8 +46,8 @@
4646

4747
**Key directories:**
4848

49-
- `src/` - Source code for all web components
50-
- `src/components/` - Main web component implementations (NostoCampaign, NostoImage, NostoProduct, etc.)
49+
- `src/` - Source code for all custom elements
50+
- `src/components/` - Main custom element implementations (NostoCampaign, NostoImage, NostoProduct, etc.)
5151
- `src/templating/` - Templating utilities (context.ts, vue.ts)
5252
- `test/` - Test files using vitest
5353
- `.storybook/` - Storybook configuration and setup

.storybook/preview.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919
},
2020
docs: {
2121
description: {
22-
component: "Web Components developed by Nosto for e-commerce platforms."
22+
component: "Custom elements developed by Nosto for e-commerce platforms."
2323
}
2424
}
2525
},

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Nosto Web Components
22

3-
This repository contains a collection of web components designed to integrate Nosto's personalization and e-commerce solutions into various web platforms.
3+
This repository contains a collection of custom elements designed to integrate Nosto's personalization and e-commerce solutions into various web platforms.
44

55
## Usage
66

77
Usage options for this library are documented [here](https://docs.nosto.com/techdocs/apis/frontend/oss/web-components/loading-web-components)
88

99
## Components
1010

11-
This package provides the following web components:
11+
This package provides the following custom elements:
1212

1313
### Store level templating
1414

0 commit comments

Comments
 (0)