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: rich text and user mention components (DHIS2-15522) #1525

Merged
merged 35 commits into from
Jun 6, 2024
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
12217ef
feat: add rich text editor/parser components
edoardo Jun 23, 2023
e83d954
refactor: use rich text parser/editor components from analytics
edoardo Jun 23, 2023
9b06ca7
refactor: convert to functional component
edoardo Jun 23, 2023
bb62385
fix: attempt to fix issue with rebase
edoardo Feb 6, 2024
903adea
feat: moved RichText and UserMention out of Intepretation components
edoardo Jun 28, 2023
d8c5e1c
chore: remove duplicated "renamed" folder
edoardo Jun 28, 2023
6375637
feat: add inputHeight prop to control textarea rows
edoardo Jun 28, 2023
469edef
test: add data-test attribute for testing
edoardo Jul 4, 2023
64c6aff
test: use testing-library in place of enzyme
edoardo Jul 4, 2023
41a1c3a
chore: remove unused default export
edoardo Jul 4, 2023
513ecdd
fix: respect new lines in preview mode DHIS2-15536
edoardo Jul 5, 2023
53055e8
fix: use same styles for text in edit and preview mode DHIS2-15537
edoardo Jul 5, 2023
167aead
fix: add prop for controlling autofocus DHIS2-15541
edoardo Jul 10, 2023
286c87c
fix: keep toolbar fixed in edit/preview mode DHIS2-15539
edoardo Jul 10, 2023
320add3
fix: add prop for controlling resizable textarea DHIS2-15540
edoardo Jul 10, 2023
6354c8b
fix: make textarea resize according to parent DHIS2-15535
edoardo Jul 11, 2023
be0f20e
fix: show search results for the same query (DHIS2-15542)
edoardo Jul 14, 2023
cf1b6df
test: fix tests
edoardo Jul 14, 2023
1f7d9dd
fix: port help text in the rich text editor fix (DHIS2-15781)
edoardo Feb 7, 2024
feca769
fix: avoid error with false being returned in useEffect
edoardo Feb 7, 2024
fcccbbc
fix: add cosmetic fixes to rich text textarea
edoardo Feb 7, 2024
aac2588
fix: fix issue with focus shadow
edoardo Feb 8, 2024
95c4a82
Merge remote-tracking branch 'origin/master' into feat/rich-text-user…
edoardo Mar 18, 2024
2d156c7
Merge branch 'master' into feat/rich-text-user-mention-components
jenniferarnesen Apr 3, 2024
e42b903
Merge branch 'master' into feat/rich-text-user-mention-components
edoardo May 2, 2024
45c0a5c
fix: position caret between bold/italic markers DHIS2-17344
edoardo May 7, 2024
6d65877
feat(rich-text): enable heading and lists (DHIS2-17357)
edoardo May 13, 2024
d1e833e
fix: fix user list positioning with wrapping text (DHIS2-17347)
edoardo May 14, 2024
6946377
fix: close user list when clicking outside of it (DHIS2-17345)
edoardo May 14, 2024
57fe99b
Merge branch 'master' into feat/rich-text-user-mention-components
edoardo May 15, 2024
0b56bb5
fix: add a space and put caret after smileys
edoardo May 21, 2024
989a763
fix: close user list when clicking outside (DHIS2-17345)
edoardo May 23, 2024
c5ec619
fix: position the caret between bold/italic markers (DHIS2-17344)
edoardo May 23, 2024
d864d49
fix: avoid sending \n in the user search (DHIS2-17523)
edoardo Jun 5, 2024
23a5c9e
Merge branch 'master' into feat/rich-text-user-mention-components
edoardo Jun 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: remove unused default export
  • Loading branch information
edoardo committed Feb 6, 2024
commit 41a1c3a888b2414200ae5c99d5da241c4c2cce59
2 changes: 0 additions & 2 deletions src/components/UserMention/UserMentionWrapper.js
Original file line number Diff line number Diff line change
@@ -245,5 +245,3 @@ UserMentionWrapper.propTypes = {
onUserSelect: PropTypes.func.isRequired,
children: PropTypes.node,
}

export default UserMentionWrapper