Skip to content

Commit 907b32f

Browse files
committed
✨ feat(app): ship Token Menu Bar
Make provider limits, resets, credits, and local usage available from the menu bar without switching between provider dashboards. Keep account selection and retained history separate so changing credentials cannot mix another account’s totals into the current view. Keep provider parsing, scheduling, storage, and presentation policy in Core. Use a screen-bounded popup with persistent tab content and on-demand supporting detail. Preserve reported zero and unknown values, and keep credential reads noninteractive. Cover macOS 14, 15, 26 and 27 with runtime-checked CI. Gate macOS 27 on GitHub’s hosted-image rollout. Keep optional performance benchmarks separate from functional tests. Isolate verification from the installed app, credentials, network, and persistent preferences.
1 parent 53b4ff8 commit 907b32f

559 files changed

Lines changed: 81839 additions & 1 deletion

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actionlint.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# actionlint 1.7.12 predates this hosted preview: https://github.com/actions/runner-images/issues/14404
2+
self-hosted-runner:
3+
labels: [xcode-27]

.github/ui-test-groups.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"performance": [
3+
"PerformanceBenchmarks/testSixtyDayHistoryPreparation",
4+
"PerformanceBenchmarks/testFirstSettingsClickFromFreshLaunch",
5+
"PerformanceBenchmarks/testProfileMockedTabSwitches",
6+
"PerformanceBenchmarks/testTabSwitchLatencyAndFrameStability"
7+
],
8+
"lifecycle": [
9+
"TokenMenuBarApplicationUITests/testQuitClosesTheVerificationApplication",
10+
"TokenMenuBarApplicationUITests/testDemoCanTurnOffAndBackOnWithoutLeavingVerification",
11+
"TokenMenuBarApplicationUITests/testStatusItemReopensThePopoverAfterEscape",
12+
"TokenMenuBarApplicationUITests/testEveryTabExposesNamedControls",
13+
"TokenMenuBarApplicationUITests/testOpeningAndTabSwitchesKeepTheirAnchor",
14+
"TokenMenuBarApplicationUITests/testCommandFFocusesTheModelFilter",
15+
"TokenMenuBarApplicationUITests/testEscapeClosesEveryTab"
16+
],
17+
"usage": [
18+
"LiveControlAuditUITests/testUsageControlsRespond"
19+
],
20+
"history": [
21+
"LiveControlAuditUITests/testHistoryDatesAndControlsRespond"
22+
],
23+
"file-choosers": [
24+
"LiveControlAuditUITests/testFileChoosersReturnToThePopover",
25+
"LiveControlAuditUITests/testHistoryExportSavesTheSelectedPeriod"
26+
],
27+
"settings-menu-bar": [
28+
"LiveControlAuditUITests/testSettingsMenuBarControlsRespond",
29+
"LiveControlAuditUITests/testCustomTemplateSupportsMultilineEditing"
30+
],
31+
"settings-models": [
32+
"LiveControlAuditUITests/testSettingsModelSelectionControlsRespond"
33+
],
34+
"settings-about": [
35+
"LiveControlAuditUITests/testSettingsAboutControlsRespond"
36+
],
37+
"settings-providers": [
38+
"LiveControlAuditUITests/testSettingsProviderControlsRespond"
39+
],
40+
"provider-access": [
41+
"LiveControlAuditUITests/testSettingsProviderAccessActionsRespond"
42+
],
43+
"settings-data": [
44+
"LiveControlAuditUITests/testSettingsDataControlsRespond"
45+
],
46+
"settings-notifications": [
47+
"LiveControlAuditUITests/testSettingsNotificationControlsRespond"
48+
],
49+
"settings-log": [
50+
"LiveControlAuditUITests/testSettingsLogControlsRespond"
51+
],
52+
"text-wide-light": [
53+
"LiveControlAuditUITests/testLongTextAtWideWidthInLightAppearance",
54+
"LiveControlAuditUITests/testLongSettingsTextAtWideWidthInLightAppearance"
55+
],
56+
"text-narrow-light": [
57+
"LiveControlAuditUITests/testLongTextAtNarrowWidthInLightAppearance",
58+
"LiveControlAuditUITests/testLongSettingsTextAtNarrowWidthInLightAppearance"
59+
],
60+
"text-wide-dark": [
61+
"LiveControlAuditUITests/testLongTextAtWideWidthInDarkAppearance",
62+
"LiveControlAuditUITests/testLongSettingsTextAtWideWidthInDarkAppearance"
63+
],
64+
"text-narrow-dark": [
65+
"LiveControlAuditUITests/testLongTextAtNarrowWidthInDarkAppearance",
66+
"LiveControlAuditUITests/testLongSettingsTextAtNarrowWidthInDarkAppearance"
67+
],
68+
"tooltips": [
69+
"LiveControlAuditUITests/testUsageRichTooltipsStayAdjacent",
70+
"LiveControlAuditUITests/testHistoryRichTooltipsStayAdjacent",
71+
"LiveControlAuditUITests/testSettingsRichTooltipsStayAdjacentAndTabsHaveNone"
72+
]
73+
}

0 commit comments

Comments
 (0)