feat(tasks): add keyboard index and productivity dashboard improvements
This commit is contained in:
1 parent
02edb51b8a
commit
667776e43f
44 files changed
+1224
-138
No files matched your search
@@ -77,9 +77,14 @@ func TestBookmarkAndVimSettingsChromium(t *testing.T) {
|
||||
if len(items) != 2 || items[0].Kind != "section" || !items[0].Children || items[0].Href != "/docs" || items[1].Label != "Reference" {
|
||||
t.Fatalf("saved bookmarks: %#v", items)
|
||||
}
|
||||
if got := s.homeGlassTransparency(domain); got != 57 {
|
||||
r := httptest.NewRequest("GET", "http://localhost/", nil)
|
||||
r.Header.Set("Authorization", "Bearer "+token)
|
||||
if got := s.appearanceForRequest(r).Glass; got != 57 {
|
||||
t.Fatalf("saved glass transparency: %d", got)
|
||||
}
|
||||
if s.homeGlassTransparency(domain) == 57 {
|
||||
t.Fatal("personal appearance changed domain defaults")
|
||||
}
|
||||
vim := s.domainVimSettings(domain)
|
||||
if !vim.Enabled || vim.Vimrc != "set tabstop=3\n" || vim.ColorName != "uploaded.vim" || !strings.Contains(vim.Colorscheme, "Normal") {
|
||||
t.Fatalf("saved vim: %#v", vim)
|
||||
|
||||
Reference in new issue
Block a user