Skip to content

v0.12.0

Compare
Choose a tag to compare
@kristoferlund kristoferlund released this 26 Sep 13:16
· 2057 commits to main since this release
8ee2cd5

Notable addition: Custom exports

Many communities want to reward contributors and turn the Praise score into a token distribution. Distribution needs range from ERC-20 token payouts to POAP deliveries to reputation tokens. To create these custom distributions, communities have had to resort to standalone tools such as RAD or plain old spreadsheets.

With this version, Praise introduces custom exports integrated with the Praise Dashboard. The functionality is represents a first iteration of what we hope to later upgrade into a more elaborate set of integrations with external tools and platforms. This version supports some basic calculations / transformations and context parameters.

Below is a short summary of the functionality, see givepraise.xyz for full documentation.

  1. Create a transformation map:
  "name": "Aragon Fixed Budget",
  "map": {
    "item": {
      "address": "ethereumAddress",
      "amount": "scoreRealized",
      "tokenName": ""
    },
    "operate": [
      {
        "run": "(item.amount / totalPraiseScore) * budget",
        "on": "amount"
      }
    ],
    "each": "(function each(item, context) { item.tokenName = context.token; return item; })(item, context)"
  },
  "context": {
    "budget": "number",
    "token": "string"
  },
  "filterColumn": "address" 
}
  1. Configure Praise to use the map and any context parameters:

image

  1. Initiate the export from the Periods page:

image

Added

  • API: Custom praise exports using transformation maps that can perform calculations on Praise data #549 #532
  • Frontend: New items on the main navigation #596 #430
    • Give us feedback
    • Latest changes
    • Docs

Fixed

  • API: Fix/evenly assign quantifiers prevent overlap #573 #535
  • Frontend: Custom emojis get the wrong size when displayed in Praise dashboard #592
  • API: Settings are now allowed to have empty values #597
  • Frontend: Update Search Input in dark mode #594
  • Frontend: Add a replace option to NavItem to better handle subpage navigation and backlink clicks #579
  • Frontend: Fix quantifier dark mode and correct onclick behaviour #588
  • Frontend: Better darkmode looks for analytics #570
  • Frontend: Show placeholder while loading avatar image #574

Upgrade Instructions

See standard upgrade instructions at: https://givepraise.xyz/docs/server-setup/upgrade-praise