-
Notifications
You must be signed in to change notification settings - Fork 0
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
News to notes - Part 6 - Insert image in notes and news #145
Comments
@srenault-meeds to prepare our discussion around the insert image component. I have listed the features available for CKeditor and requested by end-users. I have added one proposition about cropping. |
@srenault-meeds ready to review for GOFUNC please. |
My feedbacks:
We currently don't have the option so no need to explain it IMO. Can you review the top US of inserting image the following way? Objective: we understand who can do this, when and how it is possible to do this. Example: Once done, the image is added in the body where I have decided to request the image insertion.
Does this option mandatory?
What is URM?
I suggest to not add any other option than the current image editor.
Is that really needed for a MVP?
If this is only for development phase, we must not add it in the spec. This is only a dev process I think. Thanks |
@srenault-meeds ready to review. |
Ok go-fonc |
@srenault-meeds I have updated the functional part following the analysis and the decision to use the standard Ckeditor plug-in. Let me know if it is okay with you and if the Go-func is still okay. |
Ok for me |
@boubaker Ready to check technical part. |
A question @azayati : Does the image is inserted with Base64 data inside the Note Content or will you use the |
Why not using the AttachmentService, knowing that everything is in place and that you can reuse the API instead of re-inventing it specifically for Notes. In other terms, what does the |
@boubaker we can use AttachmentService, but IMO in our case:
If we use don't use AttachmentService, we need only to implement the note rest service to retrieve the note image (like for example note illustration, site banner ...) |
ok, so no blocking points to reuse the |
ok we will use |
Thanks @azayati No need to reference this
since the files can as well be stored in FileSystem rather than the Table as a Blob switch property |
hello, I think there is a mistake here. Indeed, It has been moved to "Delivered" status while it has not been delivered yet. Indeed, this status is restricted to MIP delivered, and for which some items need to be worked before considering it completed (crowdin strings for example) |
@srenault-meeds it is strange from my side, I have not changed the status, @Julien-Dubois-eXo also, anyway I have moved it to accepted again |
…-io/MIPs#145 (#1211) Implement notes/content insert image option.
…-io/MIPs#145 (#1211) Implement notes/content insert image option.
…-io/MIPs#145 (#1211) Implement notes/content insert image option.
…-io/MIPs#145 (#312) Implement notes/content insert image option.
…-io/MIPs#145 (#1211) Implement notes/content insert image option.
Prior to this change, resizing an inserted image in the editor was not possible. The resizer remained attached to the mouse and only detached when clicking outside the editor. This change addresses the issue by attaching the pointerup event to the document instead of the mouseup event.
Prior to this change, resizing an inserted image in the editor was not possible.The resizer remained attached to the mouse and only detached when clicking outside the editor.This change addresses the issue by attaching the pointerup event to the document instead of the mouseup event.
…-io/MIPs#145 (#312) Implement notes/content insert image option.
Rationale
Nowadays, any editor tool provides image insertion. This helps users to showcase their notes and their articles.
Unfortunately, Meeds does not propose such an option.
This MIP will solve this problem by suggesting users insert image into their content with advanced options
1. Functional Requirements
Top User Stories
Image Insertion
Given I'm a platform user
When I edit a note or a news
Then I can insert an image into the content using different UX:
Once inserted into the body, the image is selected and I can use image options:
On the image properties, we have the URL of the image location.
Once the image is not selected, I cannot do the options
Moving image
Re-size
Link
Remove link
Image properties
We are using the default options for the Ckeditor 4 enhanced image plug-in.
Alignment
Size
Legend
Alternative text
Layout improvement for SNV
2. Technical Requirements
Configurability
Other Non Functional Requirements
The text was updated successfully, but these errors were encountered: