cadence icon indicating copy to clipboard operation
cadence copied to clipboard

Allow developers to see currently staged contracts.

Open turbolent opened this issue 1 year ago • 11 comments

For example, maybe just link to the contract that contains all staged contracts:

  • https://testnet.flowview.app/account/0x2ceae959ed1a7e7a/storage
  • https://f.dnz.dev/0x2ceae959ed1a7e7a

turbolent avatar Apr 18 '24 18:04 turbolent

@Aliserag could this maybe be taken care of by 4D?

turbolent avatar Apr 18 '24 18:04 turbolent

Low priority as a workaround exists using flowview

j1010001 avatar Apr 19 '24 15:04 j1010001

added stage contracts browser to: https://f.dnz.dev/0x2ceae959ed1a7e7a

bluesign avatar Apr 19 '24 16:04 bluesign

@bluesign Awesome! 👏💪

Updated the description to include it.

turbolent avatar Apr 19 '24 16:04 turbolent

@gregsantos Can you guys publish the 2 links in the migration guide ?

j1010001 avatar Apr 26 '24 17:04 j1010001

@Aliserag would this make more sense in the new doc you're working on?

gregsantos avatar Apr 26 '24 20:04 gregsantos

@Aliserag assigned to you - please figure out where the links should be published and close the issue once it is done.

j1010001 avatar Apr 30 '24 09:04 j1010001

We should only link to one, prefer https://f.dnz.dev/0x2ceae959ed1a7e7a due to taking fewer clicks to view the contract.

We need to minimize the number of links we're sharing. I understand the main difference between this list of staged contracts and the weekly reports we're sharing is that one is updated realtime and the other gets released weekly (with a focus on errors), but the target market is the same. I would propose changing the format of the weekly reports to include a line, 'To see a realtime list of all staged contracts, click here.' This way we only have to link to the reports and it simplifies marketing/docs etc.

In terms of discovery, I think we should add it to:

  • Migration Environments doc that is still unpublished, under how to Access Reports.
  • Migration Guide at the very end of the Stage and Confirm on Testnet Migration Env section: "View all staged contracts and view reports on migration status through the migrations data repository."
  • Staging Guide at the end under Validate your contract.
  • Lastly, I think it would be good to include on the migration hub itself under step 4 as a new link: 'Staged Contracts Report' Screenshot 2024-05-07 at 4 30 54 PM

Aliserag avatar May 07 '24 23:05 Aliserag

@Aliserag Sounds good!

turbolent avatar May 07 '24 23:05 turbolent

@gregsantos Is there anyone on DevEx who could maybe help add this?

turbolent avatar May 10 '24 18:05 turbolent

Working on the site but made changes to the docs, @turbolent can you kindly review/approve/merge? https://github.com/onflow/cadence-lang.org/pull/100

Aliserag avatar May 13 '24 19:05 Aliserag