Open ankitnayan opened 1 year ago
Should the backend throw an error if any update call from frontend tries to wipe out the layout
or widgets
from the payload? Can we assume any update from the client can only remove a maximum of one panel and throw an error otherwise? Ideally, the bug that causes this should be fixed. Meanwhile, preventing the destruction action seems like a better thing to do. It's a very poor experience and frustrating to see the whole dashboard disappear from end-user POV.
client can only remove a maximum of one panel
this can be too restrictive. The issue seems to wipe out the dashboard. Should we enable a backend check of wiping all panels till we are able to reproduce?
I don't think it's restrictive. Is there a way one can remove multiple panels at the same time (i.e. in the same request) today?
hmm. I don't think it can be done today. We can implement it then. We can create an issue to remove this later.
@palashgdev Please close issues which are merged already.
Can we also fix https://github.com/SigNoz/signoz/issues/3736 as part of the improvements?
Can we also fix #3736 as part of the improvements?
we don't know the use case as of now I am assuming this is fixed in latest version as there were useEffect not it is not the case
Can we also fix #3736 as part of the improvements?
we don't know the use case as of now I am assuming this is fixed in latest version as there were useEffect not it is not the case
@srikanthccv Can you confirm if it's fixed in latest version? Can we close the issue?
We don't know how to reproduce the issue to test if it is fixed or not.
@palashgdev, please share the response format you mentioned that works well for clients. For any form of breaking changes it's better we introduce now because we can't do the same after we publish the API response which has growing demand.
we don't know the use case as of now I am assuming this is fixed in latest version as there were useEffect not it is not the case
This is still not fixed based on one of the issues reported by a user. The layout array was wiped out (we had a fix for widgets, but they were still there), and the blank screen was shown. Let's find out and try to fix this on priority.
@ankitnayan Can this be included as well? https://github.com/SigNoz/signoz/issues/3216
@ankitnayan Can this be included as well? #3216
yes
@palashgdev, please share the response format you mentioned that works well for clients. For any form of breaking changes it's better we introduce now because we can't do the same after we publish the API response which has growing demand.
@palashgdev @YounixM please take some time to work on this so that we can discuss and finalise it. We are going to make some changes to request payload as well.
@palashgdev, please share the response format you mentioned that works well for clients. For any form of breaking changes it's better we introduce now because we can't do the same after we publish the API response which has growing demand.
@palashgdev @YounixM please take some time to work on this so that we can discuss and finalise it. We are going to make some changes to request payload as well.
sure @srikanthccv will share
Frontend
Enhancements
Miscellaneous