-
-
Notifications
You must be signed in to change notification settings - Fork 381
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
feat: refinement of knowledge panel rendering template. #9890
base: main
Are you sure you want to change the base?
feat: refinement of knowledge panel rendering template. #9890
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9890 +/- ##
==========================================
+ Coverage 49.54% 49.58% +0.04%
==========================================
Files 67 70 +3
Lines 20650 20961 +311
Branches 4980 5024 +44
==========================================
+ Hits 10231 10394 +163
- Misses 9131 9276 +145
- Partials 1288 1291 +3 ☔ View full report in Codecov by Sentry. |
Thank you @deveshidwivedi ! Could you separate the 2 changes (1: moving the CSS from the template to classes, and 2: how to see where the panel end)? It will be easier to merge the first 1 first. For the left border, the idea was to show where the body of the panel ends (when the accordion is opened), so that's it's clearer what happens when the user closes the panel. So the border should be on the panel title + content: But we will have to try different ways, maybe it will look very busy with the border, and other solutions might be better. |
I have removed the border from this PR as requested, thank you.
I am sorry to misunderstand, I now got how it was supposed to be, we could try out different styles before finally making a PR to address this.
Sure! |
Hi @deveshidwivedi , have you been able to run your changes locally? I tried it but there's an issue with the icon image of all panels: |
Hi @stephanegigandet! I have tried to correct the image icons, I had tried to run the changes locally but mistakenly made unrequired changes to the branch. Please have a look. Thank you. |
Hi @deveshidwivedi , there are still some typos that prevent some CSS rules to work. In order to make sure everything works, it would be good to test the product pages side by side: one side with your changes, and one side with the "main" branch, to check if you get visually similar results. |
Hi! @stephanegigandet I did run make front_build and make restart successfully, I see similar knowledge panels on both the localhost and the website. Could you please confirm? Thank you! |
@deveshidwivedi Thank you, it looks good! There is a conflicting change:
Can you move the "z-index: 1;" to the customer-container scss, and resolve the merge conflict? |
@stephanegigandet does this look fine? |
Updating the branch to solve the failing tests (en:Cheese) |
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.
Looks good! Thank you!
@deveshidwivedi can you resolve the conflict ? |
Resolved! @alexgarel |
Quality Gate passedIssues Measures |
Hi @stephanegigandet, please take a look at this. The merge conflicts are now resolved. Thank you. |
What
Replaced inline styles with CSS classes for easier modification and better adaptability.
Related issue(s) and discussion