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

[No QA] Connect New Workspace Page with the backend #3639

Merged
merged 11 commits into from
Jun 18, 2021

Conversation

HorusGoul
Copy link
Contributor

@HorusGoul HorusGoul commented Jun 17, 2021

Details

Removes stuff that won't ship in V1 and connects the form submission with the backend.

Fixed Issues

Fixes https://github.com/Expensify/Expensify/issues/167378

Tests

  1. Open Expensify.cash
  2. Go to the /workspace/new route
  3. Introduce a name and press the "Get Started" button
  4. Open the developer console, you should see this error:
    image

QA Steps

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

image

Mobile Web

image

Desktop

image

iOS

image

Android

image

@HorusGoul HorusGoul self-assigned this Jun 17, 2021
@HorusGoul HorusGoul marked this pull request as ready for review June 17, 2021 17:02
@HorusGoul HorusGoul requested a review from a team as a code owner June 17, 2021 17:02
@MelvinBot MelvinBot requested review from Luke9389 and removed request for a team June 17, 2021 17:02
Copy link
Contributor

@marcaaron marcaaron left a comment

Choose a reason for hiding this comment

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

LGTM and only have a few suggestions.

* @param {String} name
*/
function create(name) {
Policy_Create({type: 'free', policyName: name})
Copy link
Contributor

@marcaaron marcaaron Jun 17, 2021

Choose a reason for hiding this comment

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

We should use a CONST for this like CONST.POLICY.TYPE.FREE

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

src/libs/actions/Policy.js Outdated Show resolved Hide resolved
src/libs/actions/Policy.js Outdated Show resolved Hide resolved
src/libs/API.js Outdated
/**
* @param {object} parameters
* @param {string} [parameters.type]
* @param {string} [parameters.policyName]
Copy link
Contributor

Choose a reason for hiding this comment

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

Capitalize the param types like we do elsewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done! I copied those from another comment, so I have also fixed these.

uploadPhoto: 'Subir Foto',
editPhoto: 'Editar Foto',
requestCall: 'Concertar una llamada',
genericFailureMessage: 'Se ha producido un error al intentar crear el Workspace. Por favor intentalo de nuevo.',
Copy link
Contributor

Choose a reason for hiding this comment

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

@HorusGoul do you speak Spanish or is this Google Translate? If it's the latter we should have a Spanish-speaking Expensifier verify that the grammar is good.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm a native speaker! Also, I just sent a commit fixing a typo.

Copy link
Contributor

@marcaaron marcaaron left a comment

Choose a reason for hiding this comment

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

LGTM!

@marcaaron marcaaron merged commit 52c9ff3 into main Jun 18, 2021
@marcaaron marcaaron deleted the horus-connect-new-workspace-page branch June 18, 2021 17:02
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.71-1🚀

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

@mvtglobally
Copy link

@marcaaron Should we halt QAing as this is freePlan beta ?

@marcaaron
Copy link
Contributor

Yes please do not QA

@marcaaron marcaaron changed the title Connect New Workspace Page with the backend [No QA] Connect New Workspace Page with the backend Jun 18, 2021
@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.73-3🚀

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.

5 participants