-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Conversation
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.
LGTM and only have a few suggestions.
src/libs/actions/Policy.js
Outdated
* @param {String} name | ||
*/ | ||
function create(name) { | ||
Policy_Create({type: 'free', policyName: name}) |
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.
We should use a CONST
for this like CONST.POLICY.TYPE.FREE
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.
Done!
src/libs/API.js
Outdated
/** | ||
* @param {object} parameters | ||
* @param {string} [parameters.type] | ||
* @param {string} [parameters.policyName] |
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.
Capitalize the param types like we do elsewhere?
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.
Done! I copied those from another comment, so I have also fixed these.
src/languages/es.js
Outdated
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.', |
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.
@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.
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'm a native speaker! Also, I just sent a commit fixing a typo.
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.
LGTM!
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging in version: 1.0.71-1🚀
|
@marcaaron Should we halt QAing as this is |
Yes please do not QA |
🚀 Deployed to production in version: 1.0.73-3🚀
|
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
/workspace/new
routeQA Steps
❌
Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android