Skip to content

Commit

Permalink
feat: Use new search endpoint in FE and add search filter operation s…
Browse files Browse the repository at this point in the history
…election (amundsen-io#1623)

* almost there

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* almost done

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* FE search API correctly requests search service and responds, need to make the ts changes needed to show changes in FE

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* correct mappings for resource results

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* SEARCH IS FUNCTIONAL WITH NEW API

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* cleanup

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* Majority of the work done for filter operation selection using new search api

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Fixing resource specific search with filters and clear filters behavior

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Fixing js tests and betterer issues

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Fixing python test and lint/betterer

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Betterer improvements/test fixes

Signed-off-by: Kristen Armes <karmes@lyft.com>

* removed v0 because it is not needed or accesible anymore, and added unit tests for v1

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* a bit of cleanup from utils, not done yet

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* lint fixes

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* lint

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* test _transform_filters

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* lint

Signed-off-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>

* Adding description and timestamp to dashboard mapping and adding js tests

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Addressing PR comments

Signed-off-by: Kristen Armes <karmes@lyft.com>

* lint

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Verified that badge is primitive string type during search, cleaned up check

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Changing the name of the config that optionally restricts filter operations to be more clear on what it does

Signed-off-by: Kristen Armes <karmes@lyft.com>

* If a filter term is deleted, remove the category from the filter state instead of keeping it stored as an undefined value

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Bumping major FE version

Signed-off-by: Kristen Armes <karmes@lyft.com>

* Using destructuring instead of delete for removing empty filter

Signed-off-by: Kristen Armes <karmes@lyft.com>

Co-authored-by: Allison Suarez Miranda <asuarezmiranda@lyft.com>
  • Loading branch information
2 people authored and Zachary Ruiz committed May 13, 2022
1 parent db2f014 commit c89d0f4
Show file tree
Hide file tree
Showing 44 changed files with 1,641 additions and 1,774 deletions.
13 changes: 7 additions & 6 deletions frontend/amundsen_application/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,22 @@
import os
import sys

from flask import Flask, Blueprint
from flask import Blueprint, Flask
from flask_restful import Api

from amundsen_application.deprecations import process_deprecations
from amundsen_application.api import init_routes
from amundsen_application.api.v0 import blueprint
from amundsen_application.api.announcements.v0 import announcements_blueprint
from amundsen_application.api.issue.issue import IssueAPI, IssuesAPI
from amundsen_application.api.log.v0 import log_blueprint
from amundsen_application.api.mail.v0 import mail_blueprint
from amundsen_application.api.metadata.v0 import metadata_blueprint
from amundsen_application.api.preview.dashboard.v0 import \
dashboard_preview_blueprint
from amundsen_application.api.preview.v0 import preview_blueprint
from amundsen_application.api.quality.v0 import quality_blueprint
from amundsen_application.api.search.v0 import search_blueprint
from amundsen_application.api.preview.dashboard.v0 import dashboard_preview_blueprint
from amundsen_application.api.issue.issue import IssueAPI, IssuesAPI
from amundsen_application.api.search.v1 import search_blueprint
from amundsen_application.api.v0 import blueprint
from amundsen_application.deprecations import process_deprecations

# For customized flask use below arguments to override.

Expand Down
358 changes: 0 additions & 358 deletions frontend/amundsen_application/api/search/v0.py

This file was deleted.

Loading

0 comments on commit c89d0f4

Please sign in to comment.