Skip to content

Twitter import ignores default project, always saves to sm_project_twitter_bookmarks #635

@fyzanshaik

Description

@fyzanshaik

Bug Description

When using the main "Import Bookmarks" button on x.com/i/bookmarks, tweets are always saved to the hardcoded sm_project_twitter_bookmarks container tag instead of the default project selected in the extension popup.

Steps to Reproduce

  1. Open extension popup and select a custom project (e.g., "X Bookmarks")
  2. Go to https://x.com/i/bookmarks
  3. Click the "Import Bookmarks" button
  4. Check the API call to /v3/documents/batch

Expected Behavior

Tweets should save to the selected default project's containerTag

Actual Behavior

Tweets always save to containerTags: ["sm_project_twitter_bookmarks"]

Root Cause

twitter.ts line 59 doesn't pass selectedProject parameter when calling BATCH_IMPORT_ALL, causing the importer to always use the fallback value.

Note

Folder imports work correctly because they do pass the selectedProject parameter.

Image Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions