web
web copied to clipboard
[QA] UI glitch when accepting ocm invitations
Describe the bug
A clear and concise description of what the bug is.
Steps to reproduce
- set up two systems with mutual system trust (storage/ocm/ocmproviders.json)
- have a web config with `{ "apps"; [ "ocm", ... ], ... }'
- generate an invite user toke on sytem A, copy paste the token ID.
- Paste the token id in the 'Enter invite token' field.
- select system A in the 'Select institution of inviter' drop down'
- The button '+ Accept invitation' scrolls out of view. BAD
Expected behavior
It remains visible
Actual behavior
The lower part of the screen has a large unused area. Yet the upper part is fixed height, so that entries that wrap around eat up precious space. Also horizontally there is plenty of whitespace that could be used to avoid line wraps.
Setup
https://github.com/owncloud/enterprise/issues/6110 -> https://github.com/owncloud/enterprise/issues/6674 Will share my test machines if needed.
Additional idea, to help users getting on track with the workflow:
- While the list of "institutions" aka ocmproviders is empty:
- The entire UI should be grayed out
- A message should be displayed: "The list of ocmpoviders is empty. Please contact your admin."