Yang Jun

Results 53 issues of Yang Jun

目前接受输入为 ts 文件 / js 文件,但错误时输出不包括文件名。例如: ``` [SAN WARNING] Component template must have a root element. ``` 期望类似: ``` Error while compiling '/home/hartt.../component.ts': [SAN WARNING] Component template must have a...

enhancement

I'm trying to translate whatwg/html here: https://whatwg-cn.github.io/html/multipage/ To sync this fork (especially not-yet-translated sections), the build tools (html-build, watssi) are also used in that repo. While I find out the...

non-normalized URIs will be normalized after `popstate`, which breaks cache storage. eg. /player/乔丹/

enhancement

Behaviour: Page A -> 200 -> location.replace to B -> pushstate -> history.back() -> popstated to A Expected: Page A -> 200 -> location.replace to B -> pushstate -> history.back()...

brower quirks

AppShell 的 Ralltiir 机制支持

app shell 的概念原型是加载异步页面的框架。对于其中的page、head等概念需要进一步明确。 * **app shell** 业务无关的渲染层,类比于浏览器标签页。对应于现在实现的 Service 层。 * **page** 作者的 HTML 代码(异步页面源码),由 app shell 加载和渲染。类比于浏览器的 window 对象(负责视图状态以及提供给客户代码的 API),对应于目前实现的 view。 * **head** 异步页面除了要渲染的元素之外,可以包含一些元信息。

index.json 是一份模块索引,设计初衷是方便引用方编译。但实际编译一般通过编译插件解决,这个文件没有用处,反而在 link 和 install 交替使用的复杂场景会产生很多不一致的问题。

尤其是提交到 vscode marketplace 时,需要一个 logo。以及其他产品化相关的文案和链接。

enhancement

md-padding 和 md-padding-vscode 两个仓库会在维护上相对麻烦。需要考虑合并仓库,有不同的做法: 1. 把vscode作为其中一个 release 方式,需要调研如何把 vscode 插件作为release,而不是主 package.json 2. 使用类似rush的 monorepo 方案,相对比较重

engineering