Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

【北大开源实践】- 问卷编辑检测 #288

Open
colmon46 opened this issue Jun 14, 2024 · 0 comments
Open

【北大开源实践】- 问卷编辑检测 #288

colmon46 opened this issue Jun 14, 2024 · 0 comments
Labels

Comments

@colmon46
Copy link

功能描述
登录失效检测:在问卷编辑页面,每半小时校验一次当前登录态,若检测到登录过期时弹窗提示用户。
协作冲突检测:在问卷内容变更触发自动保存或者手动保存和发布时,进行冲突检测。
a. 不同窗口触发保存的时间超过2分钟,不存在冲突,新窗口获取编辑权限
b. 不同窗口触发保存的时间不超过两分钟,存在冲突,根据保存用户是否相同弹出不同的弹窗提示。
效果展示
登录失效弹窗
0897f1bcdfc9caea6ab2af6e5ccf06a

协作冲突弹窗
相同用户保存:
094a19b87589075f2483d19ed687b67

不同用户保存:
d3977681d2b3fba2ebee26dfeea0c78

技术方案链接
https://loz4ql5x1y.feishu.cn/docx/T2BLdL4lHoR2G4xMJQ8cggDonkd?from=from_copylink

PR链接
#287

@colmon46 colmon46 added the pr label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant