/ patches / branding.patch
branding.patch
  1  --- a/yaak/src-web/commands/openSettings.tsx
  2  +++ b/yaak/src-web/commands/openSettings.tsx
  3  @@ -23,7 +23,7 @@
  4       await invokeCmd('cmd_new_child_window', {
  5         url: location.href,
  6         label: 'settings',
  7  -      title: 'Yaak Settings',
  8  +      title: 'Fiak Settings',
  9         innerSize: [750, 600],
 10       });
 11     },
 12  --- a/yaak/src-web/components/Settings/SettingsGeneral.tsx
 13  +++ b/yaak/src-web/components/Settings/SettingsGeneral.tsx
 14  @@ -72,7 +72,7 @@
 15             className="pl-2 mt-1 ml-[14rem]"
 16             checked={settings.autoDownloadUpdates}
 17             disabled={!settings.autoupdate}
 18  -          help="Automatically download Yaak updates (!50MB) in the background, so they will be immediately ready to install."
 19  +          help="Automatically download Fiak updates (!50MB) in the background, so they will be immediately ready to install."
 20             title="Automatically download updates"
 21             onChange={(autoDownloadUpdates) => patchModel(settings, { autoDownloadUpdates })}
 22           />
 23  --- a/yaak/src-web/components/Settings/SettingsPlugins.tsx
 24  +++ b/yaak/src-web/components/Settings/SettingsPlugins.tsx
 25  @@ -334,7 +334,7 @@
 26     return plugins.length === 0 ? (
 27       <div className="pb-4">
 28         <EmptyStateText className="text-center">
 29  -        Plugins extend the functionality of Yaak.
 30  +        Plugins extend the functionality of Fiak.
 31           <br />
 32           Add your first plugin to get started.
 33         </EmptyStateText>
 34  --- a/yaak/src-web/components/SettingsDropdown.tsx
 35  +++ b/yaak/src-web/components/SettingsDropdown.tsx
 36  @@ -63,7 +63,7 @@
 37             leftSlot: <Icon icon="rocket" />,
 38             onSelect: () => openUrl('https://yaak.app/button/new'),
 39           },
 40  -        { type: 'separator', label: `Yaak v${appInfo.version}` },
 41  +        { type: 'separator', label: `Fiak v${appInfo.version}` },
 42           {
 43             label: 'Purchase License',
 44             color: 'success',
 45  --- a/yaak/src-web/components/git/GitDropdown.tsx
 46  +++ b/yaak/src-web/components/git/GitDropdown.tsx
 47  @@ -635,7 +635,7 @@
 48               const confirmed = await showConfirm({
 49                 id: 'hide-git-init-prompt',
 50                 title: 'Hide Git Setup',
 51  -              description: 'You can initialize a git repo outside of Yaak to bring this back',
 52  +              description: 'You can initialize a git repo outside of Fiak to bring this back',
 53               });
 54               if (confirmed) {
 55                 await setHidden((prev) => ({ ...prev, [workspaceId]: true }));
 56  --- a/yaak/src-web/hooks/useSyncWorkspaceRequestTitle.ts
 57  +++ b/yaak/src-web/hooks/useSyncWorkspaceRequestTitle.ts
 58  @@ -16,7 +16,7 @@
 59   
 60     useEffect(() => {
 61       const settings = jotaiStore.get(settingsAtom);
 62  -    let newTitle = activeWorkspace ? activeWorkspace.name : 'Yaak';
 63  +    let newTitle = activeWorkspace ? activeWorkspace.name : 'Fiak';
 64       if (activeEnvironment) {
 65         newTitle += ` (${activeEnvironment.name})`;
 66       }
 67  --- a/yaak/src-web/index.html
 68  +++ b/yaak/src-web/index.html
 69  @@ -3,7 +3,7 @@
 70   <head>
 71     <meta charset="UTF-8"/>
 72     <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
 73  -  <title>Yaak App</title>
 74  +  <title>Fiak App</title>
 75   <!--  <script src="http://localhost:8097"></script>-->
 76   
 77     <!-- Certain elements like webview (and maybe <select>?) will use background
 78  --- a/yaak/crates-tauri/yaak-app/tauri.release.conf.json
 79  +++ b/yaak/crates-tauri/yaak-app/tauri.release.conf.json
 80  @@ -11,10 +11,10 @@
 81       }
 82     },
 83     "bundle": {
 84  -    "publisher": "Yaak",
 85  +    "publisher": "Fiak",
 86       "license": "MIT",
 87  -    "copyright": "Yaak",
 88  -    "homepage": "https://yaak.app",
 89  +    "copyright": "Fiak",
 90  +    "homepage": "https://github.com/Vexcited/Fiak",
 91       "active": true,
 92       "category": "DeveloperTool",
 93       "createUpdaterArtifacts": true,
 94  --- a/yaak/crates/yaak-models/src/queries/workspaces.rs
 95  +++ b/yaak/crates/yaak-models/src/queries/workspaces.rs
 96  @@ -19,7 +19,7 @@
 97           if workspaces.is_empty() {
 98               workspaces.push(self.upsert_workspace(
 99                   &Workspace {
100  -                    name: "Yaak".to_string(),
101  +                    name: "Fiak".to_string(),
102                       setting_follow_redirects: true,
103                       setting_validate_certificates: true,
104                       ..Default::default()
105  --- a/yaak/crates-tauri/yaak-app/tauri.conf.json
106  +++ b/yaak/crates-tauri/yaak-app/tauri.conf.json
107  @@ -1,7 +1,7 @@
108   {
109  -  "productName": "Yaak",
110  +  "productName": "Fiak",
111     "version": "0.0.0",
112  -  "identifier": "app.yaak.desktop",
113  +  "identifier": "app.fiak.desktop",
114     "build": {
115       "beforeBuildCommand": "npm run tauri-before-build",
116       "beforeDevCommand": "npm run tauri-before-dev",
117  --- a/yaak/crates-tauri/yaak-app/tauri.development.conf.json
118  +++ b/yaak/crates-tauri/yaak-app/tauri.development.conf.json
119  @@ -1,6 +1,6 @@
120   {
121  -  "productName": "Daak",
122  -  "identifier": "app.yaak.desktop.dev",
123  +  "productName": "Faak",
124  +  "identifier": "app.fiak.desktop.dev",
125     "bundle": {
126       "icon": [
127         "icons/dev/32x32.png",
128  --- a/yaak/src-web/components/responseViewers/WebPageViewer.tsx
129  +++ b/yaak/src-web/components/responseViewers/WebPageViewer.tsx
130  @@ -17,7 +17,7 @@
131       <div className="h-full pb-3">
132         <iframe
133           key={html ? 'has-body' : 'no-body'}
134  -        title="Yaak response preview"
135  +        title="Fiak response preview"
136           srcDoc={contentForIframe}
137           sandbox="allow-scripts allow-forms"
138           referrerPolicy="no-referrer"
139  --- a/yaak/src-web/lib/initGlobalListeners.tsx
140  +++ b/yaak/src-web/lib/initGlobalListeners.tsx
141  @@ -134,7 +134,7 @@
142       timeout: null,
143       message: (
144         <VStack>
145  -        <h2 className="font-semibold">Yaak {version} was installed</h2>
146  +        <h2 className="font-semibold">Fiak {version} was installed</h2>
147           <p className="text-text-subtle text-sm">Start using the new version now?</p>
148         </VStack>
149       ),
150  @@ -149,7 +149,7 @@
151             setTimeout(() => invokeCmd('cmd_restart', {}), 200);
152           }}
153         >
154  -        Relaunch Yaak
155  +        Relaunch Fiak
156         </ButtonInfiniteLoading>
157       ),
158     });
159  @@ -170,7 +170,7 @@
160       timeout: null,
161       message: (
162         <VStack>
163  -        <h2 className="font-semibold">Yaak {version} is available</h2>
164  +        <h2 className="font-semibold">Fiak {version} is available</h2>
165           <p className="text-text-subtle text-sm">
166             {downloaded ? 'Do you want to install' : 'Download and install'} the update?
167           </p>
168  --- a/yaak/crates-tauri/yaak-app/src/window.rs
169  +++ b/yaak/crates-tauri/yaak-app/src/window.rs
170  @@ -204,7 +204,7 @@
171       let config = CreateWindowConfig {
172           url,
173           label: label.as_str(),
174  -        title: "Yaak",
175  +        title: "Fiak",
176           inner_size: Some((DEFAULT_WINDOW_WIDTH, DEFAULT_WINDOW_HEIGHT)),
177           position: Some((
178               // Offset by random amount so it's easier to differentiate
179  --- a/yaak/crates-tauri/yaak-app/tauri.linux.conf.json
180  +++ b/yaak/crates-tauri/yaak-app/tauri.linux.conf.json
181  @@ -1,3 +1,3 @@
182   {
183  -  "productName": "yaak"
184  +  "productName": "fiak"
185   }
186  --- a/yaak/crates-tauri/yaak-app/Cargo.toml
187  +++ b/yaak/crates-tauri/yaak-app/Cargo.toml
188  @@ -1,5 +1,5 @@
189   [package]
190  -name = "yaak-app"
191  +name = "fiak-app"
192   version = "0.0.0"
193   edition = "2024"
194   authors = ["Gregory Schier"]