Skip to content

Commit

Permalink
PLT-4148 - Transaction detail view for Marlowe Explorer (#31)
Browse files Browse the repository at this point in the history
* Simplify flow of contractView
* Simplify contract caching logic
* Use local timezone for contact view
* Add POSIX time in addition to real time in minTime
* Remove unnecessary space
* Implement transaction detail view for Marlowe Explorer
  • Loading branch information
palas committed Mar 17, 2023
1 parent 457b181 commit 3f0baee
Show file tree
Hide file tree
Showing 11 changed files with 527 additions and 116 deletions.
3 changes: 3 additions & 0 deletions hie.yaml
Expand Up @@ -39,6 +39,9 @@ cradle:
- path: "./src/Language/Marlowe/Runtime/Types/LazyFeed.hs"
component: "marlowe-explorer:lib"

- path: "./src/Language/Marlowe/Runtime/Types/TransactionJSON.hs"
component: "marlowe-explorer:lib"

- path: "./src/Language/Marlowe/Runtime/Types/TransactionsJSON.hs"
component: "marlowe-explorer:lib"

Expand Down
10 changes: 10 additions & 0 deletions marlowe-explorer.cabal
Expand Up @@ -36,6 +36,7 @@ library
Language.Marlowe.Runtime.Types.ContractsJSON
Language.Marlowe.Runtime.Types.IndexedSeq
Language.Marlowe.Runtime.Types.LazyFeed
Language.Marlowe.Runtime.Types.TransactionJSON
Language.Marlowe.Runtime.Types.TransactionsJSON
Language.Marlowe.Semantics.Types
Lib
Expand All @@ -53,6 +54,9 @@ library
, blaze-markup
, bytestring
, containers
, errors
, extra
, ghc
, http-client
, http-conduit
, http-types
Expand Down Expand Up @@ -84,6 +88,9 @@ executable marlowe-explorer-exe
, blaze-markup
, bytestring
, containers
, errors
, extra
, ghc
, http-client
, http-conduit
, http-types
Expand Down Expand Up @@ -114,6 +121,9 @@ test-suite marlowe-explorer-test
, blaze-markup
, bytestring
, containers
, errors
, extra
, ghc
, hspec
, hspec-wai
, http-client
Expand Down
3 changes: 3 additions & 0 deletions package.yaml
Expand Up @@ -19,6 +19,9 @@ dependencies:
- blaze-markup
- bytestring
- containers
- errors
- extra
- ghc
- http-client
- http-conduit
- http-types
Expand Down
4 changes: 2 additions & 2 deletions shell.nix
Expand Up @@ -5,7 +5,7 @@ let
f = { mkDerivation, base, blaze-html, gtk, lib, process
, temporary, zlib, aeson, servant-server, wai, warp, haskell-language-server
, hspec, hspec-wai, servant-blaze, http-client, wl-pprint
, http-conduit, http-types
, http-conduit, http-types, errors
}:
mkDerivation {
pname = "marlowe-explorer";
Expand All @@ -16,7 +16,7 @@ let
executableHaskellDepends = [
base blaze-html gtk process temporary zlib
aeson servant-server wai warp
haskell-language-server
haskell-language-server errors
hspec hspec-wai servant-blaze
http-client wl-pprint http-conduit http-types
];
Expand Down

0 comments on commit 3f0baee

Please sign in to comment.