Skip to content

Commit b57d151

Browse files
fix: fixed incorrect image links in storybook
1 parent f05bab9 commit b57d151

File tree

4 files changed

+24
-17
lines changed

4 files changed

+24
-17
lines changed

.changeset/four-walls-melt.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@o2s/blocks.article-list': patch
3+
'@o2s/blocks.category': patch
4+
'@o2s/blocks.article': patch
5+
---
6+
7+
fixed incorrect image links in storybook

packages/blocks/article-list/src/frontend/ArticleList.client.stories.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const Default: Story = {
4545
lead: 'Learn how to efficiently manage your PowerPro tools through our self-service portal available 24/7.',
4646
tags: ['tag1', 'tag2'],
4747
image: {
48-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
48+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
4949
width: 640,
5050
height: 427,
5151
alt: '',
@@ -77,13 +77,13 @@ export const Default: Story = {
7777
lead: 'Learn about our certification program ensuring your tools meet industry safety standards.',
7878
tags: ['certification', 'safety', 'standards'],
7979
image: {
80-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
80+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
8181
width: 640,
8282
height: 427,
8383
alt: 'PowerPro certification program',
8484
},
8585
thumbnail: {
86-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
86+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
8787
alt: 'PowerPro certification program thumbnail',
8888
},
8989
category: {
@@ -109,13 +109,13 @@ export const Default: Story = {
109109
lead: "Everything you need to know about PowerPro's warranty coverage for your professional tools.",
110110
tags: ['warranty', 'coverage', 'terms'],
111111
image: {
112-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-maintenance-thumb.jpg',
112+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-maintenance-thumb.jpg',
113113
width: 640,
114114
height: 427,
115115
alt: 'PowerPro warranty coverage',
116116
},
117117
thumbnail: {
118-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-maintenance-thumb.jpg',
118+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-maintenance-thumb.jpg',
119119
alt: 'PowerPro warranty coverage thumbnail',
120120
},
121121
category: {
@@ -141,13 +141,13 @@ export const Default: Story = {
141141
lead: "Learn how regular maintenance can extend your tool's lifespan and prevent costly repairs.",
142142
tags: ['maintenance', 'prevention', 'care'],
143143
image: {
144-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-safety-thumb.jpg',
144+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-safety-thumb.jpg',
145145
width: 640,
146146
height: 427,
147147
alt: 'Preventive maintenance of PowerPro tools',
148148
},
149149
thumbnail: {
150-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-safety-thumb.jpg',
150+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-safety-thumb.jpg',
151151
alt: 'Preventive maintenance thumbnail',
152152
},
153153
category: {

packages/blocks/article/src/frontend/Article.client.stories.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const Default: Story = {
2525
lead: 'Learn how to efficiently manage your PowerPro tools through our self-service portal available 24/7.',
2626
tags: ['tag1', 'tag2'],
2727
image: {
28-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
28+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-thumb.jpg',
2929
width: 640,
3030
height: 427,
3131
alt: '',
@@ -62,7 +62,7 @@ export const Default: Story = {
6262
updatedAt: '2023-06-15T14:25:00Z',
6363
__typename: 'ArticleSectionImage',
6464
image: {
65-
url: 'https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-dash.jpg',
65+
url: 'https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-dash.jpg',
6666
alt: 'PowerPro dashboard view',
6767
},
6868
caption:
@@ -75,7 +75,7 @@ export const Default: Story = {
7575
__typename: 'ArticleSectionText',
7676
title: 'Getting Started',
7777
content:
78-
'# Managing Your PowerPro Tools Online\n\nWelcome to our comprehensive guide on efficiently managing your PowerPro tools through our self-service portal. This guide will walk you through all the features and benefits of our 24/7 online management system.\n\n## Getting Started with the PowerPro Portal\n\nThe PowerPro self-service portal provides a convenient way to manage all your tools in one place. Here\'s how to get started:\n\n### Creating Your Account\n\nBefore you can manage your tools online, you\'ll need to create an account:\n\n1. Visit [powerprotools.com](https://powerprotools.com)\n2. Click on the "Register" button in the top right corner\n3. Fill in your personal details and create a password\n4. Verify your email address through the confirmation link\n\n> **Pro Tip:** Use a strong password combining letters, numbers, and special characters to keep your account secure.\n\n### Logging In to Your Account\n\nOnce your account is created, you can log in anytime:\n\n1. Go to the PowerPro portal login page\n2. Enter your email and password\n3. Click "Sign In"\n4. You\'ll be directed to your personalized dashboard\n\n![PowerPro Dashboard](https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-login.jpg "PowerPro Dashboard")\n\n## Registering Your Tools\n\nOne of the key benefits of the PowerPro portal is the ability to register and track all your tools in one place.\n\n### How to Register a New Tool\n\nFollow these simple steps to add a tool to your account:\n\n1. From your dashboard, select "Add New Tool"\n2. Enter the tool\'s serial number (found on the tool or packaging)\n3. Upload your proof of purchase (receipt or invoice)\n4. Add any additional information (date of purchase, retailer, etc.)\n5. Click "Register Tool"\n\n### Benefits of Tool Registration\n\n* **Extended Warranty** - Registered tools receive an additional 1-year warranty\n* **Service Reminders** - Get notifications when your tool is due for maintenance\n* **Theft Protection** - Registered tools can be flagged if stolen\n* **Simplified Repairs** - Streamlined process for warranty claims\n\n## Maintenance Scheduling\n\nRegular maintenance extends the life of your tools and ensures optimal performance.\n\n### Scheduling a Maintenance Appointment\n\nThe portal makes it easy to schedule maintenance:\n\n1. Select the tool from your inventory\n2. Click "Schedule Maintenance"\n3. Choose your preferred service center location\n4. Select an available date and time\n5. Confirm your appointment\n\n### Maintenance History Table\n\n| Tool Model | Last Service | Service Type | Next Recommended Service |\n|------------|--------------|--------------|--------------------------|\n| PowerDrill XR200 | 03/15/2023 | Standard Tune-up | 09/15/2023 |\n| CircSaw Pro 400 | 01/10/2023 | Blade Replacement | 07/10/2023 |\n| Impact Driver T3 | 05/22/2023 | Full Inspection | 11/22/2023 |\n\n## Warranty Claims and Repairs\n\nIf your tool needs repair, our online system simplifies the warranty claim process.\n\n### Filing a Warranty Claim\n\n<table>\n <thead>\n <tr>\n <th>Step</th>\n <th>Action</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td data-highlighted>1</td>\n <td data-highlighted>Select the tool requiring repair from your inventory</td>\n </tr>\n <tr>\n <td>2</td>\n <td>Click "File Warranty Claim"</td>\n </tr>\n <tr>\n <td>3</td>\n <td>Describe the issue and upload photos if applicable</td>\n </tr>\n <tr>\n <td>4</td>\n <td>Choose between mail-in repair or service center drop-off</td>\n </tr>\n <tr>\n <td>5</td>\n <td>Submit your claim and track its status online</td>\n </tr>\n </tbody>\n</table>\n\n### Tracking Repair Status\n\n![Repair Tracking Interface](https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-tracking.jpg "Repair Tracking Interface")\n\nOur repair tracking system provides real-time updates on your tool\'s repair status:\n\n* **Received** - Your tool has arrived at our repair center\n* **Diagnosed** - Technicians have identified the issue\n* **In Repair** - Work is being performed on your tool\n* **Quality Check** - Final testing before completion\n* **Shipped** - Your tool is on its way back to you\n\n## Managing Multiple Tools\n\nFor professionals with numerous tools, our management system offers advanced features.\n\n### Tool Inventory Dashboard\n\nThe inventory dashboard gives you a complete overview of your tool collection:\n\n1. Total number of registered tools\n2. Warranty status for each tool\n3. Maintenance schedule\n4. Usage statistics\n5. Replacement parts inventory\n\n### Tool Categories\n\nOrganize your tools by category for easier management:\n\n* **Power Drills**\n * Cordless Drills\n * Hammer Drills\n * Impact Drivers\n* **Saws**\n * Circular Saws\n * Jigsaws\n * Reciprocating Saws\n* **Sanders & Grinders**\n* **Measurement Tools**\n* **Accessories & Attachments**\n\n## Mobile App Integration\n\nAccess your tool management system on the go with our mobile application.\n\n### Key Mobile Features\n\n1. Scan tool barcodes for instant registration\n2. Access digital manuals and how-to videos\n3. Receive push notifications for maintenance reminders\n4. Chat with customer support directly\n5. Locate nearby service centers with GPS integration\n\n![Mobile App Interface](https://raw.githubusercontent.com/dxpdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-app.jpg "PowerPro Mobile App")\n\n## Conclusion\n\nThe PowerPro online management system revolutionizes how you maintain and organize your tools. By taking advantage of these features, you\'ll extend the life of your tools, simplify repairs, and maximize your investment.\n\nFor additional assistance, contact our customer support team at [email protected] or call 1-800-POWERTOOLS.',
78+
'# Managing Your PowerPro Tools Online\n\nWelcome to our comprehensive guide on efficiently managing your PowerPro tools through our self-service portal. This guide will walk you through all the features and benefits of our 24/7 online management system.\n\n## Getting Started with the PowerPro Portal\n\nThe PowerPro self-service portal provides a convenient way to manage all your tools in one place. Here\'s how to get started:\n\n### Creating Your Account\n\nBefore you can manage your tools online, you\'ll need to create an account:\n\n1. Visit [powerprotools.com](https://powerprotools.com)\n2. Click on the "Register" button in the top right corner\n3. Fill in your personal details and create a password\n4. Verify your email address through the confirmation link\n\n> **Pro Tip:** Use a strong password combining letters, numbers, and special characters to keep your account secure.\n\n### Logging In to Your Account\n\nOnce your account is created, you can log in anytime:\n\n1. Go to the PowerPro portal login page\n2. Enter your email and password\n3. Click "Sign In"\n4. You\'ll be directed to your personalized dashboard\n\n![PowerPro Dashboard](https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-login.jpg "PowerPro Dashboard")\n\n## Registering Your Tools\n\nOne of the key benefits of the PowerPro portal is the ability to register and track all your tools in one place.\n\n### How to Register a New Tool\n\nFollow these simple steps to add a tool to your account:\n\n1. From your dashboard, select "Add New Tool"\n2. Enter the tool\'s serial number (found on the tool or packaging)\n3. Upload your proof of purchase (receipt or invoice)\n4. Add any additional information (date of purchase, retailer, etc.)\n5. Click "Register Tool"\n\n### Benefits of Tool Registration\n\n* **Extended Warranty** - Registered tools receive an additional 1-year warranty\n* **Service Reminders** - Get notifications when your tool is due for maintenance\n* **Theft Protection** - Registered tools can be flagged if stolen\n* **Simplified Repairs** - Streamlined process for warranty claims\n\n## Maintenance Scheduling\n\nRegular maintenance extends the life of your tools and ensures optimal performance.\n\n### Scheduling a Maintenance Appointment\n\nThe portal makes it easy to schedule maintenance:\n\n1. Select the tool from your inventory\n2. Click "Schedule Maintenance"\n3. Choose your preferred service center location\n4. Select an available date and time\n5. Confirm your appointment\n\n### Maintenance History Table\n\n| Tool Model | Last Service | Service Type | Next Recommended Service |\n|------------|--------------|--------------|--------------------------|\n| PowerDrill XR200 | 03/15/2023 | Standard Tune-up | 09/15/2023 |\n| CircSaw Pro 400 | 01/10/2023 | Blade Replacement | 07/10/2023 |\n| Impact Driver T3 | 05/22/2023 | Full Inspection | 11/22/2023 |\n\n## Warranty Claims and Repairs\n\nIf your tool needs repair, our online system simplifies the warranty claim process.\n\n### Filing a Warranty Claim\n\n<table>\n <thead>\n <tr>\n <th>Step</th>\n <th>Action</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td data-highlighted>1</td>\n <td data-highlighted>Select the tool requiring repair from your inventory</td>\n </tr>\n <tr>\n <td>2</td>\n <td>Click "File Warranty Claim"</td>\n </tr>\n <tr>\n <td>3</td>\n <td>Describe the issue and upload photos if applicable</td>\n </tr>\n <tr>\n <td>4</td>\n <td>Choose between mail-in repair or service center drop-off</td>\n </tr>\n <tr>\n <td>5</td>\n <td>Submit your claim and track its status online</td>\n </tr>\n </tbody>\n</table>\n\n### Tracking Repair Status\n\n![Repair Tracking Interface](https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-tracking.jpg "Repair Tracking Interface")\n\nOur repair tracking system provides real-time updates on your tool\'s repair status:\n\n* **Received** - Your tool has arrived at our repair center\n* **Diagnosed** - Technicians have identified the issue\n* **In Repair** - Work is being performed on your tool\n* **Quality Check** - Final testing before completion\n* **Shipped** - Your tool is on its way back to you\n\n## Managing Multiple Tools\n\nFor professionals with numerous tools, our management system offers advanced features.\n\n### Tool Inventory Dashboard\n\nThe inventory dashboard gives you a complete overview of your tool collection:\n\n1. Total number of registered tools\n2. Warranty status for each tool\n3. Maintenance schedule\n4. Usage statistics\n5. Replacement parts inventory\n\n### Tool Categories\n\nOrganize your tools by category for easier management:\n\n* **Power Drills**\n * Cordless Drills\n * Hammer Drills\n * Impact Drivers\n* **Saws**\n * Circular Saws\n * Jigsaws\n * Reciprocating Saws\n* **Sanders & Grinders**\n* **Measurement Tools**\n* **Accessories & Attachments**\n\n## Mobile App Integration\n\nAccess your tool management system on the go with our mobile application.\n\n### Key Mobile Features\n\n1. Scan tool barcodes for instant registration\n2. Access digital manuals and how-to videos\n3. Receive push notifications for maintenance reminders\n4. Chat with customer support directly\n5. Locate nearby service centers with GPS integration\n\n![Mobile App Interface](https://raw.githubusercontent.com/o2sdev/openselfservice/refs/heads/main/packages/integrations/mocked/public/images/article-managing-app.jpg "PowerPro Mobile App")\n\n## Conclusion\n\nThe PowerPro online management system revolutionizes how you maintain and organize your tools. By taking advantage of these features, you\'ll extend the life of your tools, simplify repairs, and maximize your investment.\n\nFor additional assistance, contact our customer support team at [email protected] or call 1-800-POWERTOOLS.',
7979
},
8080
],
8181
},

0 commit comments

Comments
 (0)