GithubHelp home page GithubHelp logo

apps's People

Contributors

cancergary avatar cnwyx avatar codingmeup avatar h4x3rotab avatar kingsleydon avatar leonayoung avatar limichange avatar terminalsin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

apps's Issues

Alert user before accepting widthraw request in Stake Pool

User Story : I recently encountered a situation in which I had a widthraw request from past 6 days and un-knowingly I clicked on widthraw again .
[OBJECTIVE]
If a Widthraw request already exist on the stake pool then the second widthraw transaction should be reverted .
[SOLUTION]
To solve this following things can be done :

  • At a time only one widthraw request can be sent and after that request is fulfilled then only next widthraw request can be accommodated.
  • check if existing widthraw request exists for a pool, if yes then revert any upcoming widthraw requests.

Should disallow to "approve" without the target address & amount in bridge

Currently, even without entering the address and the amount, we can still click "Approve" button in the bridge page:

image

It's ok in the common sense but still not optimal for the noob users. We have heard reports saying they didn't understand how the bridge works and what they need to do, but still wasted the gas fee.

Suggestion: make "Approve" button disabled if the input address or the amount is empty or invalid.

Deploy on more services

Due to the failure of netlify, it is necessary to deploy on more services to ensure availability

App crashes on firefox + polkadot.js plugin

After trying to connect using polkadot.js extension app crashes.
image

I have tried clearing local storage.
Firefox updated.
Chrome works fine.

I'm sending details from console:

Uncaught Error: Permission denied to access property "nodeType"
    NextJS 38
_app-c90be9ac6eaa4d4b.js:161:49917
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 36
_app-c90be9ac6eaa4d4b.js:161:54338
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 36
_app-c90be9ac6eaa4d4b.js:161:54338
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://phalahelp.zendesk.com/embeddable/config. (Reason: CORS request did not succeed). Status code: (null).
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
2 _app-c90be9ac6eaa4d4b.js:161:61421
Firefox can’t establish a connection to the server at wss://widget-mediator.zopim.com/s/W/ws/JBFUwUTIg4Fvz+a9/c/1710724370549. web-widget-chat-sdk-a8e2471.js:2:55023
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
3 _app-c90be9ac6eaa4d4b.js:161:61421
XHRPOST
https://app.phala.network/monitoring?o=812739&p=5879132
[HTTP/3 429  104ms]

Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Error: Permission denied to access property "getAttribute"
    NextJS 54
_app-c90be9ac6eaa4d4b.js:156:6927
Error: Permission denied to access property "getAttribute"
    NextJS 54
_app-c90be9ac6eaa4d4b.js:156:6927
A client-side exception has occurred, see here for more info: https://nextjs.org/docs/messages/client-side-exception-occurred _app-c90be9ac6eaa4d4b.js:156:6927
TypeError: i is undefined
    NextJS 52
_app-c90be9ac6eaa4d4b.js:156:6927
Uncaught TypeError: i is undefined
    NextJS 52
_app-c90be9ac6eaa4d4b.js:74:67899
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
Uncaught Error: Permission denied to access property "parentNode"
    NextJS 37
_app-c90be9ac6eaa4d4b.js:161:61421
XHRPOST
https://app.phala.network/monitoring?o=812739&p=5879132
[HTTP/3 429  99ms]

EDIT: This looks interesting, cuz I tried on different browser profile and it works fine.
May be hard to reproduce.

Not able to connect Polkadot.js extension in Brave/Chrome/Firefox Browser

I am unable to connect the polkadot.js browser extension to the Phala Web App. This worked until late last week and has failed since then. I have tried the following:

  • Multiple browsers, fresh installs of the browser and extension
  • Clearing the cache
  • Ensuring popup blockers are disabled
  • Ensuring my Khala account is set to "Allow use on any chain" in Polkadot.js
  • Ensuring that the polkadot.js has access to the https://app.phala.network/ site
  • Ensuring that my metadata extensions are updated in https://polkadot.js.org/apps/#/settings/metadata

OS: Windows
Polkadot.js Extension Version: 0.41.2 on Chrome, 0.41.1 on Brave

I have also noticed a similar problem with the Karura app. I posted this issue here as well, but per the response they say that this is an application development issue on the Khala side.

2021-09-22_14-04-40

Display bug in Mining page

When switching wallets in mining page, if the previous account switches to page 2, but the other account does not have page 2, nothing will be displayed.

App Analytics

  • create page
  • import chart lib
  • update style
  • import api data
    • header info data
    • map chart data
    • line chart data
    • line chart2 data

click on "bridge" in the submenu of an asset crash navigation on firefox/MacOS

Firefox 101.0.1 (64 bits)
Mac os 10.14.6

