Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Rate details doesn't show all the rates to the internal user, when user signs in after proceeding from an anonymous user #482

Closed
sdgun opened this issue Aug 13, 2021 · 4 comments

Comments

@sdgun
Copy link

sdgun commented Aug 13, 2021

Steps
Go to https://platform.topcoder-dev.com/taas/createnewteam without logging in
Proceed from any flow until sign in is prompted
Sign in as an internal user
Close the pop up and check the Rate details tab

Actual Behavior
All rates are not displayed

Expected behavior
Internal user should see all rates

2021-08-13_12-32-48.mp4
@ghost
Copy link

ghost commented Aug 14, 2021

@nikolay83

niche is not present in data.

UI Code:

<div styleName="cost">
  <h4>{formatRate(rates.niche)}</h4>
  <p>/Week</p>
</div>

JSON Data:

"rates": [
        {
          "global": 2500,
          "offShore": 10,
          "inCountry": 20,
          "rate20Global": 20,
          "rate30Global": 20,
          "rate20OffShore": 35,
          "rate30OffShore": 35,
          "rate20InCountry": 15,
          "rate30InCountry": 15
        },
        {
          "global": 25,
          "offShore": 5,
          "inCountry": 15,
          "rate20Global": 20,
          "rate30Global": 20,
          "rate20OffShore": 35,
          "rate30OffShore": 35,
          "rate20InCountry": 15,
          "rate30InCountry": 15
        }
      ],

@sdgun
Copy link
Author

sdgun commented Aug 14, 2021

@arpitchaudhari Nothing to do with missing niche value here, you can see in the video the view of rate details is totally different when the user first sees the rate details after sign in and when the user checks it by selecting a role the second time. The first view is the view of the external user(less details) second view is the view we have to show to the internal user(show all rates)

@ghost
Copy link

ghost commented Aug 14, 2021

I was just informing it. I know the issue. I am working on it.

@sdgun
Copy link
Author

sdgun commented Aug 15, 2021

Verified in Dev, this issue is fixed. Also tested the impacted area

2021-08-15_22-06-38.mp4

yoution added a commit to yoution/taas-app that referenced this issue Aug 15, 2021
@sdgun sdgun closed this as completed Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants