Skip to content

Commit

Permalink
- publish v8.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
czy0729 committed Sep 27, 2024
1 parent e7fe960 commit c34cf74
Show file tree
Hide file tree
Showing 8 changed files with 68 additions and 32 deletions.
23 changes: 13 additions & 10 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,24 @@ iOS 和安卓都做了兼容,并最大限度保持一致

# 版本

## 8.13.0 - 2024/09/02
## 8.14.0 - 2024/09/27

### 优化
### 新增

- [x] [条目] 进一步优化了关联等条目的类型猜测
- [x] [帖子] 主楼的贴贴按钮常驻,减少布局跳动
- [x] [帖子] 楼层中图片当不自动加载时,改成现实文字,点击外部打开
- [x] 若干性能优化,不详
- [x] [词云] 新增功能,支持条目、帖子,点击词语能快速查看对应吐槽(实验性,未来会继续开发)

### 新增

- [x] [条目] 关联系列、单行本等栏目添加一个整合列表页面(方便一览封面)
- [x] [条目] 优化了剧照的匹配逻辑(提高正确匹配率,不保证绝对正确)
- [x] [目录编辑] 优化了可用性,重新验证了可用性
- [x] [找漫画] 功能迭代,更新了数据
- [x] [bilibili、豆瓣同步] 优化了匹配逻辑,重新验证了可用性

### 修复

- [x] 修复了在手机虚拟按钮模式下,底部分页器看不全的问题
- [x] [超展开] 修复右侧菜单点击穿透问题
- [x] [小组] 修复了小组标题消失的问题
- [x] [进度] 修复了网格布局没有实现设置「一直显示放送时间」的问题
- [x] 因主站网页结构变化,修复条目获取发布年份失败的问题。(这个问题影响所有需要年份的功能,涉及所有之前版本,建议看见马上更新)
- [x] [条目] 章节长度支持到 1300

