Commit cc2d099
committed
fix(status): report payjoin as disabled, not offline, when off
Adds ServiceStatus.disabled (intentionally turned off, distinct from
unknown/not-checked) and returns it for the payjoin service the moment
the setting is off, instead of probing the OHTTP relay and painting the
whole status page red for a feature the user isn't relying on. The
status page shows it muted-grey with a "Disabled" label, and it no
longer counts against allServicesOnline.1 parent dce27f4 commit cc2d099
4 files changed
Lines changed: 27 additions & 2 deletions
File tree
- lib
- core/status/domain
- entity
- usecases
- features/status_check
- localization
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
112 | 116 | | |
113 | 117 | | |
114 | 118 | | |
115 | | - | |
| 119 | + | |
| 120 | + | |
116 | 121 | | |
117 | 122 | | |
118 | 123 | | |
| |||
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
149 | 162 | | |
150 | 163 | | |
151 | 164 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| 140 | + | |
140 | 141 | | |
141 | 142 | | |
142 | 143 | | |
| |||
149 | 150 | | |
150 | 151 | | |
151 | 152 | | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | 157 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14887 | 14887 | | |
14888 | 14888 | | |
14889 | 14889 | | |
| 14890 | + | |
| 14891 | + | |
| 14892 | + | |
| 14893 | + | |
14890 | 14894 | | |
14891 | 14895 | | |
0 commit comments