neiam
/lambent_ex
Lambent Aether 5
public · Issues · Pulls 1 · Labels · Forks · Compare · Actions success · Badges · Packages
Log in to mark this repository.
A better preview experience, and a mix format
291233b · gmorell · 2023-01-15 01:51
Files changed
modified
assets/js/app.js
+0
−11
| 39 | 39 | // >> liveSocket.enableLatencySim(1000) // enabled for duration of browser session |
| 40 | 40 | // >> liveSocket.disableLatencySim() |
| 41 | 41 | window.liveSocket = liveSocket |
| 42 | − | |
| 43 | −// | |
| 44 | −import "popper" | |
| 45 | −import { Tooltip } from "@popperjs/core" | |
| 46 | − | |
| 47 | −var tooltipTriggerList = [].slice.call( | |
| 48 | − document.querySelectorAll('[data-bs-toggle="tooltip"]') | |
| 49 | −); | |
| 50 | −var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) { | |
| 51 | − return new Tooltip(tooltipTriggerEl); | |
| 52 | −}); |
modified
assets/package-lock.json
+0
−10
| 6 | 6 | "": { |
| 7 | 7 | "dependencies": { |
| 8 | 8 | "@fortawesome/fontawesome-free": "^6.2.1", |
| 9 | − "@popperjs/core": "^2.11.6", | |
| 10 | 9 | "daisyui": "^2.43.0" |
| 11 | 10 | } |
| 12 | 11 | }, |
| 51 | 50 | "node": ">= 8" |
| 52 | 51 | } |
| 53 | 52 | }, |
| 54 | − "node_modules/@popperjs/core": { | |
| 55 | − "version": "2.11.6", | |
| 56 | − "resolved": "https://registry.npmjs.org/@popperjs/core/-/core-2.11.6.tgz", | |
| 57 | − "integrity": "sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==", | |
| 58 | − "funding": { | |
| 59 | − "type": "opencollective", | |
| 60 | − "url": "https://opencollective.com/popperjs" | |
| 61 | − } | |
| 62 | − }, | |
| 63 | 53 | "node_modules/acorn": { |
| 64 | 54 | "version": "7.4.1", |
| 65 | 55 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", |
modified
assets/package.json
+0
−1
| 1 | 1 | { |
| 2 | 2 | "dependencies": { |
| 3 | 3 | "@fortawesome/fontawesome-free": "^6.2.1", |
| 4 | − "@popperjs/core": "^2.11.6", | |
| 5 | 4 | "daisyui": "^2.43.0" |
| 6 | 5 | } |
| 7 | 6 | } |
modified
config/config.exs
+1
−1
| 17 | 17 | pubsub_server: LambentEx.PubSub, |
| 18 | 18 | live_view: [signing_salt: "9XX1FUrk"], |
| 19 | 19 | live_editable: [ |
| 20 | −# ple_interface: Phoenix.LiveEditable.Interface.Tailwind3 | |
| 20 | + # ple_interface: Phoenix.LiveEditable.Interface.Tailwind3 | |
| 21 | 21 | ple_interface: LambentEx.Phoenix.LiveEditable.Interface.Tailwind3 |
| 22 | 22 | ] |
| 23 | 23 |
modified
config/runtime.exs
+8
−6
| 29 | 29 | |
| 30 | 30 | # We don't use the sessions at all at the moment so I'm going to generate one on boot by |
| 31 | 31 | # stolen from Mix.Tasks.Phx.Gen.Secret.run(["64"]) |
| 32 | − secret_key_base = :crypto.strong_rand_bytes(64) |> Base.encode64(padding: false) |> binary_part(0, 64) | |
| 33 | −# System.get_env("SECRET_KEY_BASE") || | |
| 34 | −# raise """ | |
| 35 | −# environment variable SECRET_KEY_BASE is missing. | |
| 36 | −# You can generate one by calling: mix phx.gen.secret | |
| 37 | −# """ | |
| 32 | + secret_key_base = | |
| 33 | + :crypto.strong_rand_bytes(64) |> Base.encode64(padding: false) |> binary_part(0, 64) | |
| 34 | + | |
| 35 | + # System.get_env("SECRET_KEY_BASE") || | |
| 36 | + # raise """ | |
| 37 | + # environment variable SECRET_KEY_BASE is missing. | |
| 38 | + # You can generate one by calling: mix phx.gen.secret | |
| 39 | + # """ | |
| 38 | 40 | |
| 39 | 41 | host = System.get_env("PHX_HOST") || "example.com" |
| 40 | 42 | port = String.to_integer(System.get_env("PORT") || "4000") |
modified
lib/lambent_ex/link.ex
+7
−3
Click to load diff…
modified
lib/lambent_ex/machine.ex
+70
−29
Click to load diff…
modified
lib/lambent_ex/machine/steps/firefly.ex
+17
−8
Click to load diff…
modified
lib/lambent_ex/machine/steps/growth.ex
+31
−22
Click to load diff…
modified
lib/lambent_ex/machine/steps/rainbow.ex
+2
−1
Click to load diff…
modified
lib/lambent_ex/machine/steps/scapes.ex
+11
−10
Click to load diff…
modified
lib/lambent_ex/machine/steps/solid.ex
+1
−2
Click to load diff…
modified
lib/lambent_ex/meta.ex
+35
−6
Click to load diff…
modified
lib/lambent_ex/names.ex
+1
−1
Click to load diff…
modified
lib/lambent_ex/scan/8266-7777.ex
+22
−11
Click to load diff…
modified
lib/lambent_ex/schema/links.ex
+19
−12
Click to load diff…
modified
lib/lambent_ex/schema/machines.ex
+22
−12
Click to load diff…
modified
lib/lambent_ex/schema/steps/chase.ex
+5
−5
Click to load diff…
modified
lib/lambent_ex/schema/steps/firefly.ex
+5
−5
Click to load diff…
modified
lib/lambent_ex/schema/steps/growth.ex
+9
−9
Click to load diff…
modified
lib/lambent_ex/schema/steps/rainbow.ex
+1
−1
Click to load diff…
modified
lib/lambent_ex/schema/steps/rocker.ex
+6
−6
Click to load diff…
modified
lib/lambent_ex/schema/steps/scapes.ex
+6
−6
Click to load diff…
modified
lib/lambent_ex/schema/steps/solid.ex
+3
−3
Click to load diff…
modified
lib/lambent_ex/supervision/component.ex
+1
−1
Click to load diff…
modified
lib/lambent_ex/supervision/link.ex
+7
−6
Click to load diff…
modified
lib/lambent_ex/util/color.ex
+23
−23
Click to load diff…
modified
lib/lambent_ex_web/components/buttons.ex
+18
−15
Click to load diff…
modified
lib/lambent_ex_web/components/core_components.ex
+5
−1
Click to load diff…
modified
lib/lambent_ex_web/components/layouts/app.html.heex
+24
−12
Click to load diff…
modified
lib/lambent_ex_web/components/ple_components.ex
+65
−29
Click to load diff…
modified
lib/lambent_ex_web/live/component.ex
+1
−2
Click to load diff…
modified
lib/lambent_ex_web/live/devices/index.ex
+27
−13
Click to load diff…
modified
lib/lambent_ex_web/live/devices/index.html.heex
+48
−33
Click to load diff…
modified
lib/lambent_ex_web/live/links/form_component.ex
+14
−10
Click to load diff…
modified
lib/lambent_ex_web/live/links/form_component.html.heex
+24
−15
Click to load diff…
modified
lib/lambent_ex_web/live/links/index.html.heex
+78
−63
Click to load diff…
modified
lib/lambent_ex_web/live/machines/form_component.ex
+82
−36
Click to load diff…
modified
lib/lambent_ex_web/live/machines/form_component.html.heex
+635
−327
Click to load diff…
modified
lib/lambent_ex_web/live/machines/index.ex
+18
−20
Click to load diff…
modified
lib/lambent_ex_web/live/machines/index.html.heex
+89
−70
Click to load diff…
modified
lib/lambent_ex_web/router.ex
+2
−2
Click to load diff…
modified
mix.exs
+2
−4
Click to load diff…
Parents: 2cd9c41