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

Update master #1114

Merged
merged 21 commits into from
Jan 17, 2024
Merged

Update master #1114

merged 21 commits into from
Jan 17, 2024

Conversation

Oleh-Kril
Copy link
Contributor

No description provided.

ValDekh and others added 21 commits January 10, 2024 17:02
* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>
* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>
* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR
* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url
* Develop (#1084)

* Hide a slide outline

* fix news modal from closing when image is not created (#1061)

* - getting news from cache - green notification on news modal success (#1063)

* fix scrolling to the main text (#1075)

* remove react helmet + add banner (#1072)

* Fixed progress bar visibility and popups (#1070)

* Fixed progress bar visibility and popups

* add animation transition to make it smoother

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fix issue 847 Fix Url Ref (#1068)

* Fix PrivatePolicy streetcode reference

* Change ref to https://streetcode.com.ua

* Add some fix

* Fixed the amount buttons and input in donates modal (#1060)

* Fix news image on safari (#1058)

* refactor newsImage styles

* add max-height

* Fix for fans category editing (#1037)

* Fixed unavalaible categories on new streetcode

* Fixed category editing of for fans categories

* Made a mobile ornament with varying lengths for screens with a width … (#1030)

* Made a mobile ornament with varying lengths for screens with a width of 480 pixels or less

* adjust margins to correspond design

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fixed Issue 870, 871 (#1025)

* Add red * to Timeline date field and vanish an error

* Fix logic when error message shoud vanish

* fix data check in timelineAdminModal

* set fixed position for arrows in connection(streetcode) (#1029)

* set fixed position for arrows in connection(streetcode)

* adjust position of arrows

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix our partners title (#1022)

now it takes only 1 row instead of 2

* Refactor teams modal & list (#1069)

* Refactor teams modal & list

* remove commented code

* Jest config (#1028)

* Configured Jest

* Configured Jest

* Adding/modifying code spliting for dev and prod setups (#1041)

* modify_bundle_split_for_dev_setup

* adding_bundle_split_to_prod_condig

* adding_entry_to_gitignore_file

* adding_empty_line

* adjust admin page styles (#1066)

* Refactor partner modal (#1073)

* refactor code part 1 - reduce code amount

* refactor image uploading logic to make it correct

* Minor changes and improvements (#1042)

* adding_check-node-version_lib_and engine_configs

* update_package-lock_and_yarn-lock_files

* edit_readme_file

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Issue 604 (Change padding in main text field) (#1077)

* Change padding in the text field

* adjust on phone

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix related events modal (#1080)

* deleted scroll up on mobile and tablet

* update components

* add loading all tags

* update streetcode components

* update tags modal

* update tags slider

* delete streetcodeid

* update related figure

* - refactor code (no business logic changes) (#1065)

* run linter (#1081)

* revert_resolve_path_for_dev_build

* revert_resolve_path_for_prod_build

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* Update master (#1101)

* Change amount of pictures for different size of screen (#1096)

* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Gmail is opened in new tab (#1087)

* - refactor to open in a new tab (#1093)

* fix modals closing (#1085)

* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>

* New editor v2 (#1086)

* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR

* Dynamics meta tags (#1095)

* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url

---------

Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>
* Develop (#1084)

* Hide a slide outline

* fix news modal from closing when image is not created (#1061)

* - getting news from cache - green notification on news modal success (#1063)

* fix scrolling to the main text (#1075)

* remove react helmet + add banner (#1072)

* Fixed progress bar visibility and popups (#1070)

* Fixed progress bar visibility and popups

* add animation transition to make it smoother

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fix issue 847 Fix Url Ref (#1068)

* Fix PrivatePolicy streetcode reference

* Change ref to https://streetcode.com.ua

* Add some fix

* Fixed the amount buttons and input in donates modal (#1060)

* Fix news image on safari (#1058)

* refactor newsImage styles

* add max-height

* Fix for fans category editing (#1037)

* Fixed unavalaible categories on new streetcode

* Fixed category editing of for fans categories

* Made a mobile ornament with varying lengths for screens with a width … (#1030)

* Made a mobile ornament with varying lengths for screens with a width of 480 pixels or less

* adjust margins to correspond design

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fixed Issue 870, 871 (#1025)

* Add red * to Timeline date field and vanish an error

* Fix logic when error message shoud vanish

* fix data check in timelineAdminModal

* set fixed position for arrows in connection(streetcode) (#1029)

* set fixed position for arrows in connection(streetcode)

* adjust position of arrows

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix our partners title (#1022)

now it takes only 1 row instead of 2

* Refactor teams modal & list (#1069)

* Refactor teams modal & list

* remove commented code

* Jest config (#1028)

* Configured Jest

* Configured Jest

* Adding/modifying code spliting for dev and prod setups (#1041)

* modify_bundle_split_for_dev_setup

* adding_bundle_split_to_prod_condig

* adding_entry_to_gitignore_file

* adding_empty_line

* adjust admin page styles (#1066)

* Refactor partner modal (#1073)

* refactor code part 1 - reduce code amount

* refactor image uploading logic to make it correct

* Minor changes and improvements (#1042)

* adding_check-node-version_lib_and engine_configs

* update_package-lock_and_yarn-lock_files

* edit_readme_file

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Issue 604 (Change padding in main text field) (#1077)

* Change padding in the text field

* adjust on phone

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix related events modal (#1080)

* deleted scroll up on mobile and tablet

* update components

* add loading all tags

* update streetcode components

* update tags modal

* update tags slider

* delete streetcodeid

* update related figure

* - refactor code (no business logic changes) (#1065)

* run linter (#1081)

* revert_resolve_path_for_dev_build

* revert_resolve_path_for_prod_build

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* Update master (#1101)

* Change amount of pictures for different size of screen (#1096)

* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Gmail is opened in new tab (#1087)

* - refactor to open in a new tab (#1093)

* fix modals closing (#1085)

* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>

* New editor v2 (#1086)

* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR

* Dynamics meta tags (#1095)

* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url

---------

Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>
* install_new_modules_in-dev_dependencies

* edit_jest_config_file

* refactor_DeleteStreetcodeModal.component,tsx

* adding_mock_for_root-store

* adding_mock_for_modal

* adding_unit_test_for_DeleteStreetcodeModal

* fix_comment

* fix_comment

* restore_mobx

* change_type

* rename_constans_file

* refactor_mock

* refactor_modal_mock

* adding_test_cases_with_getByRole

* refactor_component_after_merge_with_develop

* fix_UT

* fix_lint

* improve_UT
…gth (#1107)

* Fixed bug with main/additional texts

* Fixed improper length validation in modals (ReactQuill editor)

* Removed the inaccuracy in the editor

* Added ability to press Ctrl+A
* Fixed indents in news page

* Fixed bug with indents for tinymce texts

* Fixed bug with improper indents

* Renamed utility

* Fixed styles with indents - for fans modal
* Update master 2 (#1105)

* Change amount of pictures for different size of screen (#1096)

* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Gmail is opened in new tab (#1087)

* - refactor to open in a new tab (#1093)

* fix modals closing (#1085)

* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>

* New editor v2 (#1086)

* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR

* Dynamics meta tags (#1095)

* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url

* Update develop (#1102)

* Develop (#1084)

* Hide a slide outline

* fix news modal from closing when image is not created (#1061)

* - getting news from cache - green notification on news modal success (#1063)

* fix scrolling to the main text (#1075)

* remove react helmet + add banner (#1072)

* Fixed progress bar visibility and popups (#1070)

* Fixed progress bar visibility and popups

* add animation transition to make it smoother

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fix issue 847 Fix Url Ref (#1068)

* Fix PrivatePolicy streetcode reference

* Change ref to https://streetcode.com.ua

* Add some fix

* Fixed the amount buttons and input in donates modal (#1060)

* Fix news image on safari (#1058)

* refactor newsImage styles

* add max-height

* Fix for fans category editing (#1037)

* Fixed unavalaible categories on new streetcode

* Fixed category editing of for fans categories

* Made a mobile ornament with varying lengths for screens with a width … (#1030)

* Made a mobile ornament with varying lengths for screens with a width of 480 pixels or less

* adjust margins to correspond design

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fixed Issue 870, 871 (#1025)

* Add red * to Timeline date field and vanish an error

* Fix logic when error message shoud vanish

* fix data check in timelineAdminModal

* set fixed position for arrows in connection(streetcode) (#1029)

* set fixed position for arrows in connection(streetcode)

* adjust position of arrows

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix our partners title (#1022)

now it takes only 1 row instead of 2

* Refactor teams modal & list (#1069)

* Refactor teams modal & list

* remove commented code

* Jest config (#1028)

* Configured Jest

* Configured Jest

* Adding/modifying code spliting for dev and prod setups (#1041)

* modify_bundle_split_for_dev_setup

* adding_bundle_split_to_prod_condig

* adding_entry_to_gitignore_file

* adding_empty_line

* adjust admin page styles (#1066)

* Refactor partner modal (#1073)

* refactor code part 1 - reduce code amount

* refactor image uploading logic to make it correct

* Minor changes and improvements (#1042)

* adding_check-node-version_lib_and engine_configs

* update_package-lock_and_yarn-lock_files

* edit_readme_file

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Issue 604 (Change padding in main text field) (#1077)

* Change padding in the text field

* adjust on phone

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix related events modal (#1080)

* deleted scroll up on mobile and tablet

* update components

* add loading all tags

* update streetcode components

* update tags modal

* update tags slider

* delete streetcodeid

* update related figure

* - refactor code (no business logic changes) (#1065)

* run linter (#1081)

* revert_resolve_path_for_dev_build

* revert_resolve_path_for_prod_build

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* Update master (#1101)

* Change amount of pictures for different size of screen (#1096)

* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Gmail is opened in new tab (#1087)

* - refactor to open in a new tab (#1093)

* fix modals closing (#1085)

* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>

* New editor v2 (#1086)

* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR

* Dynamics meta tags (#1095)

* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url

---------

Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* - temporary remove AgentFrontend (#1103)

* Update develop (#1102)

* Develop (#1084)

* Hide a slide outline

* fix news modal from closing when image is not created (#1061)

* - getting news from cache - green notification on news modal success (#1063)

* fix scrolling to the main text (#1075)

* remove react helmet + add banner (#1072)

* Fixed progress bar visibility and popups (#1070)

* Fixed progress bar visibility and popups

* add animation transition to make it smoother

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fix issue 847 Fix Url Ref (#1068)

* Fix PrivatePolicy streetcode reference

* Change ref to https://streetcode.com.ua

* Add some fix

* Fixed the amount buttons and input in donates modal (#1060)

* Fix news image on safari (#1058)

* refactor newsImage styles

* add max-height

* Fix for fans category editing (#1037)

* Fixed unavalaible categories on new streetcode

* Fixed category editing of for fans categories

* Made a mobile ornament with varying lengths for screens with a width … (#1030)

* Made a mobile ornament with varying lengths for screens with a width of 480 pixels or less

* adjust margins to correspond design

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fixed Issue 870, 871 (#1025)

* Add red * to Timeline date field and vanish an error

* Fix logic when error message shoud vanish

* fix data check in timelineAdminModal

* set fixed position for arrows in connection(streetcode) (#1029)

* set fixed position for arrows in connection(streetcode)

* adjust position of arrows

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix our partners title (#1022)

now it takes only 1 row instead of 2

* Refactor teams modal & list (#1069)

* Refactor teams modal & list

* remove commented code

* Jest config (#1028)

* Configured Jest

* Configured Jest

* Adding/modifying code spliting for dev and prod setups (#1041)

* modify_bundle_split_for_dev_setup

* adding_bundle_split_to_prod_condig

* adding_entry_to_gitignore_file

* adding_empty_line

* adjust admin page styles (#1066)

* Refactor partner modal (#1073)

* refactor code part 1 - reduce code amount

* refactor image uploading logic to make it correct

* Minor changes and improvements (#1042)

* adding_check-node-version_lib_and engine_configs

* update_package-lock_and_yarn-lock_files

* edit_readme_file

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Issue 604 (Change padding in main text field) (#1077)

* Change padding in the text field

* adjust on phone

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix related events modal (#1080)

* deleted scroll up on mobile and tablet

* update components

* add loading all tags

* update streetcode components

* update tags modal

* update tags slider

* delete streetcodeid

* update related figure

* - refactor code (no business logic changes) (#1065)

* run linter (#1081)

* revert_resolve_path_for_dev_build

* revert_resolve_path_for_prod_build

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* Update master (#1101)

* Change amount of pictures for different size of screen (#1096)

* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Gmail is opened in new tab (#1087)

* - refactor to open in a new tab (#1093)

* fix modals closing (#1085)

* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>

* New editor v2 (#1086)

* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR

* Dynamics meta tags (#1095)

* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url

---------

Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* - temporary remove AgentFrontend (#1103)

---------

Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* try to fix donate button

---------

Co-authored-by: Oleh-Kril <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>
* hotfix editor main/additional texts

* Cleaned code
* Develop (#1084)

* Hide a slide outline

* fix news modal from closing when image is not created (#1061)

* - getting news from cache - green notification on news modal success (#1063)

* fix scrolling to the main text (#1075)

* remove react helmet + add banner (#1072)

* Fixed progress bar visibility and popups (#1070)

* Fixed progress bar visibility and popups

* add animation transition to make it smoother

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fix issue 847 Fix Url Ref (#1068)

* Fix PrivatePolicy streetcode reference

* Change ref to https://streetcode.com.ua

* Add some fix

* Fixed the amount buttons and input in donates modal (#1060)

* Fix news image on safari (#1058)

* refactor newsImage styles

* add max-height

* Fix for fans category editing (#1037)

* Fixed unavalaible categories on new streetcode

* Fixed category editing of for fans categories

* Made a mobile ornament with varying lengths for screens with a width … (#1030)

* Made a mobile ornament with varying lengths for screens with a width of 480 pixels or less

* adjust margins to correspond design

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fixed Issue 870, 871 (#1025)

* Add red * to Timeline date field and vanish an error

* Fix logic when error message shoud vanish

* fix data check in timelineAdminModal

* set fixed position for arrows in connection(streetcode) (#1029)

* set fixed position for arrows in connection(streetcode)

* adjust position of arrows

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix our partners title (#1022)

now it takes only 1 row instead of 2

* Refactor teams modal & list (#1069)

* Refactor teams modal & list

* remove commented code

* Jest config (#1028)

* Configured Jest

* Configured Jest

* Adding/modifying code spliting for dev and prod setups (#1041)

* modify_bundle_split_for_dev_setup

* adding_bundle_split_to_prod_condig

* adding_entry_to_gitignore_file

* adding_empty_line

* adjust admin page styles (#1066)

* Refactor partner modal (#1073)

* refactor code part 1 - reduce code amount

* refactor image uploading logic to make it correct

* Minor changes and improvements (#1042)

* adding_check-node-version_lib_and engine_configs

* update_package-lock_and_yarn-lock_files

* edit_readme_file

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Issue 604 (Change padding in main text field) (#1077)

* Change padding in the text field

* adjust on phone

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix related events modal (#1080)

* deleted scroll up on mobile and tablet

* update components

* add loading all tags

* update streetcode components

* update tags modal

* update tags slider

* delete streetcodeid

* update related figure

* - refactor code (no business logic changes) (#1065)

* run linter (#1081)

* revert_resolve_path_for_dev_build

* revert_resolve_path_for_prod_build

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* Update master (#1101)

* Change amount of pictures for different size of screen (#1096)

* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Gmail is opened in new tab (#1087)

* - refactor to open in a new tab (#1093)

* fix modals closing (#1085)

* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>

* New editor v2 (#1086)

* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR

* Dynamics meta tags (#1095)

* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url

---------

Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>
* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url
* Develop (#1084)

* Hide a slide outline

* fix news modal from closing when image is not created (#1061)

* - getting news from cache - green notification on news modal success (#1063)

* fix scrolling to the main text (#1075)

* remove react helmet + add banner (#1072)

* Fixed progress bar visibility and popups (#1070)

* Fixed progress bar visibility and popups

* add animation transition to make it smoother

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fix issue 847 Fix Url Ref (#1068)

* Fix PrivatePolicy streetcode reference

* Change ref to https://streetcode.com.ua

* Add some fix

* Fixed the amount buttons and input in donates modal (#1060)

* Fix news image on safari (#1058)

* refactor newsImage styles

* add max-height

* Fix for fans category editing (#1037)

* Fixed unavalaible categories on new streetcode

* Fixed category editing of for fans categories

* Made a mobile ornament with varying lengths for screens with a width … (#1030)

* Made a mobile ornament with varying lengths for screens with a width of 480 pixels or less

* adjust margins to correspond design

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Fixed Issue 870, 871 (#1025)

* Add red * to Timeline date field and vanish an error

* Fix logic when error message shoud vanish

* fix data check in timelineAdminModal

* set fixed position for arrows in connection(streetcode) (#1029)

* set fixed position for arrows in connection(streetcode)

* adjust position of arrows

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix our partners title (#1022)

now it takes only 1 row instead of 2

* Refactor teams modal & list (#1069)

* Refactor teams modal & list

* remove commented code

* Jest config (#1028)

* Configured Jest

* Configured Jest

* Adding/modifying code spliting for dev and prod setups (#1041)

* modify_bundle_split_for_dev_setup

* adding_bundle_split_to_prod_condig

* adding_entry_to_gitignore_file

* adding_empty_line

* adjust admin page styles (#1066)

* Refactor partner modal (#1073)

* refactor code part 1 - reduce code amount

* refactor image uploading logic to make it correct

* Minor changes and improvements (#1042)

* adding_check-node-version_lib_and engine_configs

* update_package-lock_and_yarn-lock_files

* edit_readme_file

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Issue 604 (Change padding in main text field) (#1077)

* Change padding in the text field

* adjust on phone

---------

Co-authored-by: Oleh-Kril <[email protected]>

* fix related events modal (#1080)

* deleted scroll up on mobile and tablet

* update components

* add loading all tags

* update streetcode components

* update tags modal

* update tags slider

* delete streetcodeid

* update related figure

* - refactor code (no business logic changes) (#1065)

* run linter (#1081)

* revert_resolve_path_for_dev_build

* revert_resolve_path_for_prod_build

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>

* Update master (#1101)

* Change amount of pictures for different size of screen (#1096)

* Change amount of pictures for different size of sreenview

* - change breakpoint to standard 768

---------

Co-authored-by: Oleh-Kril <[email protected]>

* Gmail is opened in new tab (#1087)

* - refactor to open in a new tab (#1093)

* fix modals closing (#1085)

* fix modals closing

* separate arrow function from props

---------

Co-authored-by: Oleh-Kril <[email protected]>

* New editor v2 (#1086)

* Initial react-quill config (news/main streetcode text). Needs cleaning & refactoring

* Added quill everywhere, needs refactoring

* cleaned code

* Fixed text updating in ForFans admin block

* Added utility to convert content to quill delta

* Added validation when empty text fields in modals

* Fixed bug with max length quill

* Added the impossibility of saving a record with improper length

* Cleaned code

* Refactoring of editor

* Removed package-lock.json changes from PR

* Dynamics meta tags (#1095)

* modify index.html

* add server and configure metadata for news

* add dynamic metatags for streetcodes

* moved news file to another folder

* run linter

* add update for news (not completed)

* adjust put and delete

* handle delete and update of streetcode and news

* add part of tests

* -add api error filter

* - cover with tests & refactor

* - refactor code to separate logic and reduce code complexity

* - test get and update

* - write tests for delete
- refactor to use constants
- add all urls-to-omit

* fix comments

* fix comments:
- refactor to use destructuring assigment
- remove comments
- move some lines to constants

* remove stageback url

---------

Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>

---------

Co-authored-by: ValDekh <[email protected]>
Co-authored-by: Valerii Dekhtiyk <[email protected]>
Co-authored-by: Bohdan Bozhyk <[email protected]>
Co-authored-by: BohdanBybliv <[email protected]>
Co-authored-by: mykola-krai <[email protected]>
Co-authored-by: Kateryna Yatsiuk <[email protected]>
Co-authored-by: Roman Serhiychuk <[email protected]>
Co-authored-by: Rominos7 <[email protected]>
* hotfix editor main/additional texts

* Cleaned code
@Oleh-Kril Oleh-Kril merged commit 773820e into master Jan 17, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants