Hedera-Lang-Learn / hedera

MIT License
10 stars 2 forks source link

Tidy vuex #470

Closed jaguillette closed 1 year ago

jaguillette commented 1 year ago

This PR is an attempt at tidying up the api and vuex functions in the Hedera front end. Naming conventions are currently inconsistent, and functions that work with the same data models are not grouped together, making it harder to keep track of what methods of interacting with the back end are available in Vue.

To that end, this PR does the following:

There are a lot of changes to a lot of files, and looking at files changed will make it hard to assess what's changed. Instead, I recommend looking at the listed below. I'm finding that links to files within commits load a bit slowly, so for the second and third items give the page a few seconds to scroll to the right file.

  1. Categorizing api and vuex functions
  2. Renaming api functions in rename commit
  3. Renaming constants in rename commit

Those are the conceptual changes, everything else is just making sure that Hedera still works with those changes in place.