-
Couldn't load subscription status.
- Fork 1
Develop/feature/td 2895 2 activity status #459
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
Develop/feature/td 2895 2 activity status #459
Conversation
|
Anyone seen the typescript issue before is there an easy fix :) I've had some issues with the packages since set up that I tried to resolve the issue previously if its the same one by running yarn, and node update, cleaning and rebuilding - fixed by virgo fix |
| { | ||
| get | ||
| { | ||
| if ((this.User?.Identity?.AuthenticationType ?? null) == "AuthenticationTypes.Federation") |
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.
can you please let me know why we have a hard code value for authentication type?
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.
can you please let me know why we have a hard code value for authentication type?
Because we only have userId in this authentificationtype
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.
is this changes are related to the scope of this ticket?
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.
is this changes are related to the scope of this ticket?
Yes. For every major version we return activity (not just the most recent like the rest of the data from the end point), not just the version looked at. The data is provided through a stored procedure. The reason for this is that we want to know if the user has previously completed a resource even if it is a previous version for example. So the logic takes the most important activityStatus per version per resource
…re/TD-2895-2-ActivityStatus Develop/feature/td 2895 2 activity status
JIRA link
TD-2895
Description
Tests added for
resourceControllerTests
Screenshots

Developer checks
(Leave tasks unticked if they haven't been appropriate for your ticket.)
I have: