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

[$250] Workspace - Make workspace name input push to page #29455

Closed
5 of 6 tasks
lanitochka17 opened this issue Oct 12, 2023 · 35 comments
Closed
5 of 6 tasks

[$250] Workspace - Make workspace name input push to page #29455

lanitochka17 opened this issue Oct 12, 2023 · 35 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Monthly KSv2 Not a priority Reviewing Has a PR in review

Comments

@lanitochka17
Copy link

lanitochka17 commented Oct 12, 2023

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: 1.3.83-1

Reproducible in staging?: Yes

Reproducible in production?: No

If this was caught during regression testing, add the test name, ID and link from TestRail:

Email or phone of affected tester (no customers):

Logs: https://stackoverflow.com/c/expensify/questions/4856

Expensify/Expensify Issue URL:

Issue reported by: Applause - Internal Team

Slack conversation:

Action Performed:

  1. Go to https://staging.new.expensify.com/
  2. Tap profile icon
  3. Tap Workspaces
  4. Tap on any Workspace
  5. Tap on Workspace name
  6. Change Workspace name
  7. Select any other currency and without tapping save option, tap app's back button
  8. Tap Workspace name

Expected Result:

As user never tapped save option, on revisit, the changed Workspace name and selected currency should not be displayed

Actual Result:

On revisit, the changed Workspace name is not shown but selected currency is displayed although user never tapped save option

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Android: Native
Android: mWeb Chrome
Bug6234537_1697120154927.renew_currency.1.mp4
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~018ec5b209f3445160
  • Upwork Job ID: 1712522664628527104
  • Last Price Increase: 2023-10-27
@lanitochka17 lanitochka17 added DeployBlockerCash This issue or pull request should block deployment Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 12, 2023

Triggered auto assignment to @puneetlath (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented Oct 12, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@mountiny mountiny added the External Added to denote the issue can be worked on by a contributor label Oct 12, 2023
@melvin-bot melvin-bot bot changed the title Workspace - Selected currency is shown on revisit without tapping save button [$500] Workspace - Selected currency is shown on revisit without tapping save button Oct 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 12, 2023

Job added to Upwork: https://www.upwork.com/jobs/~018ec5b209f3445160

@melvin-bot melvin-bot bot added the Help Wanted Apply this label when an issue is open to proposals by contributors label Oct 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 12, 2023

Triggered auto assignment to Contributor-plus team member for initial proposal review - @situchan (External)

@mountiny mountiny changed the title [$500] Workspace - Selected currency is shown on revisit without tapping save button [$125] Workspace - Selected currency is shown on revisit without tapping save button Oct 12, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 12, 2023

Upwork job price has been updated to $125

@b4s36t4
Copy link
Contributor

b4s36t4 commented Oct 12, 2023

Proposal

Please re-state the problem that we are trying to solve in this issue.

Workspace - Make workspace name input push to page

What is the root cause of that problem?

NA - Feature

What changes do you think we should make in order to solve the problem?

  1. Currently we have an input registered for workspace name we need to remove that.

  2. Add a menu Item MenuItem for workspace name just like we did here

    <View style={[styles.mt4]}>
    <MenuItemWithTopDescription
    title={formattedCurrency}
    description={translate('workspace.editor.currencyInputLabel')}
    shouldShowRightIcon
    disabled={hasVBA}
    onPress={onPressCurrency}
    />
    <Text style={[styles.textLabel, styles.colorMuted, styles.mt2, styles.mh5]}>
    {hasVBA ? translate('workspace.editor.currencyInputDisabledText') : translate('workspace.editor.currencyInputHelpText')}
    </Text>
    </View>

  3. Create a new Page to handle the input and save it. Example: NewTaskTitlePage.js

  4. Save the workspace name using Policy.updateGeneralSettings(policy.id, values.name.trim(), policy.outputCurrency);

  5. On Save navigate user to back route.

  6. Add support for the back navigation on refresh (fallback route support)

What alternative solutions did you explore? (Optional)

NA

@fedirjh
Copy link
Contributor

fedirjh commented Oct 12, 2023

cc @mountiny I don't think this is a bug, that is how push-to-page works, currency is updated inside the currency page selector. I think it's ideal to refactor the workspace name to a push-to-page as well.

@mountiny
Copy link
Contributor

yeah its certainly weird with the Save button there, but I agree, I was also suspicious seeing the report, I will remove the blocker and we can discuss next steps

@mountiny mountiny removed the DeployBlockerCash This issue or pull request should block deployment label Oct 12, 2023
@puneetlath
Copy link
Contributor

Hm, @mountiny so do you think we should do anything here? Or just close the issue?

@mountiny
Copy link
Contributor

I think we should make sure there is a follow up to change the workspace name as push to page as now you have to different types of the form where one requirs you to click Save and the other one does not.

Then once the Workspace name is push to page we can remove the Save button. If there is an issue for it, we can close it I guess, if not we could use this to track it.

@melvin-bot melvin-bot bot added the Overdue label Oct 16, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 17, 2023

@puneetlath, @situchan Whoops! This issue is 2 days overdue. Let's get this updated quick!

@puneetlath puneetlath changed the title [$125] Workspace - Selected currency is shown on revisit without tapping save button [$125] Workspace - Make workspace name input push to page Oct 18, 2023
@puneetlath
Copy link
Contributor

Ok I updated this issue to implement push to page for the workspace name. @b4s36t4 feel free to update your proposal.

@melvin-bot melvin-bot bot removed the Overdue label Oct 18, 2023
@b4s36t4
Copy link
Contributor

b4s36t4 commented Oct 18, 2023

Updated my proposal, thanks :)

