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

SITES-22608 Add Universal Editor Reach text drafts manager extension #38

Merged
merged 21 commits into from
Jul 2, 2024

Conversation

ahajji87
Copy link
Contributor

@ahajji87 ahajji87 commented Jun 21, 2024

Description

Jira task: https://jira.corp.adobe.com/browse/SITES-22608
This extension is for the Universal Editor tool. It allows the user to manage drafts for reachtext content.
The extension is to add the rail.

Features

  • The extension provides a rich text editor where users can edit and format their text.
  • Users can create multiple drafts of their content. Each draft is saved separately, allowing users to easily switch between different versions of their content.
  • Each draft can be previewed, allowing users to check and edit before finalizing their content.
  • Users can perform several actions on each draft, including editing it, adding a new draft, applying it, and deleting it.

Demo:

To test the extension, add this to your universal editor site: ?ext=https://245265-aminetestextensions-stage.adobeio-static.net/index.html

There is also this site (in case you have permission): xwalk-extensibility-playground

Preview:

Screenshot 2024-06-26 at 15 23 34

Checklist:

  • I have signed the Adobe Open Source CLA.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@fe-lix-
Copy link
Contributor

fe-lix- commented Jun 21, 2024

Hey @ahajji87 this is a public repo. Let's only reference publicly accessible resources. At the moment this is only true about the content of the PR description.

@kokoc kokoc self-assigned this Jun 21, 2024
@kokoc kokoc removed their assignment Jun 21, 2024
@kokoc kokoc self-requested a review June 21, 2024 17:42

- **Draft Management**: Users can create multiple drafts of their content. Each draft is saved separately, allowing users to switch between different versions of their content easily.

- **Draft Preview**: Each draft can be previewed within the editor. This allows users to review their drafts before finalizing their content.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't find a way to preview the draft so probably users will have hard times with it too

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can review the draft by clicking on it. On the list, we see a part of it, and after clicking on it, we see the entire draft. I will add it to the text.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, check the new changes, now we can edit the drafts and we show by default 3 drafts with a (show all) option

universal-editor-richtext-draft/extension-manifest.json Outdated Show resolved Hide resolved
universal-editor-richtext-draft/package.json Outdated Show resolved Hide resolved
ahajji87 and others added 9 commits June 25, 2024 10:33
Co-authored-by: Olena Orobei <oorobei@adobe.com>
Co-authored-by: Olena Orobei <oorobei@adobe.com>
…src/src/components/ExtensionRegistration.js

Co-authored-by: Olena Orobei <oorobei@adobe.com>
…src/src/components/RichTextDraftsRail.js

Co-authored-by: Olena Orobei <oorobei@adobe.com>
…ons/save-draft/index.js

Co-authored-by: Olena Orobei <oorobei@adobe.com>
@lenaorobei lenaorobei requested a review from kokoc June 28, 2024 13:41
@ahajji87 ahajji87 merged commit 3a16dd0 into main Jul 2, 2024
3 checks passed
@ahajji87 ahajji87 deleted the SITES-22608-Add-UE-reach-text-drafts-extension branch July 2, 2024 08:58
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.

4 participants