Skip to content

Commit

Permalink
chore: remove deprecated field related_articles from ArticlePage (#526
Browse files Browse the repository at this point in the history
)

* delete unused relatedArticles field
  • Loading branch information
harryherbig authored Feb 13, 2024
1 parent 66d4a65 commit c3c9cb4
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions stroeer/page/article/v1/article_page.proto
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ message ArticlePage {
// Unpublished elements will be filtered according to their metadata.
stroeer.core.v1.Article article = 1;

// Additional related editorial articles. Articles which are not published
// according to their `Metadata` will be filtered.
// deprecated in favor `core.Article.relatedArticles`
repeated RelatedArticle related_articles = 2 [deprecated = true];

// stages for article pages contain companions, links to topic pages, A-Z Modules etc.
// configuration.fields contains a `stage_type`, which defines the rendering position
repeated stroeer.page.stage.v1.Stage stages = 3;
Expand All @@ -34,28 +29,3 @@ message ArticlePage {
// - external references
stroeer.core.v1.Reference navigation_menu = 4;
}

// An editorial article, which is related to another article.
//
// Related articles are specified manually be the editorial department or
// identified by recommendation systems.
message RelatedArticle {
// Data of the related article. This message will only contain data required
// to render the article as a _Teaser_ (e.g. with `Article.body` set to `null`
// thus not containing any data that is only required on detail pages).
stroeer.core.v1.Article article = 1;

// Deprecated (since 04.04.2023) source of the related article in form of an enum.
RelatedArticleSource source = 2;

// Source of the related article.
string related_article_source = 3;
}

enum RelatedArticleSource {
// Not specified.
RELATED_ARTICLE_SOURCE_UNSPECIFIED = 0;

// Article was related manually by the editorial department.
RELATED_ARTICLE_SOURCE_EDITORIAL = 1;
}

0 comments on commit c3c9cb4

Please sign in to comment.