diff --git a/app/assets/stylesheets/cards.css b/app/assets/stylesheets/cards.css
index 1da955967..3412704bc 100644
--- a/app/assets/stylesheets/cards.css
+++ b/app/assets/stylesheets/cards.css
@@ -64,11 +64,10 @@
margin: auto;
max-inline-size: 100ch;
padding-block: var(--block-space-half);
- position: relative;
- z-index: 0;
.card {
aspect-ratio: unset;
+ z-index: unset;
}
}
@@ -167,6 +166,17 @@
letter-spacing: 0.5ch;
padding: var(--block-space-half) var(--inline-space-double);
}
+
+.card-column__filter {
+ > button {
+ --hover-size: 0;
+
+ inline-size: auto;
+ padding: 0 2em 0 0;
+ margin-inline-start: 2em;
+ }
+}
+
.card__container {
--actions-block-inset: 1.5rem;
--actions-inline-inset: 4rem;
@@ -226,7 +236,6 @@
max-inline-size: 120ch;
padding: var(--container-padding);
place-content: center;
- view-transition-name: cards-container;
.card {
--block-space: 1em;
@@ -238,6 +247,7 @@
font-size: 3cqi;
flex: 0 0 var(--card-size);
inline-size: var(--card-size);
+ z-index: -1;
}
.card__meta,
@@ -302,7 +312,8 @@
position: absolute;
z-index: -1;
- .cards & {
+ .cards &,
+ .cards--grid & {
z-index: 1;
}
}
@@ -405,7 +416,7 @@
justify-content: space-between;
padding: var(--block-space-half) calc(var(--inline-space) * 1.5);
transform: rotate(-10deg);
- z-index: 1;
+ z-index: -1;
}
.card__popped-by {
diff --git a/app/views/bubbles/index.html.erb b/app/views/bubbles/index.html.erb
index 99351af73..66c86e1d4 100644
--- a/app/views/bubbles/index.html.erb
+++ b/app/views/bubbles/index.html.erb
@@ -43,20 +43,65 @@
<% end %>
-
+
Considering
- <% if (unstaged_bubbles = @bubbles.where(stage: nil)).any? %>
+ <% if (unstaged_bubbles = Filter.from_params(@filter.as_params.except(:stage_ids)).tap { |f| f.creator = Current.user }.bubbles.where(stage: nil)).any? %>
<%= render partial: "bubbles/card_mini", collection: unstaged_bubbles, as: :bubble, cached: true %>
<% else %>
Nothing here
<% end %>
-
- Doing
-
+ <% if workflow = @filter.buckets.first&.workflow %>
+
+
+
+
+
+ <% else %>
+
+ Doing
+
>
+ <% end %>
+
<% if (staged_bubbles = @bubbles.where.not(stage: nil)).any? %>
<%= render partial: "bubbles/card", collection: staged_bubbles, as: :bubble, cached: true %>
<% else %>
@@ -69,7 +114,7 @@
Recently closed
-
+
<% if (popped_bubbles = Filter.from_params(@filter.as_params.merge(indexed_by: "popped")).tap { |f| f.creator = Current.user }.bubbles).any? %>
<%= render partial: "bubbles/card", collection: popped_bubbles, as: :bubble, cached: true %>
<% else %>
diff --git a/app/views/filters/_stages.html.erb b/app/views/filters/_stages.html.erb
index 01ea278b5..3d4a6203f 100644
--- a/app/views/filters/_stages.html.erb
+++ b/app/views/filters/_stages.html.erb
@@ -22,17 +22,17 @@
<% workflow = Current.account.workflows.first %>
<% workflow.stages.each do |stage| %>
-
<% end %>
<% end %>