Commit 8dd5922
Rich Text Versioning app [INTEG-2763] (#10073)
* Rich text setup project - [INTEG-3001] (#10041)
* feat: initialize rich text versioning app with basic structure and components
* move tests to test folder
* add config settings for vite and vitest
* Taking advantage of those jest matchers
* prettier
* Config screen rich text versioning - [INTEG-3008] (#10046)
* wip
wip
* updated
* updating from dist to build (#10050)
* Rich-Text-Versioning: UI adjustments and diff component [INTEG-2976] (#10054)
* creating UI and call to fetch the rich text diff
* adding tests and some refactors
* adding more tests
* adding css style to Dialog location
* removing html-diff-ts that was not used
* correction of PRs
* Config screen - Add field content type multi selector [INTEG-3009] (#10053)
* wip
* wip
* Fix emotion issue
* simplifying and upping the state to config screen
* update label
* adjusting margins
* adjusting labels
* refactoring
* fix test
* update deps
* fixing because conflict with 7.0 version
* refsctoring test
* removing unwanted test
* renaming
* simplifying mapping
* changes per comments
* fixes after merge
* Rich-Text-Versioning: Error handling and cma call refactor [INTEG-3013] (#10059)
* creating UI and call to fetch the rich text diff
* adding tests and some refactors
* adding more tests
* adding css style to Dialog location
* removing html-diff-ts that was not used
* first version of error handling
* using sdk to get the published version + refactor in tests
* adjusting the width and height of the dialog if there is an error
* formating with prettier after rebase
* updating package-lock.json
* update in mockSdk to fix tests after rebase
* adding css style in Dialog.styles.ts
* correction of pr comments
* removing some prettier format
* Rich-Text-Versioning: Removing access token [INTEG-3027] (#10060)
* removing access token from the config screen
* removing api key tests + ContentfulApiKeyInput component
* Rich-Text-Versioning: fixing bugs in error handling [INTEG-3028] (#10061)
* correction in the Field catch to fix test
* refactor in onButtonClick to fix the dialog error width
* refactor to remove unnecessary errorInfo state + refactor in Dialog styles
* correcting tests
* leaving the correct query key back again
* fix current content not being displayed when published content is empty (#10062)
* References rich text [INTEG-2977] (#10063)
* wip
* wip
* comments
* joas approach!
* rename
* Update loading condition in HtmlDiffViewer to include diffHtml check
* this doesn't need to be optional
* wip
* Making single call
* wip
* Rough error handling
* Add entry title and status utilities; refactor HtmlDiffViewer and Dialog components
* fix
* Handling errors
* removing unused
* removing unused deps
* Update dependencies to include @contentful/rich-text-types version 16.1.0 in package.json and package-lock.json
* Fixing type issues
* adding tests
* entry not found
* removing afterEach
* adding margin bottom in createOptions embedded entry
* Refactor createOptions and Dialog components to use locale parameter for entry status and title retrieval; remove unused dependencies from package.json and package-lock.json.
---------
Co-authored-by: francobanfi <[email protected]>
* Fix localization edge cases [] (#10068)
* fix issue
* Localization dIff fix
* Rich text versioning: Asset support [INTEG-3019] (#10069)
* Rich text versioning: Add asset support
* Fix node type
* Update tests logic for changed field
* Rich text: demo fixes [] (#10072)
* Adjust button and deleted references styles
* Remove badge
* Visual adjustments
* fix: add more security around xss attack when setting inner html
* fix: build issues
* Close modal on click outside or esc
* Update definition id
---------
Co-authored-by: JuliRossi <[email protected]>
Co-authored-by: Franco Banfi <[email protected]>
Co-authored-by: francobanfi <[email protected]>
Co-authored-by: ryunsong-contentful <[email protected]>1 parent 431d964 commit 8dd5922
File tree
32 files changed
+10400
-0
lines changed- apps/rich-text-versioning
- src
- components
- locations
- test
- components
- locations
- mocks
32 files changed
+10400
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments