Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Sort disputes by date #16

Merged
merged 1 commit into from
Aug 17, 2021
Merged

Sort disputes by date #16

merged 1 commit into from
Aug 17, 2021

Conversation

glmaljkovich
Copy link
Collaborator

No description provided.

@glmaljkovich glmaljkovich requested a review from abarmat August 13, 2021 19:55
}),
)
spinner.stop()

// sort disputes
const findDisputeById = (id: string) => disputes.find(d => d.id === id)
const orderedDisputeIds = Object.keys(data).sort((d1, d2) =>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Something I was thinking is, we could make it so populateEntry fills an object but it doesn't necessarily have to be coupled to the display format, so that we could add the ID to the object and then have a function to format/display the disputes.

Copy link
Collaborator

Choose a reason for hiding this comment

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

We could refactor that in a different PR.

@glmaljkovich glmaljkovich merged commit b9cad3f into main Aug 17, 2021
@glmaljkovich glmaljkovich deleted the sort_by_created_at branch August 17, 2021 13:37
goaaron added a commit that referenced this pull request Sep 23, 2021
…t blocks...coming up

automate the creation of divergent blocks

broken

fix conflict with sqlalchemy version

make the dispute stage an enum

all apis v0 and insomnia requests

cleanup and documentation on how to run the application

remove debugger

modify version of ipfshttpclient, change module name from web3 to w3

addendum to readme requirements

container file and Makescripts

Update README.md

multi stage docker build. use poetry inside of docker

Build dockerfile

added cicd and k8s files

run on updated k8s .github paths

fix cicd context

fix repo name

moving some fields to enums. cleanup some async code

base frontend for dispute portal

foundation redux actions

bump webpack, setup base dispute page

expose get all disputes

list disputes

simplify state with zustand

merge state updates

swap out the stages of the dispute

allows frontend to toggle the stages of the dispute

swap state in the frontend prior to revalidation. revalidation still hits later

sort, filter, visualize uploaded data

dispute portal list events

Fix rainbow

Fix setup when the config file is not yet created

Define files to use when publishing package

Add bin and cleanup gitignore

filter disputes by status (#13)

* filter by status

* Update README.md

Simplify cli (#14)

* remove dispute command and show help by default

* update README.md

* fix usage

Add Economics section and fetch network settings (#15)

Sort disputes by date (#16)

v0.2.0

Add defaultDisplayName to indexer and fisherman (#17)

Check thawing period before resolving dispute (#19)

Support for multiple ids on show and improved styling (#20)

* Support for multiple ids on show and improved styling

* Replace treeify with object-treeify

Add closing epoch startBlock and poi info (#21)

v0.3.0

[#24] Fix show command (#25)

v0.3.1

remove conf file

testing deployment
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants