-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Bug: duplicate repositories can be added to dashboard #1219
Comments
@git-srinivas thanks for filing this issue! In my opinion, this is related to issue #832. |
Cannot reproduce, could you provide additional instructions |
|
What + symbol? Tried both desktop and mobile already before posting the cannot reproduce comment. |
Managed to reproduce but only on desktop.
Understand this is a real issue now but In the future, could you kindly check with @open-sauced/triage before filing bugs with missing information? It helps us reduce the back and forth for a fix that could be a few lines of code! |
It is add button in recommendations. I mentioned in the steps to reproduce. My wording could be much better |
Since our app is a web application, the bug can be replicated in both desktop and mobile. I added the screen shot from my mobile browser only. @0-vortex If you feel the bug is redundant, I can close this and update the triage bug? |
Please stick to the topic - I understand the screenshot is from mobile, my question was whether or not you actually used the mobile platform to produce the bug.
That is not helpful in any way, updating the issue with proper description and steps would be the way to go, especially if any of the triage team wants to take a look at this or a contributor is willing to pick it up. |
@0-vortex My apologies. This is the first bug i ever raised with open source projects/apps. Thanks for the guidance. I updated the bug description and steps to reproduce. Please check and let me know if it is fine :) |
@git-srinivas Thanks again for submitting the issue. I think you've put enough information in here for contributors to know what to work on. The PR you had already submitted #1215 helps with this issue somewhat, but only if the goals list is updated after adding a goal, so that the recommendations list can remove the goal. As I mentioned before, there are some bugs with the application's state getting updated correctly when adding/removing goals (as described in #832). |
I got a chance to re-reproduce this tonight after #1220 landed - the situation is a little better since repo does get added in goals list when using + button in recommendations list. However, the recommendations list doesn’t repopulate with the newly added goal filtered out. Seems like open-sauced/src/components/RepositoryGoals.js Lines 51 to 54 in 42472e2
|
.take |
Thanks for taking this on! If you have not already, join the conversation in our Discord |
A visual and sorting fix is dropping in #1247 - that doesn't solve the issue of adding repositories in the UI or to the Hope this helps! |
@git-srinivas are you still keen to work on this? |
Thanks for being interested in this issue. It looks like this ticket is already assigned to a contributor. Please communicate with the assigned contributor to confirm the status of the issue. |
🎉 This issue has been resolved in version 0.53.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Describe the bug
When a user login to the app, there are see two sections on the dashboard. One is the repo recommendations list and the other is dashboard repo list.
Expected behaviour:
When user try to add a recommended repo item for one time or multiple times, it should be added to the dashboard repo list only once.
Actual behaviour:
When the user add a recommended repo item for multiple times, it gets added to the dashboard list for multipl times. Which is causing duplicate records of the same repo item in the dashboard list. Which is redundant and not expected.
Proposed solution:
We can keep a block loader or spinner on the recommended repo list, till the repo item disappers( or till the sync action completes)?
I am attaching a screenshot (from my mobile browser) below, which depicts the same
Steps to reproduce
1.Login to the app
2. Go to repository recommendation list
3. Click on add button continuously for 2 or more times
4. Reload the app and you can see duplicate repositories on the dashboard repo list
Affected services
opensauced.pizza
Platforms
Desktop, Mobile, Tablet
Browsers
Chrome
Environment
Production
Additional context
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: