Qichunren
Qichunren
现在引入了 TailwindCSS, 是时候加入 Design system了。将网站的各种 UI 组件如用户头像,按钮, Tab 等提取出来,规范化。
我记得之前好像是有分类节点的,是后面去掉了吗? 现在没有这个主题分类,感觉用户发的帖子很容易就会新的信息淹没,虽然目前有顶部的一个二级简单分类。 我觉得需要侧边栏加一个类似 推荐节点/常用节点 之类的,将一些节点如 / Ruby/Rails / 分享/ 开源项目 / 产品推广 等等展现出来。 或者其实的展现形式。 @huacnlee
Maybe sometimes localtime is not right, I would like to specify datetime argument to clock? The datetime maybe from server side.
Make http resource uniqueIdentifier work in some case, for example: /users/{id}.json
usermatoMacBook-Pro:globalize2 qichunren$ rake test (in /Users/qichunren/github/globalize2) /Users/qichunren/.rvm/rubies/ruby-1.9.2-p0/bin/ruby -I"lib:lib" "/Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/active_record/fallbacks_test.rb" "test/active_record/migration_test.rb" "test/active_record/sti_translated_test.rb" "test/active_record/translates_test.rb" "test/active_record/translation_class_test.rb" "test/active_record_test.rb" "test/i18n/missing_translations_test.rb" /Users/qichunren/.rvm/gems/ruby-1.9.2-p0/gems/activerecord-3.1.0.beta1/lib/active_record/base.rb:1048:in `method_missing': undefined method`class_inheritable_accessor' for Post(Table doesn't exist):Class (NoMethodError) from /Users/qichunren/github/globalize2/lib/globalize/active_record.rb:47:in `translates' from /Users/qichunren/github/globalize2/test/data/models.rb:11:in`class:Post'...
See github top left search box for example.
Fixed issue #125
对于一个英文网站,采用 Chrome 的全文翻译成中文后,网页内容的元素高度会可能不一致。目前同步网页的位置是 采用 `window.scrollY`   ``` window.addEventListener('scroll', function(e) { if(pointer_clone.style.display == "none") { chrome.runtime.sendMessage({event: "scroll", url: window.location.href, scrolly: window.scrollY}); } }); ``` 因此需要获取当前元素的实际位置,才能保证两个窗口显示的位置大体相同。 