Intercom integration #1267

Merged
Shpigford merged 4 commits from intercom into main 2024-10-08 23:50:49 +08:00
Shpigford commented 2024-10-08 23:23:24 +08:00 (Migrated from github.com)

Includes if/else statements for various ways to reach out. Also, github/discord icons updated to SVG.

Includes if/else statements for various ways to reach out. Also, github/discord icons updated to SVG.
zachgoll (Migrated from github.com) reviewed 2024-10-08 23:36:16 +08:00
@@ -57,9 +57,16 @@
<%= lucide_icon("megaphone", class: "w-5 h-5 text-gray-500 shrink-0") %>
zachgoll (Migrated from github.com) commented 2024-10-08 23:28:30 +08:00
        <% if self_hosted? %>

In all view-related code, I've consolidated this to self_hosted? helper in SelfHostable just to consolidate changes to one centralized spot

https://github.com/maybe-finance/maybe/blob/main/app/controllers/concerns/self_hostable.rb

```suggestion <% if self_hosted? %> ``` In all view-related code, I've consolidated this to `self_hosted?` helper in `SelfHostable` just to consolidate changes to one centralized spot https://github.com/maybe-finance/maybe/blob/main/app/controllers/concerns/self_hostable.rb
@@ -9,17 +9,23 @@
<p class="text-sm text-gray-500 mb-4">Let us know if you have any specific feedback. Feel free to include links to videos or screenshots.</p>
zachgoll (Migrated from github.com) commented 2024-10-08 23:28:56 +08:00
      <% if self_hosted? %>
```suggestion <% if self_hosted? %> ```
@@ -0,0 +1,118 @@
if ENV["INTERCOM_APP_ID"].present? && ENV["INTERCOM_IDENTITY_VERIFICATION_KEY"].present?
zachgoll (Migrated from github.com) commented 2024-10-08 23:36:06 +08:00

Not entirely sure how this shows up in Intercom UI, but could potentially be repurposed?

config.company.current = Proc.new { Current.family }
Not entirely sure how this shows up in Intercom UI, but could potentially be repurposed? ```rb config.company.current = Proc.new { Current.family } ```
Shpigford (Migrated from github.com) reviewed 2024-10-08 23:37:55 +08:00
@@ -0,0 +1,118 @@
if ENV["INTERCOM_APP_ID"].present? && ENV["INTERCOM_IDENTITY_VERIFICATION_KEY"].present?
Shpigford (Migrated from github.com) commented 2024-10-08 23:37:55 +08:00

Oooo, interesting idea. Let me see how that filters down through Intercom.

Oooo, interesting idea. Let me see how that filters down through Intercom.
Shpigford (Migrated from github.com) reviewed 2024-10-08 23:44:29 +08:00
@@ -0,0 +1,118 @@
if ENV["INTERCOM_APP_ID"].present? && ENV["INTERCOM_IDENTITY_VERIFICATION_KEY"].present?
Shpigford (Migrated from github.com) commented 2024-10-08 23:44:29 +08:00

Done. Super easy.

Done. Super easy.
zachgoll (Migrated from github.com) approved these changes 2024-10-08 23:50:34 +08:00
Sign in to join this conversation.