InvenTree/src/frontend
Oliver 2b8e8e52a8
[PUI] Notes editor (#7284)
* Install mdxeditor

* Setup basic toolbar

* Refactoring

* Add placeholder for image upload

* Add fields to link uploaded notes to model instances

* Add custom delete method for InvenTreeNotesMixin

* Refactor CUI notes editor

- Upload model type and model ID information

* Enable image uplaod for PUI editor

* Update <NotesEditor> component

* Fix import

* Add button to save notes

* Prepend the host name to relative image URLs

* Disable image resize

* Add notifications

* Add playwright tests

* Enable "read-only" mode for notes

* Typo fix

* Styling updates to the editor

* Update yarn.lock

* Bump API version

* Update migration

* Remove duplicated value

* Improve toggling between edit mode

* Fix migration

* Fix migration

* Unit test updates

- Click on the right buttons
- Add 'key' properties

* Remove extraneous key prop

* fix api version

* Add custom serializer mixin for 'notes' field

- Pop the field for 'list' endpoints
- Keep for detail

* Update to NotesEditor

* Add unit test
2024-06-04 21:53:44 +10:00
..
public Platform UI - React integration (#5011) 2023-07-18 22:45:49 +10:00
src [PUI] Notes editor (#7284) 2024-06-04 21:53:44 +10:00
tests [PUI] Notes editor (#7284) 2024-06-04 21:53:44 +10:00
.babelrc Platform UI - React integration (#5011) 2023-07-18 22:45:49 +10:00
.gitignore [PUI] Add coverage testing (#6881) 2024-04-03 19:26:38 +11:00
.linguirc Add ukrainian as a language option (#7129) 2024-04-29 16:37:53 +10:00
.prettierrc Platform UI - React integration (#5011) 2023-07-18 22:45:49 +10:00
eslint.config.cjs Bump eslint from 8.57.0 to 9.0.0 in /src/backend (#6979) 2024-04-19 22:11:17 +10:00
index.html P UI: Basic UI & Auth setup (#5207) 2023-07-21 08:54:57 +10:00
netlify.toml [P_UI] Added django settings for p_ui (#5343) 2023-08-10 20:57:33 +10:00
package.json [PUI] Notes editor (#7284) 2024-06-04 21:53:44 +10:00
playwright.config.ts WIP [PUI] Migrate to Mantine v7 (#7028) 2024-05-08 17:42:57 +10:00
tsconfig.json Platform UI - React integration (#5011) 2023-07-18 22:45:49 +10:00
tsconfig.node.json Platform UI - React integration (#5011) 2023-07-18 22:45:49 +10:00
vite.config.ts WIP [PUI] Migrate to Mantine v7 (#7028) 2024-05-08 17:42:57 +10:00
yarn.lock [PUI] Notes editor (#7284) 2024-06-04 21:53:44 +10:00