Skip to content

Releases: decred/politeiagui

politeiagui v1.4.0

23 Aug 12:57
8bd4848
Compare
Choose a tag to compare

This release includes the following additions and improvements. See the changelog for the full list of changes.

  • Show censored comment reason and the moderator who did the action.
  • Allow temporary comment edits.
  • Improvements to the Drafts UX.
  • Add info message to legacy proposals pointing to the original proposal data on the github repo.
  • Initial work for the plugins architecture.

Changelog

This release consists of 76 commits from 7 contributors which totals to 677 files changed, 45,288 additional lines of code and 10,179 deleted lines of code.

Code Contributors (alphabetical order)

  • Amir Massarwa (amass01)
  • Đàm Việt Anh (vibros68)
  • Dave Collins (davecgh)
  • Jamie Holdstock (jholdstock)
  • Luke Powell (lukebp)
  • Tiago Alves Dulce (tiagoalvesdulce)
  • Victor Guedes (victorgcramos)

politeiagui v1.3.1

20 Dec 18:15
8f4a9c1
Compare
Choose a tag to compare

This patch release makes various minor fixes and improvements. See the
changelog for the full list of changes.

Changelog

This release consists of 8 commits from 5 contributors which totals to 30 files
changed, 604 additional lines of code and 199 deleted lines of code.

[78c6931] docs: Add v1.3.0 release notes. [lukebp]
[e67e0bb] Proposal card: Fix legacy abandoned indication. [amass01]
[1ccf8f7] fix: Infinite loading on admin approved list [victorgcramos]
[3646e26] feat: remove link button from editor toolbar [tiagoalvesdulce]
[c557641] fix: User menu alignment on mobile. [victorgcramos]
[bed1ac4] fix: Votes timestamps download bug. [victorgcramos]
[19e2970] e2e: Proposal Create mock structure. [vibros68]
[8f4a9c1] fix: show proposal published and edit dates [victorgcramos]

Code Contributors (alphabetical order)

  • Amir Massarwa (amass01)
  • Đàm Việt Anh (vibros68)
  • Luke Powell (lukebp)
  • Tiago Alves Dulce (tiagoalvesdulce)
  • Victor Guedes (victorgcramos)

politeiagui v1.3.0

22 Nov 20:10
e9bb7b6
Compare
Choose a tag to compare

This release includes the following additions and improvements. See the
changelog for the full list of changes.

  • Proposal billing statuses. Admins now have the ability to update the
    billing status of a proposal. Billing statuses include active, closed, and
    completed. This will allow Decred's contractor management system (CMS) to
    prevent billing against proposals that are no longer active and it will
    allow Politeia to categorize proposals by billing status. For example, a
    user will be able to view all proposals that are actively being billed
    against. This filtering has not been implemented yet, but will be in the
    future.

  • Proposal statuses. Proposals now have a proposal status that maps out
    all possible paths a proposal can take during it's lifecycle. Examples of
    proposal statuses include under review, abandoned, approved, rejected,
    active, and completed. The status of proposal is displayed as a tag in the
    upper right hand corner of the proposal in both the list views and proposal
    details page.

  • SEO meta tags. SEO meta tags were added to improve search engine results
    for Politeia. Politeia links posted to Twitter will now also include a link
    image (Twitter card).

  • Plugin testing infrastructure. e2e testing infrastructure was added to
    allow e2e tests to be written for the composable plugin layer that is
    currently being worked on. It provides a scalable framework for mocking
    plugin test data and allows developers to create custom commands for testing
    plugin API.

  • Various UX improvements.

    • The dark mode toggle switch was updated with some new light/dark mode
      graphics.
    • Various bugs and UX issues related to comment thread navigation were fixed.
    • Anytime a proposal is censored or abandoned, the username of the admin who
      made the status change and the reason they gave for the status change are
      now display on the proposal details page.
    • The error message for user identity errors was improved. It tells the user
      how to fix the error and provides a link to their user details page to
      do so.
    • The date display format was change from "MM/DD/YYYY" to the more human
      readable "Day Month Year". For example, 11/15/2021 will now be displayed
      as 15 Nov 2021.

