Skip to content
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

Add currency selector to settings page #5713

Merged
merged 4 commits into from
Oct 7, 2021

Conversation

iwiznia
Copy link
Contributor

@iwiznia iwiznia commented Oct 7, 2021

Details

Fixed Issues

$ GH_LINK

Tests

QA Steps

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Mobile Web

Desktop

iOS

Android

@iwiznia iwiznia self-assigned this Oct 7, 2021
@iwiznia iwiznia requested a review from a team as a code owner October 7, 2021 16:43
@MelvinBot MelvinBot requested review from Beamanator and removed request for a team October 7, 2021 16:43
@@ -43,14 +45,20 @@ class WorkspaceSettingsPage extends React.Component {
name: props.policy.name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

props.policy is missing from the propTypes. Can you please add it?

*/
getCurrencyItems() {
const currencyListKeys = _.keys(this.props.currencyList);
const a = _.map(currencyListKeys, currencyCode => ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't use a short variable and just use return _.map();

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I was debugging this and added it for easy inspection, removing it

@@ -67,6 +75,19 @@ class WorkspaceSettingsPage extends React.Component {
this.setState({previewAvatarURL: '', avatarURL: ''});
}

/**
*
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove extra line

size={CONST.AVATAR_SIZE.LARGE}
DefaultAvatar={() => (
<Icon
src={Workspace}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is supposed to be Camera

@tgolen tgolen merged commit 1363f8f into tgolen-workspace-settings Oct 7, 2021
@tgolen tgolen deleted the ionatan_settings_page branch October 7, 2021 17:07
@OSBotify
Copy link
Contributor

🚀 Deployed to staging by @tgolen in version: 1.1.7-25 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @roryabraham in version: 1.1.8-9 🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants