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

[Backport 4.6.0-7.10] Redesign deploy new agent page #5751

Closed
wants to merge 1 commit into from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 1, 2023

Backport b8298b4 from #5457.

* parent component

* Added a title to the container and updated filenames

* Update register-agent.scss

* [Redesign add agent] Register agent reuse common/form component (Settings > Configuration) (#5446)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* Remove react use inside hook test file

* Fix review requested changes

* [Redesign add agent] Add register agent command generator (#5469)

* Create reusable card for operating systems (#5462)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* Update os-card.scss

* macos card update

* undoing merging as it was causing checkboxes not to work

* test

* file ds_store

* file ds_store

* file ds_store

* remove files DS_store

* remove files DS_store

---------

Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>

* 5518 inputs logic server address name password and group (#5554)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5, reversing
changes made to 5a0d2cb.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* removing console css warnings

* fixed regex fqdn

* fixed regex fqdn

* data

* changelog

* changelog

---------

Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>

* [Redesign add agent] Integration commands generator with UI (#5593)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5, reversing
changes made to 5a0d2cb.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* Add register agent form values parser

* Remove extension on operating system type

* Add command sections with form values

* Create new components for steps inputs

* Fix some types

* Renamed some options

* Move commands config inside core folder

* Fix server address error message display

* Create methods to get form steps status

* Allow select more than group

* Hide agent group param when is empty

* Fix steps form statuses

* Remove break lines in commands

* Add white space in error messages

* Fix steps form status

* Added new command component white custom copy and language

* Fixed step form status

---------

Co-authored-by: chantal.kelm <chantal.kelm@wazuh.com>
Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>

* [Redesign add agent] Dark mode (#5620)

* remove custom color styles to make the elastic dark mode work by default on the agent registration page

* add development for images to have dark mode in the section deploy a new agent

* changelog about dark mode

* Cleaning console.log from assets file

* Adding suggested style modifications in the agent registration section

* add a style hint so that text cannot be selected on cards

* add suggested changes to the styles in the register an agent section

* correction added to the word wizard

* added coding enhancements in the agent registration section

* adding an enhancement to eliminate the console error

* adding an enhancement to eliminate the console error

* [Redesign add agent] Add and validate register agent commands (#5622)

* Add show/hide password in command component

* Add protocol and password types

* Add more step status methods

* Add os commands service

* Resolve strings replacements in command component

* Change macos packages name by arch

* Add \n to the macos params

* Fixed parsed macos params inside echo

* Add -e in mac os install command

* Remove sudo from macos install command with echo

* Add sudo to linux before optional params

* Fix PR review comments

* Fixed imports in tests

* Fix components unit tests

* Fix unit test checkbox group component

* Fix os card unit test with mock uiSettings

* modify the fqdn regex because it interferes with an ipv4 instance

* [Redesign add page] Add form status callout message (#5634)

* Add form status manager and unit tests

* Add empty and invalid fields messages

* Hide commands code block when exists warning messages

* Fix fields names in warning messages

* Updated CHANGELOG

* Step 2: the design triggers warnings (#5649)

* changing design to remove console warnings

* update changelog

* Changes in the display of pop-up windows in the agents log section

* semicolon is added

* update changelog

* update changelog

* Add requested fixs on texts

* Add new rpm and deb install commands

* modify fqdn regex

* Fix server address validation unit test

* Add type in command output types

---------

Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>
Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
(cherry picked from commit b8298b4)
@github-actions github-actions bot requested a review from a team as a code owner August 1, 2023 19:24
@Machi3mfl
Copy link
Member

Backports are not necessary for the 4.6.0 release.

@Machi3mfl Machi3mfl closed this Aug 2, 2023
@Machi3mfl Machi3mfl deleted the backport-5457-to-4.6.0-7.10 branch August 2, 2023 12:32
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.

2 participants