Skip to content
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

(feat)O3-2211: draw using a custom simple svg editor #5

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

jona42-ui
Copy link
Collaborator

@jona42-ui jona42-ui commented Aug 14, 2023

Issue

O3-2211

Objective

This PR provides a means to allow rendering image to the drawing widget and attachment to a specific patient on save

@brandones brandones marked this pull request as draft August 16, 2023 13:20
@brandones
Copy link

Sorry, I didn't realize you aren't linting or typescript-building this, or I wouldn't have reviewed it in the first place. Please get your dev environment together. This is full of lint and type errors.

@jona42-ui jona42-ui changed the title save images to attachment module using useParam persist annotated images to attachment module Aug 31, 2023
@jona42-ui jona42-ui marked this pull request as ready for review August 31, 2023 09:14
@jona42-ui jona42-ui changed the title persist annotated images to attachment module (feat)O3-2211: persist annotated images to attachment module Aug 31, 2023
@brandones
Copy link

brandones commented Sep 15, 2023

Build still failing; lmk when the build is passing and I'll take a look

@jona42-ui
Copy link
Collaborator Author

jona42-ui commented Sep 25, 2023

Motivation

O3-2365

@jona42-ui
Copy link
Collaborator Author

jona42-ui commented Sep 25, 2023

Screenshot from 2023-09-27 12-20-15

@jona42-ui
Copy link
Collaborator Author

Screencast.from.09-25-2023.06.05.13.PM.webm

@jona42-ui jona42-ui assigned ibacher and unassigned ibacher Sep 25, 2023
@jona42-ui jona42-ui changed the title (feat)O3-2211: persist annotated images to attachment module (feat)O3-2211: persist annotated images to attachment module using a custom simple svg editor Sep 25, 2023
@jona42-ui jona42-ui changed the title (feat)O3-2211: persist annotated images to attachment module using a custom simple svg editor (feat)O3-2211: annotate and persist annotated images to attachment module using a custom simple svg editor Sep 26, 2023
@jona42-ui
Copy link
Collaborator Author

jona42-ui commented Sep 27, 2023

@ibacher @brandones @denniskigen can you kindly look at this for the simple editor to draw something.

@jona42-ui
Copy link
Collaborator Author

@ibacher do you think I need to involve the ui/ux team for some designs?

@ibacher
Copy link
Member

ibacher commented Sep 29, 2023

Just glancing at the video, this looks more like what I was expecting for this project. While a proper design from UX designers would be nice, this is, design-wise, a big lift and we don't have any funding that would cover this work.

Some initial thoughts:

  • The upload widget should be a standard Carbon button
  • I would locate the various toolbar-type widgets either in the global header or in a left panel
  • The color selection widget should also be more inline with the others (it's probably better here to use an icon rather than text; there are very likely appropriate icons for this)
  • The user should be able to give the image a sensible name when saving as an attachment

@ibacher
Copy link
Member

ibacher commented Sep 29, 2023

Note, I haven't actually looked at the code, just commenting based on the screenshots and video.

@jona42-ui
Copy link
Collaborator Author

Just glancing at the video, this looks more like what I was expecting for this project. While a proper design from UX designers would be nice, this is, design-wise, a big lift and we don't have any funding that would cover this work.

Some initial thoughts:

* The upload widget should be a standard Carbon button

* I would locate the various toolbar-type widgets either in the global header or in a left panel

* The color selection widget should also be more inline with the others (it's probably better here to use an icon rather than text; there are very likely appropriate icons for this)

* The user should be able to give the image a sensible name when saving as an attachment

cool @ibacher great points here. on my radar.

@jona42-ui jona42-ui changed the title (feat)O3-2211: annotate and persist annotated images to attachment module using a custom simple svg editor (feat)O3-2211: draw using a custom simple svg editor Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants