Marco Elissa
8fd3eaf8de
Encrypted Direct Messaging module ( #1870 )
...
* add orbis context
* new changes
* Add orbis floating chat
* adding orbis function
* load orbis conversations
* update message button in profile
* minor fix conversation styles
* update orbis version
* adding details conditional
* updating post comment function
* Update send message button style
* Fix send message button css
* udpate orbis
* update posts and floating function
* Add chatbox emoji
* Add Emoji Picker Theme
* useDarkMode emoji fix
* remove next dynamic on emoji picker
* show conversation title from participant
* update callbackMessage.
* Update Emoji Picker
* Add Emoji Picker to Postbox
* rename FloatingChat to DirectMessages
* create some global orbis components
* update package-lock.json
* change any type
* change Blockie to Avatar component
* fix type errors
* fix infinite loop when no comment found
* Hide send message button on ownAccount profile
* Delete unused component
* minor changes
* update orbis comment and DM components
* fix load older messages on DM scroll
* fixed orbis createPost
* update optional wallet signs
* add return value on connect
* add padding bottom to compensate DM component
* add conditional connect and sign button
* update direct message component
* update get notifications logic
* rerun npm install
* rerun npm install
* temporary push
* rerun npm install
* add new custom hooks
* run npm install
* update flow on address changed
* update custom DID string
* remove lit auth signatures on resetStates()
* add hasLit condition on getMessages
* add removeCeramicSession function
* useLocalStorage to store notifications
* minor bug fix
* update styles for conversation details
* use getEnsName util
* update create conversation flow
* rerun npm install
* update typescript
* update orbis sdk version
* temporary push
* revisions
* update orbis version
* update notifs count and conversation creation flow
* update orbis types
* add toast after copy address
* add message decryption refresh button
* rerun npm install
* remove comment from asset page
* test push
* remove lit-auth-signature on wallet changed
* update orbis SDK to v0.4.14
* update copy
* update Orbis SDK to v0.4.17
* update copy
* create new DM button component and add to asset
* add send button and remove emojiPicker
* Revert "Merge branch 'main' into orbis"
This reverts commit 3cdaf54827
, reversing
changes made to 02f2acb774
.
* Revert "Revert "Merge branch 'main' into orbis""
This reverts commit a5a32b1534
.
* update new conversation flow
* update intro message
* minor fix typo
* remove unused package and fixed outdated versions
* remove comment component and restructured folders
* update orbis-sdk
* small cleanup
* direct message button style updates
---------
Co-authored-by: Nuary Pradipta <nuary.pradipta@gmail.com>
Co-authored-by: Dollar Bull <ramadhanakhri@gmail.com>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2023-04-05 09:22:57 +03:00
Jamie Hewitt
ed4645e13c
Fetching prices from Aquarius in AssetList component ( #1774 )
...
* Fetching prices from Aquarius in AssetList component
* Removing unused imports
* Removing fetching logic from AssetList
* Using Asset Price from Aquarius
* removing unused code for loader
* Updating ocean.js
* Updating price format in tests
* removing console logs
* Fixing build issues
* Updating condition for showing free price
* Fixing tests
* Removing logs
* Showing No pricing schema available on asset teaser
* Showing No pricing schema available on asset detail page
* Adding additional tests
* Removing console logs
* Avoiding getInitialPaymentCollector failure (#1816 )
* early return is no web3 or ddo
* Creating test for MetaFull
* adding test: src/components/Asset/AssetContent/MetaSecondary.test.tsx
* Adding test for bookmarks
* Adding test for displaying payment collector
* Removing comments
* Renaming assetAquarius
* Renaming assetWithAccessDetails
* Ensuring that the payment collector is shown even without a wallet connected
* Removing broken test
* Using getDummyWeb3 for fetching the payment collector address
* google validation (#1835 )
* Updating validation to exclude any google link
* Updating Yup validation
* Checking if domain includes google.com
* Updating isGoogleUrl function
* Moving isGoogleUrl into @utils/url/index file
* isGoogleUrl function
* Updating tests
* Adding additional tests for other google domains
* Updating tests
* Updating isGoogleUrl file path
* Updating pricing message (#1842 )
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841 )
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials ) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840 )
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837 )
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839 )
Bumps [react-select](https://github.com/JedWatson/react-select ) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0 )
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838 )
Bumps [react-tabs](https://github.com/reactjs/react-tabs ) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases )
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836 )
* updating the buy button message for free assets
* Updating pricing text for compute and algorithms
* Updating tests
* Adding a seperate sentence about paying gas fees for network charges with free assets
* Fixing tests
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Showing hosting type in File Info (#1846 )
* Bump @storybook/addon-essentials from 6.5.13 to 6.5.15 (#1841 )
Bumps [@storybook/addon-essentials](https://github.com/storybookjs/storybook/tree/HEAD/addons/essentials ) from 6.5.13 to 6.5.15.
- [Release notes](https://github.com/storybookjs/storybook/releases )
- [Changelog](https://github.com/storybookjs/storybook/blob/v6.5.15/CHANGELOG.md )
- [Commits](https://github.com/storybookjs/storybook/commits/v6.5.15/addons/essentials )
---
updated-dependencies:
- dependency-name: "@storybook/addon-essentials"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump @types/jest from 29.2.3 to 29.2.5 (#1840 )
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest ) from 29.2.3 to 29.2.5.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest )
---
updated-dependencies:
- dependency-name: "@types/jest"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump prettier from 2.8.0 to 2.8.1 (#1837 )
Bumps [prettier](https://github.com/prettier/prettier ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-select from 5.6.1 to 5.7.0 (#1839 )
Bumps [react-select](https://github.com/JedWatson/react-select ) from 5.6.1 to 5.7.0.
- [Release notes](https://github.com/JedWatson/react-select/releases )
- [Changelog](https://github.com/JedWatson/react-select/blob/master/docs/CHANGELOG.md )
- [Commits](https://github.com/JedWatson/react-select/compare/react-select@5.6.1...react-select@5.7.0 )
---
updated-dependencies:
- dependency-name: react-select
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump react-tabs from 5.1.0 to 6.0.0 (#1838 )
Bumps [react-tabs](https://github.com/reactjs/react-tabs ) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/reactjs/react-tabs/releases )
- [Commits](https://github.com/reactjs/react-tabs/compare/v5.1.0...v6.0.0 )
---
updated-dependencies:
- dependency-name: react-tabs
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix asset route (#1836 )
* Adding hosting type to the file info component
* Writting smart contract hosting type across two lines
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add initial price value for not supported price assets (#1851 )
* Updating test
* Updating accessDetailsAndPricing
* Adding orderPriceAndFees back in to show the price with fees on the asset detail page
* Using price with fees for compute assets
* Fixing conversions by ensuring that the symbol is always sent through
* Removing unwanted changes in package-lock.json
* Updating use of isUnsupportedPricing variable
* Getting rid of getAccessDetailsForAssets completely
* Removing unused imports and query
* Fixing test
* Removing unused import
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: Bogdan Fazakas <bogdan.fazakas@gmail.com>
2023-02-09 09:25:15 +00:00
mihaisc
67621f5639
Various veOCEAN features ( #1743 )
...
* change top message, fixes, allocations
* lock ocean tooltip
* asset stats tweaks
* front page allocations refactor
* wording, run empty table messages through markdown
* footer stats tweaks
* profile tinkering
* fix allocations in table
* Tweak lock action logic
* fix allocation 0
* sort by allocation
* search ordering fixes
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-10-17 15:56:03 +01:00
92b7063b3d
ENS integration, the right way ( #1410 )
...
* prototype getting ENS names the right decentralized way
* get all profile metadata with ENS
* refactor account display in context of top sales list
* support almost all default text records
* refactor text record fetching
* more web3 calls reduction
* package cleanup
* add Publisher component test, mock out ens utils
* remove mock to run @utils/ens directly
* add Avatar stories
* cleanup
* rebase fixes
* profile loading tweaks
* fixes
* merge cleanup
* remove @ensdomains/ensjs
* fetch ENS data from proxy
* update avatar tests
* tweak error catching for all axios fetches
* test tweaks
* api path fix
* fetching fixes
* account switching tweaks
* remove unused methods
* add ENS fetching tests
* jest timeout tweak
* update readme
2022-09-22 19:18:32 +01:00
EnzoVezzaro
5b2bb3045e
added N/A for negative values as well as missing data ( #1691 )
...
* added N/A for negative values as well as missing data
* added N/A in teaser for negative orders count
* added N/A to profile and asset teaser
* change typing on Conversion and PriceUnit
* remove log
* removed unnecessary check on price value
2022-09-22 17:17:12 +01:00
4d119467a4
refactor price context to fetch multiple tokens ( #1573 )
...
* refactor price context to fetch multiple tokens
* fixes
* move tokenIds to app config
* make conversion work
* conversion for all user tokens, hide if 0
* different user balance key tactic
* remove NFT gas estimation
* closes #1633
* small simplification in getCoingeckoTokenId logic
* basic Prices provider test
* mock some hooks
* mock MarketMetadata in all tests
2022-08-12 14:11:33 +01:00
EnzoVezzaro
eb29c4ce3b
Remove AMM Pools ( #1614 )
2022-08-02 10:53:22 +01:00
5f3ee32ca2
Test setup tweaks ( #1415 )
...
* unused package cleanup
* make storybook use webpack 5
* see https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#webpack-5
* bump react, cleanup
* button story tweaks
* add Alert stories
* bump Jest to v28.1.0
* try original storyshots initialization
* split up build & test CI jobs
* stop testing Node.js v14
* set jest coverage flag
* downgrade paambaati/codeclimate-action again
* move jest config files, remove coverageReporter override
* collect coverage from `src/` only
* another paambaati/codeclimate-action bump test
* create additional button markup test
* downgrade paambaati/codeclimate-action again
* more downgrade
* render default button without optional style prop
* ignore some folders for Jest
* full coverage for Alert
* more package updates
* add eslint-plugin-testing-library & eslint-plugin-jest-dom
* bump ESLint packages, follow new rules
* start storybook in quiet mode
* update docs
* test storybook build as part of CI
* more testing docs clarification
* add jest:watch command
* add body background colors switch in toolbar
* TypeScript voodoo
* test codeclimate-action@v2.7.3 for default coverageCommand
* downgrade codeclimate-action and running in debug mode
* make coverage artifacts OS agnostic
* subgraph typings as artifact for coverage job
* disable coverage sending job for now
Co-authored-by: Enzo Vezzaro <enzo-vezzaro@live.it>
2022-05-12 11:35:07 +01:00
mihaisc
d1e21b7f03
Various fixes in the pool component ( #1327 )
...
* remove legacy check to prevent rug pull
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* various fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove old prop
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove old prop
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* add expected output to remove
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove console.logs
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix max calculations
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* refactors
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* temp fixes for build
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* local calc for pice and liquidity
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove var
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix profile liquidity
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* global context, opc fee
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* comment
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* various fixes
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* refactor global context
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove nesting from market context
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix build
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* fix undefined appConfig
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* direct import of appConfig & siteContent
* this never changes on run time, so we should never have to wait for it and have it in js bundle at all times
* in utility methods, import directly
* for components, import directly in MarketMetadata context and pass through
* remove screen CSS fixes
* put back auto-fetching indicator, move manual refresh action behind debug
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-04-22 02:38:35 +02:00
cfd31905dd
Fix profile image ( #1172 )
...
* tinker
* use !important
2022-03-09 14:12:48 +00:00
claudiaHash
4331c24c0d
Restore Pool Shares section ( #1139 )
...
* get poolShares dt addresses
* style fixes
* class names fix
* remove useless changes
* fix
* try/catch blocks, loading fix
* show pool shares fix
* delete logs, fix build
* more try/catch blocks
* check subgraph url, add try/catch block
* fixes
* pool fields fix
* minor code fixes
* fix subgraph fetch
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* remove unused function, fixes
* use LoggerInstance, remove useless setter
* error messages fix, get rid of dt column
* small tweaks and tests
* fixes
* fixes
* modified flow for pool shares
* loading UX fixes
* unified calculations for pool liquidity
* stop the refetch madness
* profile provider already sets interval fetching for pool shares
* pool shares will change when chainIds, accountId is changed so no need to listen for changes again
* calculation tweaks
* pool stats tweak
* fix pool transactions
* fix data display in pool shares section
* minor fix, delete comment
* subgraph typings generation fix
* pool stats display tweaks
* price sizing fix
* rabbit hole fixes
* more price UI fixes
* cleanup
* wording consistency
* render all frontpage sections by default, load in assets after
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
Co-authored-by: mihaisc <mihai@oceanprotocol.com>
Co-authored-by: Matthias Kretschmann <m@kretschmann.io>
2022-03-09 12:58:54 +00:00
claudiaHash
aec34dc712
Restore highest liquidity tab ( #1077 )
...
* get highest liquidity pools WIP
* logs deleted
* order fix
* query fix
Co-authored-by: ClaudiaHolhos <claudia@oceanprotocol.com>
2022-02-10 16:41:07 +02:00
mihaisc
57be62a6b1
Refactor pricing and various components that are involved ( #1046 )
...
* update
* merge pr #1012
* fix header
* fix
* abort controller
* up next.8
* build fix
* update lock
* fix
* another fix
* ssh fix
* another ssh fix
* remove optional
* order mock
* small cleanup
* fix package
* price updates
* finish getPrice
* fix consume
* fix consume
* getConsumeDetails comments
* restore functionality after consumeDetails
* fix some compute typings
* more price fetching updates
* 'minor' refactors and fixed build
* package-lock fix
* minor comments
* minor naming changes
* fix
* fix pool badge
* remove console.log
2022-02-03 03:29:39 -08:00
1726fe1d0d
isolate apollo stuff into npm script, more generic folder name output
2022-01-13 23:50:47 +00:00
mihaisc
4caf72d0c9
Fix/old lib dep ( #959 )
...
* fixes
* change aqua url
* update future v4 url
2021-12-10 03:33:47 -08:00
c484a5b40c
new publish preview ( #947 )
...
* refactor preview
* make preview render
* more preview elements, proper debug output
* make more elements work
* cleanup and fixes
* make asset actions preview work, kinda
* more fixes
* reorg
* make preview price display work
* fix timeout
* layout tweaks
* fixes
* another fix
* make file info preview work
* empty render fix
2021-11-23 12:53:09 +00:00
f2b1a33261
restructure form, dial back on overwriting native Formik functionality
2021-10-27 18:35:18 +01:00
c023f45138
reorganize all the things
2021-10-27 18:34:37 +01:00
3729c63581
migrate to Next.js ( #935 )
...
* migrate to Next.js
* migrate scripts
* generate markdown pages
* make all the markdown work
* fix profile, fix image loading
* git+ssh → git+https, again
* bump packages
* maybe windows build fix
* add public to gitignore
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
* Next.js v12! Webpack 5! No build hacks anymore
* json import fixes
* fixes
Co-authored-by: mihaisc <mihai.scarlat@smartcontrol.ro>
2021-10-27 11:30:32 +01:00
51785d54dd
more reorganization
2021-10-27 11:29:03 +01:00
f951910dc2
reorganize all the things
2021-10-27 11:28:59 +01:00