forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Rules migration] Post merge feedback followups (elastic#202815)
## Summary These are the followup updated to address feedback from my previous PRs: * Make sure to use descriptive names specific to the `siem_migrations` subdomain ([comment](elastic#200978 (review))): > Make sure you use descriptive names specific to the siem_migrations subdomain. Names like RulesPage, RulesTable, useRulesColumns etc are way too generic and conflict with the rule management terminology, which would make code search more difficult. * Export the memo component directly everywhere ([comment](elastic#201597 (comment))): > Could we export the memo component directly everywhere? It's shorter and it makes it easier to find the references in the IDE. * Use one hook to access APIs instead of two ([comment](elastic#202494 (comment))): > I see that for every API request we have to implement 2 separate hooks. Why don't we add error handling to the same hook that does the useQuery? so we have everything in one hook. Or is there a reason to have them separate?
- Loading branch information
1 parent
abb61c9
commit 0ed26d3
Showing
35 changed files
with
730 additions
and
848 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 0 additions & 78 deletions
78
...security_solution/public/siem_migrations/rules/api/hooks/use_get_migration_rules_query.ts
This file was deleted.
Oops, something went wrong.
60 changes: 0 additions & 60 deletions
60
...ution/public/siem_migrations/rules/api/hooks/use_get_migration_translation_stats_query.ts
This file was deleted.
Oops, something went wrong.
40 changes: 0 additions & 40 deletions
40
...y_solution/public/siem_migrations/rules/api/hooks/use_install_migration_rules_mutation.ts
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
...public/siem_migrations/rules/api/hooks/use_install_translated_migration_rules_mutation.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.