Skip to content

Commit

Permalink
new colors
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 22, 2025
1 parent 912310e commit 8d1721d
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 11 deletions.
6 changes: 3 additions & 3 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"files": {
"main.css": "/static/css/main.02152627.css",
"main.js": "/static/js/main.5d8f9857.js",
"main.js": "/static/js/main.97c814c9.js",
"static/media/roboto-all-500-normal.woff": "/static/media/roboto-all-500-normal.0ab669b7a0d19b178f57.woff",
"static/media/roboto-all-700-normal.woff": "/static/media/roboto-all-700-normal.a457fde362a540fcadff.woff",
"static/media/roboto-all-400-normal.woff": "/static/media/roboto-all-400-normal.c5d001fa922fa66a147f.woff",
Expand Down Expand Up @@ -36,10 +36,10 @@
"static/media/roboto-greek-ext-700-normal.woff2": "/static/media/roboto-greek-ext-700-normal.bd9854c751441ccc1a70.woff2",
"index.html": "/index.html",
"main.02152627.css.map": "/static/css/main.02152627.css.map",
"main.5d8f9857.js.map": "/static/js/main.5d8f9857.js.map"
"main.97c814c9.js.map": "/static/js/main.97c814c9.js.map"
},
"entrypoints": [
"static/css/main.02152627.css",
"static/js/main.5d8f9857.js"
"static/js/main.97c814c9.js"
]
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.5d8f9857.js"></script><link href="/static/css/main.02152627.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Pioreactor"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><script defer="defer" src="/static/js/main.97c814c9.js"></script><link href="/static/css/main.02152627.css" rel="stylesheet"></head><body><div id="root"></div></body></html>
3 changes: 3 additions & 0 deletions pioreactorui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
from paho.mqtt.enums import CallbackAPIVersion
from pioreactor.config import config as pioreactor_config
from pioreactor.config import get_leader_hostname
from pioreactor.plugin_management import get_plugins
from pioreactor.whoami import am_I_leader
from pioreactor.whoami import get_unit_name
from pioreactor.whoami import UNIVERSAL_EXPERIMENT
Expand Down Expand Up @@ -116,6 +117,8 @@ def handle_server_error(e):
app.json = MsgspecJsonProvider(app)
app.get_json = app.json.loads

get_plugins()

return app


Expand Down
1 change: 1 addition & 0 deletions pioreactorui/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def stop_job_on_unit(pioreactor_unit: str, experiment: str, job: str) -> Respons
try:
msg.wait_for_publish(timeout=2.0)
except Exception:
# TODO: make this $broadcastable
tasks.multicast_post_across_cluster(
f"/unit_api/jobs/stop/job_name/{job}", [pioreactor_unit]
)
Expand Down
1 change: 0 additions & 1 deletion pioreactorui/unit_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ def is_rate_limited(job: str, expire_time_seconds=1.0) -> bool:

@unit_api.route("/jobs/run/job_name/<job>", methods=["PATCH", "POST"])
def run_job(job: str) -> ResponseReturnValue:
# DONT USE YET
"""
Body should look like (all optional)
{
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ python-dotenv==1.0.1
paho-mqtt==2.1.0
huey==2.5.0
msgspec==0.19.0
werkzeug==3.0.3
werkzeug==3.1.3
pioreactor>=24.9.26
8 changes: 4 additions & 4 deletions static/js/main.5d8f9857.js → static/js/main.97c814c9.js

Large diffs are not rendered by default.

File renamed without changes.

Large diffs are not rendered by default.

0 comments on commit 8d1721d

Please sign in to comment.