-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/tech stack functionality p2 #144
Conversation
…input closes after adding new item.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
https://i.imgur.com/Uj3lK5a.png The border looks weird and cut off. Might be due to some kind of padding in the card, didn't look at the code but yea, that needs to be fixed. You can see example of what it should look like in either directory or features page. This is for the input when editing tech stack btw.
For the spinner, I'd like it in the button. You can also see example of that in directory or features page.
@MattRueter Can be fixed by adding |
@JaneMoroz I changed it by adjusting the padding in the parent. That seemed to fix it. |
…gu-x/chingu-dashboard into feature/tech-stack-functionality-p2
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.
- Add some margin to the li in the tech stack card, the input is too squished to the scroll bar. I can't add it as a comment in this pr unfortunately. mr-2 is enough
- The input when editing should populate the data and not as a placeholder. You can see this behavior in directory and features page
- In the isediting logic, instead of repeating that twice with a truthy/falsy boolean check, just do a ternary.
- Your settingsmenu is nested inside the remove vote button. It shouldn't be nested like that since they are not directly related to each other and having it inside removebutton file doesn't make sense. I had trouble finding it myself until I did a search and found it that way.
src/app/(main)/my-voyage/[teamId]/tech-stack/components/TechStackCard.tsx
Outdated
Show resolved
Hide resolved
src/app/(main)/my-voyage/[teamId]/tech-stack/components/TechStackCard.tsx
Outdated
Show resolved
Hide resolved
https://jam.dev/c/13a5cd35-0161-4aaa-9161-c1b5693c47de Settings modal is hidden when it overflows its container Might be a future enhancement but the settings modal/popovers should probably be rendered in a portal or a div that's much higher in the DOM But IDK how you'd make sure it's right by the ellipsis menu. Maybe instead just some logic that checks to see if it intersects with the edge of it's container and if so offset it up so it's fully visible? |
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.
Just noticed, there needs to be validaton added on the input (both edit and new tech stack text inputs). Make sure to use Zod like it's being used everywhere else in the project. Simple required validation is good enough for now.
Everything else looks good though
Will do. I had completely forgot about using Zod! |
Yeah. It's the same (similar anyway) in features route.
Possibly using ref hook. @Dan-Y-Ko should design team be asked how they'd like the 'settings menu' to behave in cases of overflow? |
Yea I should probably ask what they want, will do that tomorrow. I'd imagine they would just want it so it auto adjusts to show the full container in view |
Fyi, as mentioned in the meeting, don't worry about the overflow issue for now |
…y-p2 Feature/tech stack functionality p2
Description
Added the following functionality to the tech-stack page of voyages.
Also made small adjustment to padding of card container.
Issue link
Fixes # (issue)
Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Checklist: