Closed jerensl closed 4 months ago
Name | Link |
---|---|
Latest commit | 29975d56ed22bb279014cf90ba77b15c21bb66b6 |
Latest deploy log | https://app.netlify.com/sites/modelina/deploys/6676f352d903000008638286 |
The new commit should fix the current issue, I'm adding extra state for updating the costume theme
Hi @jerensl, The mobile version looks great to me. However, we don't need any changes to the desktop design. So please revert those changes. Also, could you open a new Issue + PR for bugs unrelated to this issue? Don't merge those fixes in this PR.
To keep the desktop version, would you mind if I changed the layout approach from Flexbox
to Grid
?
The bug just happened after we added conditional rendering for supporting mobile version, so it related to this feature
Hi @devilkiller-ag I already removed the quick bug fixes because it's not relevant anymore, I tried a new approach that uses the hidden property, for more detail, you can read my edited comment above https://github.com/asyncapi/modelina/pull/2028#issue-2340750999
To keep the desktop version, would you mind if I changed the layout approach from
Flexbox
toGrid
?The bug just happened after we added conditional rendering for supporting mobile version, so it related to this feature
Okay sure, if it doesn't break anything.
Totals | |
---|---|
Change from base Build 9382165682: | 0.0% |
Covered Lines: | 5996 |
Relevant Lines: | 6327 |
@jonaslagoni Can you also check the playground layout on mobile and desktop and share your thoughts on it?
@jonaslagoni I propose to have same eslint and prettier rules as we have in the asyncapi website. Those rules have been properly brainstormed and implemented recently while migrating it to Next.js v14 and Typescript. Having same lint rules will ensure similar formatting rules across all website codebases in the asyncapi ecosystem. What's your thought on this?
Makes sense to me π Just remember to add the website to the root ignore files so there wont be any duplicates.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
This seems a bit too wide in the desktop version π€
Other then that it looks good π
Noted, I already made a changes and added the final detail in the latest commit and editted the detail changes I made above
Totals | |
---|---|
Change from base Build 9561348719: | 0.0% |
Covered Lines: | 5997 |
Relevant Lines: | 6328 |
Totals | |
---|---|
Change from base Build 9611843317: | 0.0% |
Covered Lines: | 5997 |
Relevant Lines: | 6328 |
/rtm
Thanks @jerensl β¨ I noticed you haven't joined our slack community. Feel free to join it here.
Thanks @jerensl β¨ I noticed you haven't joined our slack community. Feel free to join it here.
You're welcome, I already joined the Slack channel and got information about this good first issue there
:tada: This PR is included in version 3.7.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Enable Playground work on Mobile Devices
Flex
toGrid
which reduces multiple unnecessary div components and enables us to keep the existing desktop designMobile
Tablet
Notebook
Desktop
Alternative Solution
Grid
Related Issue
This refactor relates to #1715
Checklist
Flex
toGrid
which reduces unnecessary HTML components and makes the website more responsiveGrid
Additional Notes
Be careful using Conditional rendering with monaco-react when the costume theme is not being rendered by the first update, probably related to this issue, the way to solve it is by adding extra state for theme after adding the theme using monacoInstance