Skip to content
Snippets Groups Projects
Commit 1f495159 authored by Pierre-Jean CHANCELLIER's avatar Pierre-Jean CHANCELLIER
Browse files

improve doc and sass bootstrap imports

parent 56fb7d90
No related branches found
No related tags found
No related merge requests found
......@@ -4,21 +4,29 @@
This project needs NodeJS v16
In order to use the hooks, this project needs :
In order to use the `./utils/findMissingI18nKeys.sh` script, this project needs :
- jq ([Site pour le download](https://stedolan.github.io/jq/download/))
- jq ([Download](https://stedolan.github.io/jq/download/))
## Contribute
```bash
$ git clone https://git.duniter.org/paidge/wotwizard-ui.git
$ cd wotwizard-ui
# If you want to use the git's hook to prevent commits if language strings are missing
$ git config --local core.hooksPath .githooks/
# To be sure to use Node 16
$ nvm use 16
# Create your branch
$ git checkout -b my-branch
# Install the dependencies of the project
$ npm install
# Compile the project and launch a local server for development
$ npm run dev
... Development...
# If you don't use th git's hook and want to create missing language strings
$ npm run trad
# Analyze build assets sizes
$ npm run analyze
$ git commit
$ git push
......@@ -108,5 +116,5 @@ $ npm run build
$ npm run start
# Or generate static project
$ npm run generates
$ npm run generate
```
......@@ -12,15 +12,27 @@
@import "~bootstrap/scss/mixins";
@import "~bootstrap/scss/utilities";
// Layout & components
// Layout
@import "~bootstrap/scss/root";
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
@import "~bootstrap/scss/images";
// @import "~bootstrap/scss/images";
@import "~bootstrap/scss/containers";
@import "~bootstrap/scss/grid";
@import "~bootstrap/scss/tables";
@import "~bootstrap/scss/forms";
// Forms
// @import "~bootstrap/scss/forms/labels";
@import "~bootstrap/scss/forms/form-text";
@import "~bootstrap/scss/forms/form-control";
@import "~bootstrap/scss/forms/form-select";
@import "~bootstrap/scss/forms/form-check";
// @import "~bootstrap/scss/forms/form-range";
// @import "~bootstrap/scss/forms/floating-labels";
@import "~bootstrap/scss/forms/input-group";
// @import "~bootstrap/scss/forms/validation";
// Components
@import "~bootstrap/scss/buttons";
@import "~bootstrap/scss/transitions";
// @import "~bootstrap/scss/dropdown";
......@@ -28,7 +40,7 @@
@import "~bootstrap/scss/nav";
@import "~bootstrap/scss/navbar";
@import "~bootstrap/scss/card";
@import "~bootstrap/scss/accordion";
// @import "~bootstrap/scss/accordion";
@import "~bootstrap/scss/breadcrumb";
// @import "~bootstrap/scss/pagination";
@import "~bootstrap/scss/badge";
......@@ -42,12 +54,21 @@
// @import "~bootstrap/scss/popover";
// @import "~bootstrap/scss/carousel";
// @import "~bootstrap/scss/spinners";
@import "~bootstrap/scss/offcanvas";
// TODO : A tester
// @import "~bootstrap/scss/offcanvas";
// TODO : A tester
// @import "~bootstrap/scss/placeholders";
// Helpers
@import "~bootstrap/scss/helpers";
// @import "~bootstrap/scss/helpers/clearfix";
// @import "~bootstrap/scss/helpers/colored-links";
// @import "~bootstrap/scss/helpers/ratio";
// @import "~bootstrap/scss/helpers/position";
// @import "~bootstrap/scss/helpers/stacks";
// @import "~bootstrap/scss/helpers/visually-hidden";
// @import "~bootstrap/scss/helpers/stretched-link";
@import "~bootstrap/scss/helpers/text-truncation";
// @import "~bootstrap/scss/helpers/vr";
// Utilities
@import "~bootstrap/scss/utilities/api";
......@@ -36,7 +36,7 @@ type Query {
missEnds (group: [String!], startFromNow: Int64, period: Int64): [Identity!]!
"'certEnds' displays the list of identities , among the reference list 'group', who are MEMBER or (possibly) MISSING and about to loose their 'ParameterName.sigQty'th oldest certification, in the increasing order of event dates (bct); 'startFromNow' gives the period (in seconds) before the beginning of the list (0 if absent or null) , and 'period' gives the period covered by the list (infinite if absent or null). If 'group' is null or empty, the reference list is the whole Web Of Trust; if any string in 'group' is empty or doesn't refer to a known identity, it's not taken into account for the calculation, and, furthermore, if it is not empty and unknown, an error is raised"
certEnds (group: [String!], startFromNow: Int64, period: Int64, missingIncluded: Boolean! = true): [DatedIdentity!]!
certEnds (group: [String!], startFromNow: Int64, period: Int64, missingIncluded: Boolean! = true): [Identity!]!
"'countMin' gives the first block of the blockchain"
countMin: Block!
......@@ -178,6 +178,9 @@ type Identity {
"Limit date of the membership application; null for REVOKED; limit date before revocation for MISSING"
limitDate: Int64
"Limit date of the 'ParameterName.sigQty'th oldest received certification; or null if less than 'ParameterName.sigQty' certifications received"
certsLimit: Int64
"Member is leaving? null for REVOKED or NEWCOMER"
isLeaving: Boolean
......@@ -186,7 +189,7 @@ type Identity {
sentry: Boolean
"Active received certifications, sorted by increasing pubkeys"
received_certifications: Received_Certifications!
received_certifications: [Certification!]!
"Active sent certifications, sorted by increasing pubkeys"
sent_certifications: [Certification!]!
......@@ -229,17 +232,6 @@ type Identity {
} #Identity
"The association of 'Identity' and date"
type DatedIdentity {
"Identity"
id: Identity!
"Associated date"
date: Int64!
}
"Status of an identity in WoT"
enum Identity_Status {
......@@ -299,17 +291,6 @@ type IdSearchOutput {
} #IdSearchOutput
"Certifications received by an identity"
type Received_Certifications {
"List of all valid received certifications"
certifications: [Certification!]!
"Limit date of the 'ParameterName.sigQty'th oldest received certification; or null if less than 'ParameterName.sigQty' certifications received"
limit: Int64
} #received_Certifications
"Certification sent by 'from' and received by 'to'"
type Certification {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment