As a Trading Strategy admin, I want to be able to mark an existing "live" strategy as "deprecated", so that end users of our platform will be notified when viewing the strategy and redirected to an updated version.
Acceptance criteria
A Trading Strategy admin can indicate that a strategy is deprecated, as well as provide a replacement strategy pointer, in the frontend strategy configuration.
A deprecated strategy displays a conspicuous deprecation warning at the top of the strategy overview page, which includes a link to the replacement strategy. (e.g,: "Strategy deprecated, new version deployed here.")
The ( Deposit ) button is disabled on deprecated strategies.
A deprecated strategy includes a "deprecated" badge on the strategy index page, with an appropriate tooltip (see mock up below)
A deprecated strategy is never displayed on the front page
A deprecated strategy is positioned after other "live" strategies in the sort order
this turns out to be overly complicated, since we already sort "disconnected" strategies to the end, and already rely on two other methods to indicate sort order: the order within frontend config and the optional sort_priority attribute from strategy metadata.
work-around is to just re-order the strategy within frontend config to the right position
Goal
As a Trading Strategy admin, I want to be able to mark an existing "live" strategy as "deprecated", so that end users of our platform will be notified when viewing the strategy and redirected to an updated version.
Acceptance criteria
frontend
strategy configuration.( Deposit )
button is disabled on deprecated strategies.A deprecated strategy is positioned after other "live" strategies in the sort orderfrontend
config and the optionalsort_priority
attribute from strategymetadata
.frontend
config to the right positionVisuals
Deprecated strategy badge