Skip to content

Commit 638fbd8

Browse files
committed
Rework login views
The UI now works except the issue evaluation...
1 parent 9ff6a08 commit 638fbd8

28 files changed

+1607
-487
lines changed

server/.formatter.exs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[
22
import_deps: [:phoenix],
3+
plugins: [Phoenix.LiveView.HTMLFormatter],
34
inputs: ["*.{heex,ex,exs}", "{config,lib,test}/**/*.{heex,ex,exs}"]
45
]

server/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ field_hub-*.tar
2828
# Ignore digested assets cache.
2929
/priv/static/cache_manifest.json
3030

31+
# Ignore elixir_ls directory
32+
.elixir_ls/
33+
3134
# In case you use Node.js/npm, you want to ignore these.
3235
npm-debug.log
3336
/assets/node_modules/

server/config/dev.exs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ config :field_hub, FieldHubWeb.Endpoint,
1515
ip: {0, 0, 0, 0},
1616
port: 4000,
1717
protocol_options: [
18-
idle_timeout: :infinity
18+
idle_timeout: :infinity,
19+
inactivity_timeout: :infinity,
20+
linger_timeout: :infinity,
21+
request_timeout: :infinity
1922
]
2023
],
2124
check_origin: false,

server/lib/field_hub_web.ex

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ defmodule FieldHubWeb do
8787
# Shortcut for generating JS commands
8888
alias Phoenix.LiveView.JS
8989

90+
# Core UI components
91+
import FieldHubWeb.CoreComponents
92+
9093
# Routes generation with the ~p sigil
9194
unquote(verified_routes())
9295
end

0 commit comments

Comments
 (0)