关于at,bug or feature(again)

工单反馈版

Grammar__hbw @ 2024-11-14 14:46:14

如图,可以at自己;通知链接提示找不到;@[xxx](luogu://user/uid)会@uid对应的用户而不是xxx;最多5个at。

(这里原本的bug修复了,qp支持洛谷更新)

@LionBlaze


by Grammar__hbw @ 2024-11-14 15:35:31

$ $@[LionBlaze](luogu://user/911054)$ $)


by Grammar__hbw @ 2024-11-14 15:36:10

那么假@++了


by LionBlaze @ 2024-11-14 15:36:41

@Grammar__hbw ++Bug:在讨论区鼠标移到回复的人的用户名上,点“私信”右边的 \vdots,会发现出现遮盖问题。


by Grammar__hbw @ 2024-11-14 15:37:43

@LionBlaze@LionBlaze@LionBlaze 只能举报不能拉黑……


by LionBlaze @ 2024-11-14 15:40:55

@Grammar__hbw

我们给源码中最长的一行(不是最新的)浅浅地加个换行,顺手转换一下转义:

    <meta http-equiv="Content-Security-Policy" content="default-src 'unsafe-inline' luogu.com *.luogu.com luogu.com.cn *.luogu.com.cn luogu.org *.luogu.org *.cnzz.com luoguprivate.oss-cn-hangzhou.aliyuncs.com luogu.oss-cn-hangzhou.aliyuncs.com wss: blob:; img-src * data:; font-src * data:; worker-src data: blob:; frame-src https://player.bilibili.com https://www.bilibili.com">    <script id="lentille-context" type="application/json">{"instance":"main",
"template":"discuss.show",
"status":200,
"locale":"zh-CN",
"data":{"forum":{"name":"工单反馈版",
"type":11,
"slug":"service",
"color":"lapis-3"},
"post":{"id":994036,
"title":"关于at,bug or feature(again)",
"author":{"uid":856004,
"avatar":"https://cdn.luogu.com.cn/upload/usericon/856004.png",
"name":"Grammar__hbw",
"slogan":"jcer.rp=LONG_LONG_MAX;jcer.rp++;",
"badge":null,
"isAdmin":false,
"isBanned":false,
"color":"Red",
"ccfLevel":0,
"background":""},
"time":1731566774,
"forum":{"name":"工单反馈版",
"type":11,
"slug":"service",
"color":"lapis-3"},
"topped":false,
"valid":true,
"locked":false,
"replyCount":4,
"recentReply":{"id":6957848,
"author":{"uid":911054,
"avatar":"https://cdn.luogu.com.cn/upload/usericon/911054.png",
"name":"LionBlaze",
"slogan":"陌生人主动要求和我互关需要加团。 || 禁止发接龙,陌生人直接拉黑,朋友3次拉黑。 || 无耻地宣团https://www.luogu.com.cn/team/77652和求互关。",
"badge":null,
"isAdmin":false,
"isBanned":false,
"color":"Red",
"ccfLevel":4,
"background":"",
"verified":true},
"time":1731568629},
"content":"![](https://cdn.luogu.com.cn/upload/image_hosting/152xhaj4.png)

如图,可以at自己;[通知链接](https://www.luogu.com.cn/discuss/new?id=861325)提示找不到;```@[xxx](luogu://user/uid)```会@uid对应的用户而不是xxx;最多5个at。

([这里](https://www.luogu.com.cn/discuss/861325?page=36)原本的bug修复了,qp支持洛谷更新)

@[LionBlaze](luogu://user/911054)",
"pinnedReply":null},
"replies":{"perPage":10,
"count":4,
"result":[{"id":6957764,
"author":{"uid":856004,
"avatar":"https://cdn.luogu.com.cn/upload/usericon/856004.png",
"name":"Grammar__hbw",
"slogan":"jcer.rp=LONG_LONG_MAX;jcer.rp++;",
"badge":null,
"isAdmin":false,
"isBanned":false,
"color":"Red",
"ccfLevel":0,
"background":""},
"time":1731566807,
"content":"测试一下现在正文里会不会有@"},
{"id":6957776,
"author":{"uid":856004,
"avatar":"https://cdn.luogu.com.cn/upload/usericon/856004.png",
"name":"Grammar__hbw",
"slogan":"jcer.rp=LONG_LONG_MAX;jcer.rp++;",
"badge":null,
"isAdmin":false,
"isBanned":false,
"color":"Red",
"ccfLevel":0,
"background":""},
"time":1731566922,
"content":"另一个bug:讨论区时间是按12小时制显示的(当前最新的NOI Linux下的Firefox浏览器)"},
{"id":6957778,
"author":{"uid":856004,
"avatar":"https://cdn.luogu.com.cn/upload/usericon/856004.png",
"name":"Grammar__hbw",
"slogan":"jcer.rp=LONG_LONG_MAX;jcer.rp++;",
"badge":null,
"isAdmin":false,
"isBanned":false,
"color":"Red",
"ccfLevel":0,
"background":""},
"time":1731566986,
"content":"然后lglg.top又炸了"},
{"id":6957848,
"author":{"uid":911054,
"avatar":"https://cdn.luogu.com.cn/upload/usericon/911054.png",
"name":"LionBlaze",
"slogan":"陌生人主动要求和我互关需要加团。 || 禁止发接龙,陌生人直接拉黑,朋友3次拉黑。 || 无耻地宣团https://www.luogu.com.cn/team/77652和求互关。",
"badge":null,
"isAdmin":false,
"isBanned":false,
"color":"Red",
"ccfLevel":4,
"background":"",
"verified":true},
"time":1731568629,
"content":"@[Grammar__hbw](luogu://user/856004) 正文里有 @ 了!"}]},
"canReply":true},
"user":{"uid":911054,
"avatar":"https://cdn.luogu.com.cn/upload/usericon/911054.png",
"name":"LionBlaze",
"slogan":"陌生人主动要求和我互关需要加团。 || 禁止发接龙,陌生人直接拉黑,朋友3次拉黑。 || 无耻地宣团https://www.luogu.com.cn/team/77652和求互关。",
"badge":null,
"isAdmin":false,
"isBanned":false,
"color":"Red",
"ccfLevel":4,
"background":"",
"verified":true,
"followingCount":0,
"followerCount":0,
"ranking":null,
"unreadMessageCount":0,
"unreadNoticeCount":0},
"time":1731568778.016417,
"theme":{"id":2781,
"header":{"imagePath":"https://cdn.luogu.com.cn/upload/image_hosting/wvm2ar38.png",
"color":[[35,
37,
38,
1],
[65,
67,
69,
1]],
"blur":0,
"brightness":0,
"degree":90,
"repeat":0,
"position":[1,
"type":1,
"__CLASS_NAME":"Luogu\DataClass\User\ThemeConfig\HeaderFooterConfig"},
"sideNav":{"logoBackgroundColor":[40,
63,
85,
1],
"color":[40,
63,
85,
1],
"invertColor":false,
"__CLASS_NAME":"Luogu\DataClass\User\ThemeConfig\SideNavConfig"},
"footer":{"imagePath":"https://cdn.luogu.com.cn/upload/image_hosting/wvm2ar38.png",
"color":[[51,
51,
51,
1]],
"blur":0,
"brightness":0,
"degree":0,
"repeat":0,
"position":[1,
74],
"size":[-1,
-1],
"type":1,
"__CLASS_NAME":"Luogu\DataClass\User\ThemeConfig\HeaderFooterConfig"}}}</script>                <script src="https://fecdn.luogu.com.cn/columba/loader.20241113-517.js" charset="utf-8" defer></script>

by mayike @ 2024-11-14 15:41:13

@LionBlaze 文章区早就有这个bug了,反馈了也根本没修 https://www.luogu.com.cn/discuss/938790


by LionBlaze @ 2024-11-14 15:46:10

@mayike 我们打开 https://fecdn.luogu.com.cn/columba/loader.20241113-517.css,搜索 z-index,发现它们分别是:

z-index:1000
z-index:-1145141919
z-index:-114514
transition:z-index
z-index:100000
z-index:99
transition:z-index
z-index:-2147483648
z-index:var(--dropdown-z-index, 9)
z-index:var(--dropdown-z-index, 9)
z-index:11
z-index:9
z-index:11
z-index:10

by LionBlaze @ 2024-11-14 15:47:02

@mayike 别急,@ 的 feature 不也从 8 开头的帖子拖到了现在。


by mayike @ 2024-11-14 15:48:40

@LionBlaze 不好描述


by LionBlaze @ 2024-11-14 15:48:41

另:看讨论区源码发现

https://fecdn.luogu.com.cn/columba/vendor.20241113-517.js

昨天更新的。


上一页 | 下一页