Closed srenault-meeds closed 7 months ago
@Julien-Dubois-eXo can you take a look ?
Thank you
No ready to check @margondicco I will update some item
Ok now for review please @margondicco @Julien-Dubois-eXo thanks
@srenault-meeds it seems ok for me.
Do you have a design for that "when editing the note: A label informs the user that other languages are proposed"
One small piece of precision, instead of "official" in this "language than the official one" we are using the term "Original version". We have the original version and translations.
Do you have a design for that "when editing the note: A label informs the user that other languages are proposed"
Not yet.
One small piece of precision, instead of "official" in this "language than the official one" we are using the term "Original version". We have the original version and translations.
Ok updated.
I let you check this and tell me if go-fonc or not then
Hello
when editing the note: A label informs the user that other languages are proposed By clicking to it, it opens the advanced editor
So the original version is alway opened even if a note in my language exists ?
IDK as I can't test it yet in the meeds context. I mean, can you remind me how this works when a user edits a note that contains other language versions
Presently in notes when you edit the notes, it's the currently displayed language version that is opened in the editor.
So in your case, if you applied the same behavior: When you display the English translation because your platform setting or your browser is in English and you edit it Then it's the English translation that is displayed in the editor, not the Original version.
ok reviewed. Tell me if ok
Instead of this :
If more than one language AND one is proposed for my preferred language (browser or platform), then I see the content with my preferred language
I would recommend: When I edit the note it's the language displayed in view mode that is opened in the editor.
In that way, you are sure there will be one rule that manages the displayed language.
Ok updated
Hello @margondicco @Julien-Dubois-eXo I have reviewed the scope of this MIP to only deal with the new editor options and the WYSIWYG compliance.
Tags and Multilingual will be reviewed later.
Can you please check? Thanks
Go
Over to you now @boubaker :-)
Ready for Tech review by DAO members (eXo : @rdenarie ).
Ready for Tech review by DAO members (eXo : @rdenarie ).
Updated to add a new Technical requirement about skin definition improvement.
As discussed during the PC, I suggest to make the multilingual option in notes compliant with the SNV. That means:
That doesn't mean we review:
If ok for you @margondicco then we add it
ACCs and PRs ready for review by DAO members (eXo : @rdenarie )
All PRs validated on my side. I let @margondicco confirm that all is ok for merge
All PRs validated on my side. I let @margondicco confirm that all is ok for merge
Merged after confirmation that there is nothing blocker.
Rationale
Single Note View provides a modern way to add a single content in a page thanks to a simple editor. And the note editor can be used to access an advanced editor.
As the note editor has been reviewed lately, we need to make sure that new options proposed there are compliant with the Single Note View use case.
Plus, the display of the content has been reworked in notes. That means that WYSIWYG has been reviewed and adjusted as well as the font-size for reading experience. And currently, the display between a note page and a SNV is different.
1. Functional Requirements
Top User Stories
Normal style
Given I write a content using the "simple" editor of the SNV, Then the display of the content must be similar to Normal style of the notes app. > This style must be WYSIWYG. That means that we have same display when editing and when reading
Following items needs to be adapted:
Precision No change to rich editor in this MIP
Other style
Given I use the advanced editor (AKA notes editor) When I save the note, Then the SNV displays the same when reading a note. So we need to make sure that following style are displayed the same way:
Tags behaviour
No tag can be added through SNV experience. Indeed, this needs to be improved later.
Multilingual option
No multilingual option can be used for now when writing a SNV
Impacts
Gamification
NA
Notifications
NA
Analytics
NA
Unified Search
NA
2. Technical Requirements
Extensibility
The same CSS used to display Notes View has to be reused in SNV context.
Feature Flags
No feature flag is needed.
3. Software Architecture
Access
The same CSS class
extended-rich-content
introduced in MIP #71 has to be used to ensure coherence. The same way as MIP #71, the SNV editor has to configure a customRichEditorConfigurationPlugin
to import additional CKEditor plugins for SNV instance, when editing.The feature flag
exo.feature.SNVFullPageAccess.enabled
has to be removed to have access from SNV to Full Notes Editor page. The URL to open the full editor has to evolve to indicate that Tags are disabled while editing the note.In order to reuse the same CSS Classes of Notes Page, we will have to enhance
SkinService
to allow defining CSS reusable modules. To do this:PortalConfig
has to be able to be defined asabstract
/filtered
so that it isn't added in all portal pagesPortletSkin
has to be able to define one or severalabstract
PortalSkin
as dependencyPortletSkin
can have an emptycss-path
so that it referencesabstract
PortalSkin
list only