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

Looker integration #537

Merged
merged 33 commits into from
Aug 17, 2023
Merged

Looker integration #537

merged 33 commits into from
Aug 17, 2023

Conversation

edlouth
Copy link
Contributor

@edlouth edlouth commented Aug 4, 2023

No description provided.

@linear
Copy link

linear bot commented Aug 4, 2023

@github-actions
Copy link
Contributor

github-actions bot commented Aug 4, 2023

Uffizzi Preview deployment-33606 was deleted.

@codecov
Copy link

codecov bot commented Aug 4, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.07% 🎉

Comparison is base (c184777) 97.18% compared to head (8e198ad) 97.26%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #537      +/-   ##
==========================================
+ Coverage   97.18%   97.26%   +0.07%     
==========================================
  Files         385      386       +1     
  Lines        7072     7084      +12     
  Branches     1043     1043              
==========================================
+ Hits         6873     6890      +17     
+ Misses        196      191       -5     
  Partials        3        3              
Flag Coverage Δ
grai-frontend 97.49% <ø> (ø)
grai-server 97.07% <100.00%> (+0.13%) ⬆️

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

Files Changed Coverage Δ
...i-frontend/src/components/graph/DataSourceIcon.tsx 100.00% <ø> (ø)
grai-server/app/connections/adapters/looker.py 100.00% <100.00%> (ø)
grai-server/app/connections/models.py 100.00% <100.00%> (ø)
grai-server/app/connections/tasks.py 100.00% <100.00%> (+1.01%) ⬆️

... and 1 file with indirect coverage changes

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

@ieaves
Copy link
Contributor

ieaves commented Aug 6, 2023

I've made a pass at a number of fixes - the primary outstanding piece is namespace though.

We will need two different namespace values from the user (sort of like metabase).

  1. A namespace associated with Looker objects like dashboards
  2. A mapping of Looker sources to their source namespace in Grai.

I started on an implementation for these by adding a JSON field of str -> str where the left hand side will need to be a Looker id of some kind and the right hand side the associated namespace.

@edlouth edlouth requested a review from ieaves August 16, 2023 11:53
@ieaves ieaves merged commit 906fb13 into master Aug 17, 2023
44 checks passed
@ieaves ieaves deleted the feature/gra-676-looker-integration branch August 17, 2023 15:31
edlouth added a commit that referenced this pull request Aug 21, 2023
* Looker integration (#537)

* Looker alpha release

---------

Co-authored-by: Ian Eaves <ian.k.eaves@gmail.com>

* Better inline filter

* Partially working inline filters

* Pretty much working frontend

* Fix links (#593)

* Fix cron hours (#594)

* Fix looker icon (#595)

* Add inline filters to graph type

* Inline filters

* Lint fixes

* Backend tests

---------

Co-authored-by: Ian Eaves <ian.k.eaves@gmail.com>
edlouth added a commit that referenced this pull request Aug 23, 2023
* Start on live edit

* Better inline filter (#596)

* Looker integration (#537)

* Looker alpha release

---------

Co-authored-by: Ian Eaves <ian.k.eaves@gmail.com>

* Better inline filter

* Partially working inline filters

* Pretty much working frontend

* Fix links (#593)

* Fix cron hours (#594)

* Fix looker icon (#595)

* Add inline filters to graph type

* Inline filters

* Lint fixes

* Backend tests

---------

Co-authored-by: Ian Eaves <ian.k.eaves@gmail.com>

* Frontend refactor

* More tests

* Fix code style issues with ESLint

* Some more bits and pieces

* Lint fixes

* Remove acts

* More tests

* More frontend tests

* Fix code style issues with ESLint

* Refactor and tests

* Fix for tags

* Additional test

* Test fixes

* Add test

---------

Co-authored-by: Ian Eaves <ian.k.eaves@gmail.com>
Co-authored-by: Lint Action <github-actions[bot]@users.noreply.github.com>
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.

2 participants