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
Add new pages "Apps"/"Stakes" for POSDAO network #1476
Comments
Hi guys, could you grant me permission to start working on this repository? Maybe @igorbarinov ? |
@gabitoesmiapodo I've added you to the explorer team |
Thank you. |
@igorbarinov is there some work already done for the POSDAO network, or should I add the new styles and sections on a new development branch with some static / mock content, for somebody to add some logic to it later? (I'm not sure if it's you who I should be asking these questions, if there's somebody else available please let me know). |
@gabitoesmiapodo Yes, please add this to a separate branch and we can have someone take a look at it for the logic. |
I finally got the Blockscout running locally. Is there a preferred approach, or a guide to implement a theme for a new network (POSDAO in this case)? I see the new designs implement not only color and icon changes, but also some layout modifications, new sections, etc., so there might be some changes affecting other networks too. |
@gabitoesmiapodo There is no infrastructure setup currently to make structural changes that will not affect the entire application. However, we can enable features through configuration settings and environment variables for chain specific features. We do this currently with the I would add the changes to the current infrastructure and then we can enable them with an environment variable |
Just to clarify: so there's no way to change a theme dinamically? Each themed version is a different instance built and deployed for each network? If that's the case, I asume I should just make all the necessary modifications to existing layout(s), add new icons and SCSS, and then the remaining issues will be solved when building and deploying the new / updated instances. Sorry for all the questions, BTW. |
That's correct, each chain is built separately so there is a bit of customization that can be done here. Let's make the changes to SCSS by adding a new POSDAO theme and including all assets that will be needed by the new dynamic theme. |
I'm not able tu update the theme's colors. This is all I could get for now. I can change the logo (in this case I'm using the POA logo, but I have the POSDAO logo available too), and I can connect to ganache, display transactions, etc. But if I do this on
... nothing happens. I see some changes on the console logs, but nothing reflects on the browser, even if I update manually. Is there something I'm missing? |
@gabitoesmiapodo I believe you're missing the |
@pashagonchar I left my comments in https://invis.io/YPQNPDTW4ZB - some pages need to be supplemented with a few UI elements and we also need to have a few extra layouts (see my comments for all of those pages). |
It seems that wasn't the problem (the underscore is not needed for this type of I finally got it working by stopping the server, deleting all the files in the I don't know why that fixed the problem, but It updates everything correctly on every file save now. If there are new designs needed, I think @pashagonchar will address that, and update the Zeplin files. |
* master: add --unsafe-perm parameter install phantomjs fix test that depended on date fix test fix dialyzer update cache key update elixir version in circle ci upgrade elixir to 1.8.1 feat: add an admin method to import contract methods.
* master: (80 commits) add CHANGELOG entry modify query to fetch failed contract creations add CHANGELOG entry add entry to CHANGELOG Update 1.3.7 changelog add more logging to code fixer process do not fetch burn address balance fix gettext fix typo fix usd fee allow to set first indexing block Add PIRL to Readme Changelog update select queries by batches feat: rpc address to list addresses fix credo Reduce block_rewards in the catchup fetcher Add regression test for #1584 Added guard for check block number before fetch it add second query ... # Conflicts: # apps/block_scout_web/lib/block_scout_web/templates/layout/_topnav.html.eex
* master: do not allow update code mix format return full responses mix format create separate migration allow creation different smart contract for address_hash add response bodies handle invalid address_hash add upsert for decompied smart contacts add changelog entry send response Revert "Fix flaky tests" add moduledoc add auth add endpoint to create decompiled smart contracts create decompiled smart contracts
* master: fix gettext fix second typo add changelog entry fix typo Set internal_transactions_indexed_at for empty blocks Add regression test for #1642 Update test CHANGELOG update fix color for release link add infinite timeout for Repo.transaction set infinity timeout for addresses without code
* master: Optimize token holder count updates when importing address current balances
* master: Update changelog Address review comments Add a migration to mark all invalid blocks as non-consensus (#1644) Force consensus loss for parent block if its hash mismatches parent_hash Add regression test for #1644 feat: add listcontracts endpoint fix view test use correct type for evm_version define evm versions in one place fix dialyzer set only hours in env var fetch transaction period from env variables add changelog entry add petersburg evm version add CHANGELOG entry fix credo fix tests use cache for estimated transaction count add transaction count cache
* master: fix CHANGELOG entry add changelog entry do not fail if multuple matching tokens are found add CHANGELOG entry try to compil with the latest evm version if bytecode doesn't match add changelog entry update gettext add line break between decompiler version and decompiled code show multiple decompiled contracts fix current selected tab for decompiled code fix mobile dropdown menu add decompiled contract tab add a simple view that show single decomplid code entry add decompiled contract tab endpoint add query to return decompiled contracts make tab visible if contract has any decompiled code
* master: (28 commits) feat: verify contracts via an RPC endpoint Remove obsolete InvalidConsensus.Worker Discard child block with parent_hash not matching hash of imported block Expand non-consensus block regression test to test for race conditions Remove obsolete ConsensusEnsurer feat: add not_decompiled_with_version filter Update fetcher_test.exs mix format fix test update gettext fix build remove fetching token 2 times update CHANGELOG update tokens in fetcher add CHANGELOG entry exclude decompiled smart contract from encoding add CHANGELOG entry update metadata in controller add CHANGELOG entry decrease token metadata update interval ...
* master: use literal nul use null value add CHANGELOG entry fix failing in rpc if balance is empty
* master: add changelog entry use seconds as period measure
#1638-new-style-for-lukso-network * feature/#1476-add-styles-for-POSDAO-network: fix CHANGELOG: feature -> chore fix gettext add CHANGELOG entry add check mark to decompiled contract tab Update CHANGELOG Update telegram link # Conflicts: # apps/block_scout_web/lib/block_scout_web/templates/address/_tabs.html.eex # apps/block_scout_web/priv/gettext/default.pot # apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po
* master: feat: Add RSK support
* master: feat: slightly more informative json rpc error messages + logging
* master: (25 commits) Describe indexer structure and list existing fetchers (#1763) add more test cases fix CR issues add CHANGELOG entry do not hardcode values in tests fix credo add CHANGELOG entry add today's token balance from previous value add CHANGELOG entry fix gettext add label change package version download chrom directly fix command order fix script try using chrome headless for wallaby fix failing test update phantom js on circle ci bumbp cache version fix gettext ... # Conflicts: # apps/block_scout_web/priv/gettext/default.pot # apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po
#1638-new-style-for-lukso-network * feature/#1476-add-styles-for-POSDAO-network: (25 commits) Describe indexer structure and list existing fetchers (#1763) add more test cases fix CR issues add CHANGELOG entry do not hardcode values in tests fix credo add CHANGELOG entry add today's token balance from previous value add CHANGELOG entry fix gettext add label change package version download chrom directly fix command order fix script try using chrome headless for wallaby fix failing test update phantom js on circle ci bumbp cache version fix gettext ... # Conflicts: # apps/block_scout_web/priv/gettext/default.pot # apps/block_scout_web/priv/gettext/en/LC_MESSAGES/default.po
…-pages-for-POSDAO-network- * feature/new-theming-capabilites: (update) internationalization files (fix) tooltip color (update) address button icon (fix) transaction color (fix) blocks margin update changelog update gettext handle case when total supply is nil Update CHANGELOG --f -> -f update changelog Update CHANGELOG block counter calculate only consensus block Add --f flag to clear_build.sh script delete static folder
* master: Fix mix format test add cache for block counter
* master: ex_abi version bump to 0.2.0
…POSDAO-network- (Feature) New pages for POSDAO network
@gabitoesmiapodo could you check your updates that relates to this PR#1853? After merging |
you should remove import "neutral_variables" from |
yes, please |
@maxgrapps if we don't need to use posdao_variables and posdao logo, please add a PR to remove those obsolete assets from master |
Menu icons:
https://zpl.io/bLPD5n7
Main page:
https://zpl.io/V4Ol5MX
Validators tab:
https://zpl.io/aR1Pxne
Stake modal window:
https://zpl.io/29Oyw7W
Stake more modal window:
https://zpl.io/2GyOGDd
Stake (user not signed) modal window:
https://zpl.io/2jQw7Zx
Withdraw modal window:
https://zpl.io/aNPoDQZ
Move stake modal window:
https://zpl.io/bWqLjxn
https://zpl.io/25OrpB3
Active pools tab:
https://zpl.io/bABEl18
Active pools tab, user not signed:
https://zpl.io/bWqLX3M
Inactive pools tab:
https://zpl.io/V4Ol5pz
You can leave your comment here: https://invis.io/YPQNPDTW4ZB
The text was updated successfully, but these errors were encountered: