bts-cm / astro-ui Goto Github PK
View Code? Open in Web Editor NEWAn Astro & React based UI for Bitshares based blockchains
Home Page: https://github.com/BTS-CM/astro-ui/releases/latest
License: MIT License
An Astro & React based UI for Bitshares based blockchains
Home Page: https://github.com/BTS-CM/astro-ui/releases/latest
License: MIT License
DeepLinkDialog.jsx:75 Warning: The result of getSnapshot should be cached to avoid an infinite loop
at DeepLinkDialog (http://localhost:4321/src/components/common/DeepLinkDialog.jsx:54:5)
at div
at _c9 (http://localhost:4321/src/components/ui/card.jsx:60:3)
at div
at _c (http://localhost:4321/src/components/ui/card.jsx:20:3)
at LimitOrderCard (http://localhost:4321/src/components/Market/LimitOrderCard.jsx:38:5)
at div
at http://localhost:4321/node_modules/.vite/deps/chunk-MPQTUD4Q.js?v=d94fd937:40:13
at $921a889cee6df7e8$export$99c2b779aa4e8b8b (http://localhost:4321/node_modules/.vite/deps/chunk-NOM36VUJ.js?v=d94fd937:27:11)
at http://localhost:4321/node_modules/.vite/deps/@radix-ui_react-tabs.js?v=43d505b2:389:11
at _c5 (http://localhost:4321/src/components/ui/tabs.jsx:42:3)
at div
at http://localhost:4321/node_modules/.vite/deps/chunk-MPQTUD4Q.js?v=d94fd937:40:13
at Provider (http://localhost:4321/node_modules/.vite/deps/chunk-BTKXQ3J2.js?v=d94fd937:46:15)
at http://localhost:4321/node_modules/.vite/deps/@radix-ui_react-tabs.js?v=43d505b2:294:11
at div
at div
at div
at Market (http://localhost:4321/src/components/Market.jsx:40:15)
Issue can be tracked here: facebook/react#24508 (comment)
The react components are JSX, not TSX.
We should move towards typescript across the board in the long run.
Rather than committing the entire dist folder, we should use a github action to build and compress the release into a zip for use in the beet api.
The reference UI has the ability to favourite assets and accounts for quick reference/selection, it should be replicated in this UI.
If you swap asset order in the limit order cards, it won't calculate the hover card contents correctly.
For some reason the vercel hosted functions just keep throwing runtime errors, now stuck on being unable to access ws
Unhandled Promise Rejection {"errorType":"Runtime.UnhandledPromiseRejection","errorMessage":"Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ws' imported from /var/task/vercel/path0/dist/chunks/pages/deeplink_1453a7d3.mjs","reason":{"errorType":"Error","errorMessage":"Cannot find package 'ws' imported from /var/task/vercel/path0/dist/chunks/pages/deeplink_1453a7d3.mjs","code":"ERR_MODULE_NOT_FOUND","stack":["Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ws' imported from /var/task/vercel/path0/dist/chunks/pages/deeplink_1453a7d3.mjs"," at new NodeError (node:internal/errors:405:5)"," at packageResolve (node:internal/modules/esm/resolve:892:9)"," at moduleResolve (node:internal/modules/esm/resolve:985:20)"," at moduleResolveWithNodePath (node:internal/modules/esm/resolve:936:12)"," at defaultResolve (node:internal/modules/esm/resolve:1178:79)"," at nextResolve (node:internal/modules/esm/loader:163:28)"," at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)"," at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)"," at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:77:40)"," at link (node:internal/modules/esm/module_job:76:36)"]},"promise":{},"stack":["Runtime.UnhandledPromiseRejection: Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ws' imported from /var/task/vercel/path0/dist/chunks/pages/deeplink_1453a7d3.mjs"," at process.<anonymous> (file:///var/runtime/index.mjs:1250:17)"," at process.emit (node:events:526:35)"," at emit (node:internal/process/promises:149:20)"," at processPromiseRejections (node:internal/process/promises:283:27)"," at process.processTicksAndRejections (node:internal/process/task_queues:96:32)"]}
Unknown application error occurred
Runtime.Unknown
When a smartcoin has chosen the individual fund settlement option as its configured smartcoin recovery method, then when a debt position is undercollateralized it will be placed into an individual settlement fund as opposed to triggering a global settlement of the smartcoin.
These funds can be bid on through force settlements.
We should create a page to support this functionaltiy.
User should be able to create a new credit offer - requires a new page to do so.
When you're in a nested page, the "go back" button doesn't take you back to the index.
The user should have a fast way of getting back to the index, as well as having a shortcut to another nested page without introducing additional page transitions unnecessarily.
Currently we support english and german, however the Beet wallet supports around 8, so we should continue internationalization efforts.
Requires the translated JSON files to be stored in the beet_api project, not this repo, only minor changes like the menu dropdown item changes are needed to add more languages.
A small thing we'll have to keep in mind is the page/component widths vs the localized strings, for example several german strings exceed the widths set by the english designed components.
There are various types of vesting balances the user can interact with on the Bitshares blockchain.
We should at least offer the ability to claim fee rebate vesting balances from LTM fees.
When a smartcoin globally settles, there's a pool of backing collateral which can be bid on in order to recollateralize the smartcoin, bringing it back to life.
We should support this functionality with a new page.
Users should be able to easily create a vote lock ticket from the astro ui
At the moment the node selection per chain is pretty much static, if the node dies then the app will cease to fetch blockchain data.
TODO: Add a 'node configuration' page where the user can add/remove node URLs.
When the refresh timer passes, the queries are refetched, during this period there are skeleton rows shown.
10+ rows looks unsightly
When there were previously "no orders found", showing 10+ skeleton rows only to then show "no orders found" is jarring.
Perhaps we should just maintain the last shown data whilst the refresh is occurring, and not show a refresh animation?
If we do continue showing the skeleton rows, then we should base the row qty on the previous row qty, to reduce layout shift.
When the user is on the limit order form page, if they click on another user's buy/sell order, we should fill out the limit order form to streamline creating their limit order operation.
Using react-i18next, localize the entire application.
This task is well underway now.
Users should be able to create a new UIA from the astro ui
Not in scope:
Smartcoins
NFTs
Currently the serialization of OSO limit orders isn't working.
There aren't any price/depth charts in the limit order form page, we should/could introduce such a feature to the same page.
There's a committee managed account which tracks scammer accounts, we should prevent users from using these accounts to generate deeplinks.
We should support QR codes & the TOTP code system too.
Users are able to stake assets in pools, receiving pool share assets in return, we should support this functionality in the astro ui.
Only the cache endpoints are currently compressed, we could likely speed up page loads by compressing every endpoint result.
Users can now update an existing limit order, instead of having to delete then recreate the limit order.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.