Skip to content

Commit

Permalink
yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangtian616 committed Jan 3, 2025
1 parent e5ba2f8 commit 44d3ed4
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 64 deletions.
83 changes: 24 additions & 59 deletions .github/ISSUE_TEMPLATE/add_build_in_blocked_user.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,76 +4,41 @@ body:
- type: markdown
attributes:
value: |
提交功能请求前,请首先完成文末的自查步骤
Please finish verify steps which list in the end first before Suggest an idea
- type: textarea
id: request
你将要为JHenTai添加一名内置的屏蔽用户,添加成功后,所有在偏好设置中开启了【使用内置用户屏蔽名单】功能的用户将无法看到屏蔽用户的画廊评论。
You are going to add a built-in blocked user to JHenTai. Once successfully added, all users who have enabled the "Enable Built-in User Blocklist" feature in preference setting will no longer see the gallery comments of the blocked user.
- type: markdown
attributes:
label: 需求 / Requirement
description: |
在此处描述您的需求。这通常会是一个您想要的功能
Ddescribe what you need here.
placeholder: |
我需要 XXX 功能 ...
I want ABC feature ...
validations:
required: true
value: |
如果你对JSON和Git比较熟悉,你可以参照下述流程后自行提交PR修改[配置文件](https://github.com/jiangtian616/JHenTai/blob/master/built_in_blocked_user.json),否则请按照下述模板填写信息后提交Issue。
If you are familiar with JSON and Git, you can follow the steps below to submit a PR to modify the [configuration file](https://github.com/jiangtian616/JHenTai/blob/master/built_in_blocked_user.json). Otherwise, please fill out the information according to the template below and submit an issue.
- type: textarea
id: reason
- type: markdown
attributes:
label: 原因 / Reason
description: |
在此处描述您的想要这个功能的原因。如现有功能不方便、可以优化体验等
Describe why you need this feature here.
placeholder: |
这可以帮助我更好地 ...
It will help me to ...
validations:
required: true

value: |
请注意,需要满足以下条件的用户才能被添加到内置屏蔽名单中 / Please note that users must meet the following criteria to be added to the built-in blocklist
- 符合[EHWiki](https://ehwiki.org/wiki/Gallery_Commenting#Examples_of_Bad_Comments)中封禁用户评论的条件:由于任何原因反复辱骂或骚扰其他用户。 / Meet the criteria for banned user comments on [EHWiki]((https://ehwiki.org/wiki/Gallery_Commenting#Examples_of_Bad_Comments)): Repeatedly abusing or harassing other users for any reason.
- 评论包含明显的引战内容。 / Comment contains obvious inflammatory content.
- 开发者认为该用户适合被屏蔽。(这意味着开发者拥有最终决定权) / The developer deems the user appropriate to be blocked. (This means the developer has the final decision-making authority.)
- type: textarea
id: impl
id: galleryUrl
attributes:
label: 建议实现 / Suggested implemention
label: 画廊链接 / Gallery link
description: |
在此处表述您建议的实现方式。如有可能,UI 类功能请求还请尽量附上图示
Describe your suggested implemention here, It's recommend to add a photo if you are making a UI feature request.
在此附上该用户对应评论的画廊链接
Here is the gallery link to the user's corresponding comment.
placeholder: |
建议在 XX 处添加 XX ...
I recommend add ABC feature to DEF...
图片(如果有)/ Photos (if exists)
https://e-hentai.org/g/xxxxxxx/xxxxxxxxxx/
validations:
required: true

- type: textarea
id: more
id: user
attributes:
label: 备注 / Addition details
label: 用户 / user
description: |
在此处写下其他您想说的内容
Describe addition details here
placeholder: |
其他有用的信息与附件
Additional details and attachments
在此附上该用户的名称
Here is the user's name
validations:
required: false

- type: checkboxes
id: check
attributes:
label: 自查步骤 / Verify steps
description: |
请确认您已经遵守所有必选项
Please ensure you have obtained all needed options
options:
- label: 您已仔细查看并知情 [常见问题](https://github.com/jiangtian616/JHenTai/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98) 中的内容 / You have checked [Q&A](https://github.com/jiangtian616/JHenTai/wiki/Common-Qustions) carefully
required: true
- label: 您已搜索过 [Issue Tracker](https://github.com/jiangtian616/JHenTai/issues),没有找到类似内容 / I have searched on [Issue Tracker](https://github.com/jiangtian616/JHenTai/issues), No duplicate or related open issue has been found
required: true
- label: 您确保这个 Issue 只提及一个问题。如果您有多个功能请求,烦请发起多个 Issue / Ensure there is only one feature request in this issue. Please make mutiply issue for mutiply bugs
required: true
- label: 您确保已使用最新版本测试,并且该问题在最新版本中仍未实现 / This feature have not supported in latest version
required: true
required: true
18 changes: 13 additions & 5 deletions built_in_blocked_user.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,24 @@
"version": 1,
"formatVersion": 1,
"updateTime": "2025-01-03 14:00:00",
"desc": "This list contains users who have violated the comment rules of E-Hentai and are deemed by the developers to be suitable for default blocking for all users. If you wish to maintain this list, refer to: https://github.com/jiangtian616/JHenTai/issues/new?assignees=&labels=&projects=&template=add_build_in_blocked_user.yml",
"descCN": "这个名单存储着违反E站评论规则的用户,并且被开发者认为适合被所有用户默认屏蔽。如果你想维护这个名单,参考:https://github.com/jiangtian616/JHenTai/issues/new?assignees=&labels=&projects=&template=add_build_in_blocked_user.yml",
"blockedUsers": [
{
"userId": 6249738,
"name": "峡谷轮椅人",
"galleryUrl": "https://e-hentai.org/g/3140626/3ad670da98/?p=1&hc=1#comments",
"commentId": 1,
"archivePages": [
"comments": [
{
"url": "",
"ScreenshotUrl": ""
"galleryUrl": "https://e-hentai.org/g/3180250/e59f6410db/?hc=1#c7058275",
"commentId": 7058275,
"archivePageUrl": "https://web.archive.org/web/20250103150136/https://e-hentai.org/g/3180250/e59f6410db/",
"archivePageScreenshotUrl": "https://web.archive.org/web/20250103150136/http://web.archive.org/screenshot/https://e-hentai.org/g/3180250/e59f6410db/"
},
{
"galleryUrl": "https://e-hentai.org/g/3180372/4042671ff0/?hc=1#c7058581",
"commentId": 7058581,
"archivePageUrl": "https://e-hentai.org/g/3180372/4042671ff0/?hc=1#c7058581",
"archivePageScreenshotUrl": ""
}
],
"createTime": "2025-01-03 14:00:00",
Expand Down

0 comments on commit 44d3ed4

Please sign in to comment.