@melvin-bot
Copy link

melvin-bot bot commented Oct 19, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@melvin-bot melvin-bot bot added the Overdue label Oct 20, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 23, 2023

@puneetlath, @situchan Eep! 4 days overdue now. Issues have feelings too...

@melvin-bot
Copy link

melvin-bot bot commented Oct 26, 2023

📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸

@puneetlath puneetlath changed the title [$125] Workspace - Make workspace name input push to page [$250] Workspace - Make workspace name input push to page Oct 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 27, 2023

Upwork job price has been updated to $250

@puneetlath
Copy link
Contributor

I think $250 is fair here.

@melvin-bot melvin-bot bot added Overdue and removed Help Wanted Apply this label when an issue is open to proposals by contributors labels Oct 27, 2023
@melvin-bot
Copy link

melvin-bot bot commented Oct 31, 2023

@puneetlath, @b4s36t4, @aimane-chnaif Whoops! This issue is 2 days overdue. Let's get this updated quick!

@puneetlath
Copy link
Contributor

@b4s36t4 how's this going?

@melvin-bot melvin-bot bot removed the Overdue label Oct 31, 2023
@b4s36t4
Copy link
Contributor

b4s36t4 commented Oct 31, 2023

@puneetlath I have completed writing the changes, it's just to take screen recordings. Will do it in sometime night.

@b4s36t4 b4s36t4 mentioned this issue Nov 1, 2023
58 tasks
@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 1, 2023
@b4s36t4
Copy link
Contributor

b4s36t4 commented Nov 1, 2023

@puneetlath @aimane-chnaif #30733 PR is here. Thanks!!

Copy link

melvin-bot bot commented Nov 27, 2023

This issue has not been updated in over 15 days. @puneetlath, @b4s36t4, @aimane-chnaif eroding to Monthly issue.

P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

@aimane-chnaif
Copy link
Contributor

Waiting for design approval on PR

@melvin-bot melvin-bot bot closed this as completed Jan 29, 2024
Copy link

melvin-bot bot commented Jan 29, 2024

@puneetlath, @b4s36t4, @aimane-chnaif, this Monthly task hasn't been acted upon in 6 weeks; closing.

If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

@aimane-chnaif
Copy link
Contributor

@puneetlath please reopen this issue as not done yet.
@b4s36t4 please let us know if we should reassign since no update for long time

@puneetlath puneetlath reopened this Feb 2, 2024
@puneetlath
Copy link
Contributor

@b4s36t4 bump! If we don't hear back by Monday, we'll go ahead and re-assign.

@b4s36t4
Copy link
Contributor

b4s36t4 commented Feb 6, 2024

Hey, guys. Sorry been away because of health issues for many days. Been back now will take it up and complete it ASAP.

Thanks for holding it up🙂.

@puneetlath
Copy link
Contributor

I'm sorry to hear about your health issues @b4s36t4!

However, it seems like this issue is no longer relevant right? This page has been totally changed and the issue no longer seems to be happening.

Given that the PR seems to have been abandoned, I'm going to go ahead and close this issue out. Let me know if that's wrong and I've misunderstood anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. External Added to denote the issue can be worked on by a contributor Monthly KSv2 Not a priority Reviewing Has a PR in review
Projects
None yet
Development

No branches or pull requests

7 participants