Giter VIP home page Giter VIP logo

vscode-luogu-developer's People

Contributors

d0j1a1701 avatar gandyli avatar hydrostic avatar lotuses-robot avatar lykcul avatar mr-python-in-china avatar wpcwzy avatar yltx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-luogu-developer's Issues

[feat]关于全网动态

请问永久关闭全网动态是技术问题还是社区管理员的要求?

如果是技术问题的话 https://www.luogu.com.cn/api/feed/list 在不带 cookie 的情况下 GET / POST 都可以获取全网动态,且没有 api 鉴权。

另外,我这边关于犇犇的所有功能均无法正常使用,回去我试着修一下。

[题单] webview页面交互不工作

使用控制台向vscode postMessage可以实现预期功能。
使用按钮以及超链接会报Failed to execute 'postMessage' on 'DOMWindow': The target origin provided ('vscode-webview://0vq9p04boqkbvijjdivsnum8es0tv73dkkvenrnfcequacca5mbr') does not match the recipient window's origin ('null').

详见截图
控制台交互
页面交互

todo:界面美化

需要美化的界面:

  • 1. 题单:添加区域式阴影,加上深色模式(具体参考题解)

  • 2. 比赛:将长方形的tag改为椭圆形,修复区域式阴影显示不正常的问题,加上深色模式

  • 3. 所有界面都不同程度的存在大量无用代码。我没有能力分辨出来哪些是有用的,所以等待懂html的大佬进行一个删除。

[用户体验] 提交题目时是否可以简化流程

现在提交题目的流程是 O2 -> 语言(可选) -> 确认题号 -> 提交

是否可以添加一个默认 O2 开关,和一个检测文件名是否符合题号要求,如果符合就直接提交,不符合就手动确认的机制?

时间错误

在 犇犇-我关注的 中出现了时间错误。

  • vscode-luogu显示:2024-05-03 07:32:18
  • 实际时间:2024-05-03 23:32:18

疑似错误的代码:

time: (time => {
// from UTF-8 to local time
const t = new Date(time);
return (
t.getTime() - 8 * 60 * 60 * 1000 + t.getTimezoneOffset() * 60 * 1000
);
})(res.data[i].time.date),

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.