jina-ai / dashboard

Interactive UI for analyzing Jina logs, designing Flows and viewing Hub images
https://dashboard.jina.ai
Apache License 2.0
118 stars 60 forks source link

Feat: jinad integration #140

Closed imsergiy closed 3 years ago

imsergiy commented 3 years ago

This is the big one, lot's of changes in this PR related to the connection stream. Would love feedback on my usage of redux and any other suggestions. Planning to polish this just a bit more as well but this is a good place to start.

What's new

usage I highly recommend actually running jinad as well for this to get to know the real thing. Test server also works to mock the jinad API.

codecov[bot] commented 3 years ago

Codecov Report

Merging #140 (0107257) into master (52812fe) will decrease coverage by 3.75%. The diff coverage is 5.99%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #140      +/-   ##
==========================================
- Coverage   24.35%   20.60%   -3.76%     
==========================================
  Files         132      137       +5     
  Lines        2069     2630     +561     
  Branches      383      454      +71     
==========================================
+ Hits          504      542      +38     
- Misses       1565     2088     +523     
Impacted Files Coverage Δ
src/components/FlowChart/CommandBar.tsx 0.00% <ø> (ø)
src/components/LogStream/LogGroup.tsx 0.00% <0.00%> (ø)
src/components/LogStream/LogItem.tsx 0.00% <0.00%> (ø)
src/components/LogStream/LogsTable.tsx 0.00% <0.00%> (ø)
src/data/exampleFlows.ts 100.00% <ø> (ø)
src/flux/config.ts 0.00% <0.00%> (ø)
src/flux/constants.ts 0.00% <ø> (ø)
src/flux/hub.ts 0.00% <0.00%> (ø)
src/flux/jinad.ts 0.00% <0.00%> (ø)
src/flux/store.ts 0.00% <0.00%> (ø)
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 52812fe...0107257. Read the comment docs.