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

feat(ui): service tags #522

Merged
merged 8 commits into from
Jan 26, 2025
Merged

feat(ui): service tags #522

merged 8 commits into from
Jan 26, 2025

Conversation

JosephKav
Copy link
Collaborator

@JosephKav JosephKav commented Jan 21, 2025

  • feat(ui): service tags
  • style: format configuration files for consistency
  • fix(ui): ensure boolean options are always processesed with strToBoo
  • perf(ui): minimise state updates to reduce unnecessary re-renders
  • refactor(log): centralise logging via logutil package
    • rather than LogInit in all packages, just logutil.Init in cmd/argus and then use the logutil.Log in other packages.
  • test(github): add access_token default to test cases
    • was using ~30 of the 60 allowed github api requests in 1 test run. Down to ~5 now.

@JosephKav JosephKav added bug Something isn't working enhancement New feature or request javascript Pull requests that update Javascript code go Pull requests that update Go code labels Jan 21, 2025
@JosephKav JosephKav force-pushed the feat/ui-service-tags branch from 28e9ad6 to fdc4bab Compare January 21, 2025 22:25
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

Attention: Patch coverage is 96.83656% with 18 lines in your changes missing coverage. Please review.

Project coverage is 98.67%. Comparing base (fa0fcf9) to head (a7a53fe).
Report is 8 commits behind head on master.

Files with missing lines Patch % Lines
web/api/v1/websocket-client.go 52.39% 10 Missing ⚠️
db/init.go 86.96% 3 Missing ⚠️
config/verify.go 50.00% 0 Missing and 1 partial ⚠️
db/handlers.go 88.89% 1 Missing ⚠️
testing/command.go 83.34% 0 Missing and 1 partial ⚠️
testing/service.go 85.72% 0 Missing and 1 partial ⚠️
testing/shoutrrr.go 87.50% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #522      +/-   ##
==========================================
+ Coverage   98.56%   98.67%   +0.12%     
==========================================
  Files         120      118       -2     
  Lines       10279    10314      +35     
==========================================
+ Hits        10130    10176      +46     
+ Misses        121      112       -9     
+ Partials       28       26       -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@JosephKav JosephKav force-pushed the feat/ui-service-tags branch 9 times, most recently from 3be2e5c to ca5e053 Compare January 26, 2025 15:21
- add/reorder/remove service tags in edit modal
- filter by tag(s) in select next to service search bar
- bump @tanstack/react-query from 5.64.1 to 5.64.2
- bump @tanstack/react-query-devtools from 5.64.1 to 5.64.2
- bump @types/node from 22.10.6 to 22.10.10
- bump @types/react from 19.0.6 to 19.0.8
- bump react-bootstrap from 2.10.7 to 2.10.8
- bump react-router-dom from 7.1.1 to 7.1.3
- bump react-select from 5.9.0 to 5.10.0
- bump vite from 6.0.9 to 6.0.11
Create new objects where necessary, rather than stringifying the entire state
- Add a new `logutil` package for centralised logging using `JLog`.
- Migrated all packages to use `logutil.Log` instead of individual `jLog` variables.
- Removed now-unnecessary `LogInit` functions and per-package `jLog` variables.
- Ensures consistent logging configuration across all packages.
Was using ~30 of the 60 hourly github api requests in 1 test run. Down to ~5 now.
- godot
- perfsprint
- whitespace
- unconvert
- unused
- usestdlibvars
@JosephKav JosephKav force-pushed the feat/ui-service-tags branch from ca5e053 to a7a53fe Compare January 26, 2025 15:44
@JosephKav JosephKav merged commit 515a66b into master Jan 26, 2025
6 of 7 checks passed
@JosephKav JosephKav deleted the feat/ui-service-tags branch January 26, 2025 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request go Pull requests that update Go code javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: service edit, latest/deployed version boolean options aren't loaded
1 participant