Param302 / SocialRepo

Social Repo - Your Social Handles Repository in a chrome extension.
Apache License 2.0
39 stars 35 forks source link

[FEATURE] Add Links on Save in Home Panel #57

Open Param302 opened 1 month ago

Param302 commented 1 month ago

Add Links on Save in Home Panel

Overview

You have to implement add social link box functionality for Home panel which should create social link box whenever Save button is called.

image image

Requirements

If you have any suggestion or idea, you're welcome to share.

Let's implement SocialRepo's save button functionality! 🙌

CodexRaunak commented 3 weeks ago

Hey @Param302, I would like to work on this issue. please assign this to me.

Param302 commented 3 weeks ago

Hey @Param302, I would like to work on this issue. please assign this to me.

Sure @CodexRaunak !

Assigning you the issue.

CodexRaunak commented 3 weeks ago

Hey @Param302 I want to ask when the user adds a valid URL in the edit section, then the link box will be created in the Home Panel. But if he adds the same URL again within the edit box, then what will happen? I have made the functionality till he adds and it gets saved in the home panel, but if he adds it again, then one more list box is created with the same key and value.

Please clarify what is the ideal scenario, is it like user will edit the link and it will get added to the home panel, if there is already a same list box existing then it will not create a new box but update the previous one.

Below is the image of the added code, please do let me know if there is any issue.

addLink Box

Param302 commented 3 weeks ago

oh oky, @CodexRaunak so it's a bug :sweat_smile: , we actually want all the links to be unique. Right now, don't worry about it, as creating the home links will depends upon creating link in edit container, I will fix it.

Thanks for pointing out this bug!