This is an automated email from the ASF dual-hosted git repository.

sadpandajoe pushed a commit to branch ultraset-mh-uuid-annot-oxfmt-2
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 7b4b93e5d8bae58dc289fae3204d7eee5b7b6169
Author: Joe Li <[email protected]>
AuthorDate: Fri Sep 25 08:03:33 2026 +0000

    fix(frontend): reformat two files left behind by the oxfmt 0.67->0.68 bump
    
    Dependabot PR #44521 bumped oxfmt 0.67.0 -> 0.68.0 in package.json/
    package-lock.json only, without a repo-wide `oxfmt --write` pass.
    VersionHistoryPanel.tsx (last touched by #44181, under 0.67 output)
    and setupApp.ts (last touched by #42434, the original Prettier ->
    Oxfmt migration) were formatted under older oxfmt rules and fail
    0.68.0's --check. Reformatted with the pinned oxfmt 0.68.0; no
    logic change.
    
    Co-Authored-By: Claude Sonnet 5 <[email protected]>
---
 .../src/features/versionHistory/VersionHistoryPanel.tsx  | 16 +++++++---------
 superset-frontend/src/setup/setupApp.ts                  | 16 ++++++++--------
 2 files changed, 15 insertions(+), 17 deletions(-)

diff --git 
a/superset-frontend/src/features/versionHistory/VersionHistoryPanel.tsx 
b/superset-frontend/src/features/versionHistory/VersionHistoryPanel.tsx
index c90eff4d534..ed2b9ac3ba9 100644
--- a/superset-frontend/src/features/versionHistory/VersionHistoryPanel.tsx
+++ b/superset-frontend/src/features/versionHistory/VersionHistoryPanel.tsx
@@ -335,15 +335,13 @@ export default function VersionHistoryPanel({
             </Button>
           </Footer>
         )}
-        {!hasMore &&
-          truncated &&
-          timeline.length > 0 && (
-            // The server clips very long histories at a fetch ceiling; without
-            // saying so, the last loaded page reads as the beginning of time.
-            <TruncationNotice role="note">
-              {t('Older history exists but is beyond what can be shown here.')}
-            </TruncationNotice>
-          )}
+        {!hasMore && truncated && timeline.length > 0 && (
+          // The server clips very long histories at a fetch ceiling; without
+          // saying so, the last loaded page reads as the beginning of time.
+          <TruncationNotice role="note">
+            {t('Older history exists but is beyond what can be shown here.')}
+          </TruncationNotice>
+        )}
       </Body>
     </Panel>
   );
diff --git a/superset-frontend/src/setup/setupApp.ts 
b/superset-frontend/src/setup/setupApp.ts
index b72b5ecdfc8..3a03d3d1839 100644
--- a/superset-frontend/src/setup/setupApp.ts
+++ b/superset-frontend/src/setup/setupApp.ts
@@ -62,14 +62,14 @@ function toggleCheckbox(apiUrlPrefix: string, selector: 
string) {
 
 export default function setupApp() {
   $(document).ready(function () {
-    $(':checkbox[data-checkbox-api-prefix]').change(
-      function (this: HTMLElement) {
-        const $this = $(this);
-        const prefix = $this.data('checkbox-api-prefix');
-        const id = $this.attr('id');
-        toggleCheckbox(prefix, `#${id}`);
-      },
-    );
+    $(':checkbox[data-checkbox-api-prefix]').change(function (
+      this: HTMLElement,
+    ) {
+      const $this = $(this);
+      const prefix = $this.data('checkbox-api-prefix');
+      const id = $this.attr('id');
+      toggleCheckbox(prefix, `#${id}`);
+    });
 
     // for language picker dropdown
     $<HTMLAnchorElement>('#language-picker a').click(function (

Reply via email to