Skip to content

Commit

Permalink
Merge pull request #380 from Kanaries/code-cleaning
Browse files Browse the repository at this point in the history
refactor: remove low-fre usage features
  • Loading branch information
ObservedObserver committed Jul 13, 2023
2 parents aa81814 + e0325da commit 66118bf
Show file tree
Hide file tree
Showing 54 changed files with 21 additions and 5,324 deletions.
3 changes: 0 additions & 3 deletions apps/rath-service/README.md

This file was deleted.

20 changes: 0 additions & 20 deletions apps/rath-service/api/datasource.go

This file was deleted.

5 changes: 0 additions & 5 deletions apps/rath-service/global/common.go

This file was deleted.

33 changes: 0 additions & 33 deletions apps/rath-service/go.mod

This file was deleted.

108 changes: 0 additions & 108 deletions apps/rath-service/go.sum

This file was deleted.

19 changes: 0 additions & 19 deletions apps/rath-service/initialize/database.go

This file was deleted.

19 changes: 0 additions & 19 deletions apps/rath-service/main.go

This file was deleted.

8 changes: 0 additions & 8 deletions apps/rath-service/models/dataset.go

This file was deleted.

10 changes: 0 additions & 10 deletions apps/rath-service/models/datasource.go

This file was deleted.

26 changes: 0 additions & 26 deletions apps/rath-service/services/response.go

This file was deleted.

1 change: 0 additions & 1 deletion packages/rath-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
},
"dependencies": {
"@antv/g6": "^4.8.4",
"@babel/parser": "^7.19.6",
"@fluentui/font-icons-mdl2": "^8.5.4",
"@fluentui/react": "^8.94.4",
"@fluentui/react-components": "^9.19.0",
Expand Down
47 changes: 0 additions & 47 deletions packages/rath-client/public/locales/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,11 @@
},
"extend": {
"title": "Extend Information",
"manual": "Customized computation",
"editor": "Editor",
"autoExtend": "More fields can be generated from { count } existing fields to enhance analyze and exploration.",
"notDecided": "{ count } fields has not been decided.",
"findThem": "Find Next",
"checkThem": "Check",
"empty": "No column exported.",
"apply": "Apply",
"cancel": "Cancel",
"auto": "transforms",
"suggestion": {
"regex_selection": "Pattern discovery & extraction | Extract patterns from text fields and generate new fields matching extracted pattern.",
Expand Down Expand Up @@ -553,49 +549,6 @@
"create": "Create"
}
},
"latiao": {
"maybe": {
"keyword": "keyword",
"operator": "operator",
"fid": "field"
},
"keyword": {
"out": "Append field to data."
},
"op": {
"$set": "Transforms a field to ordinals as a new column.",
"$vec": "Transforms a field to calculative numbers as a new column.",
"$text": "Transforms a field to strings as a new column.",
"$bool": "Transforms a field to 0 or 1 as a new column.",
"$id": "Generates an automatically incrementing id field, starting from 1.",
"$order": "Returns rank index of the data sorted on the target numeric field, starting from 1.",
"$dict": "Returns rank index of the data sorted on the target string field, starting from 1.",
"$isNaN": "Transforms numbers to string \"1\" if the number is NaN, otherwise string \"0\" as a new column.",
"$isZero": "Transforms numbers to string \"1\" if the number is zero, otherwise string \"0\" as a new column.",
"$toDate": "Transforms a field to a set of operative Date objects, which could be sliced on time units.",
"$isValidDate": "Transforms Date objects to string \"1\" if the Date object is valid, otherwise string \"0\" as a new column.",
"$normalize": "Normalizes a field as a new column.",
"$inset": "Scales a field to range -1 ~ +1 as a new column.",
"$bound": "Scales a field to range 0 ~ 1 as a new column.",
"$log": "Projects a field by x -> log(x) (the base is default to E) as a new column.",
"$log2": "Projects a field by x -> log[2](x) as a new column.",
"$log1p": "Projects a field by x -> log(x + 1) as a new column.",
"$log10": "Projects a field by x -> log[10](x) as a new column.",
"$map": "Maps each value to a new value of the same type as a new column.",
"$test": "Maps each value to a 0 (false) or 1 (true) as a new column.",
"$ReLU": "Projects a field by x -> max(0, x) as a new column.",
"$match": "Finds the matched parts of each text content using Regular Expression as a new column.",
"$replace": "Replaces the matched parts of each text content with a given string using Regular Expression as a new column.",
"$concat": "Merge two or more text contents of all the fields as a new column.",
"$sigmoid": "Projects a field by x -> (1 + e^-x)^-1 as a new column.",
"$boxClip": "Maps overflowing values (due to boxplot) to the domain as a new column.",
"$meanClip": "Maps overflowing values (due to the given domain) to the mean of all the other values as a new column.",
"$nearestClip": "Maps overflowing values (due to the given domain) to the domain as a new column.",
"$zeroFill": "Maps Infinite or NaN to 0 as a new column.",
"$meanFill": "Maps Infinite or NaN to the mean of all the other values as a new column.",
"$partition": "Separates each value by boolean expression into two new column."
}
},
"causal_direction": {
"_": "Type of Link",
"none": "irrelevant to",
Expand Down
Loading

1 comment on commit 66118bf

@vercel
Copy link

@vercel vercel bot commented on 66118bf Jul 13, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.