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

Lightning bug fixes #3941

Merged
merged 6 commits into from
Jan 16, 2024
Merged

Lightning bug fixes #3941

merged 6 commits into from
Jan 16, 2024

Conversation

benjaminpkane
Copy link
Contributor

Fixes two id field bugs related to lightning mode

Changes

  • Ensures the root id field is enabled in lightning mode by looking up the schema db path in the pathIndexes selector
  • Adds snackbar error handling for invalid ObjectId field searches in the sidebar

Related e2e tests have been added for verification

Screen.Recording.2023-12-18.at.3.29.12.PM.mov

@benjaminpkane benjaminpkane added bug Bug fixes app Issues related to App features labels Dec 18, 2023
@benjaminpkane benjaminpkane self-assigned this Dec 18, 2023
Copy link

codecov bot commented Dec 18, 2023

Codecov Report

Attention: 85 lines in your changes are missing coverage. Please review.

Comparison is base (d2e1fbf) 15.92% compared to head (65a6989) 15.92%.
Report is 13 commits behind head on release/v0.23.3.

Files Patch % Lines
...ges/core/src/components/ViewBar/ViewStage/utils.ts 0.00% 24 Missing ⚠️
app/packages/looker/src/zoom.ts 6.25% 15 Missing ⚠️
...src/components/Filters/StringFilter/useOnSelect.ts 0.00% 12 Missing ⚠️
...es/components/src/components/Selector/Selector.tsx 15.38% 11 Missing ⚠️
...nts/ViewBar/ViewStage/viewStageParameterMachine.ts 0.00% 9 Missing ⚠️
app/packages/utilities/src/type-check.ts 50.00% 4 Missing ⚠️
app/packages/state/src/recoil/lightning.ts 0.00% 3 Missing ⚠️
...ents/Sidebar/Entries/FilterablePathEntry/Arrow.tsx 0.00% 2 Missing ⚠️
app/packages/looker/src/util.ts 33.33% 2 Missing ⚠️
...p/packages/core/src/components/Actions/Options.tsx 0.00% 1 Missing ⚠️
... and 2 more
Additional details and impacted files
@@               Coverage Diff                @@
##           release/v0.23.3    #3941   +/-   ##
================================================
  Coverage            15.92%   15.92%           
================================================
  Files                  732      732           
  Lines                81926    81947   +21     
  Branches              1093     1093           
================================================
+ Hits                 13045    13051    +6     
- Misses               68881    68896   +15     
Flag Coverage Δ
app 15.92% <11.45%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@benjaminpkane benjaminpkane requested a review from a team December 20, 2023 21:52
@benjaminpkane benjaminpkane changed the base branch from release/v0.23.2 to develop December 20, 2023 22:00
@benjaminpkane benjaminpkane changed the base branch from develop to release/v0.23.3 January 4, 2024 15:34
Base automatically changed from release/v0.23.3 to develop January 8, 2024 04:08
@benjaminpkane benjaminpkane changed the base branch from develop to release-notes/v0.23.3 January 16, 2024 17:41
@benjaminpkane benjaminpkane changed the base branch from release-notes/v0.23.3 to release/v0.23.3 January 16, 2024 17:41
Copy link
Contributor

@sashankaryal sashankaryal left a comment

Choose a reason for hiding this comment

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

lgtm!!!

Comment on lines +25 to +35
export const cleanCSV = (values: string) => {
return (
values
// replace spaces with a single space (to allow search by words with spaces)
.replace(/[\s\'\"\[\]]+/g, " ")
// replace comma followed by trailing spaces with a single comma
.replace(/,\s*/g, ",")
// remove trailing spaces
.replace(/[ \t]+$/, "")
);
};
Copy link
Contributor

Choose a reason for hiding this comment

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

👌

@benjaminpkane benjaminpkane merged commit a19116b into release/v0.23.3 Jan 16, 2024
9 of 11 checks passed
@benjaminpkane benjaminpkane deleted the lightning-e2e branch January 16, 2024 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app Issues related to App features bug Bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants