Skip to content

Address suggestions from MR to move All Tables view

Summary

Address the following non-blocking suggestions from !11 (merged)

!11 (comment 2758739103)

Suggestion: Ensure proper JSON encoding in Ruby with html_safe.

In the Ruby file that defines this (https://gitlab.com/gitlab-com/gl-infra/tenant-scale/organizations/cells-progress-tracker/-/blob/39fbc7900120934b98fb64617fa424ec47d90a9a/scripts/sharding_keys/helper.rb#L765-L782):

!11 (comment 2758737132)

Suggestion: Add a safety check:

javascriptif (typeof $ !== 'undefined' && $.fn.tooltip) {
    $('#all-tables-body [data-toggle="tooltip"]').tooltip();
}