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

[HOLD for payment 2024-12-16] [$250] Update empty state for workspace feeds #53091

Closed
JmillsExpensify opened this issue Nov 25, 2024 · 34 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.

Comments

@JmillsExpensify
Copy link

JmillsExpensify commented Nov 25, 2024

As part of an on-going update throughout the app, we are updating the empty state of workspace feeds to include the call-to-action directly within the empty state modal, like so.

image

To summarize this empty state/action framework, it works like this:

  • If there is an empty state and we want you to take an action (in this case assign your first card), we put a (green) button in the empty state
  • Once you take the action (assign one card), we move the (green) button to where it's located now in the top right of the page.

CleanShot 2024-11-25 at 23 12 44

cc @joekaufmanexpensify in case you want to assign yourself. I'm going to keep the internal label on this issue since it's since in development and hard to test.

Issue OwnerCurrent Issue Owner: @
Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021863095443820024887
  • Upwork Job ID: 1863095443820024887
  • Last Price Increase: 2024-12-01
Issue OwnerCurrent Issue Owner: @jliexpensify
@JmillsExpensify JmillsExpensify added Daily KSv2 Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item. labels Nov 25, 2024
Copy link

melvin-bot bot commented Nov 25, 2024

Triggered auto assignment to @jliexpensify (NewFeature), see https://stackoverflowteams.com/c/expensify/questions/14418#:~:text=BugZero%20process%20steps%20for%20feature%20requests for more details. Please add this Feature request to a GH project, as outlined in the SO.

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Daily KSv2 labels Nov 25, 2024
@mkzie2
Copy link
Contributor

mkzie2 commented Nov 25, 2024

Edited by proposal-police: This proposal was edited at 2024-11-25 23:03:21 UTC.

Proposal

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

Update empty state for workspace feeds

What is the root cause of that problem?

New feature

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

Add the Assign card button to WorkspaceCompanyCardsFeedAddedEmptyPage using buttons prop of EmptyStateComponent where handleAssignCard is taken from here.

We might need to add icon prop to EmptyStateComponent's Button and implement it here.

buttons={[{
    success: true,
    buttonText: translate('workspace.companyCards.assignCard'),
    buttonAction: handleAssignCard,
    icon: Expensicons.Plus,
}]}

As my observation, we also need to update the prompt from Get started by assigning your first card to a member. to Get started by assigning your first card.

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Nov 25, 2024
@joekaufmanexpensify
Copy link
Contributor

