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

Added content uploading and view #1113

Merged
merged 3 commits into from
Sep 12, 2023
Merged

Conversation

mxrcury
Copy link
Contributor

@mxrcury mxrcury commented Sep 5, 2023

Added uploading content of lesson to the backend, sanitizing and viewing it on lesson details page
Example content:
screen2

Sanitized content:
2023-09-05-194715_1284x829_scrot

@mxrcury mxrcury merged commit 319dd5f into develop Sep 12, 2023
1 of 2 checks passed
@mxrcury mxrcury deleted the feature/1094/sinitize-lesson-content branch September 12, 2023 09:23
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

81.0% 81.0% Coverage
0.0% 0.0% Duplication

Mav-Ivan pushed a commit that referenced this pull request Sep 18, 2023
Mav-Ivan pushed a commit that referenced this pull request Sep 18, 2023
Mav-Ivan pushed a commit that referenced this pull request Sep 19, 2023
Mav-Ivan pushed a commit that referenced this pull request Sep 19, 2023
* Implemented unit test for FindOffers component

* Made less mock data

Created chat sidebar component (#978)

* created chat sidebar component

* some improvements

* fixed translation & date formating errors

* fixed tests

* removed 'see all' functionality

* fixed conflicts problem

* resolved another conflict

* used constant approaches

* types fixed

* removed redundant fields from typed

Added send message functionality to the chat (#1022)

* Added send message functionality to chat

* fixed comments

Add list of attachments to resource page  (#1023)

* added attachment container to resource page with data

* fixed undefined in IconExtention

* fix comments and orginized imports

* fix conflicts

* updated and fixed some comments

Created modal window for add attachments to new lesson (#1024)

* Created moal window for add attachments to a lesson

* fixed test

* fixed styles

* fixed double import

* fixed comments

* fixed comments, added test

* Fixed comments

* input icon position change

* Moved imports

* fixed translations

Added table of quizzes to resource page (#1020)

* Implemented table of quizzes

* Deleted console.log

* Fixed comments

* Fixed comments

* Small fix

* Fixed attachment table styles

* Fixed code smell

* Fixed code smell

* Fixed transitional

Implemented "New lesson" page (#1019)

* implemented new lesson page

* refactored code

* bag fix

* fix translation

---------

Co-authored-by: Anatoliy Sarakhman <[email protected]>

Changed the type of cursor

Changed chat on chatPage (#1040)

imlemented quiz deletion for my cooperation page (#1035)

Search by message (#1025)

* fixed troubles

* main commit

* added IconsWithCounter

* fixed mistakes

* fixed mistakes

* fixed mistake

* fixed issues

* return test back

* fixed imports

* added tests

* fixed issues

implemented search for table of quizzes (#1034)

* implemented search for table of quizzes

* refactor AddResource btn

* changed test

* fix

Fixed TinyMCE warnings with packages and key  (#1055)

* fixed TinyMCE key and packages warnings

* fixed imports

Separate messages by date and hide avatar for same author (#1032)

* separate messages by date

* fix

* fix translation

implemented selection attachments (#1042)

* added initial functionality

* fix

* fix

* made some refactors

* changed imports

* changed styles

* added default value

* changed test

Implemented pagination for attachments tab (#1056)

Added filter for attachment modal window (#1057)

* Added filter for attachment modal window

* Fixed sort field

Added sorting to quizzes tab (#1043)

* added sorting to quizzes tab

* removed redundant destructured variable

* renamed variable

* fixed code smell

Add sort to attachments on myResources (#1059)

* fix conflicts

* fix conflicts 3

implemented search with functionality (#1026)

* implemented search with functionality

* added FC type for container

* fix

* removed FC

* removed unnecessary var

* fixed

* fix type

* refactored search

* fix github warning

Implemented attachments list to "New lesson" (#1064)

* init

* added state for attachments

* added sending attachment with lesson creation

* fix test

* fix styles

* fixed styles

Inplemented uploading files (#1027)

* Inplemented uploading files

* Fixed codesmells

* Added checking on type

* Small fix

* Added type

* Move uploadin to modal window

* Small fix

* Fixed buttons

* Fixed buttons

* Smal fix

* Smal fix

* Fixed comments

* Fixed comment

* Fixed code smell

* Fixed rebase

Implemented chat dialog window on offer details page (#1033)

* Implemented chat dialog window

* Fixed translations

* Fixed comments

* Move out onClick

* Added test for ChatDialogWindow

Implemented edit lesson (#1065)

* Implemented edit lesson

* Fix error

* Small fix

* Fixed route

* Added loader

Added lesson details page (#1083)

Added lesson details on page (#1085)

* Added lesson details page

* Small fix

* Small fix

Added deletion for attachments in 'my resources' (#1060)

* added deletion for attachments in 'my resources'

* added alias for fetching attachments

* fixed lint errors

* fixed conflicts

Add pagination to quizzes (#1062)

* fixed troubles

* fixed issues

* fixed

Question page (#1084)

* fixed troubles

* added questions page

* fixed mistakes n added test

implemented rename functionality for attachment (#1063)

* implemented rename functionality for attachment

* added error message for validation

* fix

implemented see all functionality for chat sidebar (#1086)

* implemented see all functionality for chat sidebar

* added test and some fixes

* fix

* fix lint

Implemented create or edit answer component (#1119)

* Implemented create or edit answer component

* Fixed code smell

* Moved typy to types

* Fixed comments

* Changed name component

refactored my resources page tables (#1115)

* refactored my resources page tables

* fix

* refactor props

* fix type

* rebase

* fix

Implementation new quiz route (#1108)

* fixed troubles

* impelement new-quiz rote

* added test

* changed text

Added content uploading and view (#1113)

* init

* fixed

Added "Add attachment" to attachments table (#1110)

* Inplemented uploading files

* Small fix

* Added type

* Move uploadin to modal window

* Small fix

* Fixed buttons

* Fixed buttons

* Fixed comments

* Fixed comment

* Added sorting to quizzes tab (#1043)

* added sorting to quizzes tab

* removed redundant destructured variable

* renamed variable

* fixed code smell

* Add sort to attachments on myResources (#1059)

* fix conflicts

* fix conflicts 3

* init

* finished

* fix

* fix

* fix

* fix

* refactored styles

* fixed conflicts

* fix

---------

Co-authored-by: Yura Didenko <[email protected]>
Co-authored-by: Taras Chaika <[email protected]>
Co-authored-by: Artur Bekh <[email protected]>

implemented questions table (#1124)

* implemented questions table

* fixed comment and added description for title field

* fix lint

Implement edit lesson button (#1117)

* fixed troubles

* added button with redirect

* fixed mistakes

* fixed mistakes

Added a new question page (#1122)

* Added a new question page

* Added route for button

Created new quiz tabs with mocked data (#1130)

* created new quiz tabs with mocked data

* made improvements

* removed redundant import

Search by messages in chat (#1116)

* fixed conflicts

* fixed some tests

* fix conflicts

* fix some bugs in search

* fixed tests

fix conflicts (#1125)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

7 participants