Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omnivore import improvement - archived #703

Open
1 task done
jakubsuchybio opened this issue Nov 28, 2024 · 0 comments
Open
1 task done

Omnivore import improvement - archived #703

jakubsuchybio opened this issue Nov 28, 2024 · 0 comments
Labels
feature request New feature or request

Comments

@jakubsuchybio
Copy link

Describe the feature you'd like

Currently you import with this mapping:

  return parsed.data.map((bookmark) => {
    return {
      title: bookmark.title ?? "",
      content: { type: BookmarkTypes.LINK as const, url: bookmark.url },
      tags: bookmark.labels,
      addDate: bookmark.savedAt.getTime() / 1000,
    };

But the omnivore export format also has bookmark.State which can be either Active or Archived
I can see, that your import dto doesn't have archived boolean

export interface ParsedBookmark {
  title: string;
  content?:
    | { type: BookmarkTypes.LINK; url: string }
    | { type: BookmarkTypes.TEXT; text: string };
  tags: string[];
  addDate?: number;
  notes?: string;
}

but your bookmarks do have them.

I'd code it myself, but I can't even read typescript, even though I am C# dev.
This react stuff isn't something that I want to learn.

Describe the benefits this would bring to existing Hoarder users

It would bring better experience when migrating from Omnivore, so that the work that users put into their articles with archiving wouldn't be wasted.

Can the goal of this request already be achieved via other means?

I guess manual bulk updates for bookmarks. But very difficult to tell which should be archived and which not.

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

Additional context

No response

@MohamedBassem MohamedBassem added the feature request New feature or request label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants