-
Notifications
You must be signed in to change notification settings - Fork 34
Feature/633/custom attrs #690
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2dd0b1f
to
f4760c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice changes but a few improvements here and there 🥉
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice changes but a few improvements here and there 🥉
P.S. this is just a code review not a functionality review, should probably do some clicking through as well
Marc and me resolved the requested change |
cef66cc
to
1ec9fda
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the code is getting to a good place.
I'll start with a functionality review and we can then review the code again after these changes.
On load the custom field is not aligned with the rest of the fields.
Not sure if this placeholder is intuitive to users. A quick fix would be to have it called "choose an additional field" and then grey out the text. Only make the actual options properly black. Furthermore the "Additional field" text shouldn't show up in the dropdown, doesn't make much sense.
I feel like there is a lot of usability improvement still waiting to happen. How about you don't even have the green button and just have the dropdown that says "choose an additional field" and then onClick()
on one of the dropdown options it just adds said field.
If you press the green plus button in this state there should probably be a warning message like "choose one of the options in the dropdown". However, as mentioned above maybe just remove the button as it doesn't really add any value. (I know that it was in the mockup but we can be better than the mockup 😉 )
Add an on-hover message to this lock that says "this field is encrypted" and then maybe also add a crossed-out-lock to the custom attribute name
that onHover
says "this field is not encrypted"
The order in which the fields then are displayed is a bit confusing. I think username
and password
should always be the first 2 options as they are the default ones anyways. For the other ones it is fine if they are in no particular order, just not in the first or second spot.
The dropdown has a few funky interactions. One example: go to a new encryptable, add a new custom attribute by selecting it from the dropdown and pressing the green plus button. Then instantly delete the new custom attribute and press the green button again. Even though the option "Additional field" is selected it will once more add the custom attribute.
All UI changes have been implemented, besides the new svg for non encrypted fields, everything else is resolved. |
Was noch gemacht werden muss:
Aufgetretene Fehler / Abgehandeltes:
|
ebec70f
to
18e900f
Compare
Quick feedback for @njaeggi Bugs to fix
|
7be606b
to
38cc356
Compare
|
05b5518
to
67f114b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine to me! 🚀 The UI is now quite nice if you ask me. 🥳
However, let @mtnstar also review it one more time.
Momentaner Stand:
|
on encryptables#show: styling? make sure all attribute boxes and copy controls look the same and are aligned. maybe give them more width? maybe we could integrate the copy buttons inside the read-only input field? https://getbootstrap.com/docs/5.3/forms/input-group/#button-addons |
…e than three attributes
…d changes and some backend code improvements
…remove button next to custom attribute name field
…utes and attachements in show view
…mrpove row styling
6242e9d
to
ea7f97b
Compare
implements #634