diff --git a/stack.yaml b/stack.yaml index 6c99302..c3756bb 100644 --- a/stack.yaml +++ b/stack.yaml @@ -15,8 +15,8 @@ extra-deps: - github: Airsequel/simple-sql-parser commit: 680f2b77c53fcc086dc7d5f498f764ad2235b828 - - github: ad-si/iso8601-duration - commit: 15822155a51831fbcd75a3bb5cb608a731a0461b + - github: meteogrid/iso8601-duration + commit: 9524d1f02775be1d6c73165c4b4d62a19c8b7698 allow-newer: true diff --git a/stack.yaml.lock b/stack.yaml.lock index 44d719d..d0d5f1e 100644 --- a/stack.yaml.lock +++ b/stack.yaml.lock @@ -46,14 +46,14 @@ packages: - completed: name: iso8601-duration pantry-tree: - sha256: dd24cbdc13e4aa8ae25125ad3fece2ea910ecb5fd0af4c31fce39d26aaa7930e - size: 724 - sha256: 2645e7337c863d1dc7aa68ca79be6ca8efc79b508ad575336335d2d7cb7d5fca - size: 7309 - url: https://github.com/ad-si/iso8601-duration/archive/15822155a51831fbcd75a3bb5cb608a731a0461b.tar.gz + sha256: 7aec9c9ad262d3354d5eef475cdaff22fa60eba1303c480e67b33e84c31fad2c + size: 722 + sha256: 883399c89b887becc644c045431f336009927ab950cc8b5d0ea7016473ac3dda + size: 6507 + url: https://github.com/meteogrid/iso8601-duration/archive/9524d1f02775be1d6c73165c4b4d62a19c8b7698.tar.gz version: 0.1.2.0 original: - url: https://github.com/ad-si/iso8601-duration/archive/15822155a51831fbcd75a3bb5cb608a731a0461b.tar.gz + url: https://github.com/meteogrid/iso8601-duration/archive/9524d1f02775be1d6c73165c4b4d62a19c8b7698.tar.gz snapshots: - completed: sha256: e5cac927cf7ccbd52aa41476baa68b88c564ee6ddc3bc573dbf4210069287fe7 diff --git a/tasklite-airsequel-app/readme.md b/tasklite-airsequel-app/readme.md index 0beeea3..5debcce 100644 --- a/tasklite-airsequel-app/readme.md +++ b/tasklite-airsequel-app/readme.md @@ -11,7 +11,7 @@ written in [Elm](elm-lang.org). 1. Build GraphQL connector code: ```sh npx elm-graphql --skip-elm-format \ - http://localhost:4185/dbs/tasklite/graphql + http://localhost:7458/graphql ``` 1. Start the development server by running: ```sh diff --git a/tasklite-airsequel-app/src/Main.elm b/tasklite-airsequel-app/src/Main.elm index 6934136..5507aea 100644 --- a/tasklite-airsequel-app/src/Main.elm +++ b/tasklite-airsequel-app/src/Main.elm @@ -43,6 +43,7 @@ import Html.Styled.Attributes , css , disabled , href + , placeholder , title , type_ , value @@ -50,7 +51,7 @@ import Html.Styled.Attributes import Html.Styled.Events exposing (onCheck, onClick, onInput, onSubmit) import Iso8601 import Json.Decode -import List exposing (map) +import List import Random import RemoteData exposing (RemoteData(..)) import Tailwind.Theme exposing (..) @@ -59,17 +60,12 @@ import Task import Time exposing (Posix) import Ulid exposing (Ulid, ulidGenerator) import Url exposing (Url) -import Url.Parser exposing ((), Parser, map, oneOf, parse, s, string) - - -dbId : String -dbId = - "tasklite" +import Url.Parser exposing ((), Parser, oneOf, parse, s, string) graphqlApiUrl : String graphqlApiUrl = - "http://localhost:4185/dbs/" ++ dbId ++ "/graphql" + "http://localhost:7458/graphql" dark : List Css.Style -> Css.Style @@ -418,6 +414,7 @@ viewBody model = form [ onSubmit AddTaskNow, css [ flex, mb_3 ] ] [ input [ type_ "text" + , placeholder "Add a new task …" , onInput NewTask , value model.newTask , css @@ -429,6 +426,7 @@ viewBody model = , border , border_solid , border_color gray_400 + , placeholder_color gray_400 , dark [ bg_color neutral_800 , border_color neutral_500