Rename 'BOXCAR' to 'Fizzy'
Missed files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
module ApplicationHelper
|
||||
def page_title_tag
|
||||
tag.title @page_title || "BOXCAR"
|
||||
tag.title @page_title || "Fizzy"
|
||||
end
|
||||
|
||||
def icon_tag(name, **options)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class ApplicationMailer < ActionMailer::Base
|
||||
default from: "The BOXCAR team <support@37signals.com>"
|
||||
default from: "The Fizzy team <support@37signals.com>"
|
||||
|
||||
layout "mailer"
|
||||
append_view_path Rails.root.join("app/views/mailers")
|
||||
|
||||
@@ -3,7 +3,7 @@ class MagicLinkMailer < ApplicationMailer
|
||||
@magic_link = magic_link
|
||||
@identity = @magic_link.identity
|
||||
|
||||
mail to: @identity.email_address, subject: "Sign in to BOXCAR"
|
||||
mail to: @identity.email_address, subject: "Sign in to Fizzy"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
@@ -11,6 +11,6 @@ class Notification::BundleMailer < ApplicationMailer
|
||||
|
||||
mail \
|
||||
to: bundle.user.identity.email_address,
|
||||
subject: "Latest Activity in BOXCAR"
|
||||
subject: "Latest Activity in Fizzy"
|
||||
end
|
||||
end
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="settings__panel settings__panel--entropy panel shadow center">
|
||||
<header>
|
||||
<h2 class="divider txt-large">Auto close</h2>
|
||||
<p class="margin-none-block-start">BOXCAR doesn’t let stale cards stick around forever. Cards automatically close as “Not Now” without activity for specific period of time. <em>This is the default, global setting — you can override it on each board.</em></p>
|
||||
<p class="margin-none-block-start">Fizzy doesn’t let stale cards stick around forever. Cards automatically close as “Not Now” without activity for specific period of time. <em>This is the default, global setting — you can override it on each board.</em></p>
|
||||
</header>
|
||||
|
||||
<%= render "entropy/auto_close", model: account.entropy, url: account_entropy_path %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%= turbo_frame_tag @collection, :entropy do %>
|
||||
<div class="margin-block-end">
|
||||
<h2 class="divider txt-large">Auto close</h2>
|
||||
<p class="margin-none-block-start">BOXCAR doesn’t let stale cards stick around forever. Cards automatically close as “Not now” if no one updates, comments, or moves a card for…</p>
|
||||
<p class="margin-none-block-start">Fizzy doesn’t let stale cards stick around forever. Cards automatically close as “Not now” if no one updates, comments, or moves a card for…</p>
|
||||
<%= render "entropy/auto_close", model: collection, url: collection_entropy_path(collection) %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<%= turbo_frame_tag @collection, :publication do %>
|
||||
<header>
|
||||
<h2 class="divider txt-large">Public link</h2>
|
||||
<div>Turn on the Public link to share this board with anyone in the world. They won’t need to log in and they won’t be able to see anything else in BOXCAR.</div>
|
||||
<div>Turn on the Public link to share this board with anyone in the world. They won’t need to log in and they won’t be able to see anything else in Fizzy.</div>
|
||||
</header>
|
||||
|
||||
<% if collection.published? %>
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<iframe
|
||||
frameborder="0"
|
||||
src="https://www.youtube.com/embed/kAgUQbD9Wc0?si=IIjKjUIk5PchL0-a"
|
||||
title="BOXCAR Beta orientation"
|
||||
title="Fizzy Beta orientation"
|
||||
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
|
||||
referrerpolicy="strict-origin-when-cross-origin"
|
||||
allowfullscreen></iframe>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<nav>
|
||||
<%= link_to "https://box-car.com", class: "boxcar-header-logo center flex-inline align-center txt-normal" do %>
|
||||
<%= image_tag "logo.png" %>
|
||||
<strong class="txt-medium overflow-ellipsis margin-none">BOXCAR</strong>
|
||||
<strong class="txt-medium overflow-ellipsis margin-none">Fizzy</strong>
|
||||
<% end %>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<h1 class="title">Confirm your email address change</h1>
|
||||
<p class="subtitle">Hit the button below to use this email address in BOXCAR.</p>
|
||||
<p class="subtitle">Hit the button below to use this email address in Fizzy.</p>
|
||||
|
||||
<%= link_to "Yes use use this email address", email_address_confirmation_url(membership_id: @membership.id, email_address_token: @token), class: "btn" %>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Confirm your email address change
|
||||
<%= "=" * 80 %>
|
||||
|
||||
Hit the link below to use this email address in BOXCAR:
|
||||
Hit the link below to use this email address in Fizzy:
|
||||
|
||||
<%= email_address_confirmation_url(membership_id: @membership.id, email_address_token: @token) %>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<h1 class="title">Sign in to BOXCAR</h1>
|
||||
<p class="subtitle">Hit the button below to sign in to BOXCAR on this device</p>
|
||||
<h1 class="title">Sign in to Fizzy</h1>
|
||||
<p class="subtitle">Hit the button below to sign in to Fizzy on this device</p>
|
||||
|
||||
<%= link_to "Sign in to BOXCAR", session_magic_link_url(code: @magic_link.code), class: "btn" %>
|
||||
<%= link_to "Sign in to Fizzy", session_magic_link_url(code: @magic_link.code), class: "btn" %>
|
||||
|
||||
<p class="margin-block-start-double">If you’re signing in on another device, enter this special code:
|
||||
<br><strong class="txt-large"><%= @magic_link.code %></strong>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Sign in to BOXCAR
|
||||
Sign in to Fizzy
|
||||
<%= "=" * 80 %>
|
||||
|
||||
Open this link in your browser to login on this device:
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<h1 class="title">Everything since <%= @bundle.starts_at.strftime("%-l%P on %A, %B %-d") %></h1>
|
||||
<p class="subtitle margin-block-end-double">You have <%= link_to pluralize(@notifications.count, "new notification"), notifications_url %>.</p>
|
||||
<%= render partial: "notification/bundle_mailer/notification", collection: @notifications, as: :notification %>
|
||||
<p class="footer">BOXCAR emails you about new notifications every few hours. <br>
|
||||
<p class="footer">Fizzy emails you about new notifications every few hours. <br>
|
||||
<%= link_to "Change how often you get these", notifications_settings_url %>
|
||||
or <%= link_to "unsubscribe from all email notifications", new_notifications_unsubscribe_url(access_token: @unsubscribe_token) %>.
|
||||
</p>
|
||||
|
||||
@@ -4,7 +4,7 @@ You have <%= pluralize @notifications.count, "new notification" %>.
|
||||
<%= render partial: "notification/bundle_mailer/notification", collection: @notifications, as: :notification %>
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
BOXCAR emails you about new notifications every few hours.
|
||||
Fizzy emails you about new notifications every few hours.
|
||||
|
||||
Change how often you get these:
|
||||
<%= notifications_settings_url %>
|
||||
|
||||
@@ -3,5 +3,5 @@
|
||||
action: "click->dialog#open:stop keydown.j@document->hotkey#click keydown.meta+j@document->hotkey#click keydown.ctrl+j@document->hotkey#click",
|
||||
controller: "hotkey" } do %>
|
||||
<span><%= image_tag "logo.png" %></span>
|
||||
<strong class="txt-medium overflow-ellipsis margin-none">BOXCAR</strong>
|
||||
<strong class="txt-medium overflow-ellipsis margin-none">Fizzy</strong>
|
||||
<% end %>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<%= collapsible_nav_section "Jump to…" do %>
|
||||
<%= filter_place_menu_item "https://www.youtube.com/watch?v=rNKRdk7DLHM", "BOXCAR beta orientation", "youtube", new_window: true %>
|
||||
<%= filter_place_menu_item "https://www.youtube.com/watch?v=rNKRdk7DLHM", "Fizzy beta orientation", "youtube", new_window: true %>
|
||||
<%= filter_place_menu_item account_settings_path, "Account Settings", "settings" %>
|
||||
<%= filter_place_menu_item user_path(Current.user), "My Profile", "person" %>
|
||||
<%= filter_place_menu_item notifications_path, "Notifications", "bell" %>
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<%= render "hotkeys" %>
|
||||
|
||||
<div class="margin-block-start-half txt-x-small txt-align-center">
|
||||
BOXCAR is designed, built, and backed by <strong class="txt-nowrap"><%= icon_tag "37signals", class: "v-align-middle" %> <a href="https://37signals.com" target="_blank" class="txt-ink">37signals</a>.</strong>
|
||||
Fizzy is designed, built, and backed by <strong class="txt-nowrap"><%= icon_tag "37signals", class: "v-align-middle" %> <a href="https://37signals.com" target="_blank" class="txt-ink">37signals</a>.</strong>
|
||||
</div>
|
||||
|
||||
<%= render "saved_filter", filters: @user_filtering.filters %>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<% unless (platform.chrome? && !platform.ios?) || (platform.firefox? && !platform.android?) %>
|
||||
<div class="notifications-help pwa__instructions hide-in-pwa">
|
||||
<h2><%= platform.safari? && platform.desktop? ? "…or install" : "Install " -%> BOXCAR as a web app.</h2>
|
||||
<h2><%= platform.safari? && platform.desktop? ? "…or install" : "Install " -%> Fizzy as a web app.</h2>
|
||||
<% case
|
||||
when platform.edge? %>
|
||||
<ol>
|
||||
<li>Click <em><%= icon_tag "install-edge", alt: "the app available - install BOXCAR button" %></em>in the address bar.</li>
|
||||
<li>Click <em><%= icon_tag "install-edge", alt: "the app available - install Fizzy button" %></em>in the address bar.</li>
|
||||
<li>Click <em>Install</em>.</li>
|
||||
</ol>
|
||||
<% when platform.chrome? && platform.android? %>
|
||||
@@ -23,13 +23,13 @@
|
||||
<li>Click <em>Add to Dock…</em>.</li>
|
||||
</ol>
|
||||
<% when (platform.safari? || platform.chrome?) && platform.ios? %>
|
||||
<p>To receive push notifications in <%= platform.browser.capitalize %> for <%= platform.operating_system %>, you must first install BOXCAR as a web app.</p>
|
||||
<p>To receive push notifications in <%= platform.browser.capitalize %> for <%= platform.operating_system %>, you must first install Fizzy as a web app.</p>
|
||||
<ol>
|
||||
<li>Tap <em><%= icon_tag "share", alt: "the share button" %></em></li>
|
||||
<li>Tap <em>Add to Home Screen</em>.</li>
|
||||
</ol>
|
||||
<% else %>
|
||||
<p>Some platforms require you to install BOXCAR as a web app to receive push notifications.</p>
|
||||
<p>Some platforms require you to install Fizzy as a web app to receive push notifications.</p>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -12,19 +12,19 @@
|
||||
<ol>
|
||||
<li>Click <em>Start</em>, then <em>Settings</em>.</li>
|
||||
<li>Go to <em>System > Notification</em>.</li>
|
||||
<li>Click <em><%= icon_tag "switch", alt: "the toggle button" %></em> <em>ON</em> for BOXCAR.</li>
|
||||
<li>Click <em><%= icon_tag "switch", alt: "the toggle button" %></em> <em>ON</em> for Fizzy.</li>
|
||||
</ol>
|
||||
<% when (platform.firefox? || platform.chrome?) && platform.desktop? %>
|
||||
<ol>
|
||||
<% if platform.windows? %>
|
||||
<li>Click <em>Start</em>, then <em>Settings</em>.</li>
|
||||
<li>Go to <em>System > Notification</em>.</li>
|
||||
<li>Click <em><%= icon_tag "switch", alt: "the toggle button" %></em> <em>ON</em> for BOXCAR.</li>
|
||||
<li>Click <em><%= icon_tag "switch", alt: "the toggle button" %></em> <em>ON</em> for Fizzy.</li>
|
||||
<% else %>
|
||||
<li>Click <em aria-label="the Apple menu"></em> in the top left.</li>
|
||||
<li>Click <em>System Settings…</em>.</li>
|
||||
<li>Click <em>Notifications</em>.</li>
|
||||
<li>Click <em>BOXCAR</em>.</li>
|
||||
<li>Click <em>Fizzy</em>.</li>
|
||||
<li>Click <em><%= icon_tag "switch", alt: "the allow notifications switch" %></em> to <em>Allow notifications</em>.</li>
|
||||
<% end %>
|
||||
</ol>
|
||||
@@ -33,13 +33,13 @@
|
||||
<li>Click <em aria-label="the Apple menu"></em> in the top left.</li>
|
||||
<li>Click <em>System Settings…</em>.</li>
|
||||
<li>Click <em>Notifications</em>.</li>
|
||||
<li>Click <em>BOXCAR</em>.</li>
|
||||
<li>Click <em>Fizzy</em>.</li>
|
||||
<li>Click <em><%= icon_tag "switch", alt: "the allow notifications switch" %></em> to <em>Allow notifications</em>.</li>
|
||||
</ol>
|
||||
<% when (platform.safari? || platform.chrome?) && platform.ios? %>
|
||||
<ol>
|
||||
<li>Open the <em><%= icon_tag "gear", aria: { hidden: "true" } %></em> Settings app.</li>
|
||||
<li>Scroll to and tap <em>BOXCAR</em>.</li>
|
||||
<li>Scroll to and tap <em>Fizzy</em>.</li>
|
||||
<li>Tap <em>Notifications</em>.</li>
|
||||
<li>Tap <em><%= icon_tag "switch", alt: "the allow notifications switch button" %></em> to <em>Allow Notifications</em>.</li>
|
||||
</ol>
|
||||
@@ -48,7 +48,7 @@
|
||||
<li>Open the <em><%= icon_tag "gear", aria: { hidden: "true" } %></em> Settings app.</li>
|
||||
<li>Tap <em>Notifications</em>.</li>
|
||||
<li>Tap <em>App notifications</em>.</li>
|
||||
<li>Scroll to <em>BOXCAR</em>.</li>
|
||||
<li>Scroll to <em>Fizzy</em>.</li>
|
||||
<li>Tap <em><%= icon_tag "switch", alt: "the switch" %></em> to <em>Allow Notifications</em>.</li>
|
||||
</ol>
|
||||
<% else %>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<div class="panel margin-block-double center shadow">
|
||||
<h1 class="font-black txt-x-large margin-none-block-end">You’re unsubscribed</h1>
|
||||
<p class="margin-block-start-half">Thanks, <%= @user.first_name %>! BOXCAR won’t send you any more email notifications. If you change your mind you can turn them back on in <%= link_to "Notifications Settings", notifications_settings_path %>.</p>
|
||||
<p class="margin-block-start-half">Thanks, <%= @user.first_name %>! Fizzy won’t send you any more email notifications. If you change your mind you can turn them back on in <%= link_to "Notifications Settings", notifications_settings_path %>.</p>
|
||||
|
||||
<%= link_to root_path, class: "btn btn--link margin-block-start" do %>
|
||||
<%= icon_tag "arrow-left" %>
|
||||
<span>Back to BOXCAR</span>
|
||||
<span>Back to Fizzy</span>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "<%= [ Account.sole.name, "BOXCAR", Rails.env.production? ? nil : Rails.env ].compact.join(" - ") %>",
|
||||
"name": "<%= [ Account.sole.name, "Fizzy", Rails.env.production? ? nil : Rails.env ].compact.join(" - ") %>",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/app-icon-192.png",
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<%= form_with url: search_path, method: :get, class: "search__form flex align-center justify-center gap-half", data: { bar_target: "form", turbo_frame: "bar_content" } do |form| %>
|
||||
<%= form.label :q, "Search BOXCAR", class: "font-weight-black txt-nowrap" %>
|
||||
<%= form.label :q, "Search Fizzy", class: "font-weight-black txt-nowrap" %>
|
||||
<%= text_field_tag :q, query_terms,
|
||||
class: "search__input input",
|
||||
type: "search",
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<div class="txt-align-center center margin-block-double txt-subtle txt-small">
|
||||
BOXCAR beta. <%= mail_to "support@37signals.com", "Need help?", class: "txt-link" %>
|
||||
Fizzy beta. <%= mail_to "support@37signals.com", "Need help?", class: "txt-link" %>
|
||||
</div>
|
||||
@@ -7,7 +7,7 @@
|
||||
>
|
||||
<% if @memberships.present? %>
|
||||
<h1 class="txt-x-large font-weight-black margin-none">
|
||||
Your BOXCAR accounts
|
||||
Your Fizzy accounts
|
||||
</h1>
|
||||
<menu class="popup__list pad border-radius border">
|
||||
<% @memberships.each do |membership| %>
|
||||
@@ -21,13 +21,13 @@
|
||||
</menu>
|
||||
<% else %>
|
||||
<h1 class="txt-x-large font-weight-black margin-none">Hmm...</h1>
|
||||
<p class="margin-none-block-start">You don’t have any BOXCAR accounts.</p>
|
||||
<p class="margin-none-block-start">You don’t have any Fizzy accounts.</p>
|
||||
<% end %>
|
||||
|
||||
<% if defined?(saas) %>
|
||||
<div class="margin-block-start">
|
||||
<%= link_to saas.new_signup_membership_path, class: "btn btn--plain txt-link center txt-small" do %>
|
||||
<span>Sign up for a new BOXCAR account</span>
|
||||
<span>Sign up for a new Fizzy account</span>
|
||||
<% end %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
@@ -26,8 +26,8 @@
|
||||
<%= render partial: "webhooks/webhook", collection: @page.records %>
|
||||
</ul>
|
||||
<% else %>
|
||||
<p>Webhooks can notify another application when something happens in this BOXCAR board. You’ll choose which events to subscribe to and provide a URL to receive the data.</p>
|
||||
<p>For example, you could create a webhook that posts to a Campfire chat in Basecamp when new cards are added to BOXCAR.</p>
|
||||
<p>Webhooks can notify another application when something happens in this Fizzy board. You’ll choose which events to subscribe to and provide a URL to receive the data.</p>
|
||||
<p>For example, you could create a webhook that posts to a Campfire chat in Basecamp when new cards are added to Fizzy.</p>
|
||||
<%= link_to new_collection_webhook_path, class: "btn btn--link" do %>
|
||||
<%= icon_tag "add" %>
|
||||
<span>Set up a webhook</span>
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<div class="flex flex-column gap-half">
|
||||
<%= form.label :url do %>
|
||||
<strong>Payload URL</strong><br>
|
||||
<p class="margin-none txt-x-small txt-subtle">This is the URL for the app that will receive payloads from BOXCAR.</p>
|
||||
<p class="margin-none txt-x-small txt-subtle">This is the URL for the app that will receive payloads from Fizzy.</p>
|
||||
<% end %>
|
||||
<%= form.url_field :url,
|
||||
required: true,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class Signup::AccountNameGenerator
|
||||
SUFFIX = "BOXCAR".freeze
|
||||
SUFFIX = "Fizzy".freeze
|
||||
|
||||
attr_reader :identity, :name
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<% @page_title = "Sign up for BOXCAR" %>
|
||||
<% @page_title = "Sign up for Fizzy" %>
|
||||
|
||||
<div class="panel panel--centered flex flex-column gap-half <%= "shake" if flash[:alert] %>">
|
||||
<h1 class="txt-xx-large margin-block-end-double">Sign up</h1>
|
||||
|
||||
@@ -45,7 +45,7 @@ class Signups::MembershipsControllerTest < ActionDispatch::IntegrationTest
|
||||
signup: {
|
||||
membership_id: membership.signed_id(purpose: :account_creation),
|
||||
full_name: "New User",
|
||||
account_name: "New's BOXCAR"
|
||||
account_name: "New's Fizzy"
|
||||
}
|
||||
)
|
||||
end
|
||||
|
||||
@@ -9,38 +9,38 @@ class Signup::AccountNameGeneratorTest < ActiveSupport::TestCase
|
||||
|
||||
test "generate" do
|
||||
account_name = @generator.generate
|
||||
assert_equal "Newart's BOXCAR", account_name, "The 1st account doesn't have 1st in the name"
|
||||
assert_equal "Newart's Fizzy", account_name, "The 1st account doesn't have 1st in the name"
|
||||
|
||||
first_membership = @identity.memberships.create(tenant: "1st")
|
||||
first_membership.stubs(:account_name).returns(account_name)
|
||||
|
||||
account_name = @generator.generate
|
||||
assert_equal "Newart's 2nd BOXCAR", account_name
|
||||
assert_equal "Newart's 2nd Fizzy", account_name
|
||||
|
||||
second_membership = @identity.memberships.create(tenant: "2nd")
|
||||
second_membership.stubs(:account_name).returns(account_name)
|
||||
|
||||
account_name = @generator.generate
|
||||
assert_equal "Newart's 3rd BOXCAR", account_name
|
||||
assert_equal "Newart's 3rd Fizzy", account_name
|
||||
|
||||
third_membership = @identity.memberships.create(tenant: "3nd")
|
||||
third_membership.stubs(:account_name).returns(account_name)
|
||||
|
||||
account_name = @generator.generate
|
||||
assert_equal "Newart's 4th BOXCAR", account_name
|
||||
assert_equal "Newart's 4th Fizzy", account_name
|
||||
|
||||
fourth_membership = @identity.memberships.create(tenant: "4th")
|
||||
fourth_membership.stubs(:account_name).returns(account_name)
|
||||
|
||||
account_name = @generator.generate
|
||||
assert_equal "Newart's 5th BOXCAR", account_name
|
||||
assert_equal "Newart's 5th Fizzy", account_name
|
||||
end
|
||||
|
||||
test "generate continues from the previous highest index" do
|
||||
membership = @identity.memberships.create(tenant: "12th")
|
||||
membership.stubs(:account_name).returns("Newart's 12th BOXCAR")
|
||||
membership.stubs(:account_name).returns("Newart's 12th Fizzy")
|
||||
|
||||
account_name = @generator.generate
|
||||
assert_equal "Newart's 13th BOXCAR", account_name
|
||||
assert_equal "Newart's 13th Fizzy", account_name
|
||||
end
|
||||
end
|
||||
|
||||
@@ -10,7 +10,7 @@ class MagicLinkMailerTest < ActionMailer::TestCase
|
||||
end
|
||||
|
||||
assert_equal [ "kevin@37signals.com" ], email.to
|
||||
assert_equal "Sign in to BOXCAR", email.subject
|
||||
assert_equal "Sign in to Fizzy", email.subject
|
||||
assert_match magic_link.code, email.body.encoded
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user