ambiretech / adex-platform Goto Github PK
View Code? Open in Web Editor NEWAdEx Platform UI
Home Page: https://platform.adex.network
License: GNU General Public License v3.0
AdEx Platform UI
Home Page: https://platform.adex.network
License: GNU General Public License v3.0
A reopened form that was X'ed out will still have old input if there was any.
a new page in the app which should contain:
The pending (counterfactual) state is needed cause the app will allow users to use it without the identity contract being deployed (before receiving enough tokens to deploy it)
When we add a metamask/trezor/ledger, we should auto-remove the AdEx recovery service, but also perhaps warn “warning: once you do that, you’d no longer be able to recover your account by email”; warning is tricky cause it must not discourage the user from doing it, which will increase their security greatly
Anti-bricking: before doing any execute
on the identity, we should check whether there'd be at least one key with a full privilege level left in that Identity; if not, we shouldn't allow that execute
; otherwise the Identity contract may be bricked
since EIP712 is super unstable, we can consider doing something like Airswap, where they prefix the message with their own prefix
e.g. "By signing this message, I acknowledge I am signing an AdEx bid with this hash:"
it adds a level of UX and a small but significant improvement to security, without EIP712
I am unable to create a new ad unit in advertiser mode, i tried to create new ad unit standalone or inside a campaign none of them work. It is a bit annoying the error says "Error creating AdUnit:[object Object]. I think you should have some unit tests that check these essential functions upon every release to prevent this from getting through to users.
v.2.1.5-beta
When you press to delete a slot says : "Delete Item - undefined" even if the slot has a name.
Integrate the airswap widget
this is useful for users who don't have metamask but want to interact with the network
It's obviously not as secure as Metamask or a HW wallet, so the user must be warned
Bug1: Archive Campaign dialog button "No" is missing an N so it displays "o". Please see screenshot here: https://imgur.com/a/Arf9QqO.
Bug2: Create new ad slot wizard crop feature turns avatar image or fallback image to black if the image has transparency. Please see screenshots here: https://imgur.com/a/vjtpsPJ
Checked in, "New Slot", "Create Account" and "Restore Account" Dialogs, Cancel button does not close the dialog.
Need check if identity is deployed when getting account stats
So I'm using AdEx dapp on Android with Firefox app, when I sign in metamask extension nothing happens on AdEx.
Is there any button to tap? I mean the AdEx dapp is not showing proprely on my device and I can't zoom out the page.
Bids are not synced. Check the the state to be updated or make call on component mount.
Check for existing grant account in local storage by email and password.
Do not allow to use the same key from mail and password when creating new account.
related to #23
also related to the new protocol (adex-protocol-eth)
considerations:
consider an "ad spaces" or "ad slots" screen where publishers can register supply
this is currently done, we just need to decide whether to rename it and adapt it to the new protocol (to work with the Market)
Tried integrating Publisher Ad Slot in two different Wordpress websites.
Everything seems to be okay with the integration, but when I load the Wordpress website, only an empty rectangle displays without the Fallback image for the Ad slot. The rectangle is clickable and when I click, the Fallback image opens in a new window.
Make hd-wallet component
this report should work for both sides (advertiser/publisher)
For the advertiser, it should be per-campaign, with a breakdown of the spend by website
For the publisher, it should be time-based, with a total aggregate of how much they earned
it can be used for accounting purposes in most jurisdictions; unfortunately it probably won't be as good as having an invoice, but it's something
This can actually be applied on multiple levels of the stack, including the SDK/validator stack; to allow stuff like "exclude pornography from my site"
When creating 728x90 ad slot I have no problems uploading 728x90 fallback and avatar images, but when I open the dashboard the images in slots overview and in each slot are stretched. When I open an image it looks cropped.
This might be a problem for publishers for they won't be able to tell differences between similar adslots and preview their visuals.
Implement the new sign up flow which is designed for the v4 adex protocol.
Also see #43
The user is greeted with two options:
later down the road we can implement the full quick account proposal: AmbireTech/adex-protocol-eth#35
There should be a UI In the dApp that allows publishers to see all campaigns they've earned from: expired/exhausted(past) AND active
to guarantee publisher security, inclusion proofs must be checked on the client side (in the dapp)
in other words, the adex-protocol-eth
js libs should be used to check whether the latest signed state (as collected by the validators, directly) really guarantees you the revenue that it appears to
and just use something real world sensible like "AdEx Portal"? or even "AdEx Network"
Advertiser Cancel bid stays as it is not confirmed when it is.
Where stuff can be viewed without signing in
Basically just "browse" mode
the new dapp should have a "Revenue" page that shows all the campaigns a publisher has earned from, how much they've earned, how much they've withdrawn and how much they have left to withdraw
they can easily withdraw/batch withdraw from this page, as well as authorize the relayer to do them
the button should be called "Turn automatic withdrawals on" and should work through the RoutineAuthorizations on the Identity contract
maybe we should use the term "Claim" rather than "withdraw", cause there will be a "Withdraw" here #43
this would be tough and would require new APIs from adex-market, cause we need to track how much we've paid per a specific time period
in other words, the market would need to "snapshot" the earnings periodically
Deploying an Identity (without a grant) will require the address to be funded first. The relayer would check if the funds are sent before it will accept the deploy request.
This is why we should employ the following mechanism:
identityAddr
; we save those in localStorage
probably MIT
when you register, use a username.adexnetwork.eth (or username.adex.network) that points to your addr
uniswap can work better for most things we need
I can't save changes to a campaign or archive a campaign in advertiser mode It is only possible to create new campaigns!
v.2.1.5-beta
Advertisers and Publishers should have the ability to add tags to their adUnits/AdSlots in order to have some basic filtering for the bids.
is this useful for us?
uniswap is awesome, but the problem is it does not work with ADX cause of the ERC20 return bug
we can shim this on multiple levels
Advertisers should be able to configure whitelists/blacklists of ad slots/ad slot categories/ad slot publishers when creating campaigns
likewise, publishers should be able to configure whitelist/blacklist of ad units/campaigns/advertisers
related to AmbireTech/adex-adview-manager#63
instead of using the old adex-core
, this repo should use the new adex-protocol-eth
contracts: https://github.com/AdExNetwork/adex-protocol-eth
A form with values that was toggled off on purpose will still have those old values when user wants to enter new/different values. Currently, the form does not clear on toggle since it can be toggled/canceled/x'd by accident (mentioned here). However, there can be instances where it was toggled off on purpose. For those cases, a reset button to clear the form might be handy to clear out old inputs that haven't been saved.
Restore account dialog header says "create account" istead of " Restore Account"
Error, when trying to add campagin Error creating Campaign: [object Object]
Tested on Brave and Chrome.
Screenshot: https://gyazo.com/2999ed21144e2d47c7ed1d83f293000f
v.2.0.3-beta
Saving updated description gives an error:
https://i.imgur.com/cF2dr4p.png
Err updating item: - <title>Error</title>
Cannot PUT /items
in chrome 65.0.3325.146
in concert with our repositioning to a 'platform'
Suggestion: make it more noticable and tab-like; e.g. "[Publisher][Advertiser]"
the campaigns screen should contain a table of all campaigns that you have open, with deposit, USD equivalent of the deposit, % of deposit distributed, and controls ("Cancel" button)
a history of transactions done from the identity contract, and their status (pending or not)
should be an aggregate of everything on-chain and everything on the relayer
should have a division to show routine authorizations
https://ethereum-magicians.org/t/eip-1077-executable-signed-message/405
https://eips.ethereum.org/EIPS/eip-1077
This will basically allow setting up with nothing more than a main device + backup device + potentially seed phase
and merely depositing ADX to the platform
Basically the idea is as follows:
We create a SC that we deploy via a relayer addr and give that pre-computed SC address to the user (sc address being the hash of the code + tx nonce)
once user deposits more than a min amount of adx for that, we depoy the SC (the relayer deploys the SC)
this SC is also deployed in a way that it gives ability to N addresses to control it, those being the addresses corresponding to the user's PKs (e.g. PC pk, mobile pk, backup seed derived pk)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.