gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] branch master updated: more doc


From: gnunet
Subject: [taler-merchant-backoffice] branch master updated: more doc
Date: Fri, 25 Jun 2021 18:10:21 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository merchant-backoffice.

The following commit(s) were added to refs/heads/master by this push:
     new b470522  more doc
b470522 is described below

commit b47052234cd9290e06d4edfb32ec17df1f385d6f
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Jun 25 13:09:19 2021 -0300

    more doc
---
 CHANGELOG.md          | 16 ++--------------
 DESIGN.md             |  4 +++-
 README.md             | 19 ++++++++++++++++---
 build-system/Makefile |  4 ++--
 4 files changed, 23 insertions(+), 20 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index ad3529a..3ed6490 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,36 +6,24 @@ and this project adheres to [Semantic 
Versioning](https://semver.org/spec/v2.0.0
 
 ## [Future work]
 
- - date format (error handling)
- - red color when input is invalid (onchange)
- - validate everything using onChange
-
- - replace Yup and type definition with a taler-library for the purpose (first 
wait Florian to refactor wallet core)
  - add more doc style comments 
  - configure eslint
  - configure prettier
  - prune scss styles to reduce size
- - fix mobile: some things are still on the left
- - edit button to go to instance settings
  - cleanup instance and token management, because code is a mess and can be 
refactored 
 
- - unlock a product when is locked
- - check that there is no place where the taxes are summing up 
- - translation missing: yup (check for some ot  her dynamic message)
- - contract terms
+ - show information about product being locked up
  - fulfillment url should check absolute url or relative to the merchant domain
- - create taler ui
  - contract terms in the wallet
  - when backoffice get a response of the merchant that have info about the 
response of the exchange, the error is not readed correctly... see wire transfer
  - when creating the first default instance, the page keeps reloading 
preventing for filling the form
  - 
 
  - create instance with auth token
- - add more information about reserve when is not founded
- - replace manipulation of amount with taler util libraries
 
  - check, not running the backend, load the SPA, then start running the 
backend. after this click the login button should enter the app but doesnt do 
anything
 
+ - move types from backoffice into @gnu-taler/taler-util
 
 wallet
 
diff --git a/DESIGN.md b/DESIGN.md
index e20c8c3..d6252cc 100644
--- a/DESIGN.md
+++ b/DESIGN.md
@@ -94,8 +94,10 @@ These 3 elements are used to setup the FormProvider
 
 Inputs should handle UI rendering and use `useField(name)` to get:
 
-  * error: the error message if there is one
+  * error: the field has been modified and the value is not correct
+  * required: the field need to be corrected
   * value: the current value of the object
+  * initial: original value before change
   * onChange: function to update the current field
 
 Also, every input must be ready to receive these properties
diff --git a/README.md b/README.md
index a3d9fe9..d587a92 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,17 @@ Override the PORT variable to run the server in another port.
 make dev PORT=9090
 ```
 
+The application need to connect to a merchant-backend properly configured to 
run.
+
+To run a UI development server run:
+
+```shell
+make dev-ui
+```
+
+UI development server will lookup for *.stories.tsx files and render examples 
of
+pages. This examples are useful for test correctness, accessibility,
+internationalization and code coverage.
 ## Building for deploy
 
 To build and deploy the SPA in your local server run the install script:
@@ -91,7 +102,7 @@ The result will be placed at 
`packages/frontend/single/index.html`.
     
[`enzyme-adapter-preact-pure`](https://github.com/preactjs/enzyme-adapter-preact-pure)
 for
     your tests.
 
-*   `make dev-views`: Run visual components explorer. Useful for components 
design and development
+*   `make dev-ui`: Run visual components explorer. Useful for components 
design and development
     without the need of setting up the whole system.
 
 ## Runtime dependencies
@@ -104,8 +115,10 @@ The result will be placed at 
`packages/frontend/single/index.html`.
 
 *   SWR: React Hooks library for data fetching (stale-while-revalidate)
 
-*   Yup: schema builder for value parsing and validation
+*   Yup: schema builder for value parsing and validation (to be deprecated)
 
 *   Date-fns: library for manipulating javascript date
 
-*   messageformat: ICU MessageFormat for Javascript, with support for .po and 
.mo files
+*   qrcode-generator: simplest qr implementation based on JIS X 0510:1999
+
+*   @gnu-taler/taler-util: types and tooling
diff --git a/build-system/Makefile b/build-system/Makefile
index 8f03c11..cf3c157 100644
--- a/build-system/Makefile
+++ b/build-system/Makefile
@@ -55,8 +55,8 @@ dev: compile
 serve: build
        pnpm run --filter merchant-backoffice serve
 
-.PHONY: dev-view
-dev-view: compile
+.PHONY: dev-ui
+dev-ui: compile
        pnpm run --filter merchant-backoffice storybook
 
 .PHONY: lint

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]