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

fix: implement model name sort in model listing #172

Merged

Conversation

emattiza
Copy link
Contributor

Feature or Problem

updates app listing to be sorted on model name

Related Issues

closes #156

Release Information

next

Consumer Impact

anyone listing models with wadm will now have a default sort applied

Testing

None added, but happy to implement with the right pointers

Built on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Tested on platform(s)

  • x86_64-linux
  • aarch64-linux
  • x86_64-darwin
  • aarch64-darwin
  • x86_64-windows

Unit Test(s)

None added, but happy to add

Acceptance or Integration

None added, but happy to add

Manual Verification

Ran wadm build against sample app and saw a stable sort on repeated invocations

Copy link
Contributor

@thomastaylor312 thomastaylor312 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing this! I saw this again the other day and it was bugging me. I’ll leave this open for a bit in case you’d like to address the nit, otherwise I can do that in follow up!

src/server/storage.rs Outdated Show resolved Hide resolved
updates app listing to be sorted on model name

closes wasmCloud#156

Signed-off-by: Evan Mattiza <emattiza@gmail.com>
@emattiza emattiza force-pushed the fix/iss-156-name-sort-model-list branch from fe0f98d to ca2108a Compare September 11, 2023 19:28
@thomastaylor312 thomastaylor312 merged commit 1bc0797 into wasmCloud:main Sep 11, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] Sort applications by name for wash app list
2 participants