[APM] Remote Agent Config: Add additional (java) options#59860
[APM] Remote Agent Config: Add additional (java) options#59860sorenlouv merged 37 commits intoelastic:masterfrom
Conversation
There was a problem hiding this comment.
Controversy #1: retrieving search from history singleton. Everywhere else we get it from useLocation hook.
The problem with hooks is that they only work inside react components (not vanilla js) so in general I think when given the choice it's better to use the singleton approach (for consistency).
afact there are no difference between the two approaches. LMK if there are!
x-pack/legacy/plugins/apm/public/components/app/Main/route_config/index.tsx
Outdated
Show resolved
Hide resolved
...s/app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/ServicePage/CancelButton.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
EuiFieldNumber currently don't accept strings. This will change with this PR
...pp/Settings/AgentConfigurations/AgentConfigurationCreateEdit/SettingsPage/SettingFormRow.tsx
Outdated
Show resolved
Hide resolved
...c/components/app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/index.stories.tsx
Outdated
Show resolved
Hide resolved
...y/plugins/apm/public/components/app/Settings/AgentConfigurations/List/ConfirmDeleteModal.tsx
Outdated
Show resolved
Hide resolved
...y/plugins/apm/public/components/app/Settings/AgentConfigurations/List/ConfirmDeleteModal.tsx
Outdated
Show resolved
Hide resolved
...y/plugins/apm/public/components/app/Settings/AgentConfigurations/List/ConfirmDeleteModal.tsx
Outdated
Show resolved
Hide resolved
41032e6 to
259f363
Compare
x-pack/plugins/apm/common/runtime_types/agent_configuration/config_setting_definitions.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/apm/common/runtime_types/agent_configuration/config_setting_definitions.ts
Outdated
Show resolved
Hide resolved
b8cab16 to
44f18c8
Compare
x-pack/plugins/apm/common/runtime_types/agent_configuration/config_setting_definitions.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/Main/route_config/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/Main/route_config/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/apm/public/components/app/Main/route_config/index.tsx
Outdated
Show resolved
Hide resolved
...ts/app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/ServicePage/ServicePage.tsx
Outdated
Show resolved
Hide resolved
...ts/app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/ServicePage/ServicePage.tsx
Outdated
Show resolved
Hide resolved
...ts/app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/ServicePage/ServicePage.tsx
Outdated
Show resolved
Hide resolved
...ts/app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/ServicePage/ServicePage.tsx
Outdated
Show resolved
Hide resolved
...n/runtime_types/agent_configuration/config_setting_definitions/config_setting_definitions.ts
Outdated
Show resolved
Hide resolved
...pp/Settings/AgentConfigurations/AgentConfigurationCreateEdit/SettingsPage/SettingFormRow.tsx
Outdated
Show resolved
Hide resolved
.../app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/SettingsPage/SettingsPage.tsx
Outdated
Show resolved
Hide resolved
.../app/Settings/AgentConfigurations/AgentConfigurationCreateEdit/SettingsPage/SettingsPage.tsx
Outdated
Show resolved
Hide resolved
…Configurations/AgentConfigurationCreateEdit/ServicePage/ServicePage.tsx Co-Authored-By: Casper Hübertz <casper@formgeist.com>
…Configurations/AgentConfigurationCreateEdit/ServicePage/ServicePage.tsx Co-Authored-By: Casper Hübertz <casper@formgeist.com>
…Configurations/AgentConfigurationCreateEdit/ServicePage/ServicePage.tsx Co-Authored-By: Casper Hübertz <casper@formgeist.com>
cc73feb to
cb51fcc
Compare
I'll change the Cancel button to be a Discard button while in edit mode. It will behave as described above. WDYT should happen when creating a new config? |
If we're keeping the "discard" changes button even on a new config, the user would have to go back to the overview page via the sidenav to "cancel", as there's no specified cancel option. I don't think that's too big of an issue. |
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
Closes: elastic/apm#214
TODO:
EuiBottomBarandEuiNavDrawereui#3146)Review page (not for 7.7)Config per agent name(not for 7.7)Categories: list options under categories(not for 7.7)Highlight previously edited options(not for 7.7)Questions: