Skip to content

armgit / cra

Public Imported from GitHub
0

The open-source Arc replacement for macOS. Spaces, pinned tabs, split view, Little Windows and Arc's shortcuts on Chromium, with your Arc sidebar imported in one go.

Release checklist: the shipped behaviour no test pins yet, and what would let one

Victor80b0074c1a19
diff --git a/docs/release-checklist.md b/docs/release-checklist.md
new file mode 100644
index 0000000..2d4fe62
--- /dev/null
+++ b/docs/release-checklist.md
@@ -0,0 +1,140 @@
+# Release checklist
+
+Most closed issues are pinned by a locked test (rule 8 in [testing.md](testing.md),
+`Tests/promises.lock`). This page covers the rest: what only a person can check in a real
+window (a real site, the GPU, full-screen Spaces, how something feels), and the issues still
+waiting for a hook or a move into CraCore before a test can pin them.
+
+Before tagging a release, run through the checks for every area the release touched, on the
+built release app with a test profile. Note anything that fails in the release's issue or PR.
+
+## Manual checks
+
+### Themes and window chrome
+
+- **#155:** a space on Auto, with one colour or two, changes look when macOS switches between
+ light and dark. A space on Light or Dark doesn't.
+- **#37:** over scrolling text, the sidebar stays blurred in every frame, with no hover.
+- **#83, #132:** activating the window shows a flat fill for a moment, never a sharp unblurred
+ frame. In full screen a solid space sits on the wallpaper tint, not near-black.
+- **#156:** with Reduce transparency on, the sidebar is one flat colour across activations and
+ swipes. With it off, a Dock restore and Stage Manager show no matte frame, and a ⌃←/⌃→
+ full-screen round trip doesn't step.
+- **#46:** waking a slept tab in dark mode shows a black page area, not white.
+- **#6:** a new window's empty card has rounded corners.
+- **#24:** edge to edge, there is no margin and the card is square, with the sidebar shown and
+ hidden.
+- **#10:** neighbouring tab highlights keep a 5 pt gap.
+- **#11:** the Library glyph is centred in its hover square.
+- **#39:** the header chevron is about 12.5 pt and points right when the pinned tabs are
+ collapsed.
+- **#31, #48:** the tab-list scroller shows a 4 pt knob 3 pt from the edge with "When
+ scrolling", and a 5 pt knob with "Always".
+- **#189:** colour swatches grow on hover and shrink when pressed; "Back to Pinned URL" slides
+ in over 0.16 s.
+- **#88:** importing from Arc copies its Show Full URL setting.
+
+### Sidebar, tabs and the command bar
+
+- **#196:** hover a Today tab and move onto its ✕ several times. The ✕ never vanishes before
+ the click.
+- **#7:** click a tab while moving the pointer a few points on a trackpad. It opens.
+- **#3, #208:** a middle click on a sidebar tab row closes it; one in a page never does. ⇧⌘J
+ opens Downloads in the sidebar; Esc or the back arrow closes the Library.
+- **#12:** a two-finger swipe in the hidden sidebar (⌘S) switches spaces, and the next space
+ draws mid-swipe. There is one link bubble only, and the dashed ring shows only on a
+ cross-space keyboard switch.
+- **#28:** the speaker sits between favicon and title, a click mutes, and it doesn't blink
+ between tracks.
+- **#47:** ⌘T highlights the New Tab row; the list scrolls only enough to show the active row.
+- **#85:** ⌘Return keeps the bar open; the "New Tab Created" toast shows only while the sidebar
+ is hidden.
+- **#92:** in a Little Window, ⌃⌘2 sends the page to the window already on space 2.
+- **#174:** with a page text field focused, ⌘Space switches input source and ⌘` switches
+ windows.
+- **#194:** in Google Docs, ⇧⌘C copies the URL instead of opening Word count; DevTools still
+ gets ⇧⌘C.
+- **#192:** in a page's rich text field, ⇧⌘V pastes plain text and Edit ▸ Paste and Match Style
+ is enabled.
+- **#33:** hover the player stack: check the volume slider, the Picture in Picture button, and
+ the light card in a light space.
+
+### Peek, Little Window, Picture in Picture, split view, Capture
+
+- **#195:** in a Peek and a Little Window, click in the page, then Back, Forward, Refresh, the
+ address and "Open in": each works on the first click. Capture and scroll: the page moves and
+ the grey picture and the lens follow. With another app full screen, ⌥⌘N opens a Little
+ Window over it, and doesn't when Settings ▸ Tabs ▸ Links is off.
+- **#202:** in a Peek, ⌘-click a `target=_blank` link: a background tab opens and the Peek
+ stays. A plain click on it closes the Peek and selects the new tab below the source tab.
+- **#186:** send a link from a full-screen app. The Little Window opens centred on that Space
+ with no switch to the desktop, and a video in it can still go full screen.
+- **#172:** with a space on its own profile, a Little Window from that space and a Peek from its
+ tab see that profile's cookies. The chip names the profile; switching it reloads the page in
+ the other profile.
+- **#206:** a video's PiP and Meet's PiP stay on top over a full-screen app, and clicking or
+ dragging them doesn't bring Cra forward.
+- **#198:** in a Meet call with automatic picture-in-picture on, leaving the tab opens Meet's
+ PiP and coming back closes it. The tab shows the recording dot and doesn't sleep.
+- **#134:** with another app in front, the PiP edges show resize cursors, and a click on play
+ doesn't move the window.
+- **#178:** in a split, the focused pane's ring shows (also over docked DevTools), and so does
+ the card shadow.
+- **#90:** Capture on a second display and behind other windows isn't blank. It goes to the
+ clipboard with the "Screenshot Copied to Clipboard" toast, and Save offers Downloads.
+ Full-page capture shows "Capture in Progress" first. Share keeps the control center open. On
+ an https page with a certificate error the lock reads "Not Secure" and opens the certificate
+ sheet.
+
+### Extensions and developer mode
+
+- **#203:** import a store extension from Arc, open a page, then reload the extension in
+ `chrome://extensions`: it stays on and shows as from the Web Store. "Add to Chrome" puts
+ nothing in `~/Downloads` and shows no save panel.
+- **#43:** Load unpacked in `chrome://extensions`. The extension shows in the open Extensions
+ popover within about 1 s, and so does an on/off switch.
+- **#41:** on a test copy, `Extensions.triggerAction` on a turned-off extension answers "No
+ enabled extension…" instead of crashing.
+- **#8:** a Bitwarden popup opens in under 0.5 s and hangs from the button's right edge. A
+ dragged popup reopens at the same offset after the window moves.
+- **#38:** in full screen, SwitchyOmega's Options doesn't slide the Space away, and a second
+ click selects the open options tab.
+- **#42:** clicking the URL in the developer bar edits it in place with the whole URL selected
+ (Return loads, Esc cancels). A long press on the Extensions button doesn't close and reopen
+ the popover.
+- **#9:** for a pinned extension, Monochrome, Symbol, Choose Image… and Original Icon each work
+ and survive a restart.
+- **#89:** in developer mode the ⌄ chevron lists Refresh ⌘R, Force Refresh ⇧⌘R, Clear Cookies
+ and Refresh, Clear Cache and Refresh, View Source ⌥⌘U and Developer Tools ⌥⌘I. Tab row
+ context menus show their shortcuts.
+
+## Not pinned yet
+
+Each of these needs a change to production code before a test can pin it: a move into
+CraCore (rule 1 in CLAUDE.md), or a `cra://debug` hook a scenario can read. Do the one for an
+issue when a change touches that code anyway.
+
+| Issue | What would let a test pin it |
+|---|---|
+| #202 | Move where a link's tab lands (`BrowserManager.openLinkTab`) into CraCore, e.g. a `LinkTabPlacement` value |
+| #172 | Move the Little Window's profile order (opener's page, Peek's tab, target space) out of `LittleWindowController.init`; or a `littleProfile` hook logging its profile folder |
+| #186 | `cra://open?…&little=1` honours `CRA_TEST_BACKGROUND`, and `debug?windows=1` logs `collectionBehavior` |
+| #178 | Split panes keep their bars with the toolbar hidden (`ShellView.barsShown`), and View ▸ Show Toolbar is disabled in a split: both in files no harness compiles |
+| #191 | Move the drop-target rule (a tab over a row's middle splits, never into a folder) out of `SpaceListView` |
+| #47 | Move `SpaceListView.revealActiveRow` (scroll the least that shows the row) |
+| #139 | Move `navigatedAway` (pinned, URL differs from the saved one) out of `SpaceListView` |
+| #3 #21 #86 #195 | Default bindings (⇧⌘J, ⌃⌘1–9, ⇧⌘T, ⌥⌘N) live in `App/KeyBindings.swift`, a known exception |
+| #194 | `AppDelegate.reservedActions` must hold `copyURL` and `copyURLMarkdown`: a `reserved=<action>` hook or a move |
+| #192 | A `validate=pasteAsPlainText` hook logging whether the item is enabled while a page has focus |
+| #21 | An `undoKey` hook logging whether ⌘Z undoes typing or reopens a tab |
+| #49 | `SuggestionEngine` (at most five rows, never the current tab), a known exception |
+| #171 | `themeShown` also logs the window's appearance and effective appearance (menus and sheets follow it) |
+| #187 | `themeShown` also logs the command bar's appearance and highlight colour |
+| #152 | `spaceTip=<n>` logs the tip's text, profile pill and caps |
+| #40 #170 | `spaceMenu=1` logs the space header menu's items in order, and the list's right-click menu too |
+| #132 #156 | A `windowActive=0\|1` override, since a background scenario window is always "blur, active" |
+| #22 | Move `ExtensionStore.Entry.isInstalled` and `isEnabled(inProfile:)` into CraCore |
+| #106 | Move the action icon fallback (`default_icon` as a dict or string, else `icons`) into CraCore |
+| #9 | Move `IconStyle` into CraCore with a fixture; or `pinExtension` and `extensionIconStyle` hooks plus a toolbar snapshot |
+| #89 | A `menuItemsAt=x,y` hook logging each item's title and shortcut |
+| #8 | Move `ExtensionPopupWindow.placement(anchor:width:)` and the drag offset into CraCore |
diff --git a/docs/release.md b/docs/release.md
index 792bd71..1e6676b 100644
--- a/docs/release.md
+++ b/docs/release.md
@@ -53,6 +53,9 @@ download page all carry both paths; keep them in step.
## Cutting a release
+Run the manual checks in [release-checklist.md](release-checklist.md) for every area the
+release touched first.
+
```sh
# 1. Add the release to the website's src/content/releases.ts and bump CRA_VERSION defaults if needed.
# 2. Tag and push. The Release workflow builds, signs, notarizes, packages and publishes.
diff --git a/docs/testing.md b/docs/testing.md
index c03a685..4adb64e 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -28,6 +28,7 @@ Commands for each piece are in [development.md](development.md#tests).
do that only when the issue's behaviour is meant to change, say why in the commit and tell the
reporter. 0.1.30 rewrote the #155 test together with the change that broke it, and nothing
failed until the reporter wrote back.
+ What no test can pin yet is a manual check in [release-checklist.md](release-checklist.md).
## Layers