Skip to content

Commit 8911ae8

Browse files
committed
chore: routine layout changes update
- natively implemented by Peprlexity
1 parent 1757fab commit 8911ae8

File tree

13 files changed

+3
-272
lines changed

13 files changed

+3
-272
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "complexity",
33
"displayName": "Complexity - Perplexity AI Supercharged",
4-
"version": "1.7.1.0",
4+
"version": "1.7.2.0",
55
"author": "pnd280",
66
"description": "Supercharge your Perplexity AI",
77
"type": "module",

src/entrypoints/content-scripts/loaders/cs-ui-plugins-loader/CsUiRoot.tsx

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ const BetterMessageToolbarsWrapper = lazy(
2323
() => import("@/plugins/thread-better-message-toolbars"),
2424
);
2525
const CanvasWrapper = lazy(() => import("@/plugins/canvas"));
26-
const CollapsibleQueryWrapper = lazy(
27-
() => import("@/plugins/thread-better-message-toolbars/collapsible-query"),
28-
);
2926
const CommandMenuWrapper = lazy(() => import("@/plugins/command-menu"));
3027
const ExportThreadWrapper = lazy(() => import("@/plugins/export-thread"));
3128
const HomepageUpdateAnnouncer = lazy(
@@ -117,13 +114,6 @@ function ThreadComponents() {
117114

118115
<CsUiPluginsGuard dependentPluginIds={["thread:betterMessageToolbars"]}>
119116
<BetterMessageToolbarsWrapper />
120-
<CsUiPluginsGuard
121-
additionalCheck={({ settings }) =>
122-
settings.plugins["thread:betterMessageToolbars"].collapsibleQuery
123-
}
124-
>
125-
<CollapsibleQueryWrapper />
126-
</CsUiPluginsGuard>
127117
</CsUiPluginsGuard>
128118

129119
<CsUiPluginsGuard dependentPluginIds={["thread:betterCodeBlocks"]}>

src/entrypoints/content-scripts/loaders/loaders.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,10 @@ import "@/plugins/drag-n-drop-file-to-upload-in-thread";
3838
import "@/plugins/collapse-empty-thread-visual-cols";
3939
import "@/plugins/thread-better-message-toolbars/explicit-model-name";
4040
import "@/plugins/thread-better-message-toolbars/message-words-and-characters-count";
41-
import "@/plugins/thread-better-message-toolbars/collapsible-query/populate-original-height";
4241
import "@/plugins/instant-rewrite-button/native-btn-bind";
4342
import "@/plugins/custom-thread-container-width";
4443
import "@/plugins/thread-raw-headings";
45-
import "@/plugins/thread-better-message-toolbars/dynamic-query-font-size";
44+
4645
// Home Plugins
4746
import "@/plugins/home-custom-slogan";
4847
import "@/plugins/hide-homepage-widgets";

src/entrypoints/options-page/dashboard/pages/plugins/components/plugin-details/content/BetterThreadMessageToolbars.tsx

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -108,38 +108,6 @@ export default function BetterThreadMessageToolbarsPluginDetails() {
108108
onCheckedChange={handleCheckedChange("tokensCount")}
109109
/>
110110
)}
111-
<Switch
112-
className="x-items-start"
113-
textLabel={
114-
<div>
115-
<div>Collapsible Query</div>
116-
<div className="x-text-sm x-text-muted-foreground">
117-
Limit the maximum height of the query container
118-
</div>
119-
</div>
120-
}
121-
checked={
122-
settings?.plugins["thread:betterMessageToolbars"].collapsibleQuery
123-
}
124-
onCheckedChange={handleCheckedChange("collapsibleQuery")}
125-
/>
126-
<Switch
127-
className="x-items-start"
128-
textLabel={
129-
<div>
130-
<div>Dynamic Query Font Size</div>
131-
<div className="x-text-sm x-text-muted-foreground">
132-
Automatically adjust the font size of the query based on its
133-
length
134-
</div>
135-
</div>
136-
}
137-
checked={
138-
settings?.plugins["thread:betterMessageToolbars"]
139-
.dynamicQueryFontSize
140-
}
141-
onCheckedChange={handleCheckedChange("dynamicQueryFontSize")}
142-
/>
143111
</div>
144112
)}
145113
<div className="x-mx-auto x-w-full x-max-w-[700px]">

src/plugins/thread-better-message-toolbars/collapsible-query/CollapsibleQueryToggleButton.tsx

Lines changed: 0 additions & 56 deletions
This file was deleted.

src/plugins/thread-better-message-toolbars/collapsible-query/collapsible-query.css

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/plugins/thread-better-message-toolbars/collapsible-query/index.tsx

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/plugins/thread-better-message-toolbars/collapsible-query/populate-original-height.ts

Lines changed: 0 additions & 52 deletions
This file was deleted.

src/plugins/thread-better-message-toolbars/dynamic-query-font-size/index.ts

Lines changed: 0 additions & 44 deletions
This file was deleted.

src/services/extension-local-storage/plugins.types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ export const PluginsSchema = z.object({
3939
explicitModelName: z.boolean(),
4040
wordsAndCharactersCount: z.boolean(),
4141
tokensCount: z.boolean(),
42-
collapsibleQuery: z.boolean(),
43-
dynamicQueryFontSize: z.boolean(),
4442
}),
4543
"thread:messageTts": PluginSettingsSchema.extend({
4644
voice: TtsVoiceSchema,

0 commit comments

Comments
 (0)