Changelog

This release consists of 27 commits from 5 contributors which totals to 135
files changed, 5,239 additional lines of code and 1,357 deleted lines of code.

docs: Add v1.2.0 release notes. [thi4go] (#2595)
docs: Add E2E testing tutorial. [victorgcramos] (#2591)
test: Add e2e tests for 2FA workflow [victorgcramos] (#2601)
refactor: Clear 2FA code on error. [vibros68] (#2621)
seo: Add SEO meta tags for CMS and Pi. [victorgcramos] (#2614)
feat(theme toggle switch): Update theme toggle switch styles. [vibros68] (#2588)
feat: Add set billing status & proposal statuses. [amass01] (#2609)
feat: Display proposal status reason. [amass01] (#2625)
feat: multiple billing status changes. [amass01] (#2629)
feat: Improve identity error message. [amass01] (#2623)
refactor: Replace hard coded page sizes. [vibros68] (#2622)
fix: Proposal diff bugs. [vibros68] (#2639)
ux: Add min loading time to list views. [vibros68] (#2628)
fix: Comments navigation issues [victorgcramos] (#2638)
feat: change format date view to a more readable format [vibros68] (#2640)
test: add teste2e dir to lint, prettify commands [amass01] (#2646)
test: E2E Mock API structure [victorgcramos] (#2624)
fix: Go Back link navigation [victorgcramos] (#2658)
feat: make proposal details title a link [vibros68] (#2651)
fix: Display 2FA on Login Modal [victorgcramos] (#2661)
fix: billing and summary on rfp proposals. [victorgcramos] (#2660)
fix(Proposals List): do not reorder the list [tiagoalvesdulce] (#2663)
fix: Identity error on billing change modal [victorgcramos] (#2659)
proposals list: fix run-off voting button [tiagoalvesdulce] (#2665)
fix: Admin login bug on proposal details modal. [victorgcramos] (#2666)
fix: Loading animation bug on proposals list. [victorgcramos] (#2668)
fix: Load billing md after admin login. [victorgcramos] (#2670)

Code Contributors (alphabetical order)

  • Amir Massarwa (amass01)
  • Đàm Việt Anh (vibros68)
  • Thiago F. Figueiredo (thi4go)
  • Tiago Alves Dulce (tiagoalvesdulce)
  • Victor Guedes (victorgcramos)

politeiagui v1.2.0

27 Sep 16:28
9ed0a0d
Compare
Choose a tag to compare

This release includes the following feature additions, bug fixes and
improvements:

  • Proposal author updates (#2549).
    Proposal authors are now able to give updates on the status of their
    proposal. Updates take the form of new comment threads. Each update creates a
    new comment section in politeiagui that users are able to interact with. The
    proposal author can give as many updates as they would like. Only one update
    thread is allowed to be active at a time. When an author creates a new update
    thread, the previous update thread is locked.

  • Select diff viewer versions (#2524).
    This feature makes it possible to show the diff between any two versions of a
    record. Previously, a user could only use the diff viewer to compare a record
    version with its previous version, e.g. if you wanted to see the diff for
    version 3, it would show the diff between version 3 and version 2.

  • Embed image button (#2567).
    An embed image button has been added to allow a user to insert an image into
    the proposal markdown file. Previously, the only way to do this was to drag
    and drop the image into the markdown editor at the desired location.

  • Optimistic comment vote updates (#2520).
    Comment votes are now executed optimistically in order to improve the comment
    vote UX. Previously, the vote would not be displayed in the UI until the
    server returned a successful response, creating a delay between when the user
    clicks the upvote/downvote button and when the vote is displayed by the UI of
    the user casting the comment vote. The UI will now display the vote
    immediately on click of the upvote/downvote button, then rewinds the vote if
    the server returns an error.

Note: the politeia v1.2.0 release includes additional features like
proposal billing statuses and proposal statuses. These have not been
implemented in politeiagui yet.

Changelog

This release consists of 35 commits from 6 contributor which total to 112 files
changed, 4,667 additional lines of code, and 1,587 deleted lines of code.

docs: Add v1.1.0 release notes. (#2526)
fix: Use short token on record details page (#2536)
feat: Comment vote optimistic updates (#2520)
feat: allow user to select diff versions (#2524)
e2e: new proposal metadata fields. (#2512)
fix: render markdown tables correctly (#2542)
fix: Consistent error message for invalid identity (#2558)
Add SECURITY.md file (#2555)
fix: Make list item format consistent (#2554)
fix: Use correct plugin error messages (#2545)
fix: Under review tab pagination bug. (#2552)
fix: Comments view all navigation bug (#2559)
fix(edit proposal): validate initial start date. (#2560)
fix: e2e tests. (#2566)
feat(new proposal): improve embed image button UX (#2567)
fix: use full token in dcrdata charts link. (#2571)
fix: Use correct delay for comment votes e2e tests. (#2579)
fix: keep comments redux store on logout. (#2582)
comments: Add proposal author updates (#2549)
fix: Autofocus adjustments on 2FA digits input (#2553)
fix: Avoid registration error after unpaid user logout (#2568)
fix: Display error message on 2FA modal. (#2548)
fix: Under Review pagination issues for big screens. (#2581)
fix: Record submission error message position (#2589)
feat: Add flat mode explainer. (#2572)
fix: Show login modal when user session expires. (#2541)
proposal: Data persistence after unvetted logout. (#2585)
fix: Remove login modal duplicate props. (#2594)
fix: 2FA modal screen flickering. (#2596)
fix: Under Review tab infinite loading. (#2603)
fix: Comments timestamp download infinite loop. (#2608)
test: delete only from Comments downloads e2e test. (#2611)
fix: Type error on comment bundle download (#2610)
seo: Add SEO meta tags. (#2612)
Revert "seo: Add SEO meta tags." (#2613)

Code Contributors (alphabetical order)

  • Amir Massarwa (amass01)
  • Đàm Việt Anh (vibros68)
  • Degeri (degeri)
  • Luke Powell (lukebp)
  • Thiago F. Figueiredo (thi4go)
  • Victor Guedes (victorgcramos)

politeiagui v1.1.0

11 Aug 20:34
a3652f8
Compare
Choose a tag to compare

This feature release includes the following feature additions as well as a
number of bug fixes and minor improvements.

  • Require additional proposal metadata fields on proposal submission (amount,
    start date, estimated end date, and domain).

  • Combine the "In Discussion" and "Voting" tabs into a single "Under Review"
    tab.

  • Allow users to view the raw markdown of a record.

  • Display additional metadata for censored and abandoned proposals such as the
    reason the proposal was censored and the admin that performed the action.

  • Don't render markdown formatting in comments that changes the size of the
    comment text.

  • Add a warning message to the markdown editor that recommends people draft
    the content offline.

  • Render inline images in the markdown preview.

  • Improve the flat mode toggle button UX.

Note: this release enables the blob directive on the Content-Security-Policy
header. This change must also be made in the nginx config. See #2495 for
more details.

Changelog

This feature release consists of 48 commits from 7 contributor which total to
105 files changed, 3,745 additional lines of code, and 7,839 deleted lines of
code.

Add docs/release-notes. (decred/politeiagui#2412)
Add cursor pointer in themeToggleLabel (decred/politeiagui#2410)
build(deps): bump dns-packet from 1.3.1 to 1.3.4 (decred/politeiagui#2413)
feat: allow user to see raw markdown (decred/politeiagui#2416)
fix: use short token when displaying legacy proposal. (decred/politeiagui#2420)
Explain how long it takes to update proposal credit balance (decred/politeiagui#2417)
fix: properly show comments count on user proposals (decred/politeiagui#2427)
fix bug unfetchedTokens not correct at the first time loading (decred/politeiagui#2422)
fix: token inventory pagination adjustments (decred/politeiagui#2428)
fix: published and edited dates and legacy rfp submissions links (decred/politeiagui#2430)
fix: About politeia copy. (decred/politeiagui#2432)
build: upgrade pi-ui (decred/politeiagui#2433)
feat: create a button style flat mode switch and align it horizontally with the sorting options dropdown (decred/politeiagui#2434)
fix: user proposals pagination (decred/politeiagui#2441)
fix: proposal batching on RFPs (decred/politeiagui#2442)
fix: flat mode filcker (decred/politeiagui#2437)
fix: do not show error msg when paywall is off (decred/politeiagui#2446)
fix: abandoned proposals pagination bug (decred/politeiagui#2447)
fix: do not fetch summaries and count for rfp submissions details + improve initial fetch condition (decred/politeiagui#2449)
fix: change proposal rfp linkto default param to string (decred/politeiagui#2457)
fix: use correct data for new proposals on user proposals list (decred/politeiagui#2463)
Download bundle UX improvement (decred/politeiagui#2453)
fix: comments votes (decred/politeiagui#2468)
feat: Improve censored proposals UX (decred/politeiagui#2454)
Add production deployment docs. (decred/politeiagui#2475)
Change link color to brighter blue when the website is in dark mode (decred/politeiagui#2407)
fix: avoid infinite loading state on dcc details (decred/politeiagui#2305)
fix: Persist public data on the proposals state tree on logout (decred/politeiagui#2479)
fix: display placeholders while loading initial records batch (decred/politeiagui#2484)
fix: use correct comments width on firefox (decred/politeiagui#2483)
fix: Use record short token on action redirects (decred/politeiagui#2489)
Fix bug: version is string lead to fail when request records details (decred/politeiagui#2488)
feat: upgrade react-markdown and block comments headers rendering (decred/politeiagui#2494)
fix: enable blob directive on CSP headers (decred/politeiagui#2495)
test(proposals list): add e2e tests for proposals list (decred/politeiagui#2473)
feat: add tooltip to warn user about draft issues (decred/politeiagui#2500)
fix: display new proposal button on firefox for small screens (decred/politeiagui#2492)
Status Change: Use reason field instead of message. (decred/politeiagui#2502)
feat(new proposal): add additional proposal metadata. (decred/politeiagui#2469)
fix: e2e tests. (decred/politeiagui#2503)
fix: adjust diff modal width and display loading indicator (decred/politeiagui#2504)
deps: sync yarn.lock (decred/politeiagui#2515)
Combine 'In Discussion' and 'Voting' tabs (decred/politeiagui#2431)
fix: make comments flat mode button clickable (decred/politeiagui#2521)
Proposal details: copyable full-length token. (decred/politeiagui#2523)
fix: add files to new proposal and edit proposal. (decred/politeiagui#2527)
fix: Make admin proposals page work. (decred/politeiagui#2532)
fix: remove vote details call from proposal details page (decred/politeiagui#2534)

Code Contributors (alphabetical order)

  • Amir Massarwa (amass01)
  • Đàm Việt Anh (vibros68)
  • Luke Powell (lukebp)
  • Shubham Kumar (x-walker-x)
  • Thiago F. Figueiredo (thi4go)
  • Tiago Alves Dulce (tiagoalvesdulce)
  • Victor Guedes (victorgcramos)

politeiagui v1.0.1

26 May 18:16
c63222f
Compare
Choose a tag to compare

politeiagui v1.0.1

This patch release fixes various bugs in politeiagui.

Changelog

This patch release consists of 29 commits from 4 contributor which total to 140 files changed, 10,394 additional lines of code, and 4,842 deleted lines of code.

Fix archived proposal comments link (decred/politeiagui#2342)
fix: Censor comments bugs (decred/politeiagui#2347)
fix: duplicte policy calls. (decred/politeiagui#2343)
fix: trim email on login (decred/politeiagui#2348)
deps: sync pi-ui (decred/politeiagui#2355)
fix: VersionPicker prop type console warning. (decred/politeiagui#2356)
README: dd e2e tests section. (decred/politeiagui#2363)
README: typo (decred/politeiagui#2366)
Simplify unvetted record URL. (decred/politeiagui#2352)
fix: link see in context and view all to the right place (decred/politeiagui#2360)
feat: scroll to single comment thread comment area (decred/politeiagui#2368)
fix: align view all link and flat mode toggle left (decred/politeiagui#2367)
fet: add rfp submission info tooltip (decred/politeiagui#2370)
fix: yarn test. (decred/politeiagui#2364)
copy: updte About Politeia. (decred/politeiagui#2378)
fet: add hook to verify if user has totp verified (decred/politeiagui#2373)
e2e: Add setup-test-users.sh to setup test users. (decred/politeiagui#2381)
build(deps): upgra(decred/politeiagui#2391)
e2e: make tests green again. (decred/politeiagui#2383)
Fix comments bugs (decred/politeiagui#2384)
fix: Initial Load Flickering. (decred/politeiagui#2395)
fix: Paywall button flickering on initial load (decred/politeiagui#2398)
fix: show user not found error (decred/politeiagui#2396)
Fix download timestamps link and versions diff (decred/politeiagui#2401)
fix: delete search results on logout (decred/politeiagui#2405)
fix: Admin list tabs. (decred/politeiagui#2406)
fix: New Proposal button is disabled when paywall is off. (decred/politeiagui#2409)
feat: normalize redux state with short tokens (decred/politeiagui#2365)
fix: remove expensive results call from proposal details page (decred/politeiagui#2411)

Code Contributors (alphabetical order)

  • Amir Massarwa
  • Luke Powell
  • Thiago Figueiredo
  • Tiago Alves Dulce

politeiagui v1.0.0

20 Apr 18:36
61b2b33
Compare
Choose a tag to compare

politeiagui v1.0.0

This release of politeiagui corresponds to the politeia v1.0.0 release. It introduces the politeiagui changes required to support the new politeia backend and APIs.

proposals-archive

The previous politeia instance has been archived and now resides at proposals-archive.decred.org. A large amount of proposal data from these archived proposals has been hardcoded into politeiagui so that they are still displayed in the proposal list views of politeiagui. This hardcoding is a temporary measure and will be removed in a future release once the archived proposals are no longer active.

Changelog

This release consists of 13 commits with a total of 147 files changed, 9,642 additional lines of code, and 2,374 deleted lines of code.

tlog: pi adjustments for new tlog api (decred/politeiagui#2306)
fix: bundle/timestamp structure download fix (decred/politeiagui#2313)
Error handling: add PiUserPluginError to map piuser plugin error codes (decred/politeiagui#2320)
feat: include registration fee to the purchases history table (decred/politeiagui#2322)
Fix proposals state after status change (decred/politeiagui#2326)
Add policy for the new backend APIs (decred/politeiagui#2327)
fix: make sure all vote data is consistent on redux state (decred/politeiagui#2315)
Fix first comment display and report as spam button (decred/politeiagui#2329)
fix: get RFP submissions vote summaries using short token (decred/politeiagui#2323)
fix: fix edit state to work with short tokens (decred/politeiagui#2331)
fix: remove initial conditional fetch (decred/politeiagui#2332)
fix: update abandoned list properly (decred/politeiagui#2333)
feat: show proposals-archive (decred/politeiagui#2340)

politeiagui v0.2.0

26 Mar 20:18
a84c429
Compare
Choose a tag to compare

This tag corresponds to the politeia v0.2.0 tag. It marks the last politeiagui commit that still supports the decred proposal system API. This API is being replaced by an application agnostic API.