-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Considerable performance improvements for space listing in the table,…
… from seconds to sub 1 second. Still WIP around facilities.
- Loading branch information
1 parent
3f1e53a
commit eae8f47
Showing
11 changed files
with
150 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
<div class="rounded-lg mb-4 px-4 py-6 bg-pink-50 -mx-4"> | ||
<div data-duplicate-checker-target="duplicates"> | ||
<h2 class="no-mt"><%= t("space_create.any_of_these", count: spaces.count) %></h2> | ||
<h2 class="no-mt"><%= t("space_create.any_of_these", count: spaces.size) %></h2> | ||
<div class="flex flex-wrap gap-4 mb-4 align-stretch"> | ||
<% spaces.each do |space| %> | ||
<%= render partial: "spaces/new/space_duplicate_item", locals: { space: space, filtered_facilities: nil } %> | ||
<% end %> | ||
</div> | ||
</div> | ||
<button class="button submit" type="button" data-duplicate-checker-target="ignoreDuplicatesButton" data-action="click->duplicate-checker#ignoreDuplicates"> | ||
<%= t('space_create.none_are_duplicates', count: spaces.count) %> | ||
<%= t('space_create.none_are_duplicates', count: spaces.size) %> | ||
</button> | ||
<button class="button button--white hidden" type="button" data-duplicate-checker-target="showDuplicatesButton" data-action="click->duplicate-checker#unIgnoreDuplicates"> | ||
<%= t('space_create.show_duplicates_again', count: spaces.count) %> | ||
<%= t('space_create.show_duplicates_again', count: spaces.size) %> | ||
</button> | ||
</div> |
Oops, something went wrong.