Skip to content

feat(space): add TMDB search composer - #2808

Merged
Innei merged 1 commit into
masterfrom
agent/space-tmdb-search-release
Aug 11, 2026
Merged

feat(space): add TMDB search composer#2808
Innei merged 1 commit into
masterfrom
agent/space-tmdb-search-release

Conversation

@Innei

@Innei Innei commented Aug 11, 2026

Copy link
Copy Markdown
Member

Summary

  • add authenticated, throttled TMDB text search to the enrichment API
  • redesign the Recently composer around a compact native Glass slash menu and command detail flow
  • fix command-item hit testing and preserve selected TMDB attachments in the composer

Validation

  • Core enrichment tests: 55 passed
  • SpaceCore RecentlyService tests: 14 passed
  • Core OpenAPI contract check passed
  • Core TypeScript check passed
  • iOS Simulator build passed
  • Simulator interaction smoke test passed for menu selection, keyboard retention, back navigation, and dismissal

Notes

The local test environment could not perform a live external TMDB request; the request and normalization path is covered by focused Core and SpaceCore tests.

@safedep

safedep Bot commented Aug 11, 2026

Copy link
Copy Markdown

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

View complete scan results →

This report is generated by SafeDep Github App

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e34f2fdc58

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +397 to +399
contextCandidates = candidates.filter { candidate in
contextKindFilter == nil || candidate.kind == contextKindFilter
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Apply command kind filters before limiting search results

For /note, /page, /post, and /recently searches, filtering only the already-limited mixed candidate list can incorrectly show no matches. DatabaseService.findRefCandidates truncates article IDs to size before hydration and then truncates the combined kinds again (apps/core/src/processors/database/database.service.ts:104,150-156), so, for example, twelve matching posts can exclude every matching note before this .note filter runs. Pass the requested kind to the server or otherwise apply it before the shared result limit.

Useful? React with 👍 / 👎.


var isShowingSlashMenu: Bool { !slashCommands.isEmpty }
var isShowingComposerPanel: Bool { isShowingSlashMenu || isChoosingContext }
var selectedLinks: [ComposerLinkPreview] { links.filter(\.isSelected) }

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep deselected inline links available for reselection

When a user taps the remove button for a URL that remains in the composer text, toggleLink only marks it unselected, but this property immediately removes it from the sole link-selection tray. There is then no UI for selecting it again, and even deleting and retyping the same URL does not help because selectionOverrides[url] retains false; the draft will continue publishing that URL without its card. Keep detected-but-unselected links visible or provide another way to reattach them.

Useful? React with 👍 / 👎.

@Innei
Innei merged commit 0051341 into master Aug 11, 2026
13 checks passed
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.

1 participant