Skip to content

feat: add QSmallFaceExtra message for enhanced face data representation#9

Merged
Redmomn merged 2 commits intomasterfrom
smallface
Mar 10, 2026
Merged

feat: add QSmallFaceExtra message for enhanced face data representation#9
Redmomn merged 2 commits intomasterfrom
smallface

Conversation

@Redmomn
Copy link
Collaborator

@Redmomn Redmomn commented Mar 10, 2026

No description provided.

Copilot AI review requested due to automatic review settings March 10, 2026 15:19
@Redmomn Redmomn enabled auto-merge (squash) March 10, 2026 15:19
@github-actions
Copy link

github-actions bot commented Mar 10, 2026

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
❌ failed (0)🚫 cancelled🚫 cancelled🚫 cancelledMar 10, 2026, 3:20 PM

@Redmomn Redmomn merged commit bf3aca2 into master Mar 10, 2026
2 checks passed
@Redmomn Redmomn deleted the smallface branch March 10, 2026 15:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a new QSmallFaceExtra protobuf message to the v2 message proto file, mirroring the existing definition in proto/message/v1/element.proto. The message provides fields for representing small face (emoji) data including a face_id and two preview strings.

Changes:

  • Added QSmallFaceExtra message with three fields (face_id, preview, preview2) to the v2 proto, positioned between FaceExtra and QFaceExtra.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +601 to +603
optional uint32 face_id = 1;
optional string preview = 2;
optional string preview2 = 3;
Copy link

Copilot AI Mar 10, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The v2 proto file uses proto2 syntax (line 1), which requires every field to have an explicit label (optional, required, or repeated). All other messages in this file consistently use optional for scalar fields (e.g., FaceExtra at line 597, QFaceExtra at lines 607–616). The three fields here are missing the optional label, which makes them invalid proto2 and inconsistent with the rest of the file.

It looks like these fields were copied verbatim from proto/message/v1/element.proto (which uses proto3 syntax where labels are implicit). Please add optional to all three fields to match the v2 file conventions.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants