groupSimilarView.spec.jsx.snap 82 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147
  1. // Jest Snapshot v1, https://goo.gl/fbAQLP
  2. exports[`Issues Similar View renders initially with loading component 1`] = `
  3. <div>
  4. <div
  5. className="alert alert-block alert-warning"
  6. >
  7. <strong>
  8. Warning
  9. :
  10. </strong>
  11. This is an experimental feature. Data may not be immediately available while we process merges.
  12. </div>
  13. <LoadingIndicator />
  14. </div>
  15. `;
  16. exports[`Issues Similar View renders with mocked data 1`] = `
  17. <GroupGroupingView
  18. location={Object {}}
  19. params={
  20. Object {
  21. "groupId": "groupId",
  22. "orgId": "orgId",
  23. "projectId": "projectId",
  24. }
  25. }
  26. >
  27. <div>
  28. <div
  29. className="alert alert-block alert-warning"
  30. >
  31. <strong>
  32. Warning
  33. :
  34. </strong>
  35. This is an experimental feature. Data may not be immediately available while we process merges.
  36. </div>
  37. <SimilarList
  38. filteredItems={
  39. Array [
  40. Object {
  41. "aggregate": Object {
  42. "exception": 0.375,
  43. },
  44. "isBelowThreshold": true,
  45. "issue": Object {
  46. "annotations": Array [],
  47. "assignedTo": null,
  48. "count": "2",
  49. "culprit": "Constructor.onSimilarUpdate(app/views/groupSimilar/groupingMergedList)",
  50. "firstSeen": "2017-07-25T02:21:52Z",
  51. "hasSeen": false,
  52. "id": "274",
  53. "isBookmarked": false,
  54. "isPublic": false,
  55. "isSubscribed": true,
  56. "lastSeen": "2017-07-25T02:22:19Z",
  57. "level": "error",
  58. "logger": "javascript",
  59. "metadata": Object {
  60. "type": "ReferenceError",
  61. "value": "unmergedList is not defined",
  62. },
  63. "numComments": 0,
  64. "permalink": "http://localhost:8000/sentry/internal/issues/274/",
  65. "project": Object {
  66. "name": "Internal",
  67. "slug": "internal",
  68. },
  69. "shareId": "312e323734",
  70. "shortId": "INTERNAL-4K",
  71. "status": "unresolved",
  72. "statusDetails": Object {},
  73. "subscriptionDetails": null,
  74. "title": "ReferenceError: unmergedList is not defined",
  75. "type": "error",
  76. "userCount": 1,
  77. },
  78. "score": Object {
  79. "exception:stacktrace:pairs": 0.375,
  80. },
  81. "scoresByInterface": Object {
  82. "exception": Array [
  83. Array [
  84. "exception:stacktrace:pairs",
  85. 0.375,
  86. ],
  87. ],
  88. },
  89. },
  90. Object {
  91. "aggregate": Object {
  92. "exception": 0.01264,
  93. },
  94. "isBelowThreshold": true,
  95. "issue": Object {
  96. "annotations": Array [],
  97. "assignedTo": null,
  98. "count": "1",
  99. "culprit": "size(app/views/groupSimilar/groupingMergedList)",
  100. "firstSeen": "2017-07-25T02:20:35Z",
  101. "hasSeen": true,
  102. "id": "275",
  103. "isBookmarked": false,
  104. "isPublic": false,
  105. "isSubscribed": true,
  106. "lastSeen": "2017-07-25T02:20:35Z",
  107. "level": "error",
  108. "logger": "javascript",
  109. "metadata": Object {
  110. "type": "TypeError",
  111. "value": "Cannot read property 'size' of undefined",
  112. },
  113. "numComments": 0,
  114. "permalink": "http://localhost:8000/sentry/internal/issues/275/",
  115. "project": Object {
  116. "name": "Internal",
  117. "slug": "internal",
  118. },
  119. "shareId": "312e323735",
  120. "shortId": "INTERNAL-4M",
  121. "status": "unresolved",
  122. "statusDetails": Object {},
  123. "subscriptionDetails": null,
  124. "title": "TypeError: Cannot read property 'size' of undefined",
  125. "type": "error",
  126. "userCount": 1,
  127. },
  128. "score": Object {
  129. "exception:stacktrace:pairs": 0.01264,
  130. },
  131. "scoresByInterface": Object {
  132. "exception": Array [
  133. Array [
  134. "exception:stacktrace:pairs",
  135. 0.01264,
  136. ],
  137. ],
  138. },
  139. },
  140. Object {
  141. "aggregate": Object {
  142. "exception": 0.0008615,
  143. },
  144. "isBelowThreshold": true,
  145. "issue": Object {
  146. "annotations": Array [],
  147. "assignedTo": Object {
  148. "avatar": Object {
  149. "avatarType": "letter_avatar",
  150. "avatarUuid": null,
  151. },
  152. "avatarUrl": "https://secure.gravatar.com/avatar/7b544e8eb9d08ed777be5aa82121155a?s=32&d=mm",
  153. "dateJoined": "2017-06-26T21:02:13.264Z",
  154. "email": "billy@sentry.io",
  155. "emails": Array [
  156. Object {
  157. "email": "billy@sentry.io",
  158. "id": "1",
  159. "is_verified": false,
  160. },
  161. ],
  162. "has2fa": false,
  163. "id": "1",
  164. "identities": Array [],
  165. "isActive": true,
  166. "isManaged": false,
  167. "lastActive": "2017-07-26T18:28:19.391Z",
  168. "lastLogin": "2017-07-25T01:00:50.473Z",
  169. "name": "billy@sentry.io",
  170. "username": "billy@sentry.io",
  171. },
  172. "count": "15",
  173. "culprit": "stale(app/views/groupDetails)",
  174. "firstSeen": "2017-07-25T02:20:35Z",
  175. "hasSeen": true,
  176. "id": "216",
  177. "isBookmarked": false,
  178. "isPublic": false,
  179. "isSubscribed": true,
  180. "lastSeen": "2017-07-25T23:21:19Z",
  181. "level": "error",
  182. "logger": "javascript",
  183. "metadata": Object {
  184. "type": "TypeError",
  185. "value": "Cannot read property 'stale' of undefined",
  186. },
  187. "numComments": 0,
  188. "permalink": "http://localhost:8000/sentry/internal/issues/216/",
  189. "project": Object {
  190. "name": "Internal",
  191. "slug": "internal",
  192. },
  193. "shareId": "312e323136",
  194. "shortId": "INTERNAL-2S",
  195. "status": "unresolved",
  196. "statusDetails": Object {},
  197. "subscriptionDetails": Object {
  198. "reason": "changed_status",
  199. },
  200. "title": "TypeError: Cannot read property 'stale' of undefined",
  201. "type": "error",
  202. "userCount": 1,
  203. },
  204. "score": Object {
  205. "exception:stacktrace:application-chunks": 0.000235,
  206. "exception:stacktrace:pairs": 0.001488,
  207. },
  208. "scoresByInterface": Object {
  209. "exception": Array [
  210. Array [
  211. "exception:stacktrace:application-chunks",
  212. 0.000235,
  213. ],
  214. Array [
  215. "exception:stacktrace:pairs",
  216. 0.001488,
  217. ],
  218. ],
  219. },
  220. },
  221. ]
  222. }
  223. groupId="groupId"
  224. items={
  225. Array [
  226. Object {
  227. "aggregate": Object {
  228. "exception": 0.875,
  229. },
  230. "isBelowThreshold": false,
  231. "issue": Object {
  232. "annotations": Array [],
  233. "assignedTo": null,
  234. "count": "90",
  235. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  236. "firstSeen": "2017-07-10T18:32:43Z",
  237. "hasSeen": false,
  238. "id": "271",
  239. "isBookmarked": false,
  240. "isPublic": false,
  241. "isSubscribed": true,
  242. "lastSeen": "2017-07-24T23:41:44Z",
  243. "level": "error",
  244. "logger": "javascript",
  245. "metadata": Object {
  246. "type": "TypeError",
  247. "value": "Cannot read property 'length' of undefined",
  248. },
  249. "numComments": 0,
  250. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  251. "project": Object {
  252. "name": "Internal",
  253. "slug": "internal",
  254. },
  255. "shareId": "312e323731",
  256. "shortId": "INTERNAL-4G",
  257. "status": "resolved",
  258. "statusDetails": Object {},
  259. "subscriptionDetails": null,
  260. "title": "TypeError: Cannot read property 'length' of undefined",
  261. "type": "error",
  262. "userCount": 3,
  263. },
  264. "score": Object {
  265. "exception:stacktrace:pairs": 0.875,
  266. },
  267. "scoresByInterface": Object {
  268. "exception": Array [
  269. Array [
  270. "exception:stacktrace:pairs",
  271. 0.875,
  272. ],
  273. ],
  274. },
  275. },
  276. ]
  277. }
  278. onMerge={[Function]}
  279. orgId="orgId"
  280. projectId="projectId"
  281. >
  282. <div
  283. className="similar-list-container"
  284. >
  285. <SpreadLayout
  286. center={true}
  287. className="similar-list-header"
  288. responsive={false}
  289. >
  290. <div
  291. className="spread-layout similar-list-header center"
  292. >
  293. <h2>
  294. <span>
  295. Similar Issues
  296. </span>
  297. <QueryCount
  298. count={4}
  299. hideIfEmpty={true}
  300. inline={true}
  301. >
  302. <div
  303. className="query-count inline"
  304. >
  305. <span>
  306. (
  307. </span>
  308. <span
  309. className="query-count-value"
  310. >
  311. 4
  312. </span>
  313. <span>
  314. )
  315. </span>
  316. </div>
  317. </QueryCount>
  318. </h2>
  319. <SimilarSpectrum>
  320. <div
  321. className="similar-spectrum"
  322. >
  323. <span>
  324. Similar
  325. </span>
  326. <span
  327. className="similar-spectrum-box high"
  328. />
  329. <span
  330. className="similar-spectrum-box med-high"
  331. />
  332. <span
  333. className="similar-spectrum-box med"
  334. />
  335. <span
  336. className="similar-spectrum-box low-med"
  337. />
  338. <span
  339. className="similar-spectrum-box low"
  340. />
  341. <span>
  342. Not Similar
  343. </span>
  344. </div>
  345. </SimilarSpectrum>
  346. </div>
  347. </SpreadLayout>
  348. <SimilarToolbar
  349. onMerge={[Function]}
  350. >
  351. <Toolbar
  352. className="similar-toolbar"
  353. >
  354. <div
  355. className="toolbar similar-toolbar"
  356. >
  357. <SpreadLayout
  358. center={true}
  359. responsive={true}
  360. >
  361. <div
  362. className="spread-layout center allow-responsive"
  363. >
  364. <FlowLayout
  365. style={
  366. Object {
  367. "flex": 1,
  368. }
  369. }
  370. truncate={true}
  371. >
  372. <div
  373. className="flow-layout is-truncated"
  374. style={
  375. Object {
  376. "flex": 1,
  377. }
  378. }
  379. >
  380. <FlowLayout
  381. truncate={true}
  382. >
  383. <div
  384. className="flow-layout is-truncated"
  385. >
  386. <div
  387. className="similar-toolbar-actions"
  388. >
  389. <LinkWithConfirmation
  390. className="btn btn-sm btn-default"
  391. disabled={true}
  392. message="Are you sure you want to merge these issues?"
  393. onConfirm={[Function]}
  394. title="Merging 0 issues"
  395. >
  396. <Confirm
  397. cancelText="Cancel"
  398. confirmText="Confirm"
  399. disabled={true}
  400. message="Are you sure you want to merge these issues?"
  401. onConfirm={[Function]}
  402. priority="primary"
  403. >
  404. <a
  405. className="btn btn-sm btn-default disabled"
  406. disabled={true}
  407. onClick={[Function]}
  408. title="Merging 0 issues"
  409. >
  410. Merge
  411. (
  412. 0
  413. )
  414. <Modal
  415. animation={false}
  416. autoFocus={true}
  417. backdrop={true}
  418. bsClass="modal"
  419. dialogComponentClass={[Function]}
  420. enforceFocus={true}
  421. keyboard={true}
  422. manager={
  423. ModalManager {
  424. "containers": Array [],
  425. "data": Array [],
  426. "handleContainerOverflow": true,
  427. "hideSiblingNodes": true,
  428. "modals": Array [],
  429. }
  430. }
  431. onHide={[Function]}
  432. renderBackdrop={[Function]}
  433. restoreFocus={true}
  434. show={false}
  435. >
  436. <Modal
  437. autoFocus={true}
  438. backdrop={true}
  439. backdropClassName="modal-backdrop"
  440. backdropTransitionTimeout={150}
  441. containerClassName="modal-open"
  442. dialogTransitionTimeout={300}
  443. enforceFocus={true}
  444. keyboard={true}
  445. manager={
  446. ModalManager {
  447. "containers": Array [],
  448. "data": Array [],
  449. "handleContainerOverflow": true,
  450. "hideSiblingNodes": true,
  451. "modals": Array [],
  452. }
  453. }
  454. onEntering={[Function]}
  455. onExited={[Function]}
  456. onHide={[Function]}
  457. renderBackdrop={[Function]}
  458. restoreFocus={true}
  459. show={false}
  460. />
  461. </Modal>
  462. </a>
  463. </Confirm>
  464. </LinkWithConfirmation>
  465. </div>
  466. </div>
  467. </FlowLayout>
  468. </div>
  469. </FlowLayout>
  470. <div
  471. className="similar-score-columns"
  472. >
  473. <ToolbarHeader
  474. className="similar-score-column event-count-header"
  475. >
  476. <div
  477. className="toolbar-header similar-score-column event-count-header"
  478. >
  479. Events
  480. </div>
  481. </ToolbarHeader>
  482. <ToolbarHeader
  483. className="similar-score-column event-similar-header"
  484. >
  485. <div
  486. className="toolbar-header similar-score-column event-similar-header"
  487. >
  488. Exception
  489. </div>
  490. </ToolbarHeader>
  491. <ToolbarHeader
  492. className="similar-score-column event-similar-header"
  493. >
  494. <div
  495. className="toolbar-header similar-score-column event-similar-header"
  496. >
  497. Message
  498. </div>
  499. </ToolbarHeader>
  500. </div>
  501. </div>
  502. </SpreadLayout>
  503. </div>
  504. </Toolbar>
  505. </SimilarToolbar>
  506. <div
  507. className="similar-list"
  508. >
  509. <SimilarIssueItem
  510. aggregate={
  511. Object {
  512. "exception": 0.875,
  513. }
  514. }
  515. groupId="groupId"
  516. isBelowThreshold={false}
  517. issue={
  518. Object {
  519. "annotations": Array [],
  520. "assignedTo": null,
  521. "count": "90",
  522. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  523. "firstSeen": "2017-07-10T18:32:43Z",
  524. "hasSeen": false,
  525. "id": "271",
  526. "isBookmarked": false,
  527. "isPublic": false,
  528. "isSubscribed": true,
  529. "lastSeen": "2017-07-24T23:41:44Z",
  530. "level": "error",
  531. "logger": "javascript",
  532. "metadata": Object {
  533. "type": "TypeError",
  534. "value": "Cannot read property 'length' of undefined",
  535. },
  536. "numComments": 0,
  537. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  538. "project": Object {
  539. "name": "Internal",
  540. "slug": "internal",
  541. },
  542. "shareId": "312e323731",
  543. "shortId": "INTERNAL-4G",
  544. "status": "resolved",
  545. "statusDetails": Object {},
  546. "subscriptionDetails": null,
  547. "title": "TypeError: Cannot read property 'length' of undefined",
  548. "type": "error",
  549. "userCount": 3,
  550. }
  551. }
  552. orgId="orgId"
  553. projectId="projectId"
  554. score={
  555. Object {
  556. "exception:stacktrace:pairs": 0.875,
  557. }
  558. }
  559. scoresByInterface={
  560. Object {
  561. "exception": Array [
  562. Array [
  563. "exception:stacktrace:pairs",
  564. 0.875,
  565. ],
  566. ],
  567. }
  568. }
  569. >
  570. <SpreadLayout
  571. center={true}
  572. className="group similar-issue isResolved"
  573. onClick={[Function]}
  574. responsive={true}
  575. >
  576. <div
  577. className="spread-layout group similar-issue isResolved center allow-responsive"
  578. onClick={[Function]}
  579. >
  580. <FlowLayout
  581. truncate={true}
  582. >
  583. <div
  584. className="flow-layout is-truncated"
  585. >
  586. <FlowLayout
  587. truncate={true}
  588. >
  589. <div
  590. className="flow-layout is-truncated"
  591. >
  592. <div
  593. className="action-column"
  594. >
  595. <Checkbox
  596. checked={false}
  597. id="271"
  598. value="271"
  599. >
  600. <input
  601. checked={false}
  602. className="chk-select"
  603. id="271"
  604. type="checkbox"
  605. value="271"
  606. />
  607. </Checkbox>
  608. </div>
  609. <div
  610. className="event-details level-error"
  611. style={
  612. Object {
  613. "flex": 1,
  614. }
  615. }
  616. >
  617. <EventOrGroupHeader
  618. data={
  619. Object {
  620. "annotations": Array [],
  621. "assignedTo": null,
  622. "count": "90",
  623. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  624. "firstSeen": "2017-07-10T18:32:43Z",
  625. "hasSeen": false,
  626. "id": "271",
  627. "isBookmarked": false,
  628. "isPublic": false,
  629. "isSubscribed": true,
  630. "lastSeen": "2017-07-24T23:41:44Z",
  631. "level": "error",
  632. "logger": "javascript",
  633. "metadata": Object {
  634. "type": "TypeError",
  635. "value": "Cannot read property 'length' of undefined",
  636. },
  637. "numComments": 0,
  638. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  639. "project": Object {
  640. "name": "Internal",
  641. "slug": "internal",
  642. },
  643. "shareId": "312e323731",
  644. "shortId": "INTERNAL-4G",
  645. "status": "resolved",
  646. "statusDetails": Object {},
  647. "subscriptionDetails": null,
  648. "title": "TypeError: Cannot read property 'length' of undefined",
  649. "type": "error",
  650. "userCount": 3,
  651. }
  652. }
  653. includeLink={true}
  654. orgId="orgId"
  655. projectId="projectId"
  656. >
  657. <div
  658. className="event-issue-header"
  659. >
  660. <h3
  661. className="truncate"
  662. >
  663. <Link
  664. onlyActiveOnIndex={false}
  665. style={Object {}}
  666. to="/orgId/projectId/issues/271/"
  667. >
  668. <a
  669. onClick={[Function]}
  670. style={Object {}}
  671. >
  672. <span
  673. className="error-level truncate"
  674. >
  675. error
  676. </span>
  677. <span
  678. className="icon icon-soundoff"
  679. />
  680. <span
  681. className="icon icon-star-solid"
  682. />
  683. <EventOrGroupTitle
  684. data={
  685. Object {
  686. "annotations": Array [],
  687. "assignedTo": null,
  688. "count": "90",
  689. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  690. "firstSeen": "2017-07-10T18:32:43Z",
  691. "hasSeen": false,
  692. "id": "271",
  693. "isBookmarked": false,
  694. "isPublic": false,
  695. "isSubscribed": true,
  696. "lastSeen": "2017-07-24T23:41:44Z",
  697. "level": "error",
  698. "logger": "javascript",
  699. "metadata": Object {
  700. "type": "TypeError",
  701. "value": "Cannot read property 'length' of undefined",
  702. },
  703. "numComments": 0,
  704. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  705. "project": Object {
  706. "name": "Internal",
  707. "slug": "internal",
  708. },
  709. "shareId": "312e323731",
  710. "shortId": "INTERNAL-4G",
  711. "status": "resolved",
  712. "statusDetails": Object {},
  713. "subscriptionDetails": null,
  714. "title": "TypeError: Cannot read property 'length' of undefined",
  715. "type": "error",
  716. "userCount": 3,
  717. }
  718. }
  719. includeLink={true}
  720. orgId="orgId"
  721. projectId="projectId"
  722. >
  723. <span>
  724. <span
  725. style={
  726. Object {
  727. "marginRight": 10,
  728. }
  729. }
  730. >
  731. TypeError
  732. </span>
  733. <em>
  734. length(app/views/groupSimilar/groupSimilarView)
  735. </em>
  736. <br />
  737. </span>
  738. </EventOrGroupTitle>
  739. </a>
  740. </Link>
  741. </h3>
  742. <div
  743. className="event-message truncate"
  744. >
  745. <span
  746. className="message"
  747. >
  748. Cannot read property 'length' of undefined
  749. </span>
  750. </div>
  751. </div>
  752. </EventOrGroupHeader>
  753. <EventOrGroupExtraDetails
  754. annotations={Array []}
  755. assignedTo={null}
  756. count="90"
  757. culprit="length(app/views/groupSimilar/groupSimilarView)"
  758. firstSeen="2017-07-10T18:32:43Z"
  759. group={true}
  760. groupId="271"
  761. hasSeen={false}
  762. id="271"
  763. isBookmarked={false}
  764. isPublic={false}
  765. isSubscribed={true}
  766. lastSeen={null}
  767. level="error"
  768. logger="javascript"
  769. metadata={
  770. Object {
  771. "type": "TypeError",
  772. "value": "Cannot read property 'length' of undefined",
  773. }
  774. }
  775. numComments={0}
  776. orgId="orgId"
  777. permalink="http://localhost:8000/sentry/internal/issues/271/"
  778. project={
  779. Object {
  780. "name": "Internal",
  781. "slug": "internal",
  782. }
  783. }
  784. projectId="projectId"
  785. shareId="312e323731"
  786. shortId="INTERNAL-4G"
  787. showAssignee={true}
  788. showStatus={true}
  789. status="resolved"
  790. statusDetails={Object {}}
  791. subscriptionDetails={null}
  792. title="TypeError: Cannot read property 'length' of undefined"
  793. type="error"
  794. userCount={3}
  795. >
  796. <div
  797. className="event-extra"
  798. >
  799. <ul>
  800. <li>
  801. <ShortId
  802. shortId="INTERNAL-4G"
  803. >
  804. <span
  805. className="short-id"
  806. onClick={[Function]}
  807. >
  808. <AutoSelectText>
  809. <div>
  810. INTERNAL-4G
  811. </div>
  812. </AutoSelectText>
  813. </span>
  814. </ShortId>
  815. </li>
  816. <li>
  817. <span
  818. className="icon icon-clock"
  819. />
  820. <TimeSince
  821. date="2017-07-10T18:32:43Z"
  822. suffix="old"
  823. >
  824. <time
  825. dateTime="2017-07-10T18:32:43.000Z"
  826. title="July 10, 2017 6:32 PM UTC"
  827. >
  828. 3 months old
  829. </time>
  830. </TimeSince>
  831. </li>
  832. <li
  833. className="event-annotation"
  834. >
  835. <Link
  836. onlyActiveOnIndex={false}
  837. style={Object {}}
  838. to={
  839. Object {
  840. "pathname": "/orgId/projectId/",
  841. "query": Object {
  842. "query": "logger:javascript",
  843. },
  844. }
  845. }
  846. >
  847. <a
  848. onClick={[Function]}
  849. style={Object {}}
  850. >
  851. javascript
  852. </a>
  853. </Link>
  854. </li>
  855. </ul>
  856. </div>
  857. </EventOrGroupExtraDetails>
  858. </div>
  859. </div>
  860. </FlowLayout>
  861. <button
  862. className="btn btn-default btn-xs"
  863. onClick={[Function]}
  864. style={
  865. Object {
  866. "marginRight": 2,
  867. }
  868. }
  869. >
  870. Diff
  871. </button>
  872. </div>
  873. </FlowLayout>
  874. <div
  875. className="similar-score-columns"
  876. >
  877. <count
  878. className="similar-score-column"
  879. value="90"
  880. >
  881. <span
  882. className="similar-score-column"
  883. >
  884. 90
  885. </span>
  886. </count>
  887. <div
  888. className="similar-score-column"
  889. >
  890. <Hovercard
  891. body={
  892. <SimilarScoreCard
  893. scoreList={
  894. Array [
  895. Array [
  896. "exception:stacktrace:pairs",
  897. 0.875,
  898. ],
  899. ]
  900. }
  901. />
  902. }
  903. >
  904. <span
  905. className="hovercard-container"
  906. onMouseEnter={[Function]}
  907. onMouseLeave={[Function]}
  908. >
  909. <ScoreBar
  910. palette={Array []}
  911. paletteClassNames={
  912. Array [
  913. "low",
  914. "low-med",
  915. "med",
  916. "med-high",
  917. "high",
  918. ]
  919. }
  920. score={4}
  921. vertical={true}
  922. >
  923. <div
  924. className="score-bar vertical"
  925. >
  926. <div
  927. className="score-bar-bar med-high"
  928. style={
  929. Object {
  930. "height": undefined,
  931. "width": undefined,
  932. }
  933. }
  934. />
  935. <div
  936. className="score-bar-bar med-high"
  937. style={
  938. Object {
  939. "height": undefined,
  940. "width": undefined,
  941. }
  942. }
  943. />
  944. <div
  945. className="score-bar-bar med-high"
  946. style={
  947. Object {
  948. "height": undefined,
  949. "width": undefined,
  950. }
  951. }
  952. />
  953. <div
  954. className="score-bar-bar med-high"
  955. style={
  956. Object {
  957. "height": undefined,
  958. "width": undefined,
  959. }
  960. }
  961. />
  962. <div
  963. className="score-bar-bar empty"
  964. style={
  965. Object {
  966. "height": undefined,
  967. "width": undefined,
  968. }
  969. }
  970. />
  971. </div>
  972. </ScoreBar>
  973. </span>
  974. </Hovercard>
  975. </div>
  976. <div
  977. className="similar-score-column"
  978. >
  979. <Hovercard
  980. body={0}
  981. >
  982. <span
  983. className="hovercard-container"
  984. onMouseEnter={[Function]}
  985. onMouseLeave={[Function]}
  986. >
  987. <ScoreBar
  988. palette={Array []}
  989. paletteClassNames={
  990. Array [
  991. "low",
  992. "low-med",
  993. "med",
  994. "med-high",
  995. "high",
  996. ]
  997. }
  998. score={0}
  999. vertical={true}
  1000. >
  1001. <div
  1002. className="score-bar vertical"
  1003. >
  1004. <div
  1005. className="score-bar-bar empty"
  1006. style={
  1007. Object {
  1008. "height": undefined,
  1009. "width": undefined,
  1010. }
  1011. }
  1012. />
  1013. <div
  1014. className="score-bar-bar empty"
  1015. style={
  1016. Object {
  1017. "height": undefined,
  1018. "width": undefined,
  1019. }
  1020. }
  1021. />
  1022. <div
  1023. className="score-bar-bar empty"
  1024. style={
  1025. Object {
  1026. "height": undefined,
  1027. "width": undefined,
  1028. }
  1029. }
  1030. />
  1031. <div
  1032. className="score-bar-bar empty"
  1033. style={
  1034. Object {
  1035. "height": undefined,
  1036. "width": undefined,
  1037. }
  1038. }
  1039. />
  1040. <div
  1041. className="score-bar-bar empty"
  1042. style={
  1043. Object {
  1044. "height": undefined,
  1045. "width": undefined,
  1046. }
  1047. }
  1048. />
  1049. </div>
  1050. </ScoreBar>
  1051. </span>
  1052. </Hovercard>
  1053. </div>
  1054. </div>
  1055. </div>
  1056. </SpreadLayout>
  1057. </SimilarIssueItem>
  1058. <div
  1059. className="similar-items-footer"
  1060. >
  1061. <button
  1062. className="btn btn-default btn-xl"
  1063. onClick={[Function]}
  1064. >
  1065. Show
  1066. 3
  1067. issues below threshold
  1068. </button>
  1069. </div>
  1070. </div>
  1071. <pagination
  1072. onCursor={[Function]}
  1073. />
  1074. </div>
  1075. </SimilarList>
  1076. </div>
  1077. </GroupGroupingView>
  1078. `;
  1079. exports[`Issues Similar View renders with mocked data 2`] = `
  1080. <GroupGroupingView
  1081. location={Object {}}
  1082. params={
  1083. Object {
  1084. "groupId": "groupId",
  1085. "orgId": "orgId",
  1086. "projectId": "projectId",
  1087. }
  1088. }
  1089. >
  1090. <div>
  1091. <div
  1092. className="alert alert-block alert-warning"
  1093. >
  1094. <strong>
  1095. Warning
  1096. :
  1097. </strong>
  1098. This is an experimental feature. Data may not be immediately available while we process merges.
  1099. </div>
  1100. <SimilarList
  1101. filteredItems={
  1102. Array [
  1103. Object {
  1104. "aggregate": Object {
  1105. "exception": 0.375,
  1106. },
  1107. "isBelowThreshold": true,
  1108. "issue": Object {
  1109. "annotations": Array [],
  1110. "assignedTo": null,
  1111. "count": "2",
  1112. "culprit": "Constructor.onSimilarUpdate(app/views/groupSimilar/groupingMergedList)",
  1113. "firstSeen": "2017-07-25T02:21:52Z",
  1114. "hasSeen": false,
  1115. "id": "274",
  1116. "isBookmarked": false,
  1117. "isPublic": false,
  1118. "isSubscribed": true,
  1119. "lastSeen": "2017-07-25T02:22:19Z",
  1120. "level": "error",
  1121. "logger": "javascript",
  1122. "metadata": Object {
  1123. "type": "ReferenceError",
  1124. "value": "unmergedList is not defined",
  1125. },
  1126. "numComments": 0,
  1127. "permalink": "http://localhost:8000/sentry/internal/issues/274/",
  1128. "project": Object {
  1129. "name": "Internal",
  1130. "slug": "internal",
  1131. },
  1132. "shareId": "312e323734",
  1133. "shortId": "INTERNAL-4K",
  1134. "status": "unresolved",
  1135. "statusDetails": Object {},
  1136. "subscriptionDetails": null,
  1137. "title": "ReferenceError: unmergedList is not defined",
  1138. "type": "error",
  1139. "userCount": 1,
  1140. },
  1141. "score": Object {
  1142. "exception:stacktrace:pairs": 0.375,
  1143. },
  1144. "scoresByInterface": Object {
  1145. "exception": Array [
  1146. Array [
  1147. "exception:stacktrace:pairs",
  1148. 0.375,
  1149. ],
  1150. ],
  1151. },
  1152. },
  1153. Object {
  1154. "aggregate": Object {
  1155. "exception": 0.01264,
  1156. },
  1157. "isBelowThreshold": true,
  1158. "issue": Object {
  1159. "annotations": Array [],
  1160. "assignedTo": null,
  1161. "count": "1",
  1162. "culprit": "size(app/views/groupSimilar/groupingMergedList)",
  1163. "firstSeen": "2017-07-25T02:20:35Z",
  1164. "hasSeen": true,
  1165. "id": "275",
  1166. "isBookmarked": false,
  1167. "isPublic": false,
  1168. "isSubscribed": true,
  1169. "lastSeen": "2017-07-25T02:20:35Z",
  1170. "level": "error",
  1171. "logger": "javascript",
  1172. "metadata": Object {
  1173. "type": "TypeError",
  1174. "value": "Cannot read property 'size' of undefined",
  1175. },
  1176. "numComments": 0,
  1177. "permalink": "http://localhost:8000/sentry/internal/issues/275/",
  1178. "project": Object {
  1179. "name": "Internal",
  1180. "slug": "internal",
  1181. },
  1182. "shareId": "312e323735",
  1183. "shortId": "INTERNAL-4M",
  1184. "status": "unresolved",
  1185. "statusDetails": Object {},
  1186. "subscriptionDetails": null,
  1187. "title": "TypeError: Cannot read property 'size' of undefined",
  1188. "type": "error",
  1189. "userCount": 1,
  1190. },
  1191. "score": Object {
  1192. "exception:stacktrace:pairs": 0.01264,
  1193. },
  1194. "scoresByInterface": Object {
  1195. "exception": Array [
  1196. Array [
  1197. "exception:stacktrace:pairs",
  1198. 0.01264,
  1199. ],
  1200. ],
  1201. },
  1202. },
  1203. Object {
  1204. "aggregate": Object {
  1205. "exception": 0.0008615,
  1206. },
  1207. "isBelowThreshold": true,
  1208. "issue": Object {
  1209. "annotations": Array [],
  1210. "assignedTo": Object {
  1211. "avatar": Object {
  1212. "avatarType": "letter_avatar",
  1213. "avatarUuid": null,
  1214. },
  1215. "avatarUrl": "https://secure.gravatar.com/avatar/7b544e8eb9d08ed777be5aa82121155a?s=32&d=mm",
  1216. "dateJoined": "2017-06-26T21:02:13.264Z",
  1217. "email": "billy@sentry.io",
  1218. "emails": Array [
  1219. Object {
  1220. "email": "billy@sentry.io",
  1221. "id": "1",
  1222. "is_verified": false,
  1223. },
  1224. ],
  1225. "has2fa": false,
  1226. "id": "1",
  1227. "identities": Array [],
  1228. "isActive": true,
  1229. "isManaged": false,
  1230. "lastActive": "2017-07-26T18:28:19.391Z",
  1231. "lastLogin": "2017-07-25T01:00:50.473Z",
  1232. "name": "billy@sentry.io",
  1233. "username": "billy@sentry.io",
  1234. },
  1235. "count": "15",
  1236. "culprit": "stale(app/views/groupDetails)",
  1237. "firstSeen": "2017-07-25T02:20:35Z",
  1238. "hasSeen": true,
  1239. "id": "216",
  1240. "isBookmarked": false,
  1241. "isPublic": false,
  1242. "isSubscribed": true,
  1243. "lastSeen": "2017-07-25T23:21:19Z",
  1244. "level": "error",
  1245. "logger": "javascript",
  1246. "metadata": Object {
  1247. "type": "TypeError",
  1248. "value": "Cannot read property 'stale' of undefined",
  1249. },
  1250. "numComments": 0,
  1251. "permalink": "http://localhost:8000/sentry/internal/issues/216/",
  1252. "project": Object {
  1253. "name": "Internal",
  1254. "slug": "internal",
  1255. },
  1256. "shareId": "312e323136",
  1257. "shortId": "INTERNAL-2S",
  1258. "status": "unresolved",
  1259. "statusDetails": Object {},
  1260. "subscriptionDetails": Object {
  1261. "reason": "changed_status",
  1262. },
  1263. "title": "TypeError: Cannot read property 'stale' of undefined",
  1264. "type": "error",
  1265. "userCount": 1,
  1266. },
  1267. "score": Object {
  1268. "exception:stacktrace:application-chunks": 0.000235,
  1269. "exception:stacktrace:pairs": 0.001488,
  1270. },
  1271. "scoresByInterface": Object {
  1272. "exception": Array [
  1273. Array [
  1274. "exception:stacktrace:application-chunks",
  1275. 0.000235,
  1276. ],
  1277. Array [
  1278. "exception:stacktrace:pairs",
  1279. 0.001488,
  1280. ],
  1281. ],
  1282. },
  1283. },
  1284. ]
  1285. }
  1286. groupId="groupId"
  1287. items={
  1288. Array [
  1289. Object {
  1290. "aggregate": Object {
  1291. "exception": 0.875,
  1292. },
  1293. "isBelowThreshold": false,
  1294. "issue": Object {
  1295. "annotations": Array [],
  1296. "assignedTo": null,
  1297. "count": "90",
  1298. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  1299. "firstSeen": "2017-07-10T18:32:43Z",
  1300. "hasSeen": false,
  1301. "id": "271",
  1302. "isBookmarked": false,
  1303. "isPublic": false,
  1304. "isSubscribed": true,
  1305. "lastSeen": "2017-07-24T23:41:44Z",
  1306. "level": "error",
  1307. "logger": "javascript",
  1308. "metadata": Object {
  1309. "type": "TypeError",
  1310. "value": "Cannot read property 'length' of undefined",
  1311. },
  1312. "numComments": 0,
  1313. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  1314. "project": Object {
  1315. "name": "Internal",
  1316. "slug": "internal",
  1317. },
  1318. "shareId": "312e323731",
  1319. "shortId": "INTERNAL-4G",
  1320. "status": "resolved",
  1321. "statusDetails": Object {},
  1322. "subscriptionDetails": null,
  1323. "title": "TypeError: Cannot read property 'length' of undefined",
  1324. "type": "error",
  1325. "userCount": 3,
  1326. },
  1327. "score": Object {
  1328. "exception:stacktrace:pairs": 0.875,
  1329. },
  1330. "scoresByInterface": Object {
  1331. "exception": Array [
  1332. Array [
  1333. "exception:stacktrace:pairs",
  1334. 0.875,
  1335. ],
  1336. ],
  1337. },
  1338. },
  1339. ]
  1340. }
  1341. onMerge={[Function]}
  1342. orgId="orgId"
  1343. projectId="projectId"
  1344. >
  1345. <div
  1346. className="similar-list-container"
  1347. >
  1348. <SpreadLayout
  1349. center={true}
  1350. className="similar-list-header"
  1351. responsive={false}
  1352. >
  1353. <div
  1354. className="spread-layout similar-list-header center"
  1355. >
  1356. <h2>
  1357. <span>
  1358. Similar Issues
  1359. </span>
  1360. <QueryCount
  1361. count={4}
  1362. hideIfEmpty={true}
  1363. inline={true}
  1364. >
  1365. <div
  1366. className="query-count inline"
  1367. >
  1368. <span>
  1369. (
  1370. </span>
  1371. <span
  1372. className="query-count-value"
  1373. >
  1374. 4
  1375. </span>
  1376. <span>
  1377. )
  1378. </span>
  1379. </div>
  1380. </QueryCount>
  1381. </h2>
  1382. <SimilarSpectrum>
  1383. <div
  1384. className="similar-spectrum"
  1385. >
  1386. <span>
  1387. Similar
  1388. </span>
  1389. <span
  1390. className="similar-spectrum-box high"
  1391. />
  1392. <span
  1393. className="similar-spectrum-box med-high"
  1394. />
  1395. <span
  1396. className="similar-spectrum-box med"
  1397. />
  1398. <span
  1399. className="similar-spectrum-box low-med"
  1400. />
  1401. <span
  1402. className="similar-spectrum-box low"
  1403. />
  1404. <span>
  1405. Not Similar
  1406. </span>
  1407. </div>
  1408. </SimilarSpectrum>
  1409. </div>
  1410. </SpreadLayout>
  1411. <SimilarToolbar
  1412. onMerge={[Function]}
  1413. >
  1414. <Toolbar
  1415. className="similar-toolbar"
  1416. >
  1417. <div
  1418. className="toolbar similar-toolbar"
  1419. >
  1420. <SpreadLayout
  1421. center={true}
  1422. responsive={true}
  1423. >
  1424. <div
  1425. className="spread-layout center allow-responsive"
  1426. >
  1427. <FlowLayout
  1428. style={
  1429. Object {
  1430. "flex": 1,
  1431. }
  1432. }
  1433. truncate={true}
  1434. >
  1435. <div
  1436. className="flow-layout is-truncated"
  1437. style={
  1438. Object {
  1439. "flex": 1,
  1440. }
  1441. }
  1442. >
  1443. <FlowLayout
  1444. truncate={true}
  1445. >
  1446. <div
  1447. className="flow-layout is-truncated"
  1448. >
  1449. <div
  1450. className="similar-toolbar-actions"
  1451. >
  1452. <LinkWithConfirmation
  1453. className="btn btn-sm btn-default"
  1454. disabled={true}
  1455. message="Are you sure you want to merge these issues?"
  1456. onConfirm={[Function]}
  1457. title="Merging 0 issues"
  1458. >
  1459. <Confirm
  1460. cancelText="Cancel"
  1461. confirmText="Confirm"
  1462. disabled={true}
  1463. message="Are you sure you want to merge these issues?"
  1464. onConfirm={[Function]}
  1465. priority="primary"
  1466. >
  1467. <a
  1468. className="btn btn-sm btn-default disabled"
  1469. disabled={true}
  1470. onClick={[Function]}
  1471. title="Merging 0 issues"
  1472. >
  1473. Merge
  1474. (
  1475. 0
  1476. )
  1477. <Modal
  1478. animation={false}
  1479. autoFocus={true}
  1480. backdrop={true}
  1481. bsClass="modal"
  1482. dialogComponentClass={[Function]}
  1483. enforceFocus={true}
  1484. keyboard={true}
  1485. manager={
  1486. ModalManager {
  1487. "containers": Array [],
  1488. "data": Array [],
  1489. "handleContainerOverflow": true,
  1490. "hideSiblingNodes": true,
  1491. "modals": Array [],
  1492. }
  1493. }
  1494. onHide={[Function]}
  1495. renderBackdrop={[Function]}
  1496. restoreFocus={true}
  1497. show={false}
  1498. >
  1499. <Modal
  1500. autoFocus={true}
  1501. backdrop={true}
  1502. backdropClassName="modal-backdrop"
  1503. backdropTransitionTimeout={150}
  1504. containerClassName="modal-open"
  1505. dialogTransitionTimeout={300}
  1506. enforceFocus={true}
  1507. keyboard={true}
  1508. manager={
  1509. ModalManager {
  1510. "containers": Array [],
  1511. "data": Array [],
  1512. "handleContainerOverflow": true,
  1513. "hideSiblingNodes": true,
  1514. "modals": Array [],
  1515. }
  1516. }
  1517. onEntering={[Function]}
  1518. onExited={[Function]}
  1519. onHide={[Function]}
  1520. renderBackdrop={[Function]}
  1521. restoreFocus={true}
  1522. show={false}
  1523. />
  1524. </Modal>
  1525. </a>
  1526. </Confirm>
  1527. </LinkWithConfirmation>
  1528. </div>
  1529. </div>
  1530. </FlowLayout>
  1531. </div>
  1532. </FlowLayout>
  1533. <div
  1534. className="similar-score-columns"
  1535. >
  1536. <ToolbarHeader
  1537. className="similar-score-column event-count-header"
  1538. >
  1539. <div
  1540. className="toolbar-header similar-score-column event-count-header"
  1541. >
  1542. Events
  1543. </div>
  1544. </ToolbarHeader>
  1545. <ToolbarHeader
  1546. className="similar-score-column event-similar-header"
  1547. >
  1548. <div
  1549. className="toolbar-header similar-score-column event-similar-header"
  1550. >
  1551. Exception
  1552. </div>
  1553. </ToolbarHeader>
  1554. <ToolbarHeader
  1555. className="similar-score-column event-similar-header"
  1556. >
  1557. <div
  1558. className="toolbar-header similar-score-column event-similar-header"
  1559. >
  1560. Message
  1561. </div>
  1562. </ToolbarHeader>
  1563. </div>
  1564. </div>
  1565. </SpreadLayout>
  1566. </div>
  1567. </Toolbar>
  1568. </SimilarToolbar>
  1569. <div
  1570. className="similar-list"
  1571. >
  1572. <SimilarIssueItem
  1573. aggregate={
  1574. Object {
  1575. "exception": 0.875,
  1576. }
  1577. }
  1578. groupId="groupId"
  1579. isBelowThreshold={false}
  1580. issue={
  1581. Object {
  1582. "annotations": Array [],
  1583. "assignedTo": null,
  1584. "count": "90",
  1585. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  1586. "firstSeen": "2017-07-10T18:32:43Z",
  1587. "hasSeen": false,
  1588. "id": "271",
  1589. "isBookmarked": false,
  1590. "isPublic": false,
  1591. "isSubscribed": true,
  1592. "lastSeen": "2017-07-24T23:41:44Z",
  1593. "level": "error",
  1594. "logger": "javascript",
  1595. "metadata": Object {
  1596. "type": "TypeError",
  1597. "value": "Cannot read property 'length' of undefined",
  1598. },
  1599. "numComments": 0,
  1600. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  1601. "project": Object {
  1602. "name": "Internal",
  1603. "slug": "internal",
  1604. },
  1605. "shareId": "312e323731",
  1606. "shortId": "INTERNAL-4G",
  1607. "status": "resolved",
  1608. "statusDetails": Object {},
  1609. "subscriptionDetails": null,
  1610. "title": "TypeError: Cannot read property 'length' of undefined",
  1611. "type": "error",
  1612. "userCount": 3,
  1613. }
  1614. }
  1615. orgId="orgId"
  1616. projectId="projectId"
  1617. score={
  1618. Object {
  1619. "exception:stacktrace:pairs": 0.875,
  1620. }
  1621. }
  1622. scoresByInterface={
  1623. Object {
  1624. "exception": Array [
  1625. Array [
  1626. "exception:stacktrace:pairs",
  1627. 0.875,
  1628. ],
  1629. ],
  1630. }
  1631. }
  1632. >
  1633. <SpreadLayout
  1634. center={true}
  1635. className="group similar-issue isResolved"
  1636. onClick={[Function]}
  1637. responsive={true}
  1638. >
  1639. <div
  1640. className="spread-layout group similar-issue isResolved center allow-responsive"
  1641. onClick={[Function]}
  1642. >
  1643. <FlowLayout
  1644. truncate={true}
  1645. >
  1646. <div
  1647. className="flow-layout is-truncated"
  1648. >
  1649. <FlowLayout
  1650. truncate={true}
  1651. >
  1652. <div
  1653. className="flow-layout is-truncated"
  1654. >
  1655. <div
  1656. className="action-column"
  1657. >
  1658. <Checkbox
  1659. checked={false}
  1660. id="271"
  1661. value="271"
  1662. >
  1663. <input
  1664. checked={false}
  1665. className="chk-select"
  1666. id="271"
  1667. type="checkbox"
  1668. value="271"
  1669. />
  1670. </Checkbox>
  1671. </div>
  1672. <div
  1673. className="event-details level-error"
  1674. style={
  1675. Object {
  1676. "flex": 1,
  1677. }
  1678. }
  1679. >
  1680. <EventOrGroupHeader
  1681. data={
  1682. Object {
  1683. "annotations": Array [],
  1684. "assignedTo": null,
  1685. "count": "90",
  1686. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  1687. "firstSeen": "2017-07-10T18:32:43Z",
  1688. "hasSeen": false,
  1689. "id": "271",
  1690. "isBookmarked": false,
  1691. "isPublic": false,
  1692. "isSubscribed": true,
  1693. "lastSeen": "2017-07-24T23:41:44Z",
  1694. "level": "error",
  1695. "logger": "javascript",
  1696. "metadata": Object {
  1697. "type": "TypeError",
  1698. "value": "Cannot read property 'length' of undefined",
  1699. },
  1700. "numComments": 0,
  1701. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  1702. "project": Object {
  1703. "name": "Internal",
  1704. "slug": "internal",
  1705. },
  1706. "shareId": "312e323731",
  1707. "shortId": "INTERNAL-4G",
  1708. "status": "resolved",
  1709. "statusDetails": Object {},
  1710. "subscriptionDetails": null,
  1711. "title": "TypeError: Cannot read property 'length' of undefined",
  1712. "type": "error",
  1713. "userCount": 3,
  1714. }
  1715. }
  1716. includeLink={true}
  1717. orgId="orgId"
  1718. projectId="projectId"
  1719. >
  1720. <div
  1721. className="event-issue-header"
  1722. >
  1723. <h3
  1724. className="truncate"
  1725. >
  1726. <Link
  1727. onlyActiveOnIndex={false}
  1728. style={Object {}}
  1729. to="/orgId/projectId/issues/271/"
  1730. >
  1731. <a
  1732. onClick={[Function]}
  1733. style={Object {}}
  1734. >
  1735. <span
  1736. className="error-level truncate"
  1737. >
  1738. error
  1739. </span>
  1740. <span
  1741. className="icon icon-soundoff"
  1742. />
  1743. <span
  1744. className="icon icon-star-solid"
  1745. />
  1746. <EventOrGroupTitle
  1747. data={
  1748. Object {
  1749. "annotations": Array [],
  1750. "assignedTo": null,
  1751. "count": "90",
  1752. "culprit": "length(app/views/groupSimilar/groupSimilarView)",
  1753. "firstSeen": "2017-07-10T18:32:43Z",
  1754. "hasSeen": false,
  1755. "id": "271",
  1756. "isBookmarked": false,
  1757. "isPublic": false,
  1758. "isSubscribed": true,
  1759. "lastSeen": "2017-07-24T23:41:44Z",
  1760. "level": "error",
  1761. "logger": "javascript",
  1762. "metadata": Object {
  1763. "type": "TypeError",
  1764. "value": "Cannot read property 'length' of undefined",
  1765. },
  1766. "numComments": 0,
  1767. "permalink": "http://localhost:8000/sentry/internal/issues/271/",
  1768. "project": Object {
  1769. "name": "Internal",
  1770. "slug": "internal",
  1771. },
  1772. "shareId": "312e323731",
  1773. "shortId": "INTERNAL-4G",
  1774. "status": "resolved",
  1775. "statusDetails": Object {},
  1776. "subscriptionDetails": null,
  1777. "title": "TypeError: Cannot read property 'length' of undefined",
  1778. "type": "error",
  1779. "userCount": 3,
  1780. }
  1781. }
  1782. includeLink={true}
  1783. orgId="orgId"
  1784. projectId="projectId"
  1785. >
  1786. <span>
  1787. <span
  1788. style={
  1789. Object {
  1790. "marginRight": 10,
  1791. }
  1792. }
  1793. >
  1794. TypeError
  1795. </span>
  1796. <em>
  1797. length(app/views/groupSimilar/groupSimilarView)
  1798. </em>
  1799. <br />
  1800. </span>
  1801. </EventOrGroupTitle>
  1802. </a>
  1803. </Link>
  1804. </h3>
  1805. <div
  1806. className="event-message truncate"
  1807. >
  1808. <span
  1809. className="message"
  1810. >
  1811. Cannot read property 'length' of undefined
  1812. </span>
  1813. </div>
  1814. </div>
  1815. </EventOrGroupHeader>
  1816. <EventOrGroupExtraDetails
  1817. annotations={Array []}
  1818. assignedTo={null}
  1819. count="90"
  1820. culprit="length(app/views/groupSimilar/groupSimilarView)"
  1821. firstSeen="2017-07-10T18:32:43Z"
  1822. group={true}
  1823. groupId="271"
  1824. hasSeen={false}
  1825. id="271"
  1826. isBookmarked={false}
  1827. isPublic={false}
  1828. isSubscribed={true}
  1829. lastSeen={null}
  1830. level="error"
  1831. logger="javascript"
  1832. metadata={
  1833. Object {
  1834. "type": "TypeError",
  1835. "value": "Cannot read property 'length' of undefined",
  1836. }
  1837. }
  1838. numComments={0}
  1839. orgId="orgId"
  1840. permalink="http://localhost:8000/sentry/internal/issues/271/"
  1841. project={
  1842. Object {
  1843. "name": "Internal",
  1844. "slug": "internal",
  1845. }
  1846. }
  1847. projectId="projectId"
  1848. shareId="312e323731"
  1849. shortId="INTERNAL-4G"
  1850. showAssignee={true}
  1851. showStatus={true}
  1852. status="resolved"
  1853. statusDetails={Object {}}
  1854. subscriptionDetails={null}
  1855. title="TypeError: Cannot read property 'length' of undefined"
  1856. type="error"
  1857. userCount={3}
  1858. >
  1859. <div
  1860. className="event-extra"
  1861. >
  1862. <ul>
  1863. <li>
  1864. <ShortId
  1865. shortId="INTERNAL-4G"
  1866. >
  1867. <span
  1868. className="short-id"
  1869. onClick={[Function]}
  1870. >
  1871. <AutoSelectText>
  1872. <div>
  1873. INTERNAL-4G
  1874. </div>
  1875. </AutoSelectText>
  1876. </span>
  1877. </ShortId>
  1878. </li>
  1879. <li>
  1880. <span
  1881. className="icon icon-clock"
  1882. />
  1883. <TimeSince
  1884. date="2017-07-10T18:32:43Z"
  1885. suffix="old"
  1886. >
  1887. <time
  1888. dateTime="2017-07-10T18:32:43.000Z"
  1889. title="July 10, 2017 6:32 PM UTC"
  1890. >
  1891. 3 months old
  1892. </time>
  1893. </TimeSince>
  1894. </li>
  1895. <li
  1896. className="event-annotation"
  1897. >
  1898. <Link
  1899. onlyActiveOnIndex={false}
  1900. style={Object {}}
  1901. to={
  1902. Object {
  1903. "pathname": "/orgId/projectId/",
  1904. "query": Object {
  1905. "query": "logger:javascript",
  1906. },
  1907. }
  1908. }
  1909. >
  1910. <a
  1911. onClick={[Function]}
  1912. style={Object {}}
  1913. >
  1914. javascript
  1915. </a>
  1916. </Link>
  1917. </li>
  1918. </ul>
  1919. </div>
  1920. </EventOrGroupExtraDetails>
  1921. </div>
  1922. </div>
  1923. </FlowLayout>
  1924. <button
  1925. className="btn btn-default btn-xs"
  1926. onClick={[Function]}
  1927. style={
  1928. Object {
  1929. "marginRight": 2,
  1930. }
  1931. }
  1932. >
  1933. Diff
  1934. </button>
  1935. </div>
  1936. </FlowLayout>
  1937. <div
  1938. className="similar-score-columns"
  1939. >
  1940. <count
  1941. className="similar-score-column"
  1942. value="90"
  1943. >
  1944. <span
  1945. className="similar-score-column"
  1946. >
  1947. 90
  1948. </span>
  1949. </count>
  1950. <div
  1951. className="similar-score-column"
  1952. >
  1953. <Hovercard
  1954. body={
  1955. <SimilarScoreCard
  1956. scoreList={
  1957. Array [
  1958. Array [
  1959. "exception:stacktrace:pairs",
  1960. 0.875,
  1961. ],
  1962. ]
  1963. }
  1964. />
  1965. }
  1966. >
  1967. <span
  1968. className="hovercard-container"
  1969. onMouseEnter={[Function]}
  1970. onMouseLeave={[Function]}
  1971. >
  1972. <ScoreBar
  1973. palette={Array []}
  1974. paletteClassNames={
  1975. Array [
  1976. "low",
  1977. "low-med",
  1978. "med",
  1979. "med-high",
  1980. "high",
  1981. ]
  1982. }
  1983. score={4}
  1984. vertical={true}
  1985. >
  1986. <div
  1987. className="score-bar vertical"
  1988. >
  1989. <div
  1990. className="score-bar-bar med-high"
  1991. style={
  1992. Object {
  1993. "height": undefined,
  1994. "width": undefined,
  1995. }
  1996. }
  1997. />
  1998. <div
  1999. className="score-bar-bar med-high"
  2000. style={
  2001. Object {
  2002. "height": undefined,
  2003. "width": undefined,
  2004. }
  2005. }
  2006. />
  2007. <div
  2008. className="score-bar-bar med-high"
  2009. style={
  2010. Object {
  2011. "height": undefined,
  2012. "width": undefined,
  2013. }
  2014. }
  2015. />
  2016. <div
  2017. className="score-bar-bar med-high"
  2018. style={
  2019. Object {
  2020. "height": undefined,
  2021. "width": undefined,
  2022. }
  2023. }
  2024. />
  2025. <div
  2026. className="score-bar-bar empty"
  2027. style={
  2028. Object {
  2029. "height": undefined,
  2030. "width": undefined,
  2031. }
  2032. }
  2033. />
  2034. </div>
  2035. </ScoreBar>
  2036. </span>
  2037. </Hovercard>
  2038. </div>
  2039. <div
  2040. className="similar-score-column"
  2041. >
  2042. <Hovercard
  2043. body={0}
  2044. >
  2045. <span
  2046. className="hovercard-container"
  2047. onMouseEnter={[Function]}
  2048. onMouseLeave={[Function]}
  2049. >
  2050. <ScoreBar
  2051. palette={Array []}
  2052. paletteClassNames={
  2053. Array [
  2054. "low",
  2055. "low-med",
  2056. "med",
  2057. "med-high",
  2058. "high",
  2059. ]
  2060. }
  2061. score={0}
  2062. vertical={true}
  2063. >
  2064. <div
  2065. className="score-bar vertical"
  2066. >
  2067. <div
  2068. className="score-bar-bar empty"
  2069. style={
  2070. Object {
  2071. "height": undefined,
  2072. "width": undefined,
  2073. }
  2074. }
  2075. />
  2076. <div
  2077. className="score-bar-bar empty"
  2078. style={
  2079. Object {
  2080. "height": undefined,
  2081. "width": undefined,
  2082. }
  2083. }
  2084. />
  2085. <div
  2086. className="score-bar-bar empty"
  2087. style={
  2088. Object {
  2089. "height": undefined,
  2090. "width": undefined,
  2091. }
  2092. }
  2093. />
  2094. <div
  2095. className="score-bar-bar empty"
  2096. style={
  2097. Object {
  2098. "height": undefined,
  2099. "width": undefined,
  2100. }
  2101. }
  2102. />
  2103. <div
  2104. className="score-bar-bar empty"
  2105. style={
  2106. Object {
  2107. "height": undefined,
  2108. "width": undefined,
  2109. }
  2110. }
  2111. />
  2112. </div>
  2113. </ScoreBar>
  2114. </span>
  2115. </Hovercard>
  2116. </div>
  2117. </div>
  2118. </div>
  2119. </SpreadLayout>
  2120. </SimilarIssueItem>
  2121. <div
  2122. className="similar-items-footer"
  2123. >
  2124. <button
  2125. className="btn btn-default btn-xl"
  2126. onClick={[Function]}
  2127. >
  2128. Show
  2129. 3
  2130. issues below threshold
  2131. </button>
  2132. </div>
  2133. </div>
  2134. <pagination
  2135. onCursor={[Function]}
  2136. />
  2137. </div>
  2138. </SimilarList>
  2139. </div>
  2140. </GroupGroupingView>
  2141. `;