From 8c4e20892671946012d28a1db78a2ac63bb369fc Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Wed, 15 May 2024 07:31:10 -0400
Subject: removing console logs, unused code and text color changing

---
 .../collectionFreeForm/CollectionFreeFormView.tsx  | 41 ----------------------
 1 file changed, 41 deletions(-)

(limited to 'src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx')

diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
index 88fe10bfd..45edeafb6 100644
--- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
+++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormView.tsx
@@ -1658,44 +1658,6 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
         }
     };
 
-    printDoc = (doc: Doc) => {
-        console.log('Printing keys');
-        Object.keys(doc).forEach(key => {
-            console.log(key, ':', doc[key]);
-        });
-    };
-
-    @action
-    openProperties = () => {
-        SettingsManager.Instance.propertiesWidth = 300;
-    };
-
-    choosePath(url: URL) {
-        if (!url?.href) return '';
-        const lower = url.href.toLowerCase();
-        if (url.protocol === 'data') return url.href;
-        if (url.href.indexOf(window.location.origin) === -1 && url.href.indexOf('dashblobstore') === -1) return Utils.CorsProxy(url.href);
-        if (!/\.(png|jpg|jpeg|gif|webp)$/.test(lower)) return `/assets/unknown-file-icon-hi.png`;
-
-        const ext = extname(url.href);
-        return url.href.replace(ext, '_m' + ext);
-    }
-
-    @action
-    smartLayout = async () => {};
-
-    roundToRoundNumber = (num: number) => {
-        return Math.round(num / 10) * 10;
-    };
-
-    // gpt layout
-    @action
-    gptLayout = async () => {};
-
-    // gpt styling
-    @action
-    gptStyling = async () => {};
-
     onContextMenu = (e: React.MouseEvent) => {
         if (this._props.isAnnotationOverlay || !ContextMenu.Instance) return;
 
@@ -1725,9 +1687,6 @@ export class CollectionFreeFormView extends CollectionSubView<Partial<collection
             optionItems.push({ description: (this._showAnimTimeline ? 'Close' : 'Open') + ' Animation Timeline', event: action(() => (this._showAnimTimeline = !this._showAnimTimeline)), icon: 'eye' });
         this._props.renderDepth && optionItems.push({ description: 'Use Background Color as Default', event: () => (Cast(Doc.UserDoc().emptyCollection, Doc, null).backgroundColor = StrCast(this.layoutDoc.backgroundColor)), icon: 'palette' });
         this._props.renderDepth && optionItems.push({ description: 'Fit Content Once', event: this.fitContentOnce, icon: 'object-group' });
-        // Want to condense into a Smart Organize button
-        this._props.renderDepth && optionItems.push({ description: 'Style with AI', event: this.gptStyling, icon: 'paint-brush' });
-        this._props.renderDepth && optionItems.push({ description: 'Smart Layout', event: this.gptLayout, icon: 'object-group' });
         // this._props.renderDepth && optionItems.push({ description: 'Smart Organize', event: this.smartOrganize, icon: 'object-group' });
         if (!Doc.noviceMode) {
             optionItems.push({ description: (!Doc.NativeWidth(this.layoutDoc) || !Doc.NativeHeight(this.layoutDoc) ? 'Freeze' : 'Unfreeze') + ' Aspect', event: this.toggleNativeDimensions, icon: 'snowflake' });
-- 
cgit v1.2.3-70-g09d2

