settingsIndex.spec.jsx.snap 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`SettingsIndex renders 1`] = `
  3. <SideEffect(DocumentTitle)
  4. title="org-slug Settings"
  5. >
  6. <SettingsLayout
  7. organization={
  8. Object {
  9. "access": Array [
  10. "org:read",
  11. "org:write",
  12. "org:admin",
  13. "org:integrations",
  14. "project:read",
  15. "project:write",
  16. "project:admin",
  17. "team:read",
  18. "team:write",
  19. "team:admin",
  20. ],
  21. "features": Array [],
  22. "id": "3",
  23. "name": "Organization Name",
  24. "onboardingTasks": Array [],
  25. "projects": Array [],
  26. "scrapeJavaScript": true,
  27. "slug": "org-slug",
  28. "status": Object {
  29. "id": "active",
  30. "name": "active",
  31. },
  32. "teams": Array [],
  33. }
  34. }
  35. >
  36. <GridLayout>
  37. <GridPanel>
  38. <HomePanelHeader>
  39. <HomeLinkIcon
  40. to="/settings/account/"
  41. >
  42. <AvatarContainer>
  43. <Avatar
  44. hasTooltip={false}
  45. size={76}
  46. user={
  47. Object {
  48. "email": "foo@example.com",
  49. "flags": Object {
  50. "newsletter_consent_prompt": false,
  51. },
  52. "hasPasswordAuth": true,
  53. "id": "1",
  54. "isAuthenticated": true,
  55. "name": "Foo Bar",
  56. "options": Object {
  57. "timezone": "UTC",
  58. },
  59. "permissions": Set {},
  60. "username": "foo@example.com",
  61. }
  62. }
  63. />
  64. </AvatarContainer>
  65. My Account
  66. </HomeLinkIcon>
  67. </HomePanelHeader>
  68. <HomePanelBody
  69. direction="column"
  70. disablePadding={true}
  71. flex={false}
  72. >
  73. <h3>
  74. Quick links
  75. :
  76. </h3>
  77. <ul>
  78. <li>
  79. <HomeLink
  80. to="/settings/account/security/"
  81. >
  82. Change my password
  83. </HomeLink>
  84. </li>
  85. <li>
  86. <HomeLink
  87. to="/settings/account/notifications/"
  88. >
  89. Notification Preferences
  90. </HomeLink>
  91. </li>
  92. <li>
  93. <HomeLink
  94. to="/settings/account/"
  95. >
  96. Change my avatar
  97. </HomeLink>
  98. </li>
  99. </ul>
  100. </HomePanelBody>
  101. </GridPanel>
  102. <GridPanel>
  103. <HomePanelHeader>
  104. <HomeLinkIcon
  105. to="/settings/org-slug/"
  106. >
  107. <AvatarContainer>
  108. <Avatar
  109. hasTooltip={false}
  110. organization={
  111. Object {
  112. "access": Array [
  113. "org:read",
  114. "org:write",
  115. "org:admin",
  116. "org:integrations",
  117. "project:read",
  118. "project:write",
  119. "project:admin",
  120. "team:read",
  121. "team:write",
  122. "team:admin",
  123. ],
  124. "features": Array [],
  125. "id": "3",
  126. "name": "Organization Name",
  127. "onboardingTasks": Array [],
  128. "projects": Array [],
  129. "scrapeJavaScript": true,
  130. "slug": "org-slug",
  131. "status": Object {
  132. "id": "active",
  133. "name": "active",
  134. },
  135. "teams": Array [],
  136. }
  137. }
  138. size={76}
  139. />
  140. </AvatarContainer>
  141. <OrganizationName>
  142. org-slug
  143. </OrganizationName>
  144. </HomeLinkIcon>
  145. </HomePanelHeader>
  146. <HomePanelBody
  147. direction="column"
  148. disablePadding={true}
  149. flex={false}
  150. >
  151. <h3>
  152. Quick links
  153. :
  154. </h3>
  155. <ul>
  156. <li>
  157. <HomeLink
  158. to="/settings/org-slug/projects/"
  159. >
  160. Projects
  161. </HomeLink>
  162. </li>
  163. <li>
  164. <HomeLink
  165. to="/settings/org-slug/teams/"
  166. >
  167. Teams
  168. </HomeLink>
  169. </li>
  170. <li>
  171. <HomeLink
  172. to="/settings/org-slug/members/"
  173. >
  174. Members
  175. </HomeLink>
  176. </li>
  177. </ul>
  178. </HomePanelBody>
  179. </GridPanel>
  180. <GridPanel>
  181. <HomePanelHeader>
  182. <ExternalHomeLink
  183. href="https://docs.sentry.io/"
  184. isCentered={true}
  185. >
  186. <HomeIcon
  187. color="orange"
  188. >
  189. <InlineSvg
  190. size="48px"
  191. src="icon-docs"
  192. />
  193. </HomeIcon>
  194. </ExternalHomeLink>
  195. <ExternalHomeLink
  196. href="https://docs.sentry.io/"
  197. >
  198. Documentation
  199. </ExternalHomeLink>
  200. </HomePanelHeader>
  201. <HomePanelBody
  202. direction="column"
  203. disablePadding={true}
  204. flex={false}
  205. >
  206. <h3>
  207. Quick links
  208. :
  209. </h3>
  210. <ul>
  211. <li>
  212. <ExternalHomeLink
  213. href="https://docs.sentry.io/quickstart/"
  214. >
  215. Quickstart Guide
  216. </ExternalHomeLink>
  217. </li>
  218. <li>
  219. <ExternalHomeLink
  220. href="https://docs.sentry.io/clients/"
  221. >
  222. Platforms & Frameworks
  223. </ExternalHomeLink>
  224. </li>
  225. <li>
  226. <ExternalHomeLink
  227. href="https://docs.sentry.io/learn/cli/"
  228. >
  229. Sentry CLI
  230. </ExternalHomeLink>
  231. </li>
  232. </ul>
  233. </HomePanelBody>
  234. </GridPanel>
  235. <GridPanel>
  236. <HomePanelHeader>
  237. <SupportLinkComponent
  238. href="https://forum.sentry.io/"
  239. isCentered={true}
  240. to="/settings/org-slug/support"
  241. >
  242. <HomeIcon
  243. color="purple"
  244. >
  245. <InlineSvg
  246. size="48px"
  247. src="icon-support"
  248. />
  249. </HomeIcon>
  250. Support
  251. </SupportLinkComponent>
  252. </HomePanelHeader>
  253. <HomePanelBody
  254. direction="column"
  255. disablePadding={true}
  256. flex={false}
  257. >
  258. <h3>
  259. Quick links
  260. :
  261. </h3>
  262. <ul>
  263. <li>
  264. <SupportLinkComponent
  265. href="https://forum.sentry.io/"
  266. to="/settings/org-slug/support"
  267. >
  268. Contact Support
  269. </SupportLinkComponent>
  270. </li>
  271. <li>
  272. <ExternalHomeLink
  273. href="https://github.com/getsentry/sentry/issues"
  274. >
  275. Sentry on GitHub
  276. </ExternalHomeLink>
  277. </li>
  278. <li>
  279. <ExternalHomeLink
  280. href="https://status.sentry.io/"
  281. >
  282. Service Status
  283. </ExternalHomeLink>
  284. </li>
  285. </ul>
  286. </HomePanelBody>
  287. </GridPanel>
  288. <GridPanel>
  289. <HomePanelHeader>
  290. <HomeLinkIcon
  291. to="/settings/account/api/"
  292. >
  293. <HomeIcon>
  294. <InlineSvg
  295. size="48px"
  296. src="icon-lock"
  297. />
  298. </HomeIcon>
  299. API Keys
  300. </HomeLinkIcon>
  301. </HomePanelHeader>
  302. <HomePanelBody
  303. direction="column"
  304. disablePadding={true}
  305. flex={false}
  306. >
  307. <h3>
  308. Quick links
  309. :
  310. </h3>
  311. <ul>
  312. <li>
  313. <HomeLink
  314. to="/settings/account/api/"
  315. >
  316. Auth Tokens
  317. </HomeLink>
  318. </li>
  319. <li>
  320. <HomeLink
  321. to="/settings/account/api/applications/"
  322. >
  323. Applications
  324. </HomeLink>
  325. </li>
  326. <li>
  327. <ExternalHomeLink
  328. href="https://docs.sentry.io/hosted/api/"
  329. >
  330. Documentation
  331. </ExternalHomeLink>
  332. </li>
  333. </ul>
  334. </HomePanelBody>
  335. </GridPanel>
  336. </GridLayout>
  337. </SettingsLayout>
  338. </SideEffect(DocumentTitle)>
  339. `;