{% extends "base.html" %} {% block title %}Lifecycle β€” {{ design.name }}{% endblock %} {% block content %}
← Canvas

πŸ”„ Design Lifecycle

{{ design.name }} · {{ design.domain or 'unspecified' }}
{{ lc.current_icon }} {{ lc.current_state }}
State Machine
{% for state, color in [('DRAFT','secondary'),('UNDER_REVIEW','info'),('CHANGES_REQUESTED','warning'),('APPROVED','success'),('DEPLOYED','primary'),('DEPRECATED','dark')] %}
{{ lc.state_icons.get(state,'') }} {{ state }} {% if not loop.last %} β†’ {% endif %}
{% endfor %}
Available Transitions
{% if lc.available_transitions %}
{% for t in lc.available_transitions %} {% endfor %}
{% else %}

No transitions available from {{ lc.current_state }}.

{% endif %}
Transition History
{% if lc.history %} {% for h in lc.history | reverse %} {% endfor %}
FromToActorReasonWhen
{{ h.from_state }} {{ h.to_state }} {{ h.actor or 'β€”' }} {{ h.reason or 'β€”' }} {{ h.created_at[:16] if h.created_at else 'β€”' }}
{% else %}
No transitions yet. Design starts in DRAFT state.
{% endif %}
{% endblock %}