on app.phala.network, on the dashboard, I click the dots on the PHA asset line and select "brigde"
a new tab open with URL "https://subbridge.io/"
then the navigation crashes, impossible to load other pages on app.phala.network
in the console I see a CORS error :
Blocage d’une requête multiorigine (Cross-Origin Request) : la politique « Same Origin » ne permet pas de consulter la ressource distante située sur https://phalahelp.zendesk.com/embeddable_blip?type=pageView&data=eyJjaGFubmVsIjoid2ViX3dpZGdldCIsInBhZ2VWaWV3Ijp7InRpbWUiOjM4OTEyOCwibG9hZFRpbWUiOjgsIm5hdmlnYXRvckxhbmd1YWdlIjoiZnIiLCJwYWdlVGl0bGUiOiJEYXNoYm9hcmQgfCBQaGFsYSBBcHAiLCJ1c2VyQWdlbnQiOiJNb3ppbGxhLzUuMCAoTWFjaW50b3NoOyBJbnRlbCBNYWMgT1MgWCAxMC4xNDsgcnY6MTAxLjApIEdlY2tvLzIwMTAwMTAxIEZpcmVmb3gvMTAxLjAiLCJpc01vYmlsZSI6ZmFsc2UsImlzUmVzcG9uc2l2ZSI6dHJ1ZSwidmlld3BvcnRNZXRhIjoid2lkdGg9ZGV2aWNlLXdpZHRoLCBpbml0aWFsLXNjYWxlPTEsIHNocmluay10by1maXQ9bm8iLCJoZWxwQ2VudGVyRGVkdXAiOmZhbHNlLCJyZWZlcnJlciI6Imh0dHBzOi8vYXBwLnBoYWxhLm5ldHdvcmsvZGVsZWdhdGUvIn0sImJ1aWQiOiIxMzk0YjI2N2UyMmY0MjJiYTM4OWFmN2NjODQ3OTAzOCIsInN1aWQiOiJmMDhiNGI5ZDU2ZDI0MGQwODg3OWEyMDc4NGI4Zjg5NCIsInZlcnNpb24iOiJhYWE4YWY5IiwidGltZXN0YW1wIjoiMjAyMi0wNi0yMVQyMTo0NTo1NC43NjZaIiwidXJsIjoiaHR0cHM6Ly9hcHAucGhhbGEubmV0d29yay9kZWxlZ2F0ZS8ifQ==. Raison : échec de la requête CORS. Code d’état : (null).

My delegate page crash

Report from some miners:

app-136d2c85c795ebcd7ed9.js:2 i18next: languageChanged it-IT
app-136d2c85c795ebcd7ed9.js:2 i18next: initialized Object
app-136d2c85c795ebcd7ed9.js:2 defaultNetwork khala
app-136d2c85c795ebcd7ed9.js:2 web3Enable: Enabled 1 extension: polkadot-js/0.40.1
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected extensions: polkadot-js (0.40.1)
app-136d2c85c795ebcd7ed9.js:2 2021-09-19 04:23:13        REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Updated injected accounts: 45mqMLPYj2tAJNbzRuUwhds2GdQAeryYcZtQ9YRj8duKHKPM
app-136d2c85c795ebcd7ed9.js:2 web3Accounts: Found 1 address: 45mqMLPYj2tAJNbzRuUwhds2GdQAeryYcZtQ9YRj8duKHKPM
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected accounts: 45mqMLPYj2tAJNbzRuUwhds2GdQAeryYcZtQ9YRj8duKHKPM
app-136d2c85c795ebcd7ed9.js:2 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bdisplay%2C%20verified%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Sa (framework-05d3f9acc72f0711a6e8.js:2)
    at framework-05d3f9acc72f0711a6e8.js:2
    at Do (framework-05d3f9acc72f0711a6e8.js:2)
    at Qu (framework-05d3f9acc72f0711a6e8.js:2)
    at Ni (framework-05d3f9acc72f0711a6e8.js:2)
    at Ci (framework-05d3f9acc72f0711a6e8.js:2)
    at xi (framework-05d3f9acc72f0711a6e8.js:2)
    at gi (framework-05d3f9acc72f0711a6e8.js:2)
    at framework-05d3f9acc72f0711a6e8.js:2
    at t.unstable_runWithPriority (framework-05d3f9acc72f0711a6e8.js:2)
    at $l (framework-05d3f9acc72f0711a6e8.js:2)
    at ql (framework-05d3f9acc72f0711a6e8.js:2)
    at Ql (framework-05d3f9acc72f0711a6e8.js:2)
    at t.yi [as batchNotifyFn] (framework-05d3f9acc72f0711a6e8.js:2)
    at app-136d2c85c795ebcd7ed9.js:2
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bdisplay%2C%20verified%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Sa (framework-05d3f9acc72f0711a6e8.js:2)
    at framework-05d3f9acc72f0711a6e8.js:2
    at Do (framework-05d3f9acc72f0711a6e8.js:2)
    at Qu (framework-05d3f9acc72f0711a6e8.js:2)
    at Ni (framework-05d3f9acc72f0711a6e8.js:2)
    at Ci (framework-05d3f9acc72f0711a6e8.js:2)
    at xi (framework-05d3f9acc72f0711a6e8.js:2)
    at gi (framework-05d3f9acc72f0711a6e8.js:2)
    at framework-05d3f9acc72f0711a6e8.js:2
    at t.unstable_runWithPriority (framework-05d3f9acc72f0711a6e8.js:2)
    at $l (framework-05d3f9acc72f0711a6e8.js:2)
    at ql (framework-05d3f9acc72f0711a6e8.js:2)
    at Ql (framework-05d3f9acc72f0711a6e8.js:2)
    at t.yi [as batchNotifyFn] (framework-05d3f9acc72f0711a6e8.js:2)
    at app-136d2c85c795ebcd7ed9.js:2
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 Uncaught Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7Bdisplay%2C%20verified%7D for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at Sa (framework-05d3f9acc72f0711a6e8.js:2)
    at framework-05d3f9acc72f0711a6e8.js:2
    at Do (framework-05d3f9acc72f0711a6e8.js:2)
    at Qu (framework-05d3f9acc72f0711a6e8.js:2)
    at Ni (framework-05d3f9acc72f0711a6e8.js:2)
    at Ci (framework-05d3f9acc72f0711a6e8.js:2)
    at xi (framework-05d3f9acc72f0711a6e8.js:2)
    at gi (framework-05d3f9acc72f0711a6e8.js:2)
    at framework-05d3f9acc72f0711a6e8.js:2
    at t.unstable_runWithPriority (framework-05d3f9acc72f0711a6e8.js:2)
    at $l (framework-05d3f9acc72f0711a6e8.js:2)
    at ql (framework-05d3f9acc72f0711a6e8.js:2)
    at Ql (framework-05d3f9acc72f0711a6e8.js:2)
    at t.yi [as batchNotifyFn] (framework-05d3f9acc72f0711a6e8.js:2)
    at app-136d2c85c795ebcd7ed9.js:2

Occasionally failed load any account

Sometimes after refresh the webpage a few times, the website can no longer connect to the Polkadot.js extension. Refresh a few times may help, but not always. If open an incognito window or switch to another browser where never opened the app, it can connect without any problem.

Not sure if cleaning the website cache & data can help.

When it fails, we can get the console outputs:

app-136d2c85c795ebcd7ed9.js:2 i18next: languageChanged it-IT
app-136d2c85c795ebcd7ed9.js:2 i18next: initialized Object
app-136d2c85c795ebcd7ed9.js:2 defaultNetwork khala
inpage.js:1 You are accessing the MetaMask window.web3.currentProvider shim. This property is deprecated; use window.ethereum instead. For details, see: https://docs.metamask.io/guide/provider-migration.html#replacing-window-web3
get @ inpage.js:1
app-136d2c85c795ebcd7ed9.js:2 web3Enable: Enabled 1 extension: polkadot-js/0.40.1
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected extensions: polkadot-js (0.40.1)
app-136d2c85c795ebcd7ed9.js:2 2021-09-18 20:31:57        REGISTRY: Unknown signed extensions CheckMqSequence found, treating them as no-effect
(anonymous) @ app-136d2c85c795ebcd7ed9.js:2
app-136d2c85c795ebcd7ed9.js:2 Uncaught Error: Expected a valid key to convert, with length 1, 2, 4, 8, 32, 33
    at i (app-136d2c85c795ebcd7ed9.js:2)
    at c (app-136d2c85c795ebcd7ed9.js:2)
    at 564-85e1de33cb2f7cd14a24.js:1
    at Array.map (<anonymous>)
    at S (564-85e1de33cb2f7cd14a24.js:1)
    at 564-85e1de33cb2f7cd14a24.js:1
    at Array.reduce (<anonymous>)
    at i (564-85e1de33cb2f7cd14a24.js:1)
    at Object.subscriber (564-85e1de33cb2f7cd14a24.js:1)
    at page.js:2
    at page.js:2
app-136d2c85c795ebcd7ed9.js:2 web3Accounts: Found 0 addresses: 
app-136d2c85c795ebcd7ed9.js:2 [Web3Context] Injected accounts:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.