Account selection when authorizing a website#1068
Account selection when authorizing a website#1068jacogr merged 21 commits intopolkadot-js:masterfrom
Conversation
…o tbaut-auth-per-account
|
This pull request introduces 1 alert when merging 671a95b into 885a67e - view on LGTM.com new alerts:
|
|
I'm on the fence regarding an edge case:
This contradicts what we discussed earlier here. I'm leaning toward still showing the hidden accounts in the edit: I went ahead and implement what makes the most sense to me, so that we don't have any inconsistent UI, but also hide the accounts with a closed eye as much as possible. TL;DR:
|
|
I'm pretty sure you've seen this @jacogr, but just in case pinging you here as it's ready to review. |
…o tbaut-auth-per-account
|
Sorry, just wanted to get a release out (which overran by 10 days), before merging more code. Since we have https://github.com/polkadot-js/extension/releases/tag/v0.44.1, will take a peek as soon as I'm certain it is on the stores. |
|
No problem at all, 100% what I thought, better get this tested well rather than rushed before a release 👍 |
|
Ok - 0.44.1 is on all stores, now back to normality. Will get to this soon. |
…o tbaut-auth-per-account
|
Looking forward to see this implemented! Is there any ETA on when this ships? |
jacogr
left a comment
There was a problem hiding this comment.
Is it possible to merge master? On my side I get build failures atm, e.g
./src/page.ts + 31 modules 29.6 KiB [built] [code generated]
crypto (ignored) 15 bytes [built] [code generated]
crypto (ignored) 15 bytes [built] [code generated]
buffer (ignored) 15 bytes [optional] [built] [code generated]
crypto (ignored) 15 bytes [built] [code generated]
webpack 5.73.0 compiled successfully in 4097 ms
*** @polkadot/extension-base 0.44.2-4
Successfully compiled 31 files with Babel (520ms).
Successfully compiled 31 files with Babel (143ms).
TypeError: Cannot read properties of undefined (reading 'startsWith')
at relativePath (file:///Users/jacogr/Projects/polkadotjs/test/tbaut-ext/node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.mjs:70:19)
at createMapEntry (file:///Users/jacogr/Projects/polkadotjs/test/tbaut-ext/node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.mjs:75:12)
at buildExports (file:///Users/jacogr/Projects/polkadotjs/test/tbaut-ext/node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.mjs:228:23)
at file:///Users/jacogr/Projects/polkadotjs/test/tbaut-ext/node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.mjs:614:50
at timeIt (file:///Users/jacogr/Projects/polkadotjs/test/tbaut-ext/node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.mjs:565:3)
at buildJs (file:///Users/jacogr/Projects/polkadotjs/test/tbaut-ext/node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.mjs:614:7)
at async main (file:///Users/jacogr/Projects/polkadotjs/test/tbaut-ext/node_modules/@polkadot/dev/scripts/polkadot-dev-build-ts.mjs:661:5)
I think this is maybe something to do with versions?
|
sure I'll check it out |
…o tbaut-auth-per-account
|
I was able to build it without issue. lmk if you still run into troubles. |
|
Yes, for me - master builds, this branch has issues. It seems to be caused by the dev scripts and have no idea why. (No changes here would cause anything weird). O, god, seems to be one of my issues caused by something I did somewhere, but has me stumped. (Whacked node_ modules and have the same issue) |
|
Ok, this is not your issue.... local problem :( fuckit. |
jacogr
left a comment
There was a problem hiding this comment.
It seems fine. I played with this over the last couple of days.
I'm not 100% convinced around the visible/invisible handling - I would probably have gone for the (more complicated option) or deleting it from all, like we handle deletes, when made invisible. But is is certainly an edge-case, as indicated.
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
closes #1037
It looks like this:
pjs-auth.mp4
website-management.mp4
TODO: