Skip to content

Releases

Clack v0.1.0-alpha.109

Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 21:28

What's new in v0.1.0-alpha.109

  • Activity, Threads and Saved show each message as it is now. Their rows used to draw the copy the feed handed over, so a poll's vote counts jumped up and down and edits showed up late.
    • A vote, edit or reaction reaches the row in the next frame. That holds under plugins that patch Activity too, and the row stays in step with the thread pane next to it.
    • A deleted reply, or an edit that drops your mention, takes its entry out of Threads.
    • When a badge count drops to zero, Clack marks the loaded rows read.
    • Messages that Activity has to fetch by id go out in batches, one round at a time.
  • The inspect tool can freeze the window. Hover something and press F. The window keeps exactly what it drew, so you can pick, capture and blur hover states and tooltips. F or Esc unfreezes, and every widget catches up with where the mouse is, so nothing stays stuck in its hover state.

Still in progress:

  • Late Slick menu picks, the α.106 known issue. The fix is waiting for review.
  • Messages arriving late or clumped. Waiting for review.
  • Edits to messages that plugins change, drawn about 4x sooner. Reviewed, in the next release.
  • Canvas mentions in Activity, and where clicking one takes you. Being built.
  • Video playback. Being built.
  • A hardening fix for file downloads. In review.

Full Changelog: v0.1.0-alpha.108...v0.1.0-alpha.109

Clack v0.1.0-alpha.108

Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 19:48

What's new in v0.1.0-alpha.108

  • Less redrawing when little changes. A frame where only a small part changes (the blinking caret, an animated emoji, a spinner) now redraws just that part instead of the whole window.
    • In CI's real-window test on Linux, which uses software rendering, a blinking caret went from 57% of a core to 4.5%.
    • The caret blinks at your system's rate: macOS's setting, and on Linux the desktop's (XSETTINGS or GTK's settings.ini).
    • The extra frame buffer is released while the window is hidden or minimized on Windows, covered or hidden on macOS, and unmapped on Linux X11.
    • Not done yet: on Windows, a window that's fully covered by others still draws its animations.
    • If you see a drawing glitch, say so. Setting CLACK_FULL_FRAMES=1 goes back to drawing whole frames.
  • The message hover toolbar sits where Slack puts it.
    • It draws 16px above its message, 28px above for grouped rows, and inside the top for a thread's root.
    • Near the top of the list it's cut off by the list, as in Slack, rather than pinned under the list's top, away from its message. That was what happened after a jump from Activity.
    • Hover and right-click now follow the message itself, so a list that reloads under the pointer can't hand the toolbar to a different message.

Still in progress:

  • Late Slick menu picks: the α.106 known issue. The fix is in review.
  • Messages arriving late or clumped: in review.
  • Activity's vote counts and deleted replies: reviewed; in the next release.
  • The inspect freeze for hover states: reviewed; in the next release.
  • Video playback: being built.

Full Changelog: v0.1.0-alpha.107...v0.1.0-alpha.108

Clack v0.1.0-alpha.107

Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 18:30

What's new in v0.1.0-alpha.107

  • A thread's reply box comes with its first replies. Opening a thread no longer shows the replies first and the reply box a frame later.
  • Channel mentions in canvases show the channel's name. A canvas heading read "#C0M8PUPU6 Guidelines" instead of "#ship Guidelines", because a canvas stores mentions as ids.
    • Channels now show their names, member or not, with Slack's grey placeholder while a name loads.
    • A private channel you're in shows a lock and its name; one you can't see shows "Private channel".
    • The same fix covers @-mentions of people, the canvas title bar, canvas previews in messages and the channel topic's card.
  • The ⋮ menu on channel members. In a channel's details, under Members, hover a person and click ⋮ for these items, under Slack's own rules about who can use them:
    • Make Channel Manager;
    • Remove from Channel Managers;
    • Remove from channel.
      As in Slack, right-clicking a member row does nothing.
  • Theme colours match Slack's.
    • A light custom theme's rail is no longer white on white, and a dark custom theme's selection has Slack's contrast.
    • Activity's unread dots and badges use your theme's important colour: an imported theme drew them brown where Slack draws red.
    • The DMs list and its peek card use Slack's muted, unread, hover and "(you)" colours.
    • The app menu, + and focus buttons show their pressed look while held.
  • Inspect tool flipped. A plain click or drag now opens the blur review, and Shift+click copies at once.
  • Security: Clack refuses to send your session cookie to a file path that a server could read as a Slack page, such as one with .. in it.
  • Smaller fixes: a missing-glyph box is drawn in its text's weight, and U+180F is treated as invisible, as in other apps.

Still in progress:

  • Lower idle GPU and CPU (redrawing only what changes): reviewed and green; it comes in the next release, later today.
  • The hover toolbar drawn away from its message after a jump from Activity: fixed and reviewed, in the next release.
  • Late Slick menu picks: the α.106 known issue. The fix is in review.
  • Messages arriving late or clumped: in review.
  • Video playback: being built.

Full Changelog: v0.1.0-alpha.106...v0.1.0-alpha.107

Clack v0.1.0-alpha.106

Pre-release

Choose a tag to compare

@github-actions github-actions released this 18 Nov 01:59

What's new in v0.1.0-alpha.106

  • Slick plugins' message menus work again. Slick's newest builds add their actions to message menus through a new menu API, which Clack didn't have. ChatTabs, Message Logger and Better Message Menu failed with "not a function" on current Slick. Clack now runs that API the way Slack's own menu does:
    • Actions appear in every message menu: More actions, the right-click menu and a search result's More actions.
    • Your choice reaches the plugin first. A row the plugin doesn't handle runs once, in the menu where you picked it.
    • Submenus and reminders work as in Slack. Organize and Connect to apps open as their own submenus, and reminder presets go through the same path as in Slack.
    • Keys aren't lost. A key you press while the menu waits for a plugin is kept and replayed once the plugin's rows are drawn.
    • No cost without these plugins. Without a plugin that adds actions, menus open in the same frame as before.
    • Settings pages: plugins get their own settings panels.
    • ChatTabs: opening a thread in a new tab makes it the current tab. This doesn't work yet when that thread is already open beside its channel.
    • Known issue, fix coming: a pick is dropped if a busy plugin takes more than a second to answer it. That can happen right after a plugin restarts. If a menu choice does nothing, pick it again.
  • The hand cursor on buttons Clack draws itself. Reactions, the add-reaction and show-more buttons, the hover toolbar and the thread reply bar now show the pointing-hand cursor, as Slack does. A reaction's tooltip that reaches past the message pane now draws over the sidebar instead of behind it. Thanks to Heliodex for the PR.

Full Changelog: v0.1.0-alpha.105...v0.1.0-alpha.106

Clack v0.1.0-alpha.105

Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 17:45

What's new in v0.1.0-alpha.105

  • Mentions that wrap across lines draw like Slack's. A wrapped mention pill now keeps its picture at the start of its first line. Before, a picture such as Slick's Mention Profiles avatar landed over the name on the next line. The pill's box splits per line the way Chromium draws it, rounded only at its two ends.
    • Line breaks around the picture follow Chromium's rules.
    • Wrapped inline code opens at the break.
    • A pill's hover highlight is visible again, on every line.
    • The colour swatch after a colour value matches Slack's size and position.
  • Clamped text ends like Slack's. Link previews, attachment titles and channel topics that run out of lines cut the last word where it no longer fits and draw the "…" over it, as Chromium does. Pills and code under the "…" keep their full width.
  • Profile photos retry like Slack. Uploading, saving and removing a photo now retry a network error, a timeout or a busy server up to three times, on the same schedule Slack's client uses. Save and Remove show Slack's spinner while they work. Any failure still goes to clack.log with the method, Slack's error code and the HTTP status. Photos are also oriented the way Chromium orients them, and animated GIFs are sized by their full canvas.

Full Changelog: v0.1.0-alpha.104...v0.1.0-alpha.105

Clack v0.1.0-alpha.104

Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 11:40

What's new in v0.1.0-alpha.104

  • A full window is far cheaper for the GPU. Clack skips work the graphics API already has, batches Metal's commands, leaves a rounded clip off what's drawn inside it, and stencils clip paths only where they clip something.
    • At a 1918×1080 window in a light custom theme on Windows' software renderer, one frame now makes about 4,950 Direct3D 11 calls instead of 32,700 (−85%), and takes 92 ms instead of 238.
    • On a Mac, a frame makes about 4,480 Metal calls instead of 11,200, and crosses from Go into the system 26 times.
    • Atlas pages shrink back after a big frame, and a path that leaves the screen and comes back is no longer built and uploaded again every frame.
    • Pixels match the old renderer, including in inspect screenshots and animations.
  • Slash commands send mentions as people, not names. A command's arguments now go to Slack the way Slack's own client sends them, so an @mention you pick goes out as that person. Before, /remind with your own @mention could match the typed name to a different member and remind them instead.
  • Profile photo uploads wait as long as Slack's and say why they fail. Saving a photo used to be cut off after 15 s; the photo calls now get Slack's 60 s per request, and the crop is measured on the image Slack prepared from your upload. Any failure writes the method, Slack's error code and the HTTP status to clack.log. (An earlier version of these notes said Slack shrinks photos to 1024 px and that this caused "Sorry! Something went wrong". That was wrong: Slack keeps larger photos. The likelier causes are the old 15 s cut-off or a passing error; the next release also retries like Slack.)
  • Closing the profile photo window while an upload is still finishing no longer blocks the message box from taking the focus, or threads from being marked read, until the upload ends.

Full Changelog: v0.1.0-alpha.103...v0.1.0-alpha.104

Clack v0.1.0-alpha.103

Pre-release

Choose a tag to compare

@github-actions github-actions released this 17 Nov 05:23

What's new in v0.1.0-alpha.103

  • Animated emoji play smoothly, and cost almost nothing while they do. Animated custom emoji like :explodes: now follow Chromium's timing exactly: each frame shows for its own duration, a late frame skips ahead instead of slowing the animation down, and the copies of one emoji at different sizes (in text, as a big emoji, in a reaction) stay in step. A frame that only an animation needs no longer lays out the window: Clack re-sends the last frame and only the emoji's picture changes. On the plugin benchmark the median frame with an emoji playing went from 2.7 ms to 0.5 ms. Animations no longer stop and restart from their still after a busy moment.
  • Plugin avatars load on pages that open before a channel (Activity, for example). Plugins like Who Reacted that draw Slack's own avatars showed placeholders there until a channel was opened.
  • Without the activity inbox, the app badge and the Activity tab count what Slack's do. The window title, Dock and taskbar badge skip bot DMs and add the server's channel, thread and app-DM badges. The classic Activity tab adds its alerts (invites, list mentions and so on) and shows a dot for uncounted thread replies. Unread DMs whose sender wasn't loaded yet are looked up, so they can't ghost-ping. Accounts with the activity inbox on, the default, see no change.
  • New members on Mac and Windows: "Allow animations" follows the system's reduced-motion setting once, as Slack's client does.

Full Changelog: v0.1.0-alpha.102...v0.1.0-alpha.103

Clack v0.1.0-alpha.99

Clack v0.1.0-alpha.99 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 16:40

What's new in v0.1.0-alpha.99

  • Escape closes plugin popovers and dialogs first, the way Slack does. With a plugin's popover or dialog open, Escape goes to whatever has the focus inside it first (a plugin's search field can still use Escape to clear itself), then closes that popover, and never falls through to "mark as read" or closing the thread underneath. A second quick Escape stays with an open popover instead of hitting the channel. Without plugins, Escape works exactly as before.
  • Focus goes back where it was when a popover, menu or dialog closes: the box you were typing in, the thread composer, or whatever opened it.
  • Edit profile, Edit section and Edit User Group keep your unsaved changes when you press Escape: you get the "discard changes?" prompt instead of the dialog vanishing.

Full Changelog: v0.1.0-alpha.98...v0.1.0-alpha.99

Clack v0.1.0-alpha.98

Clack v0.1.0-alpha.98 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 16:06

What's new in v0.1.0-alpha.98

  • The last rare scroll hitch with plugins is gone. Each time a plugin's JavaScript needed more memory, its engine copied all of its memory to a bigger block, one long step the rest of the app had to wait for, and it left hundreds of megabytes of garbage behind. The engine now reserves its address space once and grows in place. Per frame it allocates 63% less, near the memory limit it collects garbage four times less often, and growing by 512 MB now pauses the app for 5 ms instead of 869 ms on an Apple Silicon Mac.
  • JSON.parse on long non-ASCII text no longer pauses the app. A plugin parsing tens of megabytes of accented or emoji-heavy JSON used to hold everything for up to 670 ms; it's now under 1 ms.
  • Freeze reports carry a trace of the last 5 seconds (Help > Troubleshooting > Show Freeze Reports), so the cause of a stall can be read with go tool trace. It costs nothing measurable; CLACK_FLIGHT_RECORDER=0 turns it off.

Full Changelog: v0.1.0-alpha.97...v0.1.0-alpha.98

Clack v0.1.0-alpha.97

Clack v0.1.0-alpha.97 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 16 Nov 14:47

What's new in v0.1.0-alpha.97

  • Switching channels is faster, the way Slack does it. A channel Clack already has cached opens straight away instead of waiting for its member count (that fills in the header when it arrives). Pressing a sidebar row starts loading its history before you let go of the mouse, as Slack does for accounts in its press-prefetch experiment. The channel views you use most stay cached instead of being rebuilt.
  • Hovering the Activity button no longer blanks the Activity page. The peek now refreshes it in place: your rows and scroll position stay, and only the rows that actually changed are redrawn, including a sender's new name or picture.
  • Quitting no longer waits on slow network reads.

Full Changelog: v0.1.0-alpha.96...v0.1.0-alpha.97