You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduced in #1607. A current pattern in the code is to test a source for a segment ID and then hardcode the "name" of that segment in templates and views. As we switch to a one-to-many source segment field and the number of segments proliferate, this is unsustainable. We should consistently name and refer to segments in the frontend through use of the Segment model.
The text was updated successfully, but these errors were encountered:
Introduced in #1607. A current pattern in the code is to test a source for a segment ID and then hardcode the "name" of that segment in templates and views. As we switch to a one-to-many source segment field and the number of segments proliferate, this is unsustainable. We should consistently name and refer to segments in the frontend through use of the
Segment
model.The text was updated successfully, but these errors were encountered: