Skip to content

[components] Find a better name and abstraction than parsedKey #27

Closed

Description

@severo

Activity

  1. changed the title [-][package] Find a better name and abstraction than `parsedKey`[/-] [+][components] Find a better name and abstraction than `parsedKey`[/+] on Nov 7, 2024
  2. added
    enhancement
    on Nov 21, 2024
  3. severo commented on Nov 28, 2024

    @severo
    ContributorAuthor

    Currently we use ?key=[some file, folder or URL]

    I think we could:

    1. identify which kind of key it is (a local file or folder, a random URL pointing to a file, a Hugging Face URL, a GitHub URL)
    2. identify if the key represents a directory (local, a "tree" in github/hf, etc) or a file (local, a "blob" in github/hf) - can be done by a request (fs.stat or API request for github/hf) or parsing the string

    So that we can show the Folder, or the File/Cell component.

  4. self-assigned this
    on Nov 29, 2024
  5. severo commented on Nov 29, 2024

    @severo
    ContributorAuthor

    Working on it at #93.

  6. severo commented on Dec 2, 2024

    @severo
    ContributorAuthor

    Fixed with #93

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions