Closed LieutenantRoger closed 2 years ago
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 has been created for this ticket.This is an automated message for lieutenantroger via Topcoder X
@bug-bash-helper assign
@shivam-51 ✅ you are now assigned to this issue and have 12 hours to complete it.
As soon as you are done, please, make a comment like below, including the link to the pull request:
@bug-bash-helper <link to PR> is ready for review
@shivam-51 ✅ you are now assigned to this issue and have 12 hours to complete it.
As soon as you are done, please, make a comment like below, including the link to the pull request:
@bug-bash-helper <link to PR> is ready for review
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 has been assigned to shivam51.This is an automated message for lieutenantroger via Topcoder X
@bug-bash-helper unassign
@shivam-51 ✅ you have been unassigned from this issue.
Now you may pick up another issue which is open for pickup if you like to.
@shivam-51 ✅ you have been unassigned from this issue.
Now you may pick up another issue which is open for pickup if you like to.
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 shivam51 has been unassigned.This is an automated message for lieutenantroger via Topcoder X
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 has been assigned to yoution.This is an automated message for lieutenantroger via Topcoder X
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 yoution has been unassigned.This is an automated message for lieutenantroger via Topcoder X
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 has been assigned to yoution.This is an automated message for lieutenantroger via Topcoder X
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 yoution has been unassigned.This is an automated message for lieutenantroger via Topcoder X
@bug-bash-helper assign
@nqviet ✅ you are now assigned to this issue and have 12 hours to complete it.
As soon as you are done, please, make a comment like below, including the link to the pull request:
@bug-bash-helper <link to PR> is ready for review
@nqviet ✅ you are now assigned to this issue and have 12 hours to complete it.
As soon as you are done, please, make a comment like below, including the link to the pull request:
@bug-bash-helper <link to PR> is ready for review
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 has been assigned to nqv2018.This is an automated message for lieutenantroger via Topcoder X
@LieutenantRoger
The current filter is choosing the challenges which started before 30-Oct and ended after 29-Sep. In other words, the filter will list all challenges that their durations intersect with the filter [startDate, endDate].
ex:
Could you please elaborate?
@bug-bash-helper unassign
@nqviet ✅ you have been unassigned from this issue.
Now you may pick up another issue which is open for pickup if you like to.
@nqviet ✅ you have been unassigned from this issue.
Now you may pick up another issue which is open for pickup if you like to.
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 nqv2018 has been unassigned.This is an automated message for lieutenantroger via Topcoder X
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 has been assigned to yoution.This is an automated message for lieutenantroger via Topcoder X
Challenge https://www.topcoder.com/challenges/d39be9c3-794a-41f9-8209-a1cd87acf295 yoution has been unassigned.This is an automated message for lieutenantroger via Topcoder X
@LieutenantRoger
The current filter is choosing the challenges which started before 30-Oct and ended after 29-Sep. In other words, the filter will list all challenges that their durations intersect with the filter [startDate, endDate].
ex:
Could you please elaborate?
Oh, I missed this ticket, @nqviet Thanks for this snapshot, I will need to get it clarified
@LieutenantRoger The problem is not only showing challenges out of range, but also not showing challenges within range.
Take this challenge as an example:
First, we pick up a time period ranging from Sep 13, 2021 to Sep 20, 2021. As we have known, it shows challenges out of the date range. However, if we pick up a time period ranging from Sep 15, 2021 to Nov 18, 2021, the challenges Design-Task-Automation ended in Sep 24, 2021 disappear.
It may be because there are two end dates of each challenge:
After querying, the backend API will return an end date (in the example, it is endDate: "2021-09-14T13:42:45.000Z"):
In the challenge item component, there is an end date calculated through challenge.phases (in the example, it is scheduledEndDate:“2021-09-24T13:42:45.000Z”)
The front-end side displays challenge items based on the second end date (Sep 24).
However, it seems that the back-end side filters challenges based on the first date (Sep 14).
Therefore, when filtering challenges through the time period (Sep 13, 2021 - Sep 20, 2021), the challenge Design-Task-Automation challenge (Ended: Sep 24) is shown in the search result.
With the same reason, the challenge is not shown when picking up a date started from Sep 15, 2021.
If what I guess is correct, it may be better to solve this problem from the back-end side: the front-end side can help to filter out of range challenge items, but it may not be very effective to show the disappeared items, filtered out by the back-end API.
@bug-bash-helper assign
@nqviet 🛑 you have some issues assigned which are not completed yet, see https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/145, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/143, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/132, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/116, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/97, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/75.
As per our Bug Bash rules you may work only at one issue at a time. Please, complete other issues first or unassign yourself before picking up a new issue.
@nqviet 🛑 you have some issues assigned which are not completed yet, see https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/145, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/143, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/132, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/116, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/97, https://github.com/topcoder-platform/micro-frontends-challenges-app/issues/75.
As per our Bug Bash rules you may work only at one issue at a time. Please, complete other issues first or unassign yourself before picking up a new issue.
@bug-bash-helper assign
@flaming-cl ✅ you are now assigned to this issue and have 12 hours to complete it.
As soon as you are done, please, make a comment like below, including the link to the pull request:
@bug-bash-helper <link to PR> is ready for review
@flaming-cl ✅ you are now assigned to this issue and have 12 hours to complete it.
As soon as you are done, please, make a comment like below, including the link to the pull request:
@bug-bash-helper <link to PR> is ready for review
@LieutenantRoger @flaming-cl For the above challenge, its end-date seems to be 14 Sep, but the frontend is showing 24 Sep instead?
@nqviet Hi, for the exact end date, the date Sep 24 sounds better (if the challenge starts registration at Sep 23).
But I guess we still need some clarification from @LieutenantRoger. Many thanks!
Ops, I seems missed the discussion in this ticket. I will need some time to check the data.
@bug-bash-helper unassign
@flaming-cl ✅ you have been unassigned from this issue.
Now you may pick up another issue which is open for pickup if you like to.
Summary:
Steps to Reproduce:
Actual Result:
*When we click on "Closed Challenges" and Choose Date range as "Past Month", it still shows Challenges out of that range
Expected Result:
Environment Details:
Devices(s):
Operating System and version:
Browser and version:
Screen recording or Screen snapshot: