Commit 3c23880
authored
fix: breadcrumb ID conflict and empty labels on dictionary navigation (#23)
* fix missing preposition
* fix: breadcrumb ID conflict and empty labels on dictionary navigation
- Add PushID/PopID around breadcrumb buttons to avoid conflicting IDs when stack has duplicate names
- Protect against empty runtime field/property/method names by checking first character
- Fall back to (unnamed) label in breadcrumb when name string is empty1 parent 80add2e commit 3c23880
2 files changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2566 | 2566 | | |
2567 | 2567 | | |
2568 | 2568 | | |
| 2569 | + | |
2569 | 2570 | | |
2570 | 2571 | | |
2571 | 2572 | | |
2572 | 2573 | | |
2573 | 2574 | | |
2574 | 2575 | | |
2575 | | - | |
| 2576 | + | |
| 2577 | + | |
| 2578 | + | |
| 2579 | + | |
2576 | 2580 | | |
2577 | 2581 | | |
2578 | 2582 | | |
| 2583 | + | |
2579 | 2584 | | |
2580 | 2585 | | |
2581 | 2586 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
| 184 | + | |
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| |||
0 commit comments