Skip to content
122 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.1<!doctype html>
2<!--
3 The desktop app's settings, in a window of their own: opened from the
4 menu, the tray, or the site's account menu (src/settings.rs). Each
5 change is kept as soon as it is made; there is nothing to save.
6-->
7<html lang="en">
8 <head>
9 <meta charset="utf-8" />
10 <meta name="viewport" content="width=device-width, initial-scale=1" />
11 <meta name="color-scheme" content="dark" />
12 <title>g1t settings</title>
13 <link rel="stylesheet" href="settings.css" />
14 </head>
15 <body>
Merge branch 'main' of github.com:flagon-io/g1t16 <!-- Its title bar, when g1t draws its own (src/frame.rs): drag it to move the window. -->
17 <header class="titlebar" id="titlebar" hidden>
18 <span>Settings</span>
19 <button type="button" id="close-window" class="caption" aria-label="Close" title="Close" tabindex="-1">
20 <svg viewBox="0 0 16 16" width="16" height="16" fill="none" stroke="currentColor" stroke-width="1.25" stroke-linecap="round" aria-hidden="true">
21 <line x1="4" y1="4" x2="12" y2="12" />
22 <line x1="12" y1="4" x2="4" y2="12" />
23 </svg>
24 </button>
25 </header>
26 <div class="page">
27 <main>
28 <h1>Settings</h1>
29 <p class="muted lede">For the desktop app on this computer. Your account's settings, notifications included, are on g1t itself.</p>
The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.30
Merge branch 'main' of github.com:flagon-io/g1t31 <section aria-labelledby="general-heading">
32 <h2 id="general-heading">Starting and closing</h2>
33 <label class="setting">
34 <span><strong>Open g1t when you sign in</strong><span class="muted" id="open-at-login-note">g1t starts with your computer.</span></span>
35 <input type="checkbox" role="switch" id="openAtLogin" />
36 </label>
37 <label class="setting">
38 <span><strong>Start in the tray</strong><span class="muted" id="start-hidden-note">Opened at sign-in, g1t waits in the tray without opening its window.</span></span>
39 <input type="checkbox" role="switch" id="startHidden" />
40 </label>
41 <label class="setting">
42 <span><strong>Keep g1t running when the window closes</strong><span class="muted">It stays in the tray for notifications. Turned off, closing the window quits.</span></span>
43 <input type="checkbox" role="switch" id="closeToTray" />
44 </label>
45 </section>
The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.46
Merge branch 'main' of github.com:flagon-io/g1t47 <section aria-labelledby="notifications-heading">
48 <h2 id="notifications-heading">Notifications</h2>
49 <label class="setting">
50 <span><strong>Show notifications</strong><span class="muted">From your system, for what needs you while g1t is behind another window. Which things notify you is set on g1t.</span></span>
51 <input type="checkbox" role="switch" id="notifications" />
52 </label>
53 <label class="setting">
54 <span><strong id="flash-label">Flash the taskbar icon</strong><span class="muted">When a notification arrives and the window is not in front.</span></span>
55 <input type="checkbox" role="switch" id="flash" />
56 </label>
57 <label class="setting">
58 <span><strong>Show a badge on the icon</strong><span class="muted">How many things are waiting for you.</span></span>
59 <input type="checkbox" role="switch" id="badge" />
60 </label>
61 </section>
The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.62
Merge branch 'main' of github.com:flagon-io/g1t63 <section aria-labelledby="window-heading">
64 <h2 id="window-heading">Window</h2>
65 <label class="setting">
66 <span
67 ><strong>Use the system's title bar</strong
68 ><span class="muted" id="system-title-bar-note">In place of g1t's own, with the menu bar under it.</span></span
69 >
70 <input type="checkbox" role="switch" id="systemTitleBar" />
71 </label>
72 <div class="setting" id="restart-row" hidden>
73 <span><strong>Restart to change the title bar</strong><span class="muted">g1t opens again where you were.</span></span>
74 <button type="button" id="restart-app" class="primary">Restart now</button>
75 </div>
76 <label class="setting">
77 <span><strong>Zoom</strong><span class="muted" id="zoom-note">The View menu changes it too.</span></span>
78 <select id="zoom">
79 <option value="0.67">67%</option>
80 <option value="0.75">75%</option>
81 <option value="0.8">80%</option>
82 <option value="0.9">90%</option>
83 <option value="1">100%</option>
84 <option value="1.1">110%</option>
85 <option value="1.25">125%</option>
86 <option value="1.5">150%</option>
87 <option value="1.75">175%</option>
88 <option value="2">200%</option>
89 </select>
90 </label>
91 </section>
The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.92
Merge branch 'main' of github.com:flagon-io/g1t93 <section aria-labelledby="updates-heading">
94 <h2 id="updates-heading">Updates</h2>
95 <label class="setting">
96 <span><strong>Download updates by themselves</strong><span class="muted">Each one installs when you restart or quit g1t, never in the middle of something.</span></span>
97 <input type="checkbox" role="switch" id="autoUpdate" />
98 </label>
99 <div class="setting" id="updates-row">
100 <span><strong id="version">g1t</strong><span class="muted" id="update-status" aria-live="polite">&nbsp;</span></span>
101 <span class="buttons">
102 <button type="button" id="restart" class="primary" hidden>Restart now</button>
103 <button type="button" id="check">Check for updates</button>
104 </span>
105 </div>
106 </section>
The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.107
Merge branch 'main' of github.com:flagon-io/g1t108 <section aria-labelledby="server-heading">
109 <h2 id="server-heading">Server</h2>
110 <div class="setting">
111 <span><strong id="server">g1t.sh</strong><span class="muted">The g1t this app opens. Change it if you run g1t yourself.</span></span>
112 <button type="button" id="change-server">Change…</button>
113 </div>
114 </section>
The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.115
Merge branch 'main' of github.com:flagon-io/g1t116 <p class="error" id="error" role="alert" hidden></p>
117 <p class="muted small foot"><a href="https://docs.g1t.sh/guides/desktop/">About the desktop app</a></p>
118 </main>
119 </div>
The desktop app has settings of its own and a menu, and it is for using g1t, not browsing it.120 <script src="settings.js"></script>
121 </body>
122</html>

This file's history is long; its oldest lines are credited to the oldest commit read.