feat: 단풍 지도·이번 주 행사 띠·계절 이야기 띠에 좋아요·댓글(서버 포스트 자리 18·19·20), 히어로 아래 글자 칸 높이를 미리 잡아 오늘의 각부터 피드가 밀려 내려가던 문제 수정
This commit is contained in:
1 parent
eb84a72c2f
commit
03e54ad552
9 files changed
+60
-25
No files matched your search
@@ -65,12 +65,18 @@ LINEUP = [
|
||||
(20, PostType.UV, RefType.NONE, None),
|
||||
(21, PostType.HERO, RefType.NONE, None),
|
||||
(22, PostType.TODAY_GAK, RefType.NONE, None),
|
||||
(23, PostType.FOLIAGE, RefType.NONE, None),
|
||||
(24, PostType.EVENTS_BAND, RefType.NONE, None),
|
||||
(25, PostType.SEASON_BAND, RefType.NONE, None),
|
||||
]
|
||||
# 피드 목록 대신 히어로·오늘의 각 카드에 좋아요·댓글만 붙는 자리
|
||||
_PINNED = {PostType.HERO: "hero_post", PostType.TODAY_GAK: "gak_post"}
|
||||
# 피드 목록 대신 히어로·오늘의 각·단풍 지도·띠에 좋아요·댓글만 붙는 자리
|
||||
_PINNED = {
|
||||
PostType.HERO: "hero_post", PostType.TODAY_GAK: "gak_post", PostType.FOLIAGE: "foliage_post",
|
||||
PostType.EVENTS_BAND: "events_post", PostType.SEASON_BAND: "season_post",
|
||||
}
|
||||
# 좋아요·댓글 단위. 이 종류들은 전국이 같은 카드 하나, 나머지는 그 구 데이터로 채우는 카드라 시도마다 따로 만든다.
|
||||
NATIONAL_SCOPE = "00"
|
||||
NATIONAL_TYPES = frozenset({PostType.SEASON, PostType.TIP, PostType.QUOTE, PostType.MOON})
|
||||
NATIONAL_TYPES = frozenset({PostType.SEASON, PostType.TIP, PostType.QUOTE, PostType.MOON, PostType.FOLIAGE, PostType.SEASON_BAND})
|
||||
|
||||
|
||||
def sido_of(region_code: str) -> str:
|
||||
|
||||
Reference in new issue
Block a user