@mkzie2 This is part of an ongoing project and is not currently soliciting volunteers (and doesn't have the Help wanted label). Please reference the contributing guidelines if you have any Q's!

@joekaufmanexpensify
Copy link
Contributor

cc @joekaufmanexpensify in case you want to assign yourself. I'm going to keep the internal label on this issue since it's since in development and hard to test.

Awesome. I will work on getting this assigned out!

@mountiny
Copy link
Contributor

@allgandalf, @dukenv0307 or @DylanDylann would you like to implement this change?

@dukenv0307
Copy link
Contributor

@mountiny I can help

@DylanDylann
Copy link
Contributor

I can help as c+

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 and removed Daily KSv2 labels Nov 26, 2024
@DylanDylann
Copy link
Contributor

@JmillsExpensify @dukenv0307 Do we also apply this design for direct feed?

cc @mountiny

@dukenv0307
Copy link
Contributor

@DylanDylann I handle the logic in WorkspaceCompanyCardPage, so I think it will cover both custom and direct feeds. Please correct me If I'm wrong

@mountiny
Copy link
Contributor

@DylanDylann @dukenv0307 yes, majority of these changes should work same for both direct and custom feeds

@JmillsExpensify
Copy link
Author

Agreed

@melvin-bot melvin-bot bot added Weekly KSv2 and removed Weekly KSv2 labels Nov 30, 2024
@joekaufmanexpensify
Copy link
Contributor

Left a comment on the PR, I don't think the current solution did exactly what we were intending.

@mountiny
Copy link
Contributor

mountiny commented Dec 3, 2024

Discussing here, seems like C+ cannot reproduce your issue

@mountiny mountiny changed the title [$250] [HOLD for payment 2024-12-07] Update empty state for workspace feeds [$250] Update empty state for workspace feeds Dec 4, 2024
@mountiny mountiny removed the Awaiting Payment Auto-added when associated PR is deployed to production label Dec 4, 2024
@mountiny
Copy link
Contributor

mountiny commented Dec 4, 2024

@dukenv0307 @DylanDylann coming from here https://expensify.slack.com/archives/C06ML6X0W9L/p1733253221396639?thread_ts=1733200020.036699&cid=C06ML6X0W9L seems like @joekaufmanexpensify is still able to reproduce using direct feed on mobile. Can you please have a look?

@melvin-bot melvin-bot bot added Reviewing Has a PR in review Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Daily KSv2 Weekly KSv2 labels Dec 4, 2024
@melvin-bot melvin-bot bot changed the title [$250] Update empty state for workspace feeds [HOLD for payment 2024-12-16] [$250] Update empty state for workspace feeds Dec 9, 2024
@melvin-bot melvin-bot bot removed the Reviewing Has a PR in review label Dec 9, 2024
Copy link

melvin-bot bot commented Dec 9, 2024

Reviewing label has been removed, please complete the "BugZero Checklist".

Copy link

melvin-bot bot commented Dec 9, 2024

The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.72-1 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 2024-12-16. 🎊

For reference, here are some details about the assignees on this issue:

  • @dukenv0307 requires payment through NewDot Manual Requests
  • @DylanDylann requires payment (Needs manual offer from BZ)

Copy link

melvin-bot bot commented Dec 9, 2024

BugZero Checklist: The PR adding this new feature has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:

  • [@dukenv0307 / @DylanDylann] Please propose regression test steps to ensure the new feature will work correctly on production in further releases.
  • [@jliexpensify] Link the GH issue for creating/updating the regression test once above steps have been agreed upon.

@jliexpensify
Copy link
Contributor

Checking here - does @dukenv0307 require payment?

@jliexpensify
Copy link
Contributor

Also bumping @DylanDylann for the checklist

@DylanDylann
Copy link
Contributor

DylanDylann commented Dec 13, 2024

BugZero Checklist:

  • [Contributor] Classify the bug:
Bug classification

Source of bug:

  • 1a. Result of the original design (eg. a case wasn't considered)
  • 1b. Mistake during implementation
  • 1c. Backend bug
  • 1z. Other:

Where bug was reported:

  • 2a. Reported on production
  • 2b. Reported on staging (deploy blocker)
  • 2c. Reported on both staging and production
  • 2d. Reported on a PR
  • 2z. Other:

Who reported the bug:

  • 3a. Expensify user
  • 3b. Expensify employee
  • 3c. Contributor
  • 3d. QA
  • 3z. Other:
  • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

    Link to comment: No because this seems like a case wasn't considered in the document

  • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

    Link to discussion:

  • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

  • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

    Link to issue:

Regression Test Proposal

Test 1

  1. Go to a new WS
  2. Open the company card page
  3. Add new Feed successful
  4. The empty state view displays with a green Assign Card button in the empty state
  5. Click on Assign Card button in the empty state and complete the assign card flow
  6. The green Assign Card button shows at the top right of page

Test 2

  1. Go to a new WS
  2. Open the company card page
  3. Add new Feed
  4. And the feed is pending
  5. The App shows a greyed assign card button at the top right of the page

Do we agree 👍 or 👎

@jliexpensify
Copy link
Contributor

For Step 6, should it be:

The green Assign Card button shows at the top right of page

because its not really moving right?

@jliexpensify
Copy link
Contributor

^ @DylanDylann sorry forgot to tag you

@DylanDylann
Copy link
Contributor

@jliexpensify Updated

@melvin-bot melvin-bot bot added Daily KSv2 and removed Weekly KSv2 labels Dec 16, 2024
Copy link

melvin-bot bot commented Dec 16, 2024

Payment Summary

Upwork Job

BugZero Checklist (@jliexpensify)

  • I have verified the correct assignees and roles are listed above and updated the neccesary manual offers
  • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants/1863095443820024887/hired)
  • I have paid out the Upwork contracts or cancelled the ones that are incorrect
  • I have verified the payment summary above is correct

@dukenv0307
Copy link
Contributor

@jliexpensify No need for payment here. The project issue will be paid later

@jliexpensify
Copy link
Contributor

Thanks everyone, closing this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Daily KSv2 Internal Requires API changes or must be handled by Expensify staff NewFeature Something to build that is a new item.
Projects
Development

No branches or pull requests

7 participants