Commit 304fbea
feat: sort and space cross-reference lists on /content/detail
The Cross References widget renders comma-separated identifier lists
(RefSeq, ENSEMBL, COSMIC, ...). Two issues on the wider website detail
card: the lists came back unsorted and the commas were spaced at 2px
which made the rows visually run together.
- Sort each database group's identifiers naturally in CrossReferences-
Component.crossReferences (localeCompare with numeric: true so
RefSeq_2 sorts before RefSeq_10).
- detail.component.scss overrides ::ng-deep cr-cross-references
composition-container with a roomier line-height (1.7) and 8px
comma margins. The pathway-browser's compact 2px defaults are
unchanged.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 911eee9 commit 304fbea
2 files changed
Lines changed: 23 additions & 1 deletion
File tree
- projects
- pathway-browser/src/app/details/common/cross-references
- website-angular/src/app/content/detail
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | 101 | | |
| |||
0 commit comments