[所有更新 CHANGELOG](https://github.com/czy0729/Bangumi/blob/master/web/CHANGELOG.MD)

Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"expo": {
"description": "A React Native App for https://bgm.tv, tinygrail plugin 5.1.0",
"version": "8.13.2",
"version": "8.14.0",
"android": {
"versionCode": 813020,
"versionCode": 814000,
"package": "com.czy0729.bangumi",
"adaptiveIcon": {
"foregroundImage": "./src/assets/images/foreground.png",
Expand Down
3 changes: 2 additions & 1 deletion packages/ios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@types/react": "17.0.2",
"define-properties": "1.2.0",
"htmlparser2": "^3.9.0",
"react-native-reanimated": "3.10.0",
"react-native-safe-area-view": "1.1.1"
},
"dependencies": {
Expand Down Expand Up @@ -97,7 +98,7 @@
"react-native-pager-view": "6.3.0",
"react-native-popable": "^0.4.3",
"react-native-realtimeblurview": "^1.1.3",
"react-native-reanimated": "^3.10.0",
"react-native-reanimated": "3.10.0",
"react-native-render-html": "4.1.1",
"react-native-restart": "0.0.14",
"react-native-safe-area-context": "4.10.1",
Expand Down
23 changes: 14 additions & 9 deletions src/screens/discovery/word-cloud/component/subject/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
* @Author: czy0729
* @Date: 2024-09-27 02:45:02
* @Last Modified by: czy0729
* @Last Modified time: 2024-09-27 19:55:54
* @Last Modified time: 2024-09-27 22:52:23
*/
import React from 'react'
import { View } from 'react-native'
import { BLURVIEW_TINT_DARK, Cover, Flex, Text } from '@components'
import { BlurView, Rank, Stars } from '@_'
import { _ } from '@stores'
import { obc } from '@utils/decorators'
import { IMG_HEIGHT_SM, IMG_WIDTH_SM } from '@constants'
import { IMG_HEIGHT_SM, IMG_WIDTH_SM, IOS } from '@constants'
import { Ctx } from '../../types'
import { memoStyles } from './styles'

Expand All @@ -20,13 +20,18 @@ function Subject(_props, { $ }: Ctx) {
const styles = memoStyles()
const top = $.subject.name_cn || $.subject.name
const bottom = $.subject.name

const Component = IOS ? BlurView : View
const passProps: any = {
style: styles.container
}
if (IOS) {
passProps.tint = BLURVIEW_TINT_DARK
passProps.intensity = 64
}

return (
<BlurView
style={styles.container}
// @ts-ignore
tint={BLURVIEW_TINT_DARK}
intensity={64}
>
<Component {...passProps}>
<Flex align='start'>
<Cover
src={$.subject.images?.medium}
Expand Down Expand Up @@ -72,7 +77,7 @@ function Subject(_props, { $ }: Ctx) {
</Flex>
</Flex.Item>
</Flex>
</BlurView>
</Component>
)
}

Expand Down
3 changes: 2 additions & 1 deletion src/screens/discovery/word-cloud/component/subject/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2024-09-27 02:45:24
* @Last Modified by: czy0729
* @Last Modified time: 2024-09-27 16:30:02
* @Last Modified time: 2024-09-27 22:51:21
*/
import { _ } from '@stores'
import { IMG_HEIGHT_SM } from '@constants'
Expand All @@ -12,6 +12,7 @@ export const memoStyles = _.memoStyles(() => ({
padding: _.sm,
marginTop: _.headerHeight - _.sm,
marginBottom: _.sm,
backgroundColor: _.ios('transparent', 'rgba(0, 0, 0, 0.32)'),
borderRadius: _.radiusMd,
overflow: 'hidden'
},
Expand Down
22 changes: 14 additions & 8 deletions src/screens/discovery/word-cloud/component/topic/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
* @Author: czy0729
* @Date: 2024-09-27 19:27:38
* @Last Modified by: czy0729
* @Last Modified time: 2024-09-27 22:18:12
* @Last Modified time: 2024-09-27 22:52:49
*/
import React from 'react'
import { View } from 'react-native'
import { BLURVIEW_TINT_DARK, Cover, Flex, Text } from '@components'
import { BlurView } from '@_'
import { _ } from '@stores'
import { obc } from '@utils/decorators'
import { IOS } from '@constants'
import { Ctx } from '../../types'
import { memoStyles } from './styles'

Expand All @@ -20,13 +22,17 @@ function Topic(_props, { $ }: Ctx) {
const bottom = [$.topic.time || $.topic.group, `${$.total} 回复`]
.filter(item => !!item)
.join(' · ')

const Component = IOS ? BlurView : View
const passProps: any = {
style: styles.container
}
if (IOS) {
passProps.tint = BLURVIEW_TINT_DARK
passProps.intensity = 64
}
return (
<BlurView
style={styles.container}
// @ts-ignore
tint={BLURVIEW_TINT_DARK}
intensity={64}
>
<Component {...passProps}>
<Flex align='start'>
<Cover
src={$.topic.avatar || $.topic.groupThumb}
Expand Down Expand Up @@ -63,7 +69,7 @@ function Topic(_props, { $ }: Ctx) {
</Flex>
</Flex.Item>
</Flex>
</BlurView>
</Component>
)
}

Expand Down
3 changes: 2 additions & 1 deletion src/screens/discovery/word-cloud/component/topic/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2024-09-27 02:45:24
* @Last Modified by: czy0729
* @Last Modified time: 2024-09-27 22:18:31
* @Last Modified time: 2024-09-27 22:51:45
*/
import { _ } from '@stores'

Expand All @@ -11,6 +11,7 @@ export const memoStyles = _.memoStyles(() => ({
padding: _.sm,
marginTop: _.headerHeight - _.sm,
marginBottom: _.sm,
backgroundColor: _.ios('transparent', 'rgba(0, 0, 0, 0.32)'),
borderRadius: _.radiusMd,
overflow: 'hidden'
},
Expand Down
19 changes: 19 additions & 0 deletions web/CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,24 @@
# CHANGELOG

## 8.14.0 - 2024/09/27

### 新增

- [x] [词云] 新增功能,支持条目、帖子,点击词语能快速查看对应吐槽(实验性,未来会继续开发)

### 新增

- [x] [条目] 关联系列、单行本等栏目添加一个整合列表页面(方便一览封面)
- [x] [条目] 优化了剧照的匹配逻辑(提高正确匹配率,不保证绝对正确)
- [x] [目录编辑] 优化了可用性,重新验证了可用性
- [x] [找漫画] 功能迭代,更新了数据
- [x] [bilibili、豆瓣同步] 优化了匹配逻辑,重新验证了可用性

### 修复

- [x] 因主站网页结构变化,修复条目获取发布年份失败的问题。(这个问题影响所有需要年份的功能,涉及所有之前版本,建议看见马上更新)
- [x] [条目] 章节长度支持到 1300

## 8.13.0 - 2024/09/02

### 优化
Expand Down

0 comments on commit c34cf74

Please sign in to comment.