* added pagination to Published list, used aquarius to get assets
* loading only when component mounts
* pagination style unification
* Auto stash before merge of "feature/add-pagination-to-published-section" and "origin/feature/add-pagination-to-published-section"
* removed unnecessary code
* fixed lint errors
* code climate fixes
* removed unused component
* added hook for network switch
* display bottom border for last table row
* trigger pagination calculation on network change
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* added graph query
* fixed negative liquidity value for input error
* used graph to get poolShares
* replaced total pool liquidity with user liquidity, get ddo on row
* get symbol from graph, calculate userLiquidity
* fixed userLiquidity price and sorted table by userLiquidity
* removed ordering by balance
* displayed pool and client liquidity, disabled table header hover
* order Your Liquidity before Pool Liquidity
* removed line height on asset title in pool shares table
* limit table to 5 rows, refactor liquidity comp, changed balance color
* code climate similar blocks fix
* changed lockedValue to valueLocked in pool shares query
* removed husky file
* replaces market fileinfo with provider file info
* removed test for replaced getFileInfo method
* updated toast messages
- if uploaded file when no web3 wallet is connected
- if file is not valid
* used provider api to check file'
* moved get fileinfo logic to provider.ts
* cancel fileinfo req on unmount
* reduced fileinfo method complexity
* canceltoken passed to fileinfo issue
* replace Travis with GitHub Actions workflow
* fix prettier on Windows
* remove PascalCasing bash one-liner for one use case
* use mkdirp to workaround Windows
* cache tweaks
* move s3 deploy to own workflow
* upload artifacts for debug
* path tweak
* debug
* apollo:codegen without folder pre-creation
* debug: activate s3 deploy for all branches
* pass env vars to deployment build
* more env var passing
* deploy main branch pushes only
* add VS Code workspace settings
* add everything required for auto-formatting on filesave
* add list of suggested extensions
* add pre-commit hook for `npm run format`
* update code style docs
* make pre-commit work
* update docs
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* sort and filter working added ui element for filter
* added UI for filter and sort
* made sort and filter work with the new UI
* filter and sort inline style
* updated styling and linters
* added sort direction
* apply sort and filter when starting a new search and sort order style update
* fixed sort by price
* change sort order selector
change direction when click on a sort option instead of clicking on the arrow that shows actual sort direction
* added default sort to owner and tag search
* refactor getSearchQuery method
* refactor sort methods
* fixed lint errors
* updated styling for sort and filter components
* fixed lint
* apply dynamic filter when sorting by liquidity
* interaction & alignment styling
* style tweaks, legacy search layout styles removal
* refactor sort component and fixed browsing all datasets
also aded default sort params when browsing all data sets
* fixed lint issues
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
* cut asset teasers title length, variable title font size on asset detail
* fixed linter errors
* changed title length to 2 lines in Asset teasers
* asset details long titles handle(wip)
* remove asset details title changes
* remove unused imports
* Added create/ update data for each asset card
* Code climate test fix
* Code styled after lint run
* Date moved to asset card footer
Co-authored-by: Claudia Holhos <holhos_claudia2001@yahoo.com>
* prototype view switching
* refactor, more UI
* formik form setup & data flow
* debug output, fixes, refactor
* description preview refactor
* publish/update date changes
* output created & updated date at top of asset
* use ddo.created & ddo.updated everywhere
* stop pushing metadata.main.datePublished
* owner check for edit link
* all the feedback states and switching between them: loading, error, success
* refactor feedback, one component for publish & edit
* action & date output fixes
* move all content, iterate form fields from it
* UI updates
* styling tweaks
* ddo dataflow refactor, more useAsset usage
* more useAsset usage
* form actions styling
* prepare edit history component
* metadata output tweaks
* copy
* safeguard against profile urls without protocol defined
* refetch ddo after edit
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* switch author for dataTokenOptions in metadata preview
* refactor
* copy
* showPricing fix
* validation: minimum characters for title & description
* disable submit button when validation fails
* form validation fixes
* manually trigger onChange validation in publish & edit forms
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>