jargonsdev / jargons.dev

A community-driven dictionary that simplifies software, engineering and tech terms for all levels.
https://jargons.dev
GNU General Public License v2.0
24 stars 8 forks source link

fix(ui): added component for users to contribute missing search terms #98

Open DevYoma opened 1 month ago

DevYoma commented 1 month ago

Description

This PR replaces the No Result found with a SearchSuggestionContribution component similar to that of the ContributeCTA astro component

Related Issue

Fixes #68

Screenshots/Screencasts

image

Notes to Reviewer

The SearchSuggestionContribution component is similar to the ContributeCTA component.

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jargons-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 14, 2024 11:31am
DevYoma commented 1 month ago

Yeah, your approach is good. We can work on it together. Now the only thing I want to ask is how we're going to use the ContributeCTA component that's in astro in the search.jsx island

babblebey commented 1 month ago

how we're going to use the ContributeCTA component that's in astro in the search.jsx island

Oh, that you already done with your introduction of the SearchSuggestionContribution locally in the search island.

Here's what we just have to do next...

So, I'll handle the debounce functionality.

I'll let you handle the arrangement; below is a quick video of how I was able to achieve the arrangement within the browser, note the new classes I added etc.. Hopefully this helps

screencast-bpconcjcammlapcogcnnelfmaeghhagj-2024.09.13-16_24_32.webm