Skip to content

Commit 6daf4cd

Browse files
authored
Add readonly web UI (#256)
* Add Phoenix.PubSub to the supervision tree * Add Bob.Queue read functions for the web UI * Add Bob.Artifacts search and distinct-value functions * Broadcast :jobs_changed from Bob.Queue mutations * Add Phoenix, Bandit, and asset toolchain dependencies * Configure Phoenix endpoint and Tailwind/esbuild asset pipeline * Add BobWeb entry module, error views, components, and layouts * Add /api controllers and secret plug * Replace Plug.Cowboy/Bob.Router with BobWeb.Endpoint and /api controllers * Point agent API callers at /api routes * Add JobsLive with running/queued/past views and live refresh * Add ArtifactsLive search page * Add DockerTagsLive search page * Build digested assets in the release image * Ignore generated static assets * Add structured Docker tag search * Match Bob dashboard design * Optimize paginated views and Docker tag metadata * Add Docker tag ordering coverage * Tick running job elapsed times * Remove queue ordering hint * Remove unused vendor placeholder * Improve read-only web UI on mobile * Fix production runtime checks
1 parent 2a71dc4 commit 6daf4cd

52 files changed

Lines changed: 3931 additions & 177 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.gitignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ erl_crash.dump
44
*.ez
55
/tmp
66
/persist
7+
8+
# Generated assets
9+
/priv/static/assets/
10+
/priv/static/cache_manifest.json

‎Dockerfile‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ RUN mix deps.compile
3232
# build project
3333
COPY priv priv
3434
COPY lib lib
35+
COPY assets assets
36+
RUN mix assets.deploy
3537
RUN mix compile
3638

3739
# build release

0 commit comments

Comments
 (0)