Skip to content

Refactor Service Module Overview Page (remove intent logic + new status + description column) #856

@matKlju

Description

@matKlju

AS A Service Administrator
I WANT the overview page to reflect the new canvas-based intent flow and show service descriptions
SO THAT service management is clear, consistent, and not dependent on the Training Module


Summary

The overview page must remove all intent-related UI/logic, adopt the new status model (Draft → Ready → Active), and replace the removed Connected Intent column with a Service Description column sourced from the canvas.


Required Changes

1. Remove all intent functionality

  • Delete the Connected Intent column.
  • Remove all UI elements and API calls related to showing or connecting intents.
  • Overview page must have no Training Module dependencies.

2. Add “Service Description” column

  • Column replaces the old intent column.
  • Value comes from the description defined in canvas service settings.
  • New services initially show a blank/empty description.
  • Once added in the canvas, the overview must display it.

Rendering rules:

  • Display up to ~80 characters (including spaces).
  • If longer, truncate and append ....

Tooltip behavior on !:

  • Hovering opens a tooltip panel showing the full description.
  • Tooltip size: ~450 × 100 px.
  • Fits up to ~300 characters (font size 12) without scrolling.
  • If longer, a scrollbar appears inside the tooltip.
  • Tooltip stays open while the cursor is:
    • On the ! icon, or
    • Inside the tooltip panel.
  • Full description must be selectable and copyable.

3. Implement new status logic

  • Draft
    Set when “Create new service” is pressed. Stays Draft until Confirm is pressed in the canvas.

  • Ready
    Set automatically when Confirm is pressed inside the canvas.

  • Active
    From the overview: change Ready → Active with a click on tag (confirmation modal)

4. UI updates

  • Remove all intent-related references (buttons, labels, tooltips).
  • Ensure status column uses the updated Draft → Ready → Active lifecycle.
  • Add the description column with proper truncation and tooltip behavior.

Acceptance Criteria

  • Intent column removed and all intent logic eliminated.
  • Overview page has no Training Module dependencies.
  • New Service Description column:
    • Blank for new services.
    • Updates when description changes in the canvas.
    • Displays ~65 characters max with ... when truncated.
    • Hovering ! shows the full description in a tooltip.
    • Scrollbar appears for longer descriptions.
    • Tooltip stays open while hovered.
    • Text in tooltip is selectable and copyable.
  • Status logic matches: Draft → Ready (canvas Confirm) → Active (single-click).
  • Activation does not require intent logic.
  • Existing services display correct description or remain blank as needed.

Image Image

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions