feat(editor): add undo redo icons to editor - I204#212
feat(editor): add undo redo icons to editor - I204#212DianaLease merged 10 commits intoaccordproject:mainfrom
Conversation
✅ Deploy Preview for ap-template-playground ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
@teja-pola is there any implementation doc for this? I mean, just want to understand why the feature was necessary. Thanks. |
| from the template. | ||
| </span> | ||
| <div> | ||
| <FaUndo onClick={undo} style={{ cursor: "pointer", color: textColor, marginRight: "8px" }} /> |
There was a problem hiding this comment.
Good implementation here to use react icons. Also add title so that if there is a crawler then can understand what is it.
uhh, i think there is a good use of this feature, since its a editor after all, undo redo really helps someone while editing. |
Totally agree here @surya4419 , but just wanted a doc to understand how the design is and we can make a compontent out of it and use in every editor possible in future. |
3e575df to
c9cdc49
Compare
DianaLease
left a comment
There was a problem hiding this comment.
When I click the undo/redo buttons, I see the changes reflected in the code editor but not in the preview pane and it also doesn't update any errors in the code editor. For example, if I make a change that results in an error and then hit undo, the error still persists.
@DianaLease Thanks for your observation. I will work on them, btw could you please specify what type of error you talking about, that could help me tackle this more better. |
For example, in the concerto model editor, change the text "line1" to "line12" and see an error pop-up:
|
|
@DianaLease This is done. Will update to latest main once you merge #206 (cause its ready to be merged) |
c9cdc49 to
daed493
Compare
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
Signed-off-by: Dharma Teja <dteja2468@gmail.com>
06dcee1 to
5926053
Compare
|
Currently updated with your reviewed changes and main. @DianaLease |
* fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * update is checked Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> --------- Signed-off-by: Dharma Teja <dteja2468@gmail.com>
* fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * update is checked Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> --------- Signed-off-by: Dharma Teja <dteja2468@gmail.com>
* fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * fix(button): fix dark mode toggle click - I201 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * update is checked Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> * feat(editor): add undo redo icons to editor - I204 Signed-off-by: Dharma Teja <dteja2468@gmail.com> --------- Signed-off-by: Dharma Teja <dteja2468@gmail.com> Signed-off-by: surya4419 <suryaa4419@gmail.com>

Closes #204
Changes
AgreementData.tsx,TemplateMarkdown.tsx, andTemplateModel.tsx.useUndoRedo.tsfor better state management.<h3>tag for consistency.Screenshots or Video
Related Issues
Author Checklist
--signoffoption of git commit.mainfromfork:undo-redo-feature.