Merge branch 'main' of github.com:FlipsideCrypto/user_metrics

This commit is contained in:
Angela Minster 2023-04-28 15:59:16 -04:00
commit b667d35413
9 changed files with 5468 additions and 5681 deletions

View File

@ -17,7 +17,7 @@ dynamic_buttonInput <- function(inputId) {
package = "cosmosDynamicWidget",
script = "dynamic_button.js"
),
"",
configuration = list(),
list(), htmltools::tags$div
)
}

View File

@ -6,8 +6,6 @@ const DynamicAppUser = (props) => {
const { user } = useDynamicContext();
useEffect(async () => {
console.log("app user ");
if (user?.verifiedCredentials) {
let wallets = [];
if (window?.keplr) {

View File

@ -26,7 +26,6 @@ const TextInput = ({ configuration, value, setValue }) => {
settings={{
appName: "CosmoScored",
multiWallet: true,
shadowDOMEnabled: false,
environmentId: "88e7cf93-cd57-4664-b5da-9682b46074e0",
eventsCallbacks: {
onAuthSuccess: async (args) => {

View File

@ -0,0 +1,21 @@
/* Get a fancy font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Yusei+Magic&display=swap');
body {
background-color: black;
color: white; /* text color */
}
/* Change header text to imported font */
h2 {
font-family: 'Yusei Magic', sans-serif;
}
/* Make text visible on inputs */
.shiny-input-container {
color: #474747;
}
.dynamic-shadow-dom{
--dynamic-border-radius: 0px;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
SELECT tx_signer AS user_address
, tx_receiver AS nf_token_contract
, COALESCE(project_name, '') AS nft_project
, COUNT(1) AS n_mints
FROM NEAR.CORE.EZ_NFT_MINTS
WHERE block_timestamp >= current_date - 180
GROUP BY 1, 2, 3