Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query builder #30

Open
wants to merge 104 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
34f5931
feat(login): add hook for login + interceptor
ZiyedB Feb 14, 2021
e116fc7
add check on inputs
ZiyedB Feb 16, 2021
23c46a5
packages update
Frenkiee Feb 25, 2021
d706210
JWT token authentication prepared.
Frenkiee Feb 25, 2021
37dfdec
urls.ts is meant to contain all the urs that the app will have. Each …
Frenkiee Feb 25, 2021
e7be84c
IPFS and IPFSList components redefined
Frenkiee Feb 25, 2021
525fca7
BaseLayout modified
Frenkiee Feb 25, 2021
8db789e
user context state logic moved into state/user.ts with some minor mod…
Frenkiee Feb 25, 2021
824309b
Login component updated, it uses some basic logic to login.
Frenkiee Feb 25, 2021
ea39b07
urls applied in NavigationBar
Frenkiee Feb 25, 2021
9f32b91
ProtectedRoute replaced with Page component, which ensures that all h…
Frenkiee Feb 25, 2021
a5bd5c2
Error404 page initialized
Frenkiee Feb 25, 2021
3e6f6ad
Authentication and api setup is now in api/api.ts
Frenkiee Feb 25, 2021
1e34ede
App updated with different user store, urls applied, and some routes …
Frenkiee Feb 25, 2021
ce5e748
.eslintignore added <- I can not handle lint every save there is made…
Frenkiee Feb 25, 2021
32acf03
IPFS pql/test action fixed
Frenkiee Feb 25, 2021
1869c65
Adding keys for each ipfs in list. Hashes are used for keys
Frenkiee Feb 25, 2021
8d22894
Baselayout margin changed to padding
Frenkiee Feb 26, 2021
c453252
Redirect to error page where the un-know ipfs hash is opened
Frenkiee Feb 26, 2021
6535714
IPFS removed from this issue
Frenkiee Feb 26, 2021
34004e1
IPFS components upated
Frenkiee Feb 26, 2021
0119028
IPFS and IPFSList components updated in Page
Frenkiee Feb 26, 2021
932ce3f
tailwindui adjusted
Frenkiee Feb 26, 2021
9c9a459
Basic api for PQL: runPqlApi and savePqlApi. All PQL interfaces were …
Frenkiee Feb 26, 2021
9c14891
Tailwindui configuration, Iconify with material design added and lint…
Frenkiee Mar 1, 2021
3127520
urls.ts moved to component/routes.ts and components adjusted appropri…
Frenkiee Mar 1, 2021
eaa143f
authentication api moved in api/ folder
Frenkiee Mar 1, 2021
8e60cf6
Loading and ErrorContainer created as common components
Frenkiee Mar 1, 2021
c919e4d
Ipfs tailwind small update
Frenkiee Mar 1, 2021
93efdfd
Pql interfaces and action creators defined
Frenkiee Mar 1, 2021
0f54ad4
New PQL state applied on PQL api actions
Frenkiee Mar 1, 2021
3bbc46b
Added QueryBlocker and QueryBuilder
Frenkiee Mar 1, 2021
0e79a74
New draggable library, tailwind forms
Frenkiee Mar 1, 2021
633d8fa
New tailwind NavigationBar, BaseLayout removed and placed into App
Frenkiee Mar 1, 2021
5cfa73d
New common Button component and TooltipButton. #Todo update the styles!
Frenkiee Mar 2, 2021
1fa92a8
ErrorContainer and Loading moved into common/sub-pages.
Frenkiee Mar 2, 2021
46ae027
tooltips scss temporarlly added in index.scss import './Buttons.scss'…
Frenkiee Mar 2, 2021
008a2cd
New skeleton for QueryBuilder
Frenkiee Mar 2, 2021
b35516c
In Pql Http.post statement user can enter any data
Frenkiee Mar 2, 2021
5fc96ae
Linting
Frenkiee Mar 2, 2021
d02051d
Added more colours to Button, ErrorContainer overwritten from semanti…
Frenkiee Mar 3, 2021
3b06de7
Query builder container view defined, added draggable components
Frenkiee Mar 3, 2021
4093767
Query selector section defined
Frenkiee Mar 3, 2021
d9b2840
Query builder base defined and Query controller updated
Frenkiee Mar 3, 2021
2abc203
Missing types added
Frenkiee Mar 3, 2021
69d856b
PQL definitions cleaned
Frenkiee Mar 3, 2021
f82fc2e
New common input components: Input, Label, LabelInput
Frenkiee Mar 3, 2021
b142c54
New selector containers LoaderSelector and OperationSelector
Frenkiee Mar 3, 2021
9ac3f33
Defined new Operator interface
Frenkiee Mar 3, 2021
839b2c7
Transformation operators
Frenkiee Mar 3, 2021
43b3089
Loader operators
Frenkiee Mar 3, 2021
6c7cc5f
builder.ts is now in charge to transform Pql into Operators
Frenkiee Mar 3, 2021
5504dd3
Updated builder component for Operators
Frenkiee Mar 3, 2021
6ab0859
QueryLoader now loads PQL and converts it into QueryData
Frenkiee Mar 3, 2021
163764c
OperationConfig is in charge of showing Operators configuration and m…
Frenkiee Mar 3, 2021
a9c4166
QueryBuilder connects everything and some minor changes in QueryHeade…
Frenkiee Mar 3, 2021
4edde9a
QueryController renamed to QueryContainer
Frenkiee Mar 4, 2021
c1cb0d5
Linting
Frenkiee Mar 4, 2021
e2245d5
File rearrangement
Frenkiee Mar 4, 2021
c9c8120
Kind added to operators and loaders
Frenkiee Mar 4, 2021
be9149c
compile QueryData to Pql
Frenkiee Mar 4, 2021
2351c7f
OperationConfig refresh callback updated
Frenkiee Mar 4, 2021
0eebc66
QueryBuilder was moved up to QueryController (before named QueryConta…
Frenkiee Mar 4, 2021
098eef4
Source title on change functionality
Frenkiee Mar 4, 2021
0fdbbe2
QueryLoader changed from Promise pattern to Async/Await and added Pql…
Frenkiee Mar 4, 2021
b549a35
Project name is now changeable
Frenkiee Mar 4, 2021
776ebb1
Operation configuration moved out of PqlOperation
Frenkiee Mar 4, 2021
1051173
PqlPipeline now has the ability to change order or Operators
Frenkiee Mar 4, 2021
edaf05e
Closable container has additional Submit button which creates the sam…
Frenkiee Mar 4, 2021
807467a
Monads for Operator state creation and removal added
Frenkiee Mar 4, 2021
cf6a72c
Selectors now add new Operator to data
Frenkiee Mar 4, 2021
267c437
QueryData builder now uses monads to create QueryData
Frenkiee Mar 4, 2021
e6684b6
QueryController now has addNewOperator function and passes setData fu…
Frenkiee Mar 4, 2021
149041b
Slim style updates and clean-up
Frenkiee Mar 4, 2021
826a29a
Small fixes and lint update
Frenkiee Mar 4, 2021
21c6a9a
App test updated to search for login screen
Frenkiee Mar 4, 2021
55a58b9
Pql RefreshCallback needs to be written so that it can accept also fu…
Frenkiee Mar 7, 2021
516962c
New common Checkbox and ListHeaderAddRemove components
Frenkiee Mar 7, 2021
2ccedea
Operators and Loaders updated and fixes applied
Frenkiee Mar 7, 2021
e06d0e7
Defined QueryBase component to switch between the result and code con…
Frenkiee Mar 11, 2021
a153470
QueryBuilder renamed to QueryBuilderHeder
Frenkiee Mar 11, 2021
3be83e3
QueryHeader now includes all actions
Frenkiee Mar 11, 2021
6658652
onTitleChange action fixed in React style and Aggregate item view styled
Frenkiee Mar 11, 2021
0164a6a
Aggregator methods and params changed to enums
Frenkiee Mar 11, 2021
36b8b6d
Defined OutsideOperator from which all additional validators, aggrega…
Frenkiee Mar 11, 2021
5151a1b
New AggregateOperator implementing OutsideOperator
Frenkiee Mar 11, 2021
d431bf5
QueryData now uses OutsideOperator for aggregate, builder and compile…
Frenkiee Mar 11, 2021
87688d8
QueryConfig can now also accept AggregatorOperator
Frenkiee Mar 11, 2021
9186875
QueryController now uses PQL in string, all methods fixed accordingly…
Frenkiee Mar 11, 2021
c49a251
Compile the graph before each run
Frenkiee Mar 11, 2021
5f45a58
partial compile defined
Frenkiee Mar 11, 2021
8930190
Input onChange function now accepts string. Loaders and Operators upd…
Frenkiee Mar 11, 2021
dcde292
PqlSource and PqlPipeline prepared for partial run
Frenkiee Mar 11, 2021
fdfc38a
Partial run defined
Frenkiee Mar 11, 2021
3a958bf
Pql run api adjusted to accepts any and transforms it into string
Frenkiee Mar 11, 2021
3244d32
linting and pretty-quick
Frenkiee Mar 11, 2021
d825a24
lint, prettier, pretty-quick...
Frenkiee Mar 11, 2021
0b4aadb
removed () from closable container
Frenkiee Mar 11, 2021
248280c
OperationConfig renamed to OperatorConfig
Frenkiee Mar 11, 2021
cfb517e
Linting
Frenkiee Mar 12, 2021
fb558b0
pql api cleaned
Frenkiee Mar 12, 2021
68ef775
Query section error triggered
Frenkiee Mar 12, 2021
0c0c74e
Lint
Frenkiee Mar 12, 2021
b9bb476
Bug in EthereumFunctionLoader, wrong method
Frenkiee Mar 12, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added .eslintignore
Empty file.
13 changes: 11 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
module.exports = {
extends: ['airbnb-typescript-prettier'],
ignorePatterns: ['.eslintrc.js'],
// Rules can be here to override the preset of eslint from airbnb, if they are too strict.
rules: {
camelcase: 'warn',
'@typescript-eslint/no-empty-function': 'warn',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
Expand All @@ -20,8 +24,13 @@ module.exports = {
],
// Should we keep the warning for consoles ?
'no-console': 'off',


'react/no-array-index-key': 'warn',
'react/no-unused-prop-types': 'warn',
'react/destructuring-assignment': 0,
'react/jsx-props-no-spreading': 'off',
'import/prefer-default-export': 0,
'react/require-default-props': 'off',
// 'react/prop-types': 0, -> this is an example
},
overrides: [
Expand All @@ -41,7 +50,7 @@ module.exports = {
// enable the rule specifically for TypeScript files
files: ['*.ts', '*.tsx'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': ['error'],
'@typescript-eslint/explicit-module-boundary-types': ['warn'],
},
},
],
Expand Down
7 changes: 7 additions & 0 deletions craco.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
style: {
postcss: {
plugins: [require('tailwindcss'), require('autoprefixer')],
},
},
};
Loading