-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App linking #183
App linking #183
Conversation
…e profile page. In FormData page at editProfileFormDataRegular added a field call linkedin. In User page under initial state added linkedin field. In the iOS Info.plist added LSApplicationQueriesSchemes array and the whitelisted apps uri.
…style to profile.js. Added the functions to OtherProfile.js to handle app linking there. In FormData.js jus did code clean up to the element added earlier in edit regular profile. ** in profile in form component in the values parameter I erase function that was formating the this.props.activeuser since it was creating a type missmatch in Form.js. the parameter values is expecting an object but was receiving an array. this cause the app to crash when onsubmit was called.**
…s to FormData are included here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks like it's going in the right direction. Just 1 section with alot of complexity and a few small details to improve readability.
The reason why I'm so anal about readability is because code is read way more often than it is written, spending a lot of time and effort into writing readable code always pays off down the line when other people need to read and make changes to the code. According to many sources we spend 10 times more time reading code than we do writing it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some brief changes to the appLinkingHandler documentation. Also as previously requested we can probably work to simplify the code so it's easier to understand and work with. Some JSDocs could also go a long way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the additional pr review, but after testing the slack button link isn't working and is getting an unhandled promise rejection and there is error obtained when editing our profiles. You're going to want to merge the newest commits into your fork.
src/screens/User/OtherProfile.js
Outdated
@@ -147,15 +148,21 @@ class OtherProfile extends Component { | |||
socialmediarow | |||
} = styles; | |||
|
|||
const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bump
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indentation, documentation, typos, and some minor recommendations - please mark these as resolved to know what was fixed.
…e profile page. In FormData page at editProfileFormDataRegular added a field call linkedin. In User page under initial state added linkedin field. In the iOS Info.plist added LSApplicationQueriesSchemes array and the whitelisted apps uri.
…style to profile.js. Added the functions to OtherProfile.js to handle app linking there. In FormData.js jus did code clean up to the element added earlier in edit regular profile. ** in profile in form component in the values parameter I erase function that was formating the this.props.activeuser since it was creating a type missmatch in Form.js. the parameter values is expecting an object but was receiving an array. this cause the app to crash when onsubmit was called.**
…s to FormData are included here.
src/screens/User/OtherProfile.js
Outdated
@@ -147,15 +148,21 @@ class OtherProfile extends Component { | |||
socialmediarow | |||
} = styles; | |||
|
|||
const { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bumpidump dump
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reshaping final changes to the pull request
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Confused about where you're storing the data for slackinfo, is it yaml or env? There might be some conflict
- Minor enhancements
channel: | ||
general: CPRDXHHD4 | ||
announcements: CC5S86GHE | ||
fundraisingCommittee: CCUUWRU1Y | ||
motorshpe: CP5HC76TD | ||
projects: CNATZRD9C | ||
shpejr: GCWFE5630 | ||
mentorshpe: C016KGD2WHH | ||
computereng: GN4U8FPDK | ||
projectleads: GNBH9T4UC |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
computereng
is a private channel- unsure about
projectleads
andshpejr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put them there in case the committees wanted to link to slack. Should I take them off?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's fine, but (1) people won't find a private channel if they're not in it and (2) we don't have all of the private channel codes, so there are a couple missing. Moreover computereng
isn't a committee and I'm afraid SHPE will keep changing channels, so it would be safer to only have the default ones.
Committing Idel suggestion. Co-authored-by: Idel <[email protected]>
Conference screen
Revert "Conference screen"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would want to test and change some minor details, but I understand you're extremely busy. I think we can push this now and change stuff later
Moved to branch appLinking |
Fixes #136
Description
Now to open an app from our all that needs to be done is import the component appLinkingHandler and passed url in the style show under example. A second parameter can be pass named message to show a custom text for the alert. This properly launches an app can pass parameters from our app and can show warnings if the url dont meet the standard from a single component.
Types of changes
Checklist: