-
Notifications
You must be signed in to change notification settings - Fork 529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
identity directory milestone 1 delivery #229
Conversation
d68b42f
to
ead113f
Compare
ead113f
to
f9b79e7
Compare
Thanks @Jakic007 for the delivery of the two milestones! We'll look into it as soon as we can. |
Hi @Jakic007, thanks for the delivery. I have a few initial remarks:
|
@Jakic007 any updates here? |
|
Thanks. A few more remarks:
I would recommend you to go through an extensive review of the project as it currently seems to be broken anywhere I look. I'd like to ask you to please do so and bring this to an acceptable state within 14 days as specified in the terms and conditions, seeing as the delivery is already delayed by over 3 months, or the grant may be terminated. |
Hi @alxs, |
The balance displayed on your project is currently different to both that on Polkascan and Subscan for the account you just linked. |
I wanted to check with you before deploying it to the server. |
See also PolkaStats which contains more info, not sure where the discrepancy comes from or which one is right. |
Governance and treasury are not expected to be delivered in Milestone 1 & 2. That was planned for possible extension as part of identity hub plugin system. |
Hi @alxs, regarding
@polkadot/vue-identicon currently doesn't support vue 3 and can't be implemented in the project, we are currently using gravatar or icon from the figma. I'm open to other solutions if you have a suggestion. |
Hey @MilGard91. Is this of any use to you? It's also a current delivery, so feel free to leave feedback directly on that PR if you run into any issues. Good call on creating an issue for @polkadot/vue-identicon though, I think chances are high this would be fixed pretty soon. |
@Jakic007 I would argue that these are part of the deliverables for this milestone. I can see this not being entirely clear in the application, but it's also not stated anywhere that this wouldn't be the case and they're part of both the mock-ups and the delivered designs. Deliverable 4 simply states 'Build UI components in VueJS used in the individual identity page', the mock-up for which includes the governance and treasury modules. Under 'Future plans' you mention that you plan on implementing a plug-in system and that 'default plug-ins would be basic info, governance, treasury and validator', which however also doesn't mean these can't already have been implemented with M1 as the basic info clearly needs to be and is listed along the others. I'd also argue that the price is high enough for this to be part of the deliverables. |
Should be fixed by now. Can you confirm @alxs ? |
@alxs latest version is currently being deployed. I will write when its live. |
Ready @ https://identityhub.xyz/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Querying by index or identity fields isn't implemented or doesn't work.
- Did you have any luck with the library I referred you to in my previous comment for the identicon? Identicons are an important part of one's visual identity in Polkadot/Kusama and it would make a lot of sense to make use of them on a website with just this purpose. I don't know how you planned to implement profile pictures as in your mockups, but you're of course welcome to do that instead. There is an image field in the identity pallet, but I don't think anyone uses it and seeing as it may contain just the hash of an image, it's probably not very useful for this use case.
- For the record: governance and treasury are part of the required functionality for this milestone as long as the amendment hasn't been approved.
- When navigating through identities, often one lands on a URL with
undefined
in place of the network, which is then broken if shared or reloaded. - When connecting to the polkadot{.js} extension, all addresses are shown, instead of only the ones pertaining to the current network.
- Connecting to a custom node via the top-left menu doesn't seem to work.
- Inline documentation would greatly improve code readability and is required as per deliverable 0b and per our delivery guidelines.
- It would be nice if you could link to the documentation in the
docs
folder from the README and briefly describe the purpose of each file, or for the ones that contain just one paragraph simply integrate them into the README.
Thanks for the feedback, we are going to fix those issues during the next week and redeploy.
|
Identity field. Querying by any of the identity fields i.e. email address, display name etc.
Indeed, I just hadn't stumbled upon one that had it set yet. Nice!
Sure: click on any identity, go back, click on any identity. Note that this is only the URL that is broken as I pointed out. Let me know when you're done with the changes and I'll have another look. Btw: you could easily move the search bar to the top and save a lot of space, plus I think the text above it is only confusing since it gives the impression that you can always search for identities on both Polkadot and Kusama. You may want to change this. |
Hey @alxs ! We have pushed some fixes for the things you have mentioned and some other bugs we've found while testing. You can see the latest version live at https://identityhub.xyz Query by indices is implemented now. We are researching the best approach for enabling query by identity fields. |
@alxs Query by identity fields (name, email...) is implemented now. It is ready for review |
Thanks @Jakic007. A few last things:
And some UX issues:
Please try to address these in the coming days as this evaluation has been dragging on for quite a bit. On a side note, as you may be aware paritytech/substrate#8615 has been merged which you mentioned was blocking you for M3. |
Thanks - we are fixing that issue
We are investigating solutions for this problem
Loading animation will be added
I agree. It is misleading and confusing. We will change that.
Could you please give us more details for this? We are showing all account addresses formatted for the specific chain: https://wiki.polkadot.network/docs/learn-accounts#address-format
It is possible to connect to Westend or some other Substrate node by choosing custom node option. We can retrieve the network name and show it after successful connection.
That design decision was in the original proposal. If you think it is better to display all identities as a list, we can do that.
Thank you! |
Happy to. Accounts on the extension can either be allowed to be used on any chain or only on a specific one. You're displaying all of them, including the ones that are only allowed on other chains.
Yeah, I may have blindly tried a few chains that didn't necessarily have the identity pallet. If that's basically the requirement this could be shared with the user when they enter the node, and some feedback given if a chain without it is used.
This looks fine on the first page, but doesn't make a lot of sense on later ones. I'd have expected the list to be detached from the cards. |
@alxs Issues have been resolved. Ready to review: https://identityhub.xyz |
@Jakic007 still some issues:
|
@alxs Issues are resolved. Feel free to review: https://identityhub.xyz |
Search still seems to return some erroneous results - now searching for 'foundation' also returns this account, which doesn't contain the word anywhere in its identity. I also just realised the reason the polkadot{.js} extension wouldn't decode some transactions: it needs to update the chain metadata. This is an issue quite a few people will experience and won't be able to figure out for themselves. I think the most sensible fix would be to prompt the user to do so if necessary upon clicking 'Connect'. In the same spirit, there should be some feedback as to why the functionality is disabled if they don't have the extension installed. Lastly, I noticed that links to an account don't work on Westend since the node URL is lost - you could include it in the URL alike Polkadot.js Apps, but this isn't required for this milestone. |
Hi @alxs, regarding the metadata update, can you tell me where do you want us to point them to so they can update it? I will add the note to the connect modal, so they will see it when they pick the wallet. |
@MilGard91 I've always seen this implemented within the dapp/website, I assume it shouldn't be hard to accomplish. You can check if the extension has the latest metadata and otherwise prompt the user to update it. |
There was actually 'foundation' string under the display name (BIFROST FOUNDATION) field that was hidden before. That's why it returned that result. Now, we are showing the display name under every identity.
This is implemented now. User will see a button if there is need to update metadata once he wants to connect to wallet.
We have added Westend to the chainpicker now, so those URLs will work. Identity wouldn't be fetched from the custom RPC in that case. But, as you said, it is not required for this milestone. |
An issue hash appeared for Polkadot and Kusama chains. We are investigating that and will let you know once it's fixed. @alxs |
@alxs Fixed! Feel free to review. |
Got it. Shouldn't the display name be used as the display name?
I didn't get any prompt or see a button. Is this live? |
Currently, we are displaying legal name in the list. Neither display name nor legal name are required fields, so we first try to display legal name if it exists, then display name, and if none of those exist, we display the address. Of course, that can be switched. What do you suggest?
Yes, it's live. Maybe your metadata is already up-to-date? You can check that here: https://polkadot.js.org/apps/#/settings/metadata |
We are now using the display name as the default. |
That worked, I only noticed the way the button disappears once clicked is quite glitchy and doesn't actually check that the metadata has been updated. I'm using Chrome 94.0.4606.61. My last point would be performance: the website is currently very slow to load with the loading time seemingly proportional to the number of identities on a given chain. For Kusama, I measured over 20s only to load the landing page. Seeing as the number of identities can only possibly grow larger, this is a rather unfortunate approach. Besides, there is naturally no need to load all identities on start. Could you find a more sensible solution? |
Our stance is that we have delivered all the promised deliverables for the Milestone 1. There were bugs along the way, all of those were fixed, as it is visible in this PR's comments. There will always be space for optimizations and polishing and those will be upgraded as the product progresses and we work on it. We would like if we could conclude this delivery with this commit: Shard-Labs/identity-hub@781b9f2 |
@Jakic007 fair enough, the milestone is a pass. You can find my evaluation notes here and as usual I'll forward your invoice for processing. I hope you can find a way to reduce the loading time soon as I really feel this significantly impacts usability. |
hi @Jakic007 we transferred the payment today. |
Milestone Delivery Checklist
Link to the application PR: w3f/Grants-Program#255