- Notifications
You must be signed in to change notification settings - Fork1k
fix(site): updateuseAgentLogs
to make it more testable and add more tests#19126
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Changes fromall commits
d6e00c3
43d0ca8
727bddd
d46d144
91a6fc1
ecbe7b0
d13bcdc
0f21097
abd6553
bade97a
e11fefd
bc3d095
550d09e
cc7e632
79c7ffd
43a0d3a
982d3e1
41c5a12
42cb73b
3a5f7bb
35a40df
306dbc7
f49e55a
c2fc772
2cabd85
855f3ca
453894b
c9f2b12
80865fe
f930b29
a311ac9
5657536
6547a2f
c818aec
30bb008
dac3828
7a013d3
b71d051
092c4e5
cdc1053
36ce507
0d4f353
205a177
6b87fb0
18fe749
0b0054e
9dd217b
ccc50d4
3a5ec3e
8ecf774
1321d15
364ca84
4a74eb6
2bb2045
4e3e0b9
84ef45c
e8eed06
efc7d09
de445d7
248ebc7
b4f8041
42cc91b
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -21,6 +21,24 @@ export const Warning: Story = { | ||
}, | ||
}; | ||
exportconstDestructive:Story={ | ||
args:{ | ||
variant:"destructive", | ||
}, | ||
}; | ||
exportconstInfo:Story={ | ||
args:{ | ||
variant:"info", | ||
}, | ||
}; | ||
exportconstGreen:Story={ | ||
args:{ | ||
variant:"green", | ||
}, | ||
}; | ||
Comment on lines +24 to +40 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. Some of our styling for the | ||
exportconstSmallWithIcon:Story={ | ||
args:{ | ||
variant:"default", | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -229,13 +229,12 @@ export function makeUseEmbeddedMetadata( | ||
manager.getMetadata, | ||
); | ||
const stableMetadataResult = useMemo<UseEmbeddedMetadataResult>(() => { | ||
return { | ||
metadata, | ||
clearMetadataByKey: manager.clearMetadataByKey, | ||
}; | ||
}, [manager,metadata]); | ||
Parkreiner marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
return stableMetadataResult; | ||
}; | ||
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.