Skip to content

Conversation

@curtisupshall
Copy link
Contributor

Fixes frontend linting errors and skipped tests.

@github-actions
Copy link

@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Merging #1063 (b22af86) into dev (ae70b16) will decrease coverage by 0.22%.
The diff coverage is 41.81%.

@@            Coverage Diff             @@
##              dev    #1063      +/-   ##
==========================================
- Coverage   67.55%   67.34%   -0.22%     
==========================================
  Files         403      403              
  Lines       12570    12580      +10     
  Branches     2106     2105       -1     
==========================================
- Hits         8492     8472      -20     
- Misses       3538     3557      +19     
- Partials      540      551      +11     
Files Changed Coverage Δ
...omponents/search-filter/ProjectAdvancedFilters.tsx 8.69% <0.00%> (-0.40%) ⬇️
...ures/surveys/components/GeneralInformationForm.tsx 20.83% <0.00%> (-57.43%) ⬇️
...atures/surveys/view/components/SurveyStudyArea.tsx 75.00% <0.00%> (ø)
app/src/hooks/useBioHubApi.ts 5.55% <0.00%> (-0.33%) ⬇️
app/src/components/map/MapContainer.tsx 62.50% <42.85%> (+0.96%) ⬆️
app/src/features/admin/users/UsersDetailHeader.tsx 75.00% <62.50%> (+1.66%) ⬆️
...p/src/features/admin/users/UsersDetailProjects.tsx 79.31% <62.50%> (+0.48%) ⬆️
app/src/components/map/WFSFeatureGroup.tsx 62.22% <70.00%> (+1.75%) ⬆️

... and 6 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@curtisupshall curtisupshall marked this pull request as ready for review August 1, 2023 17:36
@github-actions
Copy link

github-actions bot commented Aug 1, 2023

al-rosenthal
al-rosenthal previously approved these changes Aug 4, 2023
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

🍡

@NickPhura NickPhura self-assigned this Aug 8, 2023
@NickPhura
Copy link
Contributor

@curtisupshall

Found an issue: If you edit the map, and select a layer from the dropdown (nrm regional boundaries in my case), you get an infinite loop of requests to the openmaps service. I confirmed this is not the case in Dev. It looks like throttledGetFeatures is getting called in a loop.

al-rosenthal
al-rosenthal previously approved these changes Aug 9, 2023
Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

ran this locally and it works as expected
🐇

@NickPhura
Copy link
Contributor

NickPhura commented Aug 9, 2023

@curtisupshall Maps seem happier after the latest changes from what I can tell.

There is still 1 dependency error popping up though, in ProjectAdvancedFilters.tsx L91.

I did give it a try locally, and adding the dependency (biohubApi.taxonomy) it is complaining about seems to work just fine (doesn't trigger any loops or anything).

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
41.4% 41.4% Duplication

idea Catch issues before they fail your Quality Gate with our IDE extension sonarlint SonarLint

@KjartanE KjartanE self-assigned this Aug 15, 2023
Copy link
Contributor

@KjartanE KjartanE left a comment

Choose a reason for hiding this comment

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

🐈

Copy link
Contributor

@al-rosenthal al-rosenthal left a comment

Choose a reason for hiding this comment

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

🗺️

@KjartanE KjartanE merged commit 2f43099 into dev Aug 15, 2023
@KjartanE KjartanE deleted the LINT-FIX branch August 15, 2023 19:04
KjartanE pushed a commit that referenced this pull request Aug 15, 2023
* Fixed linting errors

* Removed some test skips

* ignore-skip

* Removed some snapshots

* ran fix, removed comment

* Updated hook dependencies

* Added useMemo for debounce call

* add useMemo dependency

---------

Co-authored-by: Alfred Rosenthal <[email protected]>
Co-authored-by: Nick Phura <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants