Card items overflow out of cards
Details
Steps
- Visit someone's profile (https://app.codecrafters.io/users/rohitpaulk)
- Look into the challenges section
- Some icons are overflowing out of their card (when a challenge has been solved with multiple languages)
(firefox)
(chromium)
Proposed solution
Make sure the icons don't overflow
Spec for solution: let's pick upto 3 languages. Prioritize based on this ordered list:
- Completed languages, sorted by last activity
- Incomplete languages, sorted by last activity
"Hi @rohitpaulk, is this issue still relevant to work on? If yes, could you provide more details or context to help improve it?
@yuvrajkarna2717 yep! We should limit to 3 icons, you'll find the spec above here: https://github.com/codecrafters-io/frontend/issues/1768#issuecomment-2255667285
Hey, what should I add in .env, backend url?
This should match the URL defined in core.
BACKEND_URL="https://
You can use our staging server to develop against.
BACKEND_URL="https://backend-staging.codecrafters.io"
ok thanks
Added this to our default .env.example here: https://github.com/codecrafters-io/frontend/pull/2639
I am wondering, how can I check my code is working or not, as I cannot reproduce the bug.
Any help please.
@Wassaf001 you can try editing this file to mimic the scenario: https://github.com/codecrafters-io/frontend/blob/main/tests/acceptance/view-user-profile-test.js. You can add pauseTest() as described here to see the UI in the middle of a test.
ok thank you.
According to the spec mentioned here:
Spec for solution: let's pick upto 3 languages. Prioritize based on this ordered list:
- Completed languages, sorted by last activity
- Incomplete languages, sorted by last activity
This is my progress.
Is it ready for a PR?
@Wassaf001 one thing I'm noticing is that in the first screenshot I have three completed languages - PHP, TS and Kotlin, but in the second it only shows 2 (would have expected 3).
Would recommend opening a PR anyway! Easier to share feedback when we have concrete code to look at.
ok will do that.
I have opened a PR, what is the process further, if any change or improvement is required let me know, I will do it.
Hi, with 4 to 5 years of experience in React, Next, Typescript, Tailwind CSS and core CSS. I have over the years built appealing UI as a person and with teams, i believe that if assign this task i will be able to fix it. Thanks as i look forward to hearing from you