-
Notifications
You must be signed in to change notification settings - Fork 39
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
Add image annotation insert/edit to mirador-annotations #50
base: master
Are you sure you want to change the base?
Add image annotation insert/edit to mirador-annotations #50
Conversation
MImranAsghar
commented
Apr 6, 2021
- This image insert/edit input dialog is needed to extend the annotation support to adding image annotation.
- These image annotation insert/edit changes attempt to implement image insert/edit workflow similar to Mirador 2 for the image annotation. For example, once a url is entered then clicking away from the url field will update the width and height inputs with the image width and height that the url corresponds to.
- The other part of image annotations would be the image annotation card (list of image annotations displayed on a card on hovered annotations) which I am currently working on that can be added as a separate plugin (to be used with this one) or to mirador 3 eventually
@MImranAsghar Thanks for working on this. I have some comments that are strictly about the visual design; I will leave it to others to weigh in on the more technical aspects (though I might have thoughts on the overall user experience as you get additional parts of the feature completed). I realize that you are probably more focused on the functionality of this feature than the visual design at this point (understandably) but I want to make sure contributors are conscious of following existing Mirador 3 patterns when creating new UI elements. Ideally we'd have some form of detailed guide for Mirador 3 visual design, which would make it easier for developers. We already have divergence in some of the other Mirador 3 plugins so lacking a detailed style guide I want to point out these things so we can minimize further divergence.
|
@MImranAsghar Thanks for working on this. I have some comments that are strictly about the visual design; I will leave it to others to weigh in on the more technical aspects (though I might have thoughts on the overall user experience as you get additional parts of the feature completed). I realize that you are probably more focused on the functionality of this feature than the visual design at this point (understandably) but I want to make sure contributors are conscious of following existing Mirador 3 patterns when creating new UI elements. Ideally we'd have some form of detailed guide for Mirador 3 visual design, which would make it easier for developers. We already have divergence in some of the other Mirador 3 plugins so lacking a detailed style guide I want to point out these things so we can minimize further divergence.
|
Hi, Thanks for pointing these out. All your comments look very useful, I will start looking into these one by one and make the required changes 👍 |
- This dialog is needed to extend the annotation support to adding image annotation. - Expects user to enter url; calculates width and height of image - Includes image dialog input validation; checks url, width, height
... in the image annotation input/edit - If the constrain proportions checkbox is checked in image annotation input, this functionality will make sure that the image proportions are maintained if either a new width or height is entered - These image annotation insert/edit changes attempt to implement image insert/edit workflow similar to Mirador 2
66071e3
to
1cf3ea4
Compare