Fix right toolbar activity time color in dark theme
Fixes: https://gitlab.com/gitlab-org/gitter/webapp/issues/2314
Fix right toolbar activity time color in dark theme
Before | After |
---|---|
Testing strategy
For internal Gitter developers, to add integration activity to a room locally, you can use https://gitlab.com/gitlab-org/gitter/gitter-webhooks-handler#sending-fake-webhook-messages (private project)
For others, you can add something to the Mongo database directly,
Mongo `db.events.insert` query
$ mongo localhost:27017
> use gitter
db.events.insert({
"meta" : {
"repo" : "malditogeek/hook",
"url" : "https://github.com/malditogeek/hook/issues/5",
"title" : "Issue E",
"user" : "malditogeek",
"action" : "opened",
"event" : "issues",
"service" : "github",
"type" : "webhook"
},
"html" : "[Github] malditogeek opened an issue in malditogeek/hook: Issue E <a target=\"_blank\" data-link-type=\"issue\" data-issue=\"5\" href=\"https://github.com/malditogeek/hook/issues/5\" data-provider=\"github\" data-issue-repo=\"malditogeek/hook\" class=\"issue\">malditogeek/hook#5</a>",
"text" : "[Github] malditogeek opened an issue in malditogeek/hook: Issue E https://github.com/malditogeek/hook/issues/5",
"toTroupeId" : ObjectId("5d279603bcf9d73ef00e0068"),
"fromUserId" : null,
"editedAt" : null,
"sent" : ISODate("2019-10-28T21:47:17.931Z"),
"payload" : {
"sender" : {
"site_admin" : false,
"type" : "User",
"received_events_url" : "https://api.github.com/users/malditogeek/received_events",
"events_url" : "https://api.github.com/users/malditogeek/events{/privacy}",
"repos_url" : "https://api.github.com/users/malditogeek/repos",
"organizations_url" : "https://api.github.com/users/malditogeek/orgs",
"subscriptions_url" : "https://api.github.com/users/malditogeek/subscriptions",
"starred_url" : "https://api.github.com/users/malditogeek/starred{/owner}{/repo}",
"gists_url" : "https://api.github.com/users/malditogeek/gists{/gist_id}",
"following_url" : "https://api.github.com/users/malditogeek/following{/other_user}",
"followers_url" : "https://api.github.com/users/malditogeek/followers",
"html_url" : "https://github.com/malditogeek",
"url" : "https://api.github.com/users/malditogeek",
"gravatar_id" : "4605adbcd13e20c14e82fcf528b516e6",
"avatar_url" : "https://0.gravatar.com/avatar/4605adbcd13e20c14e82fcf528b516e6?d=https%3A%2F%2Fidenticons.github.com%2Fefad653e1abded64a74417c531cdca0f.png&r=x",
"id" : 14751,
"login" : "malditogeek"
},
"repository" : {
"master_branch" : "master",
"default_branch" : "master",
"watchers" : 0,
"open_issues" : 5,
"forks" : 0,
"open_issues_count" : 5,
"mirror_url" : null,
"forks_count" : 0,
"has_wiki" : true,
"has_downloads" : true,
"has_issues" : true,
"language" : "Shell",
"watchers_count" : 0,
"stargazers_count" : 0,
"size" : 173,
"homepage" : null,
"svn_url" : "https://github.com/malditogeek/hook",
"clone_url" : "https://github.com/malditogeek/hook.git",
"ssh_url" : "git@github.com:malditogeek/hook.git",
"git_url" : "git://github.com/malditogeek/hook.git",
"pushed_at" : "2013-11-06T15:08:49Z",
"updated_at" : "2013-11-06T15:08:51Z",
"created_at" : "2013-08-20T11:34:27Z",
"releases_url" : "https://api.github.com/repos/malditogeek/hook/releases{/id}",
"labels_url" : "https://api.github.com/repos/malditogeek/hook/labels{/name}",
"notifications_url" : "https://api.github.com/repos/malditogeek/hook/notifications{?since,all,participating}",
"milestones_url" : "https://api.github.com/repos/malditogeek/hook/milestones{/number}",
"pulls_url" : "https://api.github.com/repos/malditogeek/hook/pulls{/number}",
"issues_url" : "https://api.github.com/repos/malditogeek/hook/issues{/number}",
"downloads_url" : "https://api.github.com/repos/malditogeek/hook/downloads",
"archive_url" : "https://api.github.com/repos/malditogeek/hook/{archive_format}{/ref}",
"merges_url" : "https://api.github.com/repos/malditogeek/hook/merges",
"compare_url" : "https://api.github.com/repos/malditogeek/hook/compare/{base}...{head}",
"contents_url" : "https://api.github.com/repos/malditogeek/hook/contents/{+path}",
"issue_comment_url" : "https://api.github.com/repos/malditogeek/hook/issues/comments/{number}",
"comments_url" : "https://api.github.com/repos/malditogeek/hook/comments{/number}",
"git_commits_url" : "https://api.github.com/repos/malditogeek/hook/git/commits{/sha}",
"commits_url" : "https://api.github.com/repos/malditogeek/hook/commits{/sha}",
"subscription_url" : "https://api.github.com/repos/malditogeek/hook/subscription",
"subscribers_url" : "https://api.github.com/repos/malditogeek/hook/subscribers",
"contributors_url" : "https://api.github.com/repos/malditogeek/hook/contributors",
"stargazers_url" : "https://api.github.com/repos/malditogeek/hook/stargazers",
"languages_url" : "https://api.github.com/repos/malditogeek/hook/languages",
"statuses_url" : "https://api.github.com/repos/malditogeek/hook/statuses/{sha}",
"trees_url" : "https://api.github.com/repos/malditogeek/hook/git/trees{/sha}",
"git_refs_url" : "https://api.github.com/repos/malditogeek/hook/git/refs{/sha}",
"git_tags_url" : "https://api.github.com/repos/malditogeek/hook/git/tags{/sha}",
"blobs_url" : "https://api.github.com/repos/malditogeek/hook/git/blobs{/sha}",
"tags_url" : "https://api.github.com/repos/malditogeek/hook/tags",
"branches_url" : "https://api.github.com/repos/malditogeek/hook/branches{/branch}",
"assignees_url" : "https://api.github.com/repos/malditogeek/hook/assignees{/user}",
"events_url" : "https://api.github.com/repos/malditogeek/hook/events",
"issue_events_url" : "https://api.github.com/repos/malditogeek/hook/issues/events{/number}",
"hooks_url" : "https://api.github.com/repos/malditogeek/hook/hooks",
"teams_url" : "https://api.github.com/repos/malditogeek/hook/teams",
"collaborators_url" : "https://api.github.com/repos/malditogeek/hook/collaborators{/collaborator}",
"keys_url" : "https://api.github.com/repos/malditogeek/hook/keys{/key_id}",
"forks_url" : "https://api.github.com/repos/malditogeek/hook/forks",
"url" : "https://api.github.com/repos/malditogeek/hook",
"fork" : false,
"description" : "",
"html_url" : "https://github.com/malditogeek/hook",
"private" : false,
"owner" : {
"site_admin" : false,
"type" : "User",
"received_events_url" : "https://api.github.com/users/malditogeek/received_events",
"events_url" : "https://api.github.com/users/malditogeek/events{/privacy}",
"repos_url" : "https://api.github.com/users/malditogeek/repos",
"organizations_url" : "https://api.github.com/users/malditogeek/orgs",
"subscriptions_url" : "https://api.github.com/users/malditogeek/subscriptions",
"starred_url" : "https://api.github.com/users/malditogeek/starred{/owner}{/repo}",
"gists_url" : "https://api.github.com/users/malditogeek/gists{/gist_id}",
"following_url" : "https://api.github.com/users/malditogeek/following{/other_user}",
"followers_url" : "https://api.github.com/users/malditogeek/followers",
"html_url" : "https://github.com/malditogeek",
"url" : "https://api.github.com/users/malditogeek",
"gravatar_id" : "4605adbcd13e20c14e82fcf528b516e6",
"avatar_url" : "https://0.gravatar.com/avatar/4605adbcd13e20c14e82fcf528b516e6?d=https%3A%2F%2Fidenticons.github.com%2Fefad653e1abded64a74417c531cdca0f.png&r=x",
"id" : 14751,
"login" : "malditogeek"
},
"full_name" : "malditogeek/hook",
"name" : "hook",
"id" : 12241610
},
"issue" : {
"body" : "",
"pull_request" : {
"patch_url" : null,
"diff_url" : null,
"html_url" : null
},
"closed_at" : null,
"updated_at" : "2013-11-06T15:45:49Z",
"created_at" : "2013-11-06T15:45:49Z",
"comments" : 0,
"milestone" : null,
"assignee" : null,
"state" : "open",
"labels" : [ ],
"user" : {
"site_admin" : false,
"type" : "User",
"received_events_url" : "https://api.github.com/users/malditogeek/received_events",
"events_url" : "https://api.github.com/users/malditogeek/events{/privacy}",
"repos_url" : "https://api.github.com/users/malditogeek/repos",
"organizations_url" : "https://api.github.com/users/malditogeek/orgs",
"subscriptions_url" : "https://api.github.com/users/malditogeek/subscriptions",
"starred_url" : "https://api.github.com/users/malditogeek/starred{/owner}{/repo}",
"gists_url" : "https://api.github.com/users/malditogeek/gists{/gist_id}",
"following_url" : "https://api.github.com/users/malditogeek/following{/other_user}",
"followers_url" : "https://api.github.com/users/malditogeek/followers",
"html_url" : "https://github.com/malditogeek",
"url" : "https://api.github.com/users/malditogeek",
"gravatar_id" : "4605adbcd13e20c14e82fcf528b516e6",
"avatar_url" : "https://2.gravatar.com/avatar/4605adbcd13e20c14e82fcf528b516e6?d=https%3A%2F%2Fidenticons.github.com%2Fefad653e1abded64a74417c531cdca0f.png&r=x",
"id" : 14751,
"login" : "malditogeek"
},
"title" : "Issue E",
"number" : 5,
"id" : 22202629,
"html_url" : "https://github.com/malditogeek/hook/issues/5",
"events_url" : "https://api.github.com/repos/malditogeek/hook/issues/5/events",
"comments_url" : "https://api.github.com/repos/malditogeek/hook/issues/5/comments",
"labels_url" : "https://api.github.com/repos/malditogeek/hook/issues/5/labels{/name}",
"url" : "https://api.github.com/repos/malditogeek/hook/issues/5"
},
"action" : "opened"
}
})
Edited by Eric Eastwood