Skip to content

Cases All Templates page#250372

Merged
MykhailoKondrat merged 30 commits intoelastic:mainfrom
MykhailoKondrat:feature/15529-add-cases-templates-page
Feb 10, 2026
Merged

Cases All Templates page#250372
MykhailoKondrat merged 30 commits intoelastic:mainfrom
MykhailoKondrat:feature/15529-add-cases-templates-page

Conversation

@MykhailoKondrat
Copy link
Contributor

@MykhailoKondrat MykhailoKondrat commented Jan 26, 2026

Summary

Implements #15529
This PR adds a new Templates management page to the Cases plugin in Kibana.

New Templates Management UI (templates_v2/):

ℹ️ Everything below is under FF until GA.

  1. Sortable table of cases templates with bulk actions like delete and export. support.
  2. CRUD operations hooks for case templates (create, read, update, delete)
  3. Search, fitler by tag, filter by creator, refresh, go to documentation UI
  4. Placeholder for create case template page, placeholder for import template page.
  5. URL persistence and storing it in local storage.
image

⚠️ Actual API calls will be implemented in the following PRs once the server side part is merged.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.
@MykhailoKondrat MykhailoKondrat added skip-ci Team:Cases Security Solution Cases team Cases: Templates Development of cases templates system Feature - improved case templates and removed Cases: Templates Development of cases templates system labels Jan 26, 2026
Copy link
Contributor

@lgestc lgestc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so far so good, but we would like to add some test coverage as well:)

/**
* Enables the Cases Templates Page feature.
*/
templates: true,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

found a better way of doing this, I will share it with you later.

@MykhailoKondrat MykhailoKondrat force-pushed the feature/15529-add-cases-templates-page branch from 73d6b3d to 842d2de Compare February 5, 2026 13:36
@MykhailoKondrat MykhailoKondrat added backport:skip This PR does not require backporting 9.4 candidate v9.4.0 release_note:skip Skip the PR/issue when compiling release notes and removed 9.4 candidate labels Feb 5, 2026
@MykhailoKondrat MykhailoKondrat changed the title draft: add cases template page Feb 5, 2026
@MykhailoKondrat MykhailoKondrat marked this pull request as ready for review February 5, 2026 13:54
@MykhailoKondrat MykhailoKondrat requested review from a team as code owners February 5, 2026 13:54
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cases (Team:Cases)

Copy link
Contributor

@lgestc lgestc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just two nits on the initial pass, will take a look again tomorrow:)

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
cases 1225 1258 +33

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
cases 1.4MB 1.4MB +43.7KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
cases 201.8KB 203.5KB +1.7KB
Unknown metric groups

async chunk count

id before after diff
cases 36 37 +1

ESLint disabled line counts

id before after diff
cases 81 82 +1

References to deprecated APIs

id before after diff
cases 83 86 +3

Total ESLint disabled count

id before after diff
cases 93 94 +1

Unreferenced deprecated APIs

id before after diff
cases 83 86 +3

History

@MykhailoKondrat MykhailoKondrat merged commit 1b03b50 into elastic:main Feb 10, 2026
16 checks passed
mbondyra added a commit to mbondyra/kibana that referenced this pull request Feb 10, 2026
* commit '7dcc1fe3c205d2de0c3ca3f65804f21de09013c3': (285 commits)
  Enrich kbn-check-saved-objects-cli README with CI and manual usage docs (elastic#252557)
  [Discover] Add feature flag to make ESQL the default query mode (elastic#252268)
  Add maskProps.headerZindexLocation above to inspect component flyout (elastic#252543)
  [Security Solution][Atack/Alerts] Flyout header: Assignees  (elastic#252190)
  Upgrade EUI to v112.3.0 (elastic#252315)
  [Fleet] Make save_knowledge_base async in streaming state machine (elastic#252328)
  Upgrade @smithy/config-resolver 4.3.0 → 4.4.6 (elastic#252457)
  [Lens as API] Add colorMapping support for XY charts (ES|QL data layers) (elastic#252051)
  [WorkplaceAI] Add Google Drive data source and connector (elastic#250677)
  [Scout] Move GlobalSearch FTR tests to Scout (elastic#252201)
  [EDR Workflows] Fix osquery pack results display when agent clock is skewed (elastic#251417)
  [Observability Onboarding] Apply integrations limit after dedup in parseIntegrationsTSV (elastic#252486)
  [Entity Analytics] Update `host.ip` aggregation to remove painless script (elastic#252426)
  Address `@elastic/eui/require-table-caption` lint violations across `@elastic/obs-presentation-team` files (elastic#251050)
  Consolidate JSON stringify dependencies (elastic#251890)
  [index mgmt] Use esql instead of query dsl to get the index count (elastic#252422)
  Add Usage API Plugin (elastic#252434)
  Cases All Templates page (elastic#250372)
  [Agent Builder] Default value for optional params in ESQL tools (elastic#238472)
  [Fleet] Add upgrade_details.metadata.reason to AgentResponseSchema (elastic#252485)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:skip This PR does not require backporting Feature - improved case templates release_note:skip Skip the PR/issue when compiling release notes Team:Cases Security Solution Cases team v9.4.0

4 participants