Closed mwhnrt closed 7 months ago
@mwhnrt is attempting to deploy a commit to the cstrnt's projects Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git โ๏ธ
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
abby-docs | โ Ready (Inspect) | Visit Preview | ๐ฌ Add feedback | Apr 11, 2024 3:35pm |
The recent updates focus on enhancing the user interface and functionality of the Devtools module. A new remoteConfig
object has been integrated into the abbyMock
object to enrich configuration options. Additionally, the layout and styling within the Devtools component have been reorganized and refined, including improved scrollbar aesthetics and a more logical placement of UI elements.
File Path | Change Summary |
---|---|
.../devtools/src/Devtools.stories.ts |
Added remoteConfig object with properties config-1 , config-2 , config-3 to abbyMock . |
.../devtools/src/Devtools.svelte |
Moved <hr /> , reorganized content div structure, adjusted #abby-devtools styling, added scrollbar styling. |
๐ฐโจ A hop and a skip in the code so neat, A rabbit danced with tiny feet. New configs here, a line there, Devtools shine with utmost care. Celebrate, for the changes are sweet! ๐
packages/devtools/src/Devtools.stories.ts (1)
`18-18`: Consider refining the type declaration for `config-3`. If it's intended to represent a JSON object, you might want to use a more explicit type or provide a more detailed structure.packages/devtools/src/Devtools.svelte (2)
`96-152`: The structural adjustments within the `div` with class `content` enhance the organization and readability of the Devtools UI. Good job on improving the logical separation of sections. --- `245-265`: The custom scrollbar styling is well-implemented, aligning with modern design aesthetics while ensuring usability. The use of `rgba` for color transparency is a nice touch.
Thank you so much @mwhnrt for your contribution! :octocat:
Thank you very much sir. @mwhnrt :shipit: ๐
This PR relates to #119 and makes the devtools scrollable if the height exceeds the available screen height. It also styles the scrollbar for browsers supporting this, so that the scrollbar is less prominent but still visible.
It also fixes an issue of the DevTools story where required data (
remoteConfig
) was missing so Storybook could not render the DevTools component.Summary by CodeRabbit
New Features
Refactor