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

[Sprint 22 / PD-369] - [Feature] Create gRPC-web Client on Akushon App #24

Open
wants to merge 43 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
34a542e
feat: switch kumo-app to grpc-web dependencies
FaaizHaikal Sep 21, 2023
f67fd65
refactor: ignore eslint plugin
FaaizHaikal Sep 21, 2023
ba9c670
feat: remove kumo-app import
FaaizHaikal Sep 21, 2023
07eb1bf
feat: implement getconfig and saveconfig
FaaizHaikal Sep 21, 2023
36c4979
feat: commonjs plugin
FaaizHaikal Sep 21, 2023
54e2cf8
feat: implement setjointspublisher
FaaizHaikal Sep 21, 2023
5bee5ed
feat: implement run action service
FaaizHaikal Sep 21, 2023
8962e38
feat: implement publish set joint on cell service
FaaizHaikal Sep 21, 2023
2b857e6
feat: implement set torques service
FaaizHaikal Sep 21, 2023
58c075d
fix: use console log
FaaizHaikal Sep 21, 2023
a7a5f7c
feat: implement current joint subscription service
FaaizHaikal Sep 21, 2023
4522111
fix: fix vite env variable
FaaizHaikal Oct 13, 2023
388ff42
fix: fix client services
FaaizHaikal Oct 13, 2023
c70c00a
feat: add action and pose button
FaaizHaikal Oct 13, 2023
d1d8ec6
fix: remove duplicate key
FaaizHaikal Oct 13, 2023
8d7d5d6
fix: fix adding action and pose
FaaizHaikal Oct 16, 2023
c5b825e
fix: fix json parse
FaaizHaikal Oct 16, 2023
bec3ed7
feat: add up down button for changing poses order
FaaizHaikal Oct 16, 2023
6c0dc64
fix: fix number typecasting
FaaizHaikal Oct 16, 2023
a8a8fbe
docs: add pull request template
FaaizHaikal Oct 30, 2023
18900ea
refactor: remove debugging log
FaaizHaikal Oct 31, 2023
49d43ae
enhancement: use LoadingButton to avoid spam request
FaaizHaikal Oct 31, 2023
010f981
refactor: use env.example
FaaizHaikal Oct 31, 2023
ee12637
feat: add mui lab dependencies for loading button
FaaizHaikal Oct 31, 2023
8c49ef3
fix: fix linter
JayantiTA Apr 3, 2024
a4f67e4
fix: resolve package json
JayantiTA Apr 4, 2024
9d812a3
fix: resolve package
JayantiTA Apr 4, 2024
faf46eb
fix: fix linter
JayantiTA Apr 4, 2024
8214ebf
fix: ignore envoy.yaml and .env
FaaizHaikal May 2, 2024
8bacdb7
feat: provide example for .env
FaaizHaikal May 2, 2024
8cf5196
feat: use prettier formatter
FaaizHaikal May 2, 2024
8a93385
fix: deprecated version of color
FaaizHaikal May 2, 2024
997bda0
fix: fix json string structure
FaaizHaikal May 5, 2024
b887f46
feat: add read joints button
FaaizHaikal May 5, 2024
7453d60
fix: wrong message name
FaaizHaikal May 5, 2024
2ad17e5
fix: fix lint
FaaizHaikal May 12, 2024
f56bc5d
feat: create logger using mui snackbar
FaaizHaikal May 18, 2024
df0518c
fix: fix typo
FaaizHaikal May 18, 2024
3feaf81
feat: add time based action settings
FaaizHaikal May 19, 2024
2fc34bd
feat: add switch button to use time based
FaaizHaikal May 19, 2024
d67445b
fix: fix read joints
FaaizHaikal Jun 5, 2024
89907df
fix: fix read joints
FaaizHaikal Jun 6, 2024
0be9acb
feat: play next action until no next action
FaaizHaikal Jun 7, 2024
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
6 changes: 2 additions & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,16 @@ module.exports = {
browser: true,
es2021: true,
},
extends: ["airbnb", "eslint:recommended", "prettier"],
threeal marked this conversation as resolved.
Show resolved Hide resolved
extends: ["airbnb", "eslint:recommended", "plugin:react/recommended"],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
ecmaVersion: "latest",
sourceType: "module",
},
plugins: ["prettier"],
rules: {
camelcase: "off",
"prettier/prettier": "error",
"import/no-extraneous-dependencies": ["error", { devDependencies: true }],
},
};
41 changes: 41 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
## Jira Link

## Description

Describe problems, if any, clearly and concisely.
Describe any changes that have been made in this pull request.

## Type of Change

- [ ] Bugfix
- [ ] Enhancement
- [ ] New feature
- [ ] Breaking change (fix or feature that would cause the existing functionality to not work as expected)

## Screenshots

### UI Changes

_Add screenshot/gif/link to screencast (if the updates are visual)_

**BEFORE**

_attach the file here..._

**AFTER**

_attach the file here..._

## How Has This Been Tested?

- [ ] New unit tests added.
- [ ] Manual tested.

## Checklist

- [ ] Using Branch Name Convention
- `feature/JIRA-ID-SHORT-DESCRIPTION` if has a JIRA ticket
- `enhancement/SHORT-DESCRIPTION` if has/has no JIRA ticket and contain enhancement
- `hotfix/SHORT-DESCRIPTION` if the change doesn't need to be tested (urgent)
- [ ] I have commented on my code, particularly in hard-to-understand areas.
- [ ] I have made the documentation for the corresponding changes.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ npm-debug.log*
!.npm*

package-lock.json
envoy.yaml
1 change: 1 addition & 0 deletions env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_GRPC_WEB_API_URL=:http://localhost:8090
61 changes: 61 additions & 0 deletions envoy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
admin:
FaaizHaikal marked this conversation as resolved.
Show resolved Hide resolved
access_log_path: /tmp/admin_access.log
address:
socket_address: { address: 0.0.0.0, port_value: 9901 }

static_resources:
listeners:
- name: listener_0
address:
socket_address: { address: 0.0.0.0, port_value: 8090 }
filter_chains:
- filters:
- name: envoy.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: ingress_http
codec_type: auto
route_config:
name: local_route
virtual_hosts:
- name: local_service
domains: ["*"]
routes:
- match: { prefix: "/" }
route:
cluster: backend_service
timeout: 0s
max_stream_duration:
grpc_timeout_header_max: 0s
cors:
allow_origin_string_match:
- prefix: "*"
allow_methods: GET, PUT, DELETE, POST, OPTIONS
allow_headers: keep-alive,user-agent,cache-control,content-type,content-transfer-encoding,custom-header-1,x-accept-content-transfer-encoding,x-accept-response-streaming,x-user-agent,x-grpc-web,grpc-timeout
max_age: "1728000"
expose_headers: custom-header-1,grpc-status,grpc-message
http_filters:
- name: envoy.filters.http.cors
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.cors.v3.Cors
- name: envoy.filters.http.grpc_web
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.grpc_web.v3.GrpcWeb
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
clusters:
- name: backend_service
connect_timeout: 0.25s
type: logical_dns
http2_protocol_options: {}
lb_policy: round_robin
load_assignment:
cluster_name: cluster_0
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: 0.0.0.0
port_value: 5060
Loading
Loading