Add a new field to Tribe Settings called SecondBrain URL
New field in Tribes schema called second_brain_url
Add new input field to paste in a URL
Changes Made
Groups.storyboard
Added custom view that contain label and textfield to the Groups.storyboard and constraint it
Groups Manager class
Added the property secondBrainUrl to the struct TribeInfo inside Groups Manager class
Updated the setInfo method in the Groups Manager class by adding to the input parameters optional secondBrainUrl and also updating its content in the appropriate property
Updated the getNewGroupParams method by adding to the dictionary the content of the secondBrainUrl Field
Updated the update method by getting the value of the second_brain_url from the json object and setting it into tribeInfo.secondBrainUrl
CreateTribeViewModel
Updated the CreateTribeViewModel with a new property called secondBrainUrl
Update the setInfo in the CreateTribeViewModel
CreateTribeViewController
Added an IBOutlet of secondBrainUrlField: NSTextField! to the CreateTribeViewController
Updated the completeEditView method by updating the content of the secondBrainUrlField with the secondBrainUrl from the chatTribeInfo method
Pull Request Title
Add 'SecondBrain URL' field to tribe settings modal https://github.com/stakwork/sphinx-mac/issues/312
Description
This pull request addresses the Add 'SecondBrain URL' field to tribe settings modal in Issue https://github.com/stakwork/sphinx-mac/issues/312.
The following are the addressed issues:
Changes Made