Repository navigation
Commit bbd0abc
authored
fix(panel): update-check reported failure on success (#460)
* fix(panel): update-check always reported failure on success
The panel compared updateInfo.status against names the backend classify
(src/version-check.js) never returns, so a successful check fell through
to the error branch. Align the status name and add a cross-file contract
lock: every status the panel compares must be a value classify can
actually return, and the fetch path must match the registered route
(77 tests). Discrimination verified by re-injecting the wrong name - the
new lock names it.
* fix(panel): star entry should lead to the repo page, not the stargazers list
The star entry linked to /stargazers - the page that lists who already
starred, with no way to star. Point it at the repo home, where the Star
button sits in the header (recheck feedback).1 parent be4b10a commit bbd0abc
2 files changed
Lines changed: 44 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3452 | 3452 | | |
3453 | 3453 | | |
3454 | 3454 | | |
3455 | | - | |
| 3455 | + | |
| 3456 | + | |
| 3457 | + | |
| 3458 | + | |
3456 | 3459 | | |
3457 | 3460 | | |
3458 | 3461 | | |
| |||
4184 | 4187 | | |
4185 | 4188 | | |
4186 | 4189 | | |
4187 | | - | |
| 4190 | + | |
| 4191 | + | |
4188 | 4192 | | |
4189 | 4193 | | |
4190 | | - | |
| 4194 | + | |
4191 | 4195 | | |
4192 | 4196 | | |
4193 | 4197 | | |
| |||
8215 | 8219 | | |
8216 | 8220 | | |
8217 | 8221 | | |
| 8222 | + | |
| 8223 | + | |
| 8224 | + | |
| 8225 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2055 | 2055 | | |
2056 | 2056 | | |
2057 | 2057 | | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
| 2061 | + | |
| 2062 | + | |
| 2063 | + | |
| 2064 | + | |
| 2065 | + | |
| 2066 | + | |
| 2067 | + | |
| 2068 | + | |
| 2069 | + | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
| 2073 | + | |
| 2074 | + | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
| 2083 | + | |
| 2084 | + | |
| 2085 | + | |
| 2086 | + | |
| 2087 | + | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
0 commit comments