Skip to content
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

feat: tenderly simulation button in tx builder #119

Conversation

gsteenkamp89
Copy link

DRAFT

Scaffolding the UI work needed for Tenderly simulation in the oSnap plugin in snapshot.
We are waiting for final designs.

screenshots

Screenshot 2023-12-22 at 11 40 21

dependabot bot and others added 30 commits August 25, 2023 01:59
Bumps [snapshot-spaces](https://github.com/snapshot-labs/snapshot-spaces) from `d412e63` to `b024a3b`.
- [Commits](snapshot-labs/snapshot-spaces@d412e63...b024a3b)

---
updated-dependencies:
- dependency-name: snapshot-spaces
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [snapshot-spaces](https://github.com/snapshot-labs/snapshot-spaces) from `b024a3b` to `185c258`.
- [Commits](snapshot-labs/snapshot-spaces@b024a3b...185c258)

---
updated-dependencies:
- dependency-name: snapshot-spaces
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix playground params to use new form

* Update tune

---------

Co-authored-by: Chaitanya <[email protected]>
* fix(envs): pass brovider url to snapshot.js lib

* fix(deps): upgrade snapshot.js to 0.5.6

---------

Co-authored-by: Chaitanya <[email protected]>
Bumps [snapshot-spaces](https://github.com/snapshot-labs/snapshot-spaces) from `185c258` to `ec4ec9e`.
- [Commits](snapshot-labs/snapshot-spaces@185c258...ec4ec9e)

---
updated-dependencies:
- dependency-name: snapshot-spaces
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [snapshot-spaces](https://github.com/snapshot-labs/snapshot-spaces) from `ec4ec9e` to `1bcb478`.
- [Commits](snapshot-labs/snapshot-spaces@ec4ec9e...1bcb478)

---
updated-dependencies:
- dependency-name: snapshot-spaces
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [snapshot-spaces](https://github.com/snapshot-labs/snapshot-spaces) from `1bcb478` to `e4dc1a1`.
- [Commits](snapshot-labs/snapshot-spaces@1bcb478...e4dc1a1)

---
updated-dependencies:
- dependency-name: snapshot-spaces
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Fix space alias

* Test before mount

* Test
* Add votes and proposals count

* Fixes

* Remove demo variable

* Add button type

* Add three dot button and fix spacing

* Fix delegate modal

* Fixes

* Fix loaded delegates loading again

* Fix flash notification multi line

* Fix width

* Fixes

* Fixes

* Fix align

* Fix align

* Add full screen modal

* Fix min size on textarea

* Refactor statement

* Fix styles

* Add delegate info and make fixes

* Fix tune

* Fix full screen modal

* Fixes

* Add switch button

* Fixes

* Remove max height

* Fix gutter

* Fix

* Add paths

* Fixes

* Fix

* Fix nav

* Fix responsive

* Add self delegate text

* Fixes responsive

* Fix

* Fix

* Fixes

* Show error message

* Remove route

* Add dropdown and fixes

* Fix sticky

* Fixes

* Fix cursor issue

* Full width nav

* Convert modal to page and add breadcrumbs

* Cleanup

* Remove placeholder text

* Refactor and fixes

* Fixes loading balance

* Fix skeleton

* Fix onboarding

* Fix align

* Fix breadcrumb

* Fix skeleton

* Fix margin

* Fix align

* Load profiles async

* Fix search height

* Fix delegate route

* Fix spacing

* Handle different accounts

* Make card clickable

* Add action bar mobile

* Fix heading text

* Fix threedot

* Refactor round button and make sidebar design fixes

* Fix sort button

* Fix delegates list

* Fix action bar to bottom

* Delete old component

* Fix delegate action button

* Fix button switch to work with full width

* Fix lg

* Fix space heading lg

* Fix spacing delegate

* Remove spaces

* Fix statement preview and edit

* Fix card and spacing

* Fix delegate on delegate profile

* Handle errors

* Fix button

* Add un-delegate

* Fixes

* Fixes

* Disable save button if not edited

* Show unsaved warning

* Fix settings with new modal

* Full width footer

* Fix save button remain active after save

* Fix errors

* Handle login on delegate page

* Fix un-delegate

* Add raw number

* Remove history

* Go to profile instead of delegate profile

* Add copy

* Reduce footer width back to before

---------

Co-authored-by: Chaitanya <[email protected]>
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.195 to 4.14.198.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

---
updated-dependencies:
- dependency-name: "@types/lodash"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.7.13 to 3.8.3.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](apollographql/apollo-client@v3.7.13...v3.8.3)

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.2.2 to 14.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](lint-staged/lint-staged@v13.2.2...v14.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.14 to 10.4.15.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](postcss/autoprefixer@10.4.14...10.4.15)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [@braintree/sanitize-url](https://github.com/braintree/sanitize-url) from 6.0.2 to 6.0.4.
- [Changelog](https://github.com/braintree/sanitize-url/blob/main/CHANGELOG.md)
- [Commits](braintree/sanitize-url@v6.0.2...v6.0.4)

---
updated-dependencies:
- dependency-name: "@braintree/sanitize-url"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sam <[email protected]>
* fix(warnings): fix browser warnings

* chore(test): trigger

* chore(test): trigger
* Rename develop to master branch

* Update BasePluginItem.vue

---------

Co-authored-by: Wan <[email protected]>
…224)

Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.13.3 to 2.15.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](cypress-io/eslint-plugin-cypress@v2.13.3...v2.15.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
wa0x6e and others added 26 commits November 23, 2023 21:46
* fix: fix missing keys in profiles

* fix: keep same API
* Fix combobox nullable

* Filter networks depending on env

* Add messages for strategies and treasuries

* Remove tune

* Fixes

* Cleanup

* Fix warnign

* Narrow condition

* Refactor
* Remove duplicate import

* Cleanup main.ts

* Move router.ts into folder as is the default

* Cleanup package.json

* Cleanup vite config
Co-authored-by: ChaituVR <[email protected]>
Co-authored-by: Chaitanya <[email protected]>
* fix: Hide mainnet networks from networks list

* fix
* add activate osnap button

Signed-off-by: ryanwolhuter <[email protected]>

* bubble emits up

Signed-off-by: ryanwolhuter <[email protected]>

* add is osnap enabled prop

Signed-off-by: ryanwolhuter <[email protected]>

* add safe app link

Signed-off-by: ryanwolhuter <[email protected]>

* add disclaimer

Signed-off-by: ryanwolhuter <[email protected]>

* reduce text size

Signed-off-by: ryanwolhuter <[email protected]>

* update safe app url

Signed-off-by: ryanwolhuter <[email protected]>

* fix tailwind mistake

Signed-off-by: ryanwolhuter <[email protected]>

* use params object

Signed-off-by: ryanwolhuter <[email protected]>

* add is osnap enabled check

Signed-off-by: ryanwolhuter <[email protected]>

* add new osnap plugin

Signed-off-by: ryanwolhuter <[email protected]>

* use presence of plugin to determine if is enabled

Signed-off-by: ryanwolhuter <[email protected]>

* move enable osnap logic out of settings

Signed-off-by: ryanwolhuter <[email protected]>

* switch to composition api

Signed-off-by: ryanwolhuter <[email protected]>

* update types

Signed-off-by: ryanwolhuter <[email protected]>

* remove batch logic from transactions

Signed-off-by: ryanwolhuter <[email protected]>

* remove multisend from contract interaction

Signed-off-by: ryanwolhuter <[email protected]>

* remove multisend from transfer funds

Signed-off-by: ryanwolhuter <[email protected]>

* add correct token type

Signed-off-by: ryanwolhuter <[email protected]>

* refactor transfer nft

Signed-off-by: ryanwolhuter <[email protected]>

* refactor raw transaction input

Signed-off-by: ryanwolhuter <[email protected]>

* add model value and config types

Signed-off-by: ryanwolhuter <[email protected]>

* add model value types

Signed-off-by: ryanwolhuter <[email protected]>

* add transactions by treasury address type

Signed-off-by: ryanwolhuter <[email protected]>

* add high level interface types

Signed-off-by: ryanwolhuter <[email protected]>

* remove batches logic

Signed-off-by: ryanwolhuter <[email protected]>

* wire up module address query

Signed-off-by: ryanwolhuter <[email protected]>

* refactor raw transaction

Signed-off-by: ryanwolhuter <[email protected]>

* refactor contract interaction

Signed-off-by: ryanwolhuter <[email protected]>

* only allow one safe

Signed-off-by: ryanwolhuter <[email protected]>

* refactor proposal component

Signed-off-by: ryanwolhuter <[email protected]>

* rename prop for clarity

Signed-off-by: ryanwolhuter <[email protected]>

* auto select safe on mount

Signed-off-by: ryanwolhuter <[email protected]>

* fix reference error

Signed-off-by: ryanwolhuter <[email protected]>

* fix collectable fetch bug

Signed-off-by: ryanwolhuter <[email protected]>

* fix short name in type

Signed-off-by: ryanwolhuter <[email protected]>

* remove redundant labels

Signed-off-by: ryanwolhuter <[email protected]>

* add types for token fetch logic

Signed-off-by: ryanwolhuter <[email protected]>

* fix typo

Signed-off-by: ryanwolhuter <[email protected]>

* use update for event name

Signed-off-by: ryanwolhuter <[email protected]>

* add update transaction event to raw

Signed-off-by: ryanwolhuter <[email protected]>

* add placeholder data display

Signed-off-by: ryanwolhuter <[email protected]>

* add types for transfer nft

Signed-off-by: ryanwolhuter <[email protected]>

* rename is proposal to is read only

Signed-off-by: ryanwolhuter <[email protected]>

* add contract interaction validation

Signed-off-by: ryanwolhuter <[email protected]>

* clear parameter on method change

Signed-off-by: ryanwolhuter <[email protected]>

* add individual parameter examples

Signed-off-by: ryanwolhuter <[email protected]>

* use disabled inputs for read only

Signed-off-by: ryanwolhuter <[email protected]>

* remove unused files

Signed-off-by: ryanwolhuter <[email protected]>

* remove legacy function code

Signed-off-by: ryanwolhuter <[email protected]>

* organize exports

Signed-off-by: ryanwolhuter <[email protected]>

* rename for clarity

Signed-off-by: ryanwolhuter <[email protected]>

* use method name instead of index

Signed-off-by: ryanwolhuter <[email protected]>

* use existing data if it exists

Signed-off-by: ryanwolhuter <[email protected]>

* use list of one collectable when is read only

Signed-off-by: ryanwolhuter <[email protected]>

* re-add activate osnap button

Signed-off-by: ryanwolhuter <[email protected]>

* only show osnap button when plugin is present

Signed-off-by: ryanwolhuter <[email protected]>

* handle undefined assets

Signed-off-by: ryanwolhuter <[email protected]>

* make transaction fields possibly undefined

Signed-off-by: ryanwolhuter <[email protected]>

* disable dropdown when read only

Signed-off-by: ryanwolhuter <[email protected]>

* add loading safes state

Signed-off-by: ryanwolhuter <[email protected]>

* use modal select for transaction type

Signed-off-by: ryanwolhuter <[email protected]>

* add transaction builder styles

Signed-off-by: ryanwolhuter <[email protected]>

* add style variant for proposal

Signed-off-by: ryanwolhuter <[email protected]>

* re-add osnap modal

Signed-off-by: ryanwolhuter <[email protected]>

* use separate page for read only

Signed-off-by: ryanwolhuter <[email protected]>

* fix import error

Signed-off-by: ryanwolhuter <[email protected]>

* make address required

Signed-off-by: ryanwolhuter <[email protected]>

* use transfer funds as default

Signed-off-by: ryanwolhuter <[email protected]>

* add legacy plugin warning

Signed-off-by: ryanwolhuter <[email protected]>

* update is osnap enabled on window focus

Signed-off-by: ryanwolhuter <[email protected]>

* extract safe link logic

Signed-off-by: ryanwolhuter <[email protected]>

* use modal for safe select

Signed-off-by: ryanwolhuter <[email protected]>

* add comments for types

Signed-off-by: ryanwolhuter <[email protected]>

* remove redundant functions

Signed-off-by: ryanwolhuter <[email protected]>

* rename for clarity

Signed-off-by: ryanwolhuter <[email protected]>

* remove weird thing

Signed-off-by: ryanwolhuter <[email protected]>

* apply formatting

Signed-off-by: ryanwolhuter <[email protected]>

* revert original changes

Signed-off-by: ryanwolhuter <[email protected]>

* undo old changes

Signed-off-by: ryanwolhuter <[email protected]>

* add end newlines to match old

Signed-off-by: ryanwolhuter <[email protected]>

* update import

Signed-off-by: ryanwolhuter <[email protected]>

* undo accidental rename

Signed-off-by: ryanwolhuter <[email protected]>

* handle legacy plugin

Signed-off-by: ryanwolhuter <[email protected]>

* add no safes warning

Signed-off-by: ryanwolhuter <[email protected]>

* undo wrong change

Signed-off-by: ryanwolhuter <[email protected]>

* remove old redundant styles

Signed-off-by: ryanwolhuter <[email protected]>

* add doc comments for functions

Signed-off-by: ryanwolhuter <[email protected]>

* add proposal details types

Signed-off-by: ryanwolhuter <[email protected]>

* add comments

Signed-off-by: ryanwolhuter <[email protected]>

* add address input types

Signed-off-by: ryanwolhuter <[email protected]>

* add amount input types

Signed-off-by: ryanwolhuter <[email protected]>

* rename component for clarity

Signed-off-by: ryanwolhuter <[email protected]>

* add tokens modal types

Signed-off-by: ryanwolhuter <[email protected]>

* add tokens modal item types

Signed-off-by: ryanwolhuter <[email protected]>

* rename for clarity

Signed-off-by: ryanwolhuter <[email protected]>

* extract submit proposal modal to component

Signed-off-by: ryanwolhuter <[email protected]>

* add error notifications

Signed-off-by: ryanwolhuter <[email protected]>

* simplify proposal state

Signed-off-by: ryanwolhuter <[email protected]>

* split steps into components

Signed-off-by: ryanwolhuter <[email protected]>

* remove redundant action button state

Signed-off-by: ryanwolhuter <[email protected]>

* use shared header

Signed-off-by: ryanwolhuter <[email protected]>

* don't format amount on change

Signed-off-by: ryanwolhuter <[email protected]>

* add assertion failed in oo state

Signed-off-by: ryanwolhuter <[email protected]>

* remove balance logic from details query

Signed-off-by: ryanwolhuter <[email protected]>

* separate proposal details chain call

Signed-off-by: ryanwolhuter <[email protected]>

* refactor proposal state fetching

Signed-off-by: ryanwolhuter <[email protected]>

* warn about disputed proposals

Signed-off-by: ryanwolhuter <[email protected]>

* run prettier

Signed-off-by: ryanwolhuter <[email protected]>

* remove unused types

Signed-off-by: ryanwolhuter <[email protected]>

* move get paged events to events

Signed-off-by: ryanwolhuter <[email protected]>

* add doc comments

Signed-off-by: ryanwolhuter <[email protected]>

* rename for clarity

Signed-off-by: ryanwolhuter <[email protected]>

* do not show edit plugin modal when is osnap

Signed-off-by: ryanwolhuter <[email protected]>

* add readme

Signed-off-by: ryanwolhuter <[email protected]>

* apply formatting

Signed-off-by: ryanwolhuter <[email protected]>

* fix wrong function interface

Signed-off-by: ryanwolhuter <[email protected]>

* format

Signed-off-by: ryanwolhuter <[email protected]>

* merge latest from origin

Signed-off-by: david <[email protected]>

* fix network id interpretation, and crash when in space.members

* update changes from master

* fix: spacing changes on outcomes page for osnap plugin (#103)

* feat: improve look and feel of transaction builder in osnap (#104)

* fix: formatting

Signed-off-by: david <[email protected]>

* fix: reset to snapshot's standard 42px height (#105)

* feat: uma 1936 add dark mode osnap buttons (#106)

* fix: cosmetic issues (#107)

* fix: remove extra spacing (#108)

* fix: change osnap activated to use snapshot's primary blue color (#109)

* fix:  font colors in configure osnap modal (#111)

* fix: simplify osnap transactions (#112)

* fix: shorten module address in snapshot proposal transaction (#110)

* fix: change osnap opt in instructions container and checkbox (#113)

* fix: remove View on IPFS link (#114)

* fix: show pending notification on signed tx (#115)

* fix: remove custom inactive osnap button styles (#116)

* fix: remove request transaction execution warning message (#117)

---------

Signed-off-by: ryanwolhuter <[email protected]>
Signed-off-by: david <[email protected]>
Co-authored-by: ryanwolhuter <[email protected]>
Co-authored-by: Gerhard Steenkamp <[email protected]>
* Use snapshot config and remove eslint/prettier

* Update config version

* Fix useless class

* Fix missing dep

* Fix hyphen

* Fix import and missing if

* Fix @ hyphen
* fix: Avoid sending empty arrays to _in params of graphql

* fix

* fix
Copy link

linear bot commented Dec 22, 2023

Copy link

vercel bot commented Dec 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
snapshot ✅ Ready (Inspect) Visit Preview Dec 22, 2023 10:13am
snapshot-goerli ✅ Ready (Inspect) Visit Preview Dec 22, 2023 10:13am

@gsteenkamp89 gsteenkamp89 changed the base branch from uma to develop December 22, 2023 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants