You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: NEW_RELEASE.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,8 @@ This project follows [Semantic Versioning](https://semver.org/). Here are some e
31
31
-[ ] Update the API by running `scripts/create_spec` script.
32
32
-[ ] Create & merge a branch/PR off `main` to bump the version in the CHANGELOG and also using `poetry version ${VERSION}`
33
33
-[ ] Checkout main & create a detached HEAD: `git checkout main; git pull; git checkout --detach`
34
-
-[ ] Build the webapp in `web` with `npm run build` and force add the changes with `git add -f web/dist; git commit -m "Build web app for release"`
34
+
-[ ] CD into `web`, Run `echo "VITE_BACKEND_VERSION=$(poetry version -s)" > .env`
35
+
-[ ] Still in `web`, build the webapp with `npm run build` and force add the changes with `git add -f web/dist; git commit -m "Build web app for release"`
35
36
-[ ] Tag the changes so we can make a release on GitHub: `git tag -as ${VERSION} -m '' && git push origin ${VERSION}`
36
37
-[ ] Make a release using the GitHub interface
37
38
-[ ] Use the AmpliPi updater to update to the release
set({alert: {"open": true,"text": "Your webapp is out of date, closing this message will refresh the page. If this message persists post-refresh, clear your browser cache and try again.","onClose": ()=>{window.location.reload();}}});
143
+
}
136
144
}
137
145
});
138
146
}elseif(res.status==401){
@@ -225,15 +233,19 @@ Page.propTypes = {
225
233
};
226
234
227
235
constApp=({ selectedPage })=>{
236
+
constalert=useStatusStore((s)=>s.alert);
228
237
return(
229
-
<divclassName="app">
238
+
<divclassName="app">
230
239
<DisconnectedIcon/>
231
-
<divclassName="background-gradient"></div>{/* Used to make sure the background doesn't stretch or stop prematurely on scrollable pages */}
232
-
<divclassName="app-body">
233
-
<PageselectedPage={selectedPage}/>
234
-
</div>
235
-
<MenuBarpageNumber={selectedPage}/>
240
+
<divclassName="background-gradient">{/* Used to make sure the background doesn't stretch or stop prematurely on scrollable pages */}</div>
0 commit comments