View Issue Details

IDProjectCategoryView StatusLast Update
0009722Talerwallet-corepublic2025-04-10 17:31
Reporteravalos Assigned Toavalos  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionreopened 
Product Version1.0 stretch goals 
Summary0009722: global scope currencies appear at the bottom
Description(wallet-core should give sorting priority to global currencies)
TagsNo tags attached.
Attached Files
Screenshot_20250410-162439.png (135,648 bytes)   
Screenshot_20250410-162439.png (135,648 bytes)   

Activities

avalos

2025-04-10 16:28

developer   ~0024499

This is how it appears when it's set to exchange scope.
Screenshot_20250410-162741.png (147,138 bytes)   
Screenshot_20250410-162741.png (147,138 bytes)   

avalos

2025-04-10 17:30

developer   ~0024501

commit 567b7dac6cb1dfaeb9f33286c8edecdbbac8cfb7
Author: Iván Ávalos <avalos@disroot.org>
Date: Thu Apr 10 17:22:16 2025 +0200

    wallet-core: sort balances by scopeInfo

avalos

2025-04-10 17:31

developer   ~0024502

This is the new sorting order:

function getScopeSortingOrder(scopeInfo: ScopeInfo): number {
  switch (scopeInfo.type) {
    case ScopeType.Global: return 0;
    case ScopeType.Auditor: return 1;
    case ScopeType.Exchange: return 2;
    default:
      assertUnreachable(scopeInfo);
  }
}

Issue History

Date Modified Username Field Change
2025-04-10 16:26 avalos New Issue
2025-04-10 16:26 avalos Status new => assigned
2025-04-10 16:26 avalos Assigned To => avalos
2025-04-10 16:26 avalos File Added: Screenshot_20250410-162439.png
2025-04-10 16:28 avalos Note Added: 0024499
2025-04-10 16:28 avalos File Added: Screenshot_20250410-162741.png
2025-04-10 17:30 avalos Status assigned => resolved
2025-04-10 17:30 avalos Resolution open => fixed
2025-04-10 17:30 avalos Note Added: 0024501
2025-04-10 17:31 avalos Status resolved => feedback
2025-04-10 17:31 avalos Resolution fixed => reopened
2025-04-10 17:31 avalos Note Added: 0024502
2025-04-10 17:31 avalos Status feedback => resolved