From d0cf995367d1f742f4bc24b6e2ba5cb682ee498c Mon Sep 17 00:00:00 2001 From: drusepth Date: Mon, 5 Sep 2022 17:18:30 -0700 Subject: [PATCH] start pruning features for v2 --- .../_tailwind_content_question.html.erb | 4 ++-- app/views/layouts/tailwind.html.erb | 8 ++++++-- app/views/main/dashboard.html.erb | 20 +++++++++---------- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/app/views/cards/serendipitous/_tailwind_content_question.html.erb b/app/views/cards/serendipitous/_tailwind_content_question.html.erb index c34777d0..a889e1e9 100644 --- a/app/views/cards/serendipitous/_tailwind_content_question.html.erb +++ b/app/views/cards/serendipitous/_tailwind_content_question.html.erb @@ -3,7 +3,7 @@ include_quick_reference = defined?(include_quick_reference) && !!include_quick_reference %> -

+

<%= t( "serendipitous_questions.attributes.#{content.page_type.downcase}.#{field.label.downcase}", @@ -19,7 +19,7 @@ <%= field.label %> - + diff --git a/app/views/layouts/tailwind.html.erb b/app/views/layouts/tailwind.html.erb index 4e674cb8..b3b7cf2e 100644 --- a/app/views/layouts/tailwind.html.erb +++ b/app/views/layouts/tailwind.html.erb @@ -120,10 +120,14 @@

- <%= image_tag current_user.image_url(size=32), class: 'rounded-full mr-2 p-1 border-2 border-notebook-blue' %> + <%= link_to current_user do %> + <%= image_tag current_user.image_url(size=32), class: 'rounded-full mr-2 p-1 border-2 border-notebook-blue' %> + <% end %>
You're signed in as
-
@andrew
+
+ <%= link_to current_user.display_name, current_user %> +
diff --git a/app/views/main/dashboard.html.erb b/app/views/main/dashboard.html.erb index 49b5a06e..63f27cc6 100644 --- a/app/views/main/dashboard.html.erb +++ b/app/views/main/dashboard.html.erb @@ -16,10 +16,10 @@ Welcome back, <%= link_to current_user.display_name, current_user, class: User.text_color %>!
+ @@ -27,34 +27,31 @@
Account status
- [progress bar]
+ -->
+ -->
+ +

Your writing activity

- -
@@ -150,19 +147,20 @@
+ -->
-

+

Expand <% if @universe_scope.present? %> - <%= link_to @universe_scope.name, @universe_scope, class: "#{Universe.text_color}" %>, + <%= link_to @universe_scope.name, @universe_scope, class: Universe.text_color %>, <% else %> your worlds, <% end %> - one question at a time + one question at a time

<%= if @content && @attribute_field_to_question