-
Notifications
You must be signed in to change notification settings - Fork 2
BA-2141: Add Missing MDX Doc Files for BaseApp Frontend Template Group 3 #190
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
BA-2141: Add Missing MDX Doc Files for BaseApp Frontend Template Group 3 #190
Conversation
|
|
Warning There were issues while running some tools. Please review the errors and either fix the tool’s configuration or disable the tool if it’s a critical failure. 🔧 eslint
packages/design-system/components/images/ImageWithFallback/__storybook__/stories.tsxOops! Something went wrong! :( ESLint: 8.57.1 Error: Cannot read config file: /packages/design-system/.eslintrc.js
WalkthroughThe pull request introduces comprehensive Storybook documentation for the Changes
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
4d32674 to
b2d3259
Compare
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.
Actionable comments posted: 1
🧹 Nitpick comments (4)
packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (4)
1-3: Standardize the Meta title format.The Meta title format should be adjusted for consistency:
- Use "/" instead of " / " as the separator
- Verify if the prefix should be "@baseapp-frontend" instead of "@baseapp-frontend-template" to match the package name
-<Meta title="@baseapp-frontend-template / inputs/Searchbar" /> +<Meta title="@baseapp-frontend/inputs/Searchbar" />
9-10: Add accessibility documentation.Since this is a search input component, please document:
- ARIA attributes used (e.g.,
aria-label,role="search")- Keyboard interactions (e.g., Esc to clear)
- Screen reader considerations
35-52: Enhance the example with TypeScript and loading state.The example could be improved by:
- Adding TypeScript types
- Showing how to handle the loading state
- Including all necessary imports
+import React, { useState } from 'react' import Searchbar from '../Searchbar' -const MyComponent = () => { +const MyComponent: React.FC = () => { const [searchValue, setSearchValue] = useState('') + const [isLoading, setIsLoading] = useState(false) + + const handleSearch = async (e: React.ChangeEvent<HTMLInputElement>) => { + const value = e.target.value + setSearchValue(value) + if (value) { + setIsLoading(true) + // Simulate API call + await new Promise(resolve => setTimeout(resolve, 1000)) + setIsLoading(false) + } + } return ( <Searchbar placeholder="Search" value={searchValue} - onChange={(e) => setSearchValue(e.target.value)} + onChange={handleSearch} onClear={() => setSearchValue('')} - isPending={false} + isPending={isLoading} /> ) }
5-8: Add essential documentation sections.Consider adding these important sections to make the documentation more comprehensive:
- Component variants and customization examples
- Visual examples of do's and don'ts
- Troubleshooting guide
- Best practices
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📥 Commits
Reviewing files that changed from the base of the PR and between 4d32674443a1a50544fbd121356cb1e3dcae4a5e and b2d32598f302d65a0980ad464aee24ccc9b6e29c.
📒 Files selected for processing (7)
packages/components/CHANGELOG.md(1 hunks)packages/components/package.json(1 hunks)packages/design-system/CHANGELOG.md(1 hunks)packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx(1 hunks)packages/design-system/package.json(1 hunks)packages/wagtail/CHANGELOG.md(1 hunks)packages/wagtail/package.json(1 hunks)
✅ Files skipped from review due to trivial changes (6)
- packages/components/package.json
- packages/wagtail/package.json
- packages/design-system/CHANGELOG.md
- packages/design-system/package.json
- packages/wagtail/CHANGELOG.md
- packages/components/CHANGELOG.md
🔇 Additional comments (1)
packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (1)
1-52: Documentation meets basic requirements but could be enhanced.The MDX documentation successfully provides the basic structure and information required. While it meets the PR objectives, consider implementing the suggested improvements in a follow-up PR to make the documentation more comprehensive and valuable for developers.
packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx
Outdated
Show resolved
Hide resolved
packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx
Outdated
Show resolved
Hide resolved
b2d3259 to
0195fcd
Compare
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.
Actionable comments posted: 0
🔭 Outside diff range comments (1)
packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx (1)
Line range hint
16-20: Add more story variants to showcase component functionality.The current stories only demonstrate the default state with
isPending. Consider adding stories that showcase:
- Search in progress (isPending: true)
- With initial value
- With error state
- Search with results
- Search with no results
- Interaction with onClear
- Disabled state
This will help document the component's various states and behaviors.
Example addition:
export const Default: Story = { args: { isPending: false, }, } +export const Searching: Story = { + args: { + isPending: true, + value: 'search query', + }, +} + +export const WithError: Story = { + args: { + error: 'Invalid search query', + value: '!@#', + }, +}
🧹 Nitpick comments (1)
packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx (1)
Line range hint
1-20: Document prop types in the story configuration.While the props are documented in the MDX file, it's beneficial to include
argTypesin the story configuration to:
- Provide interactive controls in Storybook
- Show prop descriptions inline
- Define proper control types for better testing
Example addition:
const meta: Meta<WithControllerProps<SearchbarProps>> = { title: '@baseapp-frontend | designSystem/Inputs/Searchbar', component: Searchbar, + argTypes: { + isPending: { + control: 'boolean', + description: 'Indicates if a search is in progress', + }, + value: { + control: 'text', + description: 'Current search query value', + }, + onChange: { + description: 'Callback fired when the search query changes', + }, + onClear: { + description: 'Callback fired when the clear button is clicked', + }, + error: { + control: 'text', + description: 'Error message to display', + }, + }, }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📥 Commits
Reviewing files that changed from the base of the PR and between b2d32598f302d65a0980ad464aee24ccc9b6e29c and 0195fcdb0f46e389be52445fc7f81480f15c7196.
📒 Files selected for processing (8)
packages/components/CHANGELOG.md(1 hunks)packages/components/package.json(1 hunks)packages/design-system/CHANGELOG.md(1 hunks)packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx(1 hunks)packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx(1 hunks)packages/design-system/package.json(1 hunks)packages/wagtail/CHANGELOG.md(1 hunks)packages/wagtail/package.json(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (7)
- packages/design-system/CHANGELOG.md
- packages/wagtail/package.json
- packages/components/package.json
- packages/wagtail/CHANGELOG.md
- packages/components/CHANGELOG.md
- packages/design-system/package.json
- packages/design-system/components/inputs/Searchbar/storybook/Searchbar.mdx
🔇 Additional comments (1)
packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx (1)
9-9: LGTM! Improved component organization.The updated title path better reflects the component's category in the design system hierarchy.
0195fcd to
e23e524
Compare
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.
Actionable comments posted: 0
🧹 Nitpick comments (4)
packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx (1)
Line range hint
16-20: Remove unnecessary args object.Since we're removing argTypes as per previous feedback, we should also remove the
argsobject from the Default story as it's not needed anymore. This will keep the stories file minimal and consistent with other components.export const Default: Story = { - args: { - isPending: false, - }, }packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (3)
37-54: Add missing imports to the example code.The example code should include all necessary imports for completeness:
+import { useState } from 'react' import Searchbar from '../Searchbar'Also, consider adding a comment explaining the state management pattern shown in the example.
30-33: Add import paths for related components.Include the import paths for the related components to make it easier for developers to find and use them:
- PureTextField: The base text field component used internally. - IconButton: Used for the clear button. - CircularProgress: Used for the loading indicator. + PureTextField: The base text field component used internally. (@baseapp-frontend/design-system/components/inputs/PureTextField) + IconButton: Used for the clear button. (@mui/material/IconButton) + CircularProgress: Used for the loading indicator. (@mui/material/CircularProgress)
14-15: Expand current usage examples.The current usage section could be more specific about where the Searchbar is actually being used in the application. Consider adding concrete examples of existing implementations to help developers understand real-world use cases.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📥 Commits
Reviewing files that changed from the base of the PR and between 0195fcdb0f46e389be52445fc7f81480f15c7196 and e23e524b12565e5e6b5febd06e5b778f0c8a7973.
📒 Files selected for processing (8)
packages/components/CHANGELOG.md(1 hunks)packages/components/package.json(1 hunks)packages/design-system/CHANGELOG.md(1 hunks)packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx(1 hunks)packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx(1 hunks)packages/design-system/package.json(1 hunks)packages/wagtail/CHANGELOG.md(1 hunks)packages/wagtail/package.json(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (6)
- packages/design-system/CHANGELOG.md
- packages/wagtail/package.json
- packages/components/package.json
- packages/wagtail/CHANGELOG.md
- packages/design-system/package.json
- packages/components/CHANGELOG.md
🔇 Additional comments (1)
packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (1)
19-26: Enhance props documentation.The props documentation needs the following improvements:
- Add type information for
sxprop (e.g.,SxProps<Theme>)- Add type information for
InputProps(e.g.,TextFieldProps['InputProps'])- Add allowed values for
variantprop (e.g.,'filled' | 'outlined' | 'standard')
c8f9e91 to
c92ea43
Compare
c92ea43 to
4f2217d
Compare
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.
Actionable comments posted: 0
🧹 Nitpick comments (6)
packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (1)
14-15: Enhance use cases with specific examples.While the current and potential usage sections provide good general context, consider adding specific examples of where this component is currently used in the application to help other developers understand its practical applications.
Example additions:
- **Current Usage**: Used in search interfaces within the application. + - Example: Used in the main navigation bar for global search + - Example: Used in the user management page for filtering userspackages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx (5)
10-10: Fix grammatical error in the expected behavior description.The sentence structure needs improvement for better clarity.
- - **Expected Behavior**: The component renders an image field. It uses `src` by default but the fallback `fallbackSrc` case src fails to load. + - **Expected Behavior**: The component renders an image field. It uses `src` by default but uses the fallback `fallbackSrc` in case src fails to load.
15-15: Fix grammatical error in the potential usage description.There's a subject-verb agreement error in the sentence.
- - **Potential Usage**: The `ImageWithFallback` could be used for fallback images to support multiple browsers like loading webp for modern browsers and png for browsers that doesn't support it. + - **Potential Usage**: The `ImageWithFallback` could be used for fallback images to support multiple browsers like loading webp for modern browsers and png for browsers that don't support it.🧰 Tools
🪛 LanguageTool
[uncategorized] ~15-~15: This verb does not appear to agree with the subject. Consider using a different form.
Context: ...dern browsers and png for browsers that doesn't support it. ## Props - src (st...(AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT)
19-25: Enhance props documentation with additional details.Consider adding more information about:
- Which props are required vs optional
- Validation constraints for width and height (e.g., minimum values)
- Supported image types for
typeandfallbackType- - **src** (string): source of the image. - - **fallbackSrc** (string): fallback source image. - - **type** (string, optional): type of the src image (default 'image/webp') - - **fallbackType** (string, optional): type of the fallback image (default 'image/png') - - **alt** (string): An alternate text for the image - - **width** (number): Width of the image - - **height** (number): Height of the image + - **src** (string, required): Source URL of the primary image. + - **fallbackSrc** (string, required): Source URL of the fallback image to use when the primary image fails to load. + - **type** (string, optional): MIME type of the primary image (default: 'image/webp', supported: 'image/webp', 'image/png', 'image/jpeg') + - **fallbackType** (string, optional): MIME type of the fallback image (default: 'image/png', supported: 'image/webp', 'image/png', 'image/jpeg') + - **alt** (string, required): Alternative text for accessibility and SEO + - **width** (number, required): Width of the image in pixels (must be > 0) + - **height** (number, required): Height of the image in pixels (must be > 0)
29-30: Enhance the related components section with more context.The relationship between
ImageWithFallbackandImagecomponents needs more explanation.- - **Related Components**: - - `Image`: Used to render the image in case src fails to load. + - **Related Components**: + - `Image`: The base component used internally by ImageWithFallback to handle image rendering. ImageWithFallback extends its functionality by adding fallback source handling when the primary image fails to load.
34-46: Enhance the example usage section.Consider improving the example with:
- A more descriptive import statement
- Comments explaining the props
- Multiple examples showing different use cases (e.g., with and without optional props)
```javascript -import ImageWithFallback from '../ImageWithFallback' +// Import from the design system package +import { ImageWithFallback } from '@baseapp-frontend/design-system' -const MyComponent = () => ( +// Basic usage with required props +const BasicExample = () => ( <ImageWithFallback src="/webp/home-banner.webp" fallbackSrc="/webp/home-banner.png" alt="Home Banner" width={300} height={400} /> ) -export default MyComponent + +// Advanced usage with optional props +const AdvancedExample = () => ( + <ImageWithFallback + src="/images/profile.webp" + fallbackSrc="/images/profile.jpg" + type="image/webp" + fallbackType="image/jpeg" + alt="User Profile" + width={200} + height={200} + /> +) + +export { BasicExample, AdvancedExample }</blockquote></details> </blockquote></details> <details> <summary>📜 Review details</summary> **Configuration used: CodeRabbit UI** **Review profile: CHILL** **Plan: Pro** <details> <summary>📥 Commits</summary> Reviewing files that changed from the base of the PR and between e23e524b12565e5e6b5febd06e5b778f0c8a7973 and 4f2217d52a6a3463ae166703db58082bb1ea0252. </details> <details> <summary>📒 Files selected for processing (10)</summary> * `packages/components/CHANGELOG.md` (1 hunks) * `packages/components/package.json` (1 hunks) * `packages/design-system/CHANGELOG.md` (1 hunks) * `packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx` (1 hunks) * `packages/design-system/components/images/ImageWithFallback/__storybook__/stories.tsx` (1 hunks) * `packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx` (1 hunks) * `packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx` (1 hunks) * `packages/design-system/package.json` (1 hunks) * `packages/wagtail/CHANGELOG.md` (1 hunks) * `packages/wagtail/package.json` (1 hunks) </details> <details> <summary>✅ Files skipped from review due to trivial changes (1)</summary> * packages/design-system/components/images/ImageWithFallback/__storybook__/stories.tsx </details> <details> <summary>🚧 Files skipped from review as they are similar to previous changes (6)</summary> * packages/design-system/CHANGELOG.md * packages/design-system/package.json * packages/components/package.json * packages/wagtail/package.json * packages/wagtail/CHANGELOG.md * packages/components/CHANGELOG.md </details> <details> <summary>🧰 Additional context used</summary> <details> <summary>🪛 LanguageTool</summary> <details> <summary>packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx</summary> [uncategorized] ~15-~15: This verb does not appear to agree with the subject. Consider using a different form. Context: ...dern browsers and png for browsers that doesn't support it. ## Props - **src** (st... (AI_EN_LECTOR_REPLACEMENT_VERB_AGREEMENT) </details> </details> </details> <details> <summary>⏰ Context from checks skipped due to timeout of 90000ms (1)</summary> * GitHub Check: Analyze (javascript) </details> <details> <summary>🔇 Additional comments (5)</summary><blockquote> <details> <summary>packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx (1)</summary> `9-9`: **LGTM! Title updated as requested.** The component title has been correctly updated to include the 'Inputs' path, and unnecessary configuration (tags, argTypes) has been removed as requested. </details> <details> <summary>packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (3)</summary> `1-3`: **LGTM! Meta title is consistent.** The Meta title matches the stories configuration, following the requested path structure. --- `19-26`: **Props documentation follows best practices.** The props documentation is well-structured with: - Clear indication of required vs optional props - Detailed type information for callbacks - All props shown in the example are documented --- `1-54`: **Documentation is comprehensive and well-structured.** The MDX documentation successfully: - Provides clear purpose and behavior descriptions - Includes comprehensive props documentation - Offers practical example usage - Follows the requested documentation standards This meets the PR objective of adding missing MDX documentation for the Searchbar component. </details> <details> <summary>packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx (1)</summary> `1-3`: **LGTM! Meta configuration is properly structured.** The title follows the correct naming convention for the design system components. </details> </blockquote></details> </details> <!-- This is an auto-generated comment by CodeRabbit for review status -->
…Searchbar components
4f2217d to
a5a4cb7
Compare
|
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.
Actionable comments posted: 0
🧹 Nitpick comments (5)
packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx (3)
9-10: Fix grammar and clarity in Expected Behavior section.The description contains grammatical errors and unclear wording.
Apply this diff to improve clarity:
-- **Expected Behavior**: The component renders an image field. It uses `src` by default but the fallback `fallbackSrc` case src fails to load. +- **Expected Behavior**: The component renders an image field. It uses `src` by default, but falls back to `fallbackSrc` in case the primary source fails to load.🧰 Tools
🪛 LanguageTool
[uncategorized] ~10-~10: Possible missing comma found.
Context: ...an image field. It usessrcby default but the fallbackfallbackSrccase src fai...(AI_HYDRA_LEO_MISSING_COMMA)
[uncategorized] ~10-~10: Possible missing preposition found.
Context: ... default but the fallbackfallbackSrccase src fails to load. ## Use Cases - **C...(AI_HYDRA_LEO_MISSING_IN)
17-26: Enhance props documentation.The props section needs improvements in type information and required/optional indicators.
Apply these changes to improve the props documentation:
## Props -- **src** (string): source of the image. -- **fallbackSrc** (string): fallback source image. -- **type** (string, optional): type of the src image (default 'image/webp') -- **fallbackType** (string, optional): type of the fallback image (default 'image/png') -- **alt** (string): An alternate text for the image -- **width** (number): Width of the image -- **height** (number): Height of the image +- **src** (string, required): Source URL of the primary image. +- **fallbackSrc** (string, required): Source URL of the fallback image. +- **type** (string, optional): MIME type of the primary image (default: 'image/webp') +- **fallbackType** (string, optional): MIME type of the fallback image (default: 'image/png') +- **alt** (string, required): Alternative text for accessibility +- **width** (number, required): Width of the image in pixels +- **height** (number, required): Height of the image in pixels
32-47: Enhance example with TypeScript and proper imports.The example could be improved with TypeScript types and a proper import path.
Consider updating the example:
-import ImageWithFallback from '../ImageWithFallback' +import { ImageWithFallback } from '@baseapp-frontend/design-system' -const MyComponent = () => ( +const MyComponent: React.FC = () => ( <ImageWithFallback src="/webp/home-banner.webp" fallbackSrc="/webp/home-banner.png" alt="Home Banner" width={300} height={400} /> )packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (2)
17-27: Add default values and type imports to props documentation.While the props documentation is much improved, it could be even better with default values and type information.
Consider adding:
- Default value for
variantprop- Type definition for
sxprop (MUI's SxProps)- Type definition for
InputPropsExample:
-- **sx** (object, optional): MUI system props for custom styling. -- **InputProps** (object, optional): Additional props passed to the underlying `PureTextField` component. -- **variant** (string, optional): The variant of the text field. Defaults to 'filled'. +- **sx** (SxProps, optional): MUI system props for custom styling. +- **InputProps** (TextFieldProps['InputProps'], optional): Additional props passed to the underlying `PureTextField` component. +- **variant** ('filled' | 'outlined' | 'standard', optional): The variant of the text field. Default: 'filled'
35-54: Enhance example with TypeScript and proper imports.The example could be improved with TypeScript types and better practices.
Consider updating the example:
-import Searchbar from '../Searchbar' +import { useState } from 'react' +import { Searchbar } from '@baseapp-frontend/design-system' -const MyComponent = () => { +const MyComponent: React.FC = () => { - const [searchValue, setSearchValue] = useState('') + const [searchValue, setSearchValue] = useState<string>('') + const handleChange = (e: React.ChangeEvent<HTMLInputElement>) => { + setSearchValue(e.target.value) + } + + const handleClear = () => { + setSearchValue('') + } return ( <Searchbar placeholder="Search" value={searchValue} - onChange={(e) => setSearchValue(e.target.value)} - onClear={() => setSearchValue('')} + onChange={handleChange} + onClear={handleClear} isPending={false} /> ) }
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📥 Commits
Reviewing files that changed from the base of the PR and between 4f2217d52a6a3463ae166703db58082bb1ea0252 and a5a4cb7.
📒 Files selected for processing (10)
packages/components/CHANGELOG.md(1 hunks)packages/components/package.json(1 hunks)packages/design-system/CHANGELOG.md(1 hunks)packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx(1 hunks)packages/design-system/components/images/ImageWithFallback/__storybook__/stories.tsx(1 hunks)packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx(1 hunks)packages/design-system/components/inputs/Searchbar/__storybook__/stories.tsx(1 hunks)packages/design-system/package.json(1 hunks)packages/wagtail/CHANGELOG.md(1 hunks)packages/wagtail/package.json(1 hunks)
🚧 Files skipped from review as they are similar to previous changes (8)
- packages/design-system/CHANGELOG.md
- packages/components/package.json
- packages/design-system/components/images/ImageWithFallback/storybook/stories.tsx
- packages/wagtail/package.json
- packages/design-system/package.json
- packages/components/CHANGELOG.md
- packages/wagtail/CHANGELOG.md
- packages/design-system/components/inputs/Searchbar/storybook/stories.tsx
🧰 Additional context used
🪛 LanguageTool
packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx
[uncategorized] ~10-~10: Possible missing comma found.
Context: ...an image field. It uses src by default but the fallback fallbackSrc case src fai...
(AI_HYDRA_LEO_MISSING_COMMA)
[uncategorized] ~10-~10: Possible missing preposition found.
Context: ... default but the fallback fallbackSrc case src fails to load. ## Use Cases - **C...
(AI_HYDRA_LEO_MISSING_IN)
🔇 Additional comments (2)
packages/design-system/components/images/ImageWithFallback/__storybook__/ImageWithFallback.mdx (1)
1-3: LGTM! Title follows the correct naming convention.The Meta title follows the established pattern: "@baseapp-frontend | designSystem/[Category]/[Component]".
packages/design-system/components/inputs/Searchbar/__storybook__/Searchbar.mdx (1)
1-3: LGTM! Title has been updated as requested.The Meta title now correctly follows the pattern "@baseapp-frontend | designSystem/Inputs/Searchbar" as requested in previous reviews.



Original Story:
Acceptance Criteria
Context:
The BaseApp Frontend Template https://bitbucket.org/silverlogic/baseapp-frontend-template/ project contains a number of pages and components that currently have Storybook stories but are missing corresponding MDX documentation files.
Create MDX Documentation Files: For each missing component or page listed below, create an .mdx file in the storybook folder within the component’s or page's directory.
Follow Documentation Standards: Use the MDX Documentation Template provided in our Tettra guide https://app.tettra.co/teams/TSL/pages/frontend-documentation-guide
Please check examples on:
https://bitbucket.org/silverlogic/baseapp-frontend-template/src/master/apps/web/components/design-system/inputs/PasswordField/__storybook__/PasswordField.mdx
https://bitbucket.org/silverlogic/baseapp-frontend-template/src/master/apps/web/app/(with-navigation)/__storybook__/HomePage.mdx
Missing MDX:
LazyLoadImage
Searchbar
PhoneNumberField
FormattableTextField
LinearLoadingScreen
LoadingScreen
FeedbackScreen
Current behavior
Expected behavior
Code Snippet
Approvd
https://app.approvd.io/silverlogic/BA/stories/36740
Summary by CodeRabbit
@baseapp-frontend/design-systemto 0.0.34.@baseapp-frontend/wagtailto 1.0.19.