Closed sahitya-chandra closed 2 months ago
Assigning this to you
Sure: Its a standard Remix project where we have all the code inside the app directory. Its using tailwindCSS and shadcn for styling.
Inside the app directory, we have components directory (this is where we store all the components) Inside the app/routes directory we have index.tsx file (this is what will render on the page if you'll go to the homepage).
There's a services directory inside app directory, this has two files github.ts and gitlab.ts, both of these files are interacting with github and gitlab API
The types directory consists of all the types we are using, if you know how to use react + typescript then this is a standard way to work with types
Let me know if you need any help
@sahitya-chandra I can look it up tomorrow, hope that's fine
Just do one thing, open up a PR with the description of closes #
Please keep a space between closes and #
By opening a PR I can review it and let you know
Thanks, I'll look into it tomorrow morning
@sahitya-chandra out of curiosity. I have few questions.
const [languages, setLanguages] = useState([]);
const handleLanguageChange = (value) => {
if (languages.includes(value)) {
// if the value is already in the state, the unselect it
setLanguages(languages.filter((language) => language !== value));
}
else {
// else add it to the state
setLanguages([...languages, value]);
}
}
@dotslashbit Correct me if I went wrong?
@pamarthiabhinav this is the way to go.
@pamarthiabhinav It will be great if you want to review and help him out.
I'll always review, that's for sure but if you wanna get involved then feel free to do so
@sahitya-chandra great buddy. Now go for the next steps and start your contributions 🙌
FYI @sahitya-chandra changing the language selection is just not the task here I think so, but you need to make sure how that can be used in the API calls in the github.ts and gitlab.ts files, Which actually uses the change to retrieve the issues
Ping here if you stuck anywhere, either me or @dotslashbit can help or assist you!
Good Luck @sahitya-chandra ✌️
@pamarthiabhinav Yeah, that's what I wrote in the PR as a comment. I asked him to go step by step, so lets first get the UI working by implementing multi checks and then we can fix the github/gitlab api query to get it to fully functional feature.
@sahitya-chandra Remember, there's no rush, and if there's any help you need or if you are stuck, just ping me or @pamarthiabhinav
You are doing great 👍🏻
@ST-KO will work on it
@sahitya-chandra no worries even I can't solve a good amount of issues, it's pretty normal
@sahitya-chandra let me know if you want to solve any issues, I'll tag you if a new issue comes up
@dotslashbit I am almost done with this issue, but I'm encountering an error which I believe is causing the css style to break for the "multiselect-react-dropdown" library. I notice this issue was present before I started working on the project. I also want to mention that I'm still a newbie :D but i will try to solve it again today.
I noticed that when I refresh the page after the popup 'No issues found matching the current criteria. Try adjusting your filters' appears, the CSS works as intended and the hydration error also disappears.
CSS works as intended
Hydration error disappear
@ST-KO congrats making it work, there's nothing rush to finish working on it, take your time. @Sechorda can you help him on this?
@dotslashbit Yes, I can help. I will have more time tomorrow to dedicate to the issues i'm on.
Edit: Just noticed the PR for this issue.
@ST-KO nice.
@dotslashbit Yes, I can help. I will have more time tomorrow to dedicate to the issues i'm on.
Edit: Just noticed the PR for this issue.
@ST-KO nice.
@Sechorda Thank you :D
Currently, we can only choose single language. So update this feature with which we can select more than on language at a time.