Commit 8fe8694
authored
Do not add state store restoration as an issue for new states (#892)
* Do not add state store restoration as an issue for new states
If there are new states, we will trigger history based on that later.
We were adding and removing a history issue during state restoration.
This caused history to restart after rebrowse, even when unnecessary.
Instead, I'll make two changes:
- Only add new states to the history reader _after_ restoring state, if
state restoration is enabled.
- Add the state restoration history issue only on startup, so that we
don't run history until we've done the _initial_ state restoration.
This probably needs a rethink, but this is all changing a lot with the
v3 refactor, and I'd prefer to wait with the big refactoring changes
until then. This should fix the issue.
* Try to improve test
* Bump version1 parent 23c4b91 commit 8fe8694
File tree
4 files changed
+29
-12
lines changed- Extractor
- History
- Test/Integration
4 files changed
+29
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
| |||
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
79 | | - | |
| 84 | + | |
80 | 85 | | |
81 | 86 | | |
82 | 87 | | |
| |||
235 | 240 | | |
236 | 241 | | |
237 | 242 | | |
238 | | - | |
| 243 | + | |
239 | 244 | | |
240 | 245 | | |
241 | 246 | | |
| |||
245 | 250 | | |
246 | 251 | | |
247 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
248 | 257 | | |
249 | 258 | | |
250 | 259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1022 | 1022 | | |
1023 | 1023 | | |
1024 | 1024 | | |
1025 | | - | |
| 1025 | + | |
1026 | 1026 | | |
1027 | 1027 | | |
1028 | 1028 | | |
| |||
1077 | 1077 | | |
1078 | 1078 | | |
1079 | 1079 | | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
| 1083 | + | |
1080 | 1084 | | |
1081 | 1085 | | |
1082 | 1086 | | |
| |||
1094 | 1098 | | |
1095 | 1099 | | |
1096 | 1100 | | |
1097 | | - | |
| 1101 | + | |
1098 | 1102 | | |
1099 | 1103 | | |
1100 | 1104 | | |
| |||
1106 | 1110 | | |
1107 | 1111 | | |
1108 | 1112 | | |
1109 | | - | |
| 1113 | + | |
1110 | 1114 | | |
1111 | | - | |
1112 | | - | |
1113 | 1115 | | |
1114 | 1116 | | |
1115 | 1117 | | |
| |||
1138 | 1140 | | |
1139 | 1141 | | |
1140 | 1142 | | |
1141 | | - | |
| 1143 | + | |
1142 | 1144 | | |
1143 | 1145 | | |
1144 | 1146 | | |
| |||
1156 | 1158 | | |
1157 | 1159 | | |
1158 | 1160 | | |
| 1161 | + | |
1159 | 1162 | | |
1160 | 1163 | | |
1161 | 1164 | | |
| |||
1209 | 1212 | | |
1210 | 1213 | | |
1211 | 1214 | | |
1212 | | - | |
1213 | | - | |
1214 | 1215 | | |
1215 | 1216 | | |
1216 | 1217 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1090 | 1090 | | |
1091 | 1091 | | |
1092 | 1092 | | |
| 1093 | + | |
| 1094 | + | |
1093 | 1095 | | |
1094 | 1096 | | |
1095 | 1097 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
70 | 75 | | |
71 | 76 | | |
72 | 77 | | |
| |||
0 commit comments