Fix alignment issue on Admin - Subscription Creation Workflow Approval#1184
Fix alignment issue on Admin - Subscription Creation Workflow Approval#1184
Conversation
|
Hi @tharikaGitHub, Could I ignore this code duplication error on the code or should I fix it. I’d appreciate any guidance on this. |
|
Hi @RakinduM, yes you can ignore them as they are not related to your changes. |
Thanks for confirming, I'll ignore those errors. |
|
Hi @tharikaGitHub, is it possible to re run the workflow ? The cypress failure looks like unrelated to my UI changes and seems like the socket ended up null during request cloning. |
|
@tharikaGitHub , Could we run the workflow again ? I updated my branch with the main as it was not updated when the last time workflow ran. However It showed that 1 test failing because
Since this selector part is from Publisher portal and my changes are only done in Admin portal, it is seems like a timeout error as I guess, but I'm not sure though. |
|
Hi @RakinduM, I applied your fix locally. It is working fine. Following are my observations. With smaller screen sizes like mobile, the
But this was not the case previously.
Do you think there would be a possibility to fix that behaviour? Also shall we check if this behaviour is the same for other types of approval workflows and fix them if possible? Not only for subscription creation. |
|
Hi @tharikaGitHub, Thanks for the feedback. I'm checking the feasibility to get that behaviour. I'll give an update soon. |
|
Hi @tharikaGitHub, I fixed that issue on buttons get cut off when the screen gets smaller and now it is working as expected. Additionally I have checked and fixed other necessary approval screens Subscription Update, Subscription Delete, Application Create, Application Delete, API State Change, API Revision Deployment, Registration Creation and User Creation.
|
|
Great! Thanks @RakinduM. I will review this PR and get back. |
|
Hi @RakinduM, I applied your changes locally and observed the behaviour of different approval workflows. My observations are the following. For workflows where the following change is not there, the action buttons seem to have some extra padding from the right side. For others it looked okay.
I think we will have to add Also shall we add the same changes to |
|
Hi @tharikaGitHub, Ohh, I thought that in the Application Registration Workflow that extra bit space in the action buttons is okay. That's why I didn't apply DefaultCellProps and fixed only the button alignment when they stack up in smaller screen like below image Also in APIRevisionDeployment, it looked fine and so I didn't make any changes there. But yeah I'll add those changes as needed and share an update soon. |
|
|
Hi @tharikaGitHub, I have fixed it on the Application Registration, API State Change and API Revision Deployment screens. I have attached some images for your reference.
|
…development iteration











Problem
Before Fix
Changes Made
✅ Make Column widths responsive
✅ Make action buttons responsive
After fix
Fixes wso2/api-manager#3479