aws-amplify / aws-amplify/amplify-ui

Add initial sorting support to StorageBrowser

Open
#6,366 3 comments 1 reaction 0 assignees View on GitHub
feature-request StorageBrowser
Dominant language
TypeScript
Stars
1.1k
Forks
347
Avg merge
18h 29m
Merged PRs (30d)
9

Description

### On which framework/platform would you like to see this feature implemented?

React

### Which UI component is this feature-request for?

Storage

### Please describe your feature-request in detail.

I would like StorageBrowser component to support specifying an initial sorting configuration. Currently users have to change the sorting every time they switch location.

### Please describe a solution you'd like.

I would suggest a new prop accepted by StorageBrowser component that specify an initial sorting per view. Probably just an `Array<{ colName: string; direction: 'asc' | 'desc' }>` will suffice.

### We love contributors! Is this something you'd be interested in working on?

- [x] 👋 I may be able to implement this feature request.
- [ ] ⚠️ This feature might incur a breaking change.

Contributor guide

Open the contributing guide

Research direction

Start by locating the React StorageBrowser component and reading how sorting is currently stored for each view. Define the initial sorting prop described in the issue, ensure it is applied when a location is first opened, and verify that users can still change sorting afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.