-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
## Summary Fixes #1937 ### Time to review: __5 mins__ ## Changes proposed Implemented the translation library for the text on the Search loading spinner ## Context for reviewers This component is currently under the Search page, but seems like we'd likely reuse it elsewhere. Since file moves are weird to PR and revert I wanted to get more input before moving stuff around. ## Additional information Tested by implementing Storybook for this component <img width="1089" alt="image" src="https://github.com/user-attachments/assets/d03d5973-ec62-49b2-85d2-f5f204de6f9f">
- Loading branch information
Showing
5 changed files
with
30 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -497,5 +497,6 @@ export const messages = { | |
select: "Select All", | ||
clear: "Clear All", | ||
}, | ||
loading: "Loading Results", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { Meta } from "@storybook/react"; | ||
|
||
import Loading from "../../src/app/[locale]/search/loading"; | ||
|
||
const meta: Meta<typeof Loading> = { | ||
component: Loading, | ||
}; | ||
export default meta; | ||
|
||
export const Default = { | ||
args: { | ||
message: "Loading Storybook", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters