Conditionally load FullCalendar Javascript files only on specific pages where they're needed
维护者通常 7 天内回复
@carrythebanner 已经在做这个了。
开始于 2024年9月3日。
评估
这个 Issue 还没有评估数据。
描述
Currently:
- Calendar CSS and Javascript are only loaded on calendar pages (e.g. not on the About page)
- Which calendar CSS is loaded is determined by page type (e.g. we only load grid styles on pages that display the calendar grid)
- However, we still load all calendar Javascript on any calendar page, including when it's not used
The FullCalendar JS files are are some of the weightier JS, so if we don't load those on the regular /calendar or /addevent pages we could save a decent chunk of bandwidth.
- 主要语言
- JavaScript
- 星标
- 30
- 派生
- 26
- 平均合并
- 6 天 23 小时
- 30 天内合并 PR
- 3
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
shift-org/shift-docs 的其他 Issue
-
Unknown --db values report a TypeError instead of the intended error可能已有人在做 @gangster 于 68 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 88/100
shift-org/shift-docs#1091 ·
维护者通常 7 天内回复
-
validateRideLength accepts any Object.prototype key as a ride length可能已有人在做 @gangster 于 68 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
shift-org/shift-docs#1089 ·
维护者通常 7 天内回复
-
Favorites page fetches every favorite because getDaily's guard is inverted可能已有人在做 @gangster 于 68 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
shift-org/shift-docs#1087 ·
维护者通常 7 天内回复
-
sitemap.xml emits relative <loc> values, so search engines reject it可能已有人在做 @dduugg 于 94 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 68/100
shift-org/shift-docs#1082 ·
维护者通常 7 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
shift-org/shift-docs#1072 ·
维护者通常 7 天内回复
查看 shift-org/shift-docs 的全部 Issue
相似的 Issue
-
ACK_WAITING HELP_WANTED UPDATE_CS
难度 2/5 1-3 小时 新手友好度 78/100
OWASP/CheatSheetSeries#2781 ·
维护者通常 1 天内回复
-
Hermes: /ponytail off never reaches the model, the ruleset stays active可能已有人在做 @szsunyuan 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
DietrichGebert/ponytail#1121 ·
维护者通常 3 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
integrations plugin
难度 2/5 1-3 小时 新手友好度 84/100
维护者通常 1 天内回复
-
bug package:vitest
难度 2/5 1-3 小时 新手友好度 83/100
cloudflare/workers-sdk#16238 · 1 条评论 ·
维护者通常 1 天内回复