Skip to content

Fix build, fix stuck chat fetching, add tapback reactions - #6

Open
erik-nilcoast wants to merge 2 commits into
WinterPhoenix:masterfrom
erik-nilcoast:eb/build-and-chat-pagination
Open

Fix build, fix stuck chat fetching, add tapback reactions#6
erik-nilcoast wants to merge 2 commits into
WinterPhoenix:masterfrom
erik-nilcoast:eb/build-and-chat-pagination

Conversation

@erik-nilcoast

@erik-nilcoast erik-nilcoast commented Jul 4, 2026

Copy link
Copy Markdown
  • Fixes the build: waftools/pebble_sdk_version.py is bundled now
  • Fixes Stuck on Fetching Chats聽#5 (stuck on "Fetching Chats"): without limit/offset,
    chat/query was pulling up to 1000 chats per call and trying to build
    a menu the watch can't render.
  • Closes Reaction support聽#4 (reaction support) (maybe?): long-press Select on a message opens a
    target picker, then a Love/Like/Dislike/Laugh/Emphasize/Question
    picker,.

- fix: drop waftools/pebble_sdk_version.py -- collides by name with a
  module the SDK now bundles in its own waflib/extras/, so waf's tool
  cache silently loads the SDK's version instead and
  ctx.supports_bitmap_resource() never gets defined, crashing pebble
  build at configure
- refactor: remove the now-dead aplite_legacy.py/configure_appinfo.py
  bitmap->png transform and its wscript wiring -- appinfo.json has no
  bitmap-type resources for it to ever apply to
- fix: re-enable limit/offset on chat/query -- the 2023 BlueBubbles
  sort-order bug the old comment referenced is fixed upstream; without
  it the app pulls up to 1000 chats per call and tries to build a menu
  the watch can't render, which is what "stuck on Fetching Chats"
  actually was
- feature: long-press Select opens a message-target picker, then a
  Love/Like/Dislike/Laugh/Emphasize/Question picker, and sends
  POST /api/v1/message/react
- feature: incoming reactions are parsed out of the message list and
  shown as a suffix on the reacted-to message's timestamp
- fix: associatedMessageType is a string on the wire ("love"/"-love"),
  not the numeric 2000-2005/3000-3005 IMCore storage codes
- fix: associatedMessageGuid is part-prefixed ("p:0/<guid>"), stripped
  before matching against msg.guid
- refactor: extract messageDisplayName/messageBodyText out of the
  render loop so the target picker can reuse the same logic
@erik-nilcoast

Copy link
Copy Markdown
Author

Thanks for building this! I just started integrating some of this source into a watch face: https://apps.repebble.com/b732cafdc10a4397ace6f949 and figured I'd fix some of the upstream issues with modern hardware / bubble server fixes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Stuck on Fetching Chats Reaction support

1 participant