mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Add step 4 of the intructions
(there is no step 4)
This commit is contained in:
@@ -46,6 +46,14 @@ class UsersController < ApplicationController
|
||||
def wakatime_setup_step_3
|
||||
end
|
||||
|
||||
def wakatime_setup_step_4
|
||||
@no_instruction_wording = [
|
||||
"There is no step 4, lol.",
|
||||
"There is no step 4, psych!",
|
||||
"Tricked ya! There is no step 4.",
|
||||
"There is no step 4, gotcha!"
|
||||
].sample
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
|
||||
@@ -29,6 +29,14 @@
|
||||
You'll know it works if you see this in your status bar:
|
||||
</p>
|
||||
<img src="https://hc-cdn.hel1.your-objectstorage.com/s/v3/bebe242cc56bcd33bbbffad54fa04d4c66b27ee4_screenshot_2025-03-13_at_11.41.27.png" alt="WakaTime status bar in VS Code">
|
||||
|
||||
<%= link_to my_wakatime_setup_step_2_path do %>
|
||||
<button>Back to editor selection</button>
|
||||
<% end %>
|
||||
|
||||
<%= link_to my_wakatime_setup_step_4_path do %>
|
||||
<button>Next Step</button>
|
||||
<% end %>
|
||||
</section>
|
||||
|
||||
<script>
|
||||
|
||||
19
app/views/users/wakatime_setup_step_4.html.erb
Normal file
19
app/views/users/wakatime_setup_step_4.html.erb
Normal file
@@ -0,0 +1,19 @@
|
||||
<h1>Wakatime Set Up</h1>
|
||||
|
||||
<p>Step 4 of 4</p>
|
||||
|
||||
<p>
|
||||
<%= @no_instruction_wording %> You're already done!
|
||||
</p>
|
||||
|
||||
<div>
|
||||
<video src="<%= FlavorText.dino_meme_videos.sample %>" autoplay loop muted playsinline controls></video>
|
||||
</div>
|
||||
|
||||
<%= link_to my_wakatime_setup_step_2_path do %>
|
||||
<button>Set up another editor</button>
|
||||
<% end %>
|
||||
|
||||
<%= link_to root_path do %>
|
||||
<button>Done</button>
|
||||
<% end %>
|
||||
@@ -59,6 +59,7 @@ Rails.application.routes.draw do
|
||||
get "my/wakatime_setup", to: "users#wakatime_setup", as: :my_wakatime_setup
|
||||
get "my/wakatime_setup/step-2", to: "users#wakatime_setup_step_2", as: :my_wakatime_setup_step_2
|
||||
get "my/wakatime_setup/step-3", to: "users#wakatime_setup_step_3", as: :my_wakatime_setup_step_3
|
||||
get "my/wakatime_setup/step-4", to: "users#wakatime_setup_step_4", as: :my_wakatime_setup_step_4
|
||||
|
||||
post "/sailors_log/slack/commands", to: "slack#create"
|
||||
post "/timedump/slack/commands", to: "slack#create"
|
||||
|
||||
Reference in New Issue
Block a user