Skip to content

Commit

Permalink
feat(layout): move category filter to bottom
Browse files Browse the repository at this point in the history
  • Loading branch information
PaulHax committed Sep 12, 2024
1 parent 8846751 commit a7b5a94
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/nrtk_explorer/app/ui/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,18 +98,6 @@ def parameters(dataset_paths=[], embeddings_app=None, filtering_app=None, transf
map_options=True,
)

filter_title_slot, filter_content_slot, filter_actions_slot = ui.card()

with filter_title_slot:
html.Span("Category Filter", classes="text-h6")

with filter_content_slot:
filtering_app.filter_operator_ui()
filtering_app.filter_options_ui()

with filter_actions_slot:
filtering_app.filter_apply_ui()

(
transforms_title_slot,
transforms_content_slot,
Expand All @@ -126,6 +114,18 @@ def parameters(dataset_paths=[], embeddings_app=None, filtering_app=None, transf
with transforms_actions_slot:
transforms_app.apply_ui()

filter_title_slot, filter_content_slot, filter_actions_slot = ui.card()

with filter_title_slot:
html.Span("Category Filter", classes="text-h6")

with filter_content_slot:
filtering_app.filter_operator_ui()
filtering_app.filter_options_ui()

with filter_actions_slot:
filtering_app.filter_apply_ui()


def dataset_view(
embeddings_app=None,
Expand Down

0 comments on commit a7b5a94

Please sign in to comment.