Param302 / SocialRepo

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

Add feature to update and create social links on save #67

Open CodexRaunak opened 3 months ago

CodexRaunak commented 3 months ago

Title

Add a feature to update and create social links on save

Description

When clicked on save it updates the respective value of the key in the socialLinks object. Updation passes through 2 checks: 1) Valid URL 2) Already have a link box on the home page -- It checks if the link we are updating already has a list box in the home panel. If the link box is already on the home page, it updates the respective key-value pair in the socialLinks object. Otherwise, it will create a new List Box by the createSocialLink function.

This helps to add only the unique links on the home page otherwise update the existing ones. Looking forward to merging the PR.

https://github.com/Param302/SocialRepo/assets/143412156/8851044c-0761-4f05-9f85-f6174dc78637


Issue Ticket Number

Fixes #57


Type of change


Checklist:

CodexRaunak commented 3 months ago

@Param302 please review the PR and tell if any changes are to be made