harshmangalam / hydrogen-solidjs-client

A social media web app powered by SolidJS
GNU General Public License v3.0
77 stars 54 forks source link

Add tooltip #13

Closed harshmangalam closed 1 year ago

harshmangalam commented 1 year ago

Add tooltip in post card icons and icon button

somenath203 commented 1 year ago

I want to contribute to this project. Can you please guide me on how I can do it?

harshmangalam commented 1 year ago

Sure

somenath203 commented 1 year ago

Are there any specific guidelines regarding the pull request and the code submission?

harshmangalam commented 1 year ago

Open components > posts > PostCard folder and add proper title in icon button.

harshmangalam commented 1 year ago

Are there any specific guidelines regarding the pull request and the code submission?

Most of the time reuse the existing component to fullfill your requirements and follow the folder structure to add new components.

somenath203 commented 1 year ago

ok, got it, thanks for the reply.

somenath203 commented 1 year ago

Both the client and the server is running but somehow, both are not connected with each other. I am unable to find the problem. Can you please help me?

Frontend Screenshot (149)

Backend Screenshot (148)

harshmangalam commented 1 year ago

Do one thing add .env file in root and copy every thing from .env.example and use production endpoint this way you do not need to setup backend on local. .env

VITE_ENDPOINT=https://hydrogen-harsh.herokuapp.com/api
somenath203 commented 1 year ago

Whenever I am importing any external npm package, then, the whole application is going inside an infinite loop.

Can you please tell how to resolve this issue please?

harshmangalam commented 1 year ago

Can you show me the log and gif.

somenath203 commented 1 year ago

I recently deleted the project and then again re-installed it. The main issue which I am facing is whenever I am using npm install to install all the dependencies, then, it is giving this error Screenshot (151)

But, when I am using yarn, then, everything is working fine and all the dependencies are getting installed.

After this, when I am installing an external package and then importing it any file, then, I am getting this error Screenshot (150)

harshmangalam commented 1 year ago

Remove node_module and any lock related files like pnpm-lock.yaml etc... Install pnpm using npm i -g pnpm then install package using pnpm pnpm i then run pnpm run dev

somenath203 commented 1 year ago

The main problem that is occurring is VITE is unable to find react and this is the reason why on importing any react-based npm package inside any component, the whole application is breaking. Screenshot (152)

harshmangalam commented 1 year ago

This is not react based project this is build on top of Solidjs

somenath203 commented 1 year ago

Got it.

somenath203 commented 1 year ago

I have submitted my pull request for this project. You can now please check it.