You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[HOLD for payment 2022-03-17] Add informative text for visibility settings in the creation flow #7669
newRoomPage:{visibilityOptions: {restricted: 'Members of your workspace can find this room',private: 'Only members explicitly invited can find this room',},}
newRoomPage:{
visibilityOptions: {
restricted: 'Restricted',
+ restrictedOptionDescription: 'Members of your workspace can find this room'
private: 'Private',
+. privateOptionDescription: 'Only members explicitly invited can find this room'
},
}
and we can add a text component below or above the picker to show the description for the option that is selected like we do in preferences.
Proposal
I can't find any distinct difference between the Notification drop down in the room Settings pane and Visibility drop down. If we want something similar to preference page. Here is my proposal.
Should this go through Engineering triage first @MitchExpensify ? Have added the label - happy to spin up a job in Upworks once we get the go-ahead from Engineering.
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.41-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
changed the title [-]Add informative text for visibility settings in the creation flow[/-][+][HOLD for payment 2022-03-17] Add informative text for visibility settings in the creation flow[/+]on Mar 10, 2022
Issued payment to @thesahindia, thanks for your awesome work here!
@rushatgabhane I've sent you an offer so we can pay you for your C+ duties, please let me know once you've accepted this and I'll issue payment here too. 😊
Activity
MelvinBot commentedon Feb 10, 2022
Triggered auto assignment to @jliexpensify (
External), see https://stackoverflow.com/c/expensify/questions/8582 for more details.mateusbra commentedon Feb 10, 2022
PROPOSAL
We will have to change en.js and es.js to match the new texts:
App/src/languages/en.js
Lines 905 to 908 in 0b58649
to:
Screenshot:

thesahindia commentedon Feb 10, 2022
Proposal
We can add description in en.js, es.js
newRoomPage:{ visibilityOptions: { restricted: 'Restricted', + restrictedOptionDescription: 'Members of your workspace can find this room' private: 'Private', +. privateOptionDescription: 'Only members explicitly invited can find this room' }, }and we can add a text component below or above the picker to show the description for the option that is selected like we do in preferences.
App/src/pages/settings/PreferencesPage.js
Lines 95 to 97 in 0b58649
Here's a vid of preferences page:-
Screen.Recording.2022-02-10.at.11.51.30.AM.mov
Edit:- Found we already have description available which we use in room settings page.
App/src/languages/en.js
Lines 894 to 895 in bdf3a74
Can't we reuse it, instead of adding new description?
sobitneupane commentedon Feb 10, 2022
Proposal
I can't find any distinct difference between the Notification drop down in the room Settings pane and Visibility drop down. If we want something similar to preference page. Here is my proposal.
App/src/pages/workspace/WorkspaceNewRoomPage.js
Lines 102 to 104 in 0b58649
const visibilityOptions = _.map(_.values(CONST.REPORT.VISIBILITY), visibilityOption => ({ label: this.props.translate(`newRoomPage.visibilityOptions.${visibilityOption}`), value: visibilityOption, + description: this.props.translate(`newRoomPage.visibilityOptionDescriptions.${visibilityOption}`), }));App/src/pages/workspace/WorkspaceNewRoomPage.js
Lines 133 to 138 in 0b58649
<View style={[styles.mb2, styles.w100]}> <Picker value={this.state.visibility} label={this.props.translate('newRoomPage.visibility')} items={visibilityOptions} onChange={visibility => this.setState({visibility})} /> </View> +<Text style={[styles.textLabel, styles.colorMuted, styles.mb6]}> + {_.find(visibilityOptions, option => option.value === this.state.visibility).description} +</Text>Preference Page Reference:

Expected Output:

MelvinBot commentedon Feb 11, 2022
Triggered auto assignment to @cead22 (
Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.jliexpensify commentedon Feb 11, 2022
Should this go through Engineering triage first @MitchExpensify ? Have added the label - happy to spin up a job in Upworks once we get the go-ahead from Engineering.
MitchExpensify commentedon Feb 11, 2022
When you label exported that initiates engineering triage right? @jliexpensify
puneetlath commentedon Feb 11, 2022
@jliexpensify I'm taking over for carlos here. Let's go ahead and export this to upwork.
@MitchExpensify The flow is:
26 remaining items
botify commentedon Mar 10, 2022
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.41-6 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
If no regressions arise, payment will be issued on 2022-03-17. 🎊
[-]Add informative text for visibility settings in the creation flow[/-][+][HOLD for payment 2022-03-17] Add informative text for visibility settings in the creation flow[/+]jliexpensify commentedon Mar 11, 2022
Adding @kadiealexander to help keep an eye on my GH's as I'll be OOO next week.
kadiealexander commentedon Mar 17, 2022
Issued payment to @thesahindia, thanks for your awesome work here!
@rushatgabhane I've sent you an offer so we can pay you for your C+ duties, please let me know once you've accepted this and I'll issue payment here too. 😊
rushatgabhane commentedon Mar 17, 2022
@kadiealexander accepted, thanks!
kadiealexander commentedon Mar 18, 2022
Paid you too @rushatgabhane, thanks for your help!