Skip to content

Download files with common prefix ("folder") #16

Closed

Description

@henrikskog

I use s3 for backups, where I structure the backups using prefixes. It would be cool to be able to download a given backup.

Activity

  1. lusingander commented on Jul 14, 2024

    @lusingander
    Owner

    When displaying a list of files, are you envisioning a feature like "Save recursively" that allows all files under a specific path to be downloaded together?

    I agree that this feature is important for this application.

    Here are some concerns that have been hindering the implementation:

    • Since the file size could become large, we need to ensure proper progress display and the ability to cancel the operation appropriately.
    • There could be many requests in a short period, so it is necessary to manage requests properly.
    • To prevent unintended operations, it might be better to show a confirmation dialog.
      • Currently, the application does not have a confirmation dialog implementation.
      • It might be necessary to display the number of target files and the total size beforehand.
  2. added
    enhancement
    on Jul 14, 2024
  3. henrikskog commented on Jul 16, 2024

    @henrikskog
    ContributorAuthor

    When displaying a list of files, are you envisioning a feature like "Save recursively" that allows all files under a specific path to be downloaded together?

    Yes!

    I see your concerns! Ratatui probably has some confirmation dialog.

  4. lusingander commented on Jul 18, 2024

    @lusingander
    Owner

    In reality, the implementation of dialog itself is not particularly difficult.
    The true challenge in TUI applications lies in determining the appropriate implementation approach, as the way widgets are displayed and interacted with can vary greatly depending on the nature of the application and the developer's perspective.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions