logiguard fork v3: full patch set on verified 8c74db0 tree
Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
+++
|
||||
repository_url = "https://github.com/octocat/hello-world"
|
||||
revision = "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d"
|
||||
+++
|
||||
|
||||
## Edit History
|
||||
|
||||
```diff
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -1,1 +1,6 @@
|
||||
-Hello World!
|
||||
+function filterByStatus(items, status) {
|
||||
+ return items.filter(item => item.status === status);
|
||||
+}
|
||||
+
|
||||
+function groupBy
|
||||
+
|
||||
```
|
||||
|
||||
// User accepted prediction:
|
||||
```diff
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -4,3 +4,9 @@
|
||||
|
||||
-function groupBy
|
||||
+function groupByStatus(items) {
|
||||
+ return items.reduce((groups, item) => {
|
||||
+ const key = item.status;
|
||||
+ (groups[key] = groups[key] || []).push(item);
|
||||
+ return groups;
|
||||
+ }, {});
|
||||
+}
|
||||
|
||||
```
|
||||
|
||||
```diff
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -4,4 +4,4 @@
|
||||
|
||||
-function groupByStatus(items) {
|
||||
+function groupByCat(items) {
|
||||
return items.reduce((groups, item) => {
|
||||
```
|
||||
|
||||
## Cursor Position
|
||||
|
||||
```README
|
||||
function filterByStatus(items, status) {
|
||||
return items.filter(item => item.status === status);
|
||||
}
|
||||
|
||||
function groupByCat(items) {
|
||||
# ^[CURSOR_POSITION]
|
||||
return items.reduce((groups, item) => {
|
||||
const key = item.status;
|
||||
(groups[key] = groups[key] || []).push(item);
|
||||
return groups;
|
||||
}, {});
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
## Expected Patch
|
||||
|
||||
```diff
|
||||
--- a/README
|
||||
+++ b/README
|
||||
@@ -5,7 +5,7 @@
|
||||
-function groupByCat(items) {
|
||||
+function groupByCategory(items) {
|
||||
# ^[CURSOR_POSITION]
|
||||
return items.reduce((groups, item) => {
|
||||
- const key = item.status;
|
||||
+ const key = item.category;
|
||||
(groups[key] = groups[key] || []).push(item);
|
||||
return groups;
|
||||
}, {});
|
||||
```
|
||||
Reference in New Issue
Block a user