-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Bug Fix] "tooltip is not a function" in analytics V2 (#1611)
Addresses: #1609 ### Demo Clip https://github.com/restarone/violet_rails/assets/25191509/f8368c2b-e072-4b5c-b9e9-bff3ee17c42a
- Loading branch information
1 parent
21184ab
commit c5299c1
Showing
10 changed files
with
84 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- if @site && @site.persisted? | ||
%li{class: 'nav-item', data: { turbo: 'false' }} | ||
= active_link_to comfy_admin_blog_posts_path(@site), class: "nav-link" do | ||
= t('comfy.admin.cms.base.posts') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
= comfy_admin_partial "comfy/admin/cms/partials/html_footer" | ||
|
||
- if content_for(:javascript) | ||
= yield :javascript |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
%head | ||
%title= ComfortableMexicanSofa.config.cms_title | ||
|
||
%meta{"http-equiv" => "Content-type", content: "text/html; charset=utf-8"} | ||
%meta{charset: "utf-8"} | ||
%meta{name: "viewport", content: "width=device-width, initial-scale=1, shrink-to-fit=no"} | ||
= csrf_meta_tag | ||
- if @site && @site.persisted? | ||
%meta{name: "cms-file-upload-path", content: comfy_admin_cms_site_files_path(@site)} | ||
%meta{name: "cms-pages-path", content: comfy_admin_cms_site_pages_path(@site)} | ||
%meta{name: "cms-locale", content: I18n.locale} | ||
= stylesheet_link_tag "comfy/admin/cms/application", media: "all", "data-turbolinks-track": "reload" | ||
-# moved from _footer_js.html.haml since the pack file was being loaded multiple times when included inside body tag | ||
= javascript_include_tag "comfy/admin/cms/application", "data-turbo-track": "reload" | ||
= yield :head | ||
= comfy_admin_partial "comfy/admin/cms/partials/html_head" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
= comfy_admin_partial "comfy/admin/cms/partials/navigation_before" | ||
|
||
%nav.navbar.navbar-expand-lg | ||
%button.navbar-toggler{type: "button", data: {toggle:"collapse", target: "#leftnav"}, aria: {controls: "navbarSupportedContent", expanded: "false", label: "Toggle navigation"}} | ||
%i.fas.fa-bars | ||
|
||
#leftnav.navbar-collapse.collapse | ||
|
||
%ul.nav.nav-pills | ||
%li.nav-item | ||
= active_link_to comfy_admin_cms_sites_path, class: "nav-link", active: ['comfy/admin/cms/sites'] do | ||
= t('comfy.admin.cms.base.sites') | ||
|
||
- if @site && !@site.new_record? | ||
%li{class: 'nav-item', data: {turbo: 'false'}} | ||
= active_link_to comfy_admin_cms_site_layouts_path(@site), class: "nav-link" do | ||
= t('comfy.admin.cms.base.layouts') | ||
%li{class: 'nav-item', data: {turbo: 'false'}} | ||
= active_link_to comfy_admin_cms_site_pages_path(@site), class: "nav-link" do | ||
= t('comfy.admin.cms.base.pages') | ||
%li{class: 'nav-item', data: {turbo: 'false'}} | ||
= active_link_to comfy_admin_cms_site_snippets_path(@site), class: "nav-link" do | ||
= t('comfy.admin.cms.base.snippets') | ||
%li.nav-item | ||
- unless is_active_link?(comfy_admin_cms_site_files_path(@site)) | ||
%a.cms-files-open-modal{href: comfy_admin_cms_site_files_path(@site), title: "Open library"} | ||
%i.fas.fa-bars | ||
= active_link_to comfy_admin_cms_site_files_path(@site), class: "nav-link" do | ||
= t('comfy.admin.cms.base.files') | ||
|
||
= cms_hook :navigation | ||
|
||
= comfy_admin_partial "comfy/admin/cms/partials/navigation_inner" | ||
|
||
= comfy_admin_partial "comfy/admin/cms/partials/navigation_after" | ||
|
||
.left-footer | ||
= link_to 'ComfortableMexicanSofa', 'https://github.com/comfy', target: '_blank' | ||
%span.version= ComfortableMexicanSofa::VERSION |