diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 8106685b3e7..eda658e0c81 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -3,6 +3,4 @@ ARG RUBY_VERSION=3.3.5 FROM ghcr.io/rails/devcontainer/images/ruby:$RUBY_VERSION -RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ - && apt-get -y install --no-install-recommends pkg-config \ - && apt-get clean && rm -rf /var/lib/apt/lists/* +RUN sudo apt-get update && sudo apt-get -y install --no-install-recommends pkg-config diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index d05adf8a1e8..bc2ecaae758 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -34,6 +34,8 @@ "containerEnv": { "EDITOR": "code --wait", "GIT_EDITOR": "code --wait", + "DEVCONTAINER_APP_HOST": "http://rails-app", + "MEMCACHED_ENDPOINT": "cache:11211", "CAPYBARA_SERVER_PORT": "45678", "SELENIUM_HOST": "selenium", "ELASTICSEARCH_URL": "http://search:9200", diff --git a/app/views/layouts/_session.html.erb b/app/views/layouts/_session.html.erb index 677752bc08b..468f53a2e71 100644 --- a/app/views/layouts/_session.html.erb +++ b/app/views/layouts/_session.html.erb @@ -1,7 +1,7 @@
<% if signed_in? %> <%# This class is used in the tests :( I need it to be the same class until the old design is gone. %> - <%= link_to(dashboard_path, data: { action: "dialog#open", dialog_target: "button" }, class: "header__popup-link") do %> + <%= link_to(dashboard_path, data: { action: "dialog#open", dialog_target: "button" }, class: "header__popup-link", title: "User Dropdown Menu") do %> <%= avatar 64, "user_gravatar", theme: :dark, class: "h-9 w-9 rounded" %> <% end %> <% else %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index aa3422566f8..66760fe6235 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -66,7 +66,7 @@ <%= current_user.name %> <%= avatar 80, "user_gravatar", theme: :dark %> - + More items