We should stop using Protocol as our main styling library
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, scss
- 领域
- frontend
调研方向
首先检查 Protocol 依赖项、导入其样式的 Svelte 组件,以及 issue 和链接的 pull request 评论中引用的 SCSS 和 Protocol tokens。完成的标准是移除显式的 Protocol package 依赖,同时保留应用仍然需要的 SCSS、tokens 和选定的样式。
由索引模型根据 Issue 内容生成。
描述
See @wlach's comments:
I'm concerned about the interaction of protocol and this site -- based on the error output I'm seeing (e.g. complaints about unused css selectors) it looks like it's importing a very large chunk of protocol for each svelte component. I'm beginning to think we should probably stop using protocol as a library-- while the idea of sharing styles across Mozilla properties is appealing, it's proving difficult to adapt the assets (which were created to serve the needs of a completely different site-building technology) to the needs of our particular application and I would expect ongoing issues from continuing to attempt to do this.
I'd probably vote to keep using scss, the protocol tokens and whatever styles make sense to copy from the library but yeah, removing our explicit dependency on the package makes sense to me.
- 主要语言
- JavaScript
- 星标
- 33
- 派生
- 49
- 平均合并
- 8 天 15 小时
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mozilla/glean-dictionary 的其他 Issue
-
难度 3/5 半天 新手友好度 50/100
mozilla/glean-dictionary#2352 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 62/100
mozilla/glean-dictionary#2340 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
mozilla/glean-dictionary#2331 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 58/100
mozilla/glean-dictionary#2327 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
mozilla/glean-dictionary#2316 ·
维护者通常 1 天内回复
查看 mozilla/glean-dictionary 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
cloudflare/workers-sdk#17139 ·
维护者通常 1 天内回复
-
area: editor P3 type: feature
难度 2/5 1-3 小时 新手友好度 74/100
halisonworks/mod-codeling#290 ·
维护者通常 1 天内回复
-
Teams conversion crashes on channel messages sent by an application可能已有人在做 @sdivyanshu90 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
aws/aws-sdk-js-v3#8441 ·
维护者通常 1 天内回复