Releases: decred/politeiagui
politeiagui v1.4.0
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.
- docs: Add v1.3.1 release notes. by @lukebp in #2696
- e2e proposal edit mock structure by @vibros68 in #2692
- comments: Show censored comments reason. by @amass01 in #2694
- comments: Add temporary comment edits. by @amass01 in #2702
- e2e: Proposal Details mock structure by @vibros68 in #2705
- fix: Show published date for unvetted proposals. by @victorgcramos in #2712
- fix: Avoid proposals list submissions requests by @victorgcramos in #2698
- Show proposal vote block heights by @vibros68 in #2701
- fix: Fetch usernames only for censored comments. by @amass01 in #2710
- fix: quorum text by @tiagoalvesdulce in #2695
- fix: Handle block heights for unvetted proposals. by @victorgcramos in #2715
- add e2e: Comments mock structure by @vibros68 in #2713
- Plugin architecture by @tiagoalvesdulce in #2486
- feat: Drafts UX improvements. by @victorgcramos in #2726
- fix: Drafts submission and metadata issues. by @victorgcramos in #2729
- fix: Admin proposals issues + E2E tests by @victorgcramos in #2731
- test(e2e): Admin comments mock structure. by @victorgcramos in #2732
- test(e2e): Author Updates mock structure. by @victorgcramos in #2733
- feat: apply ButtonIcon component by @tiagoalvesdulce in #2679
- chore: test against node 16 by @tiagoalvesdulce in #2735
- core: Get correct params from route. by @victorgcramos in #2737
- test: Module resolver for politeiagui packages. by @victorgcramos in #2739
- feat: Add API error handlers. by @victorgcramos in #2738
- comments: add Comments Plugin by @victorgcramos in #2724
- multi: Add Themes on Pi app. by @victorgcramos in #2742
- feat(common-ui): Add Markdown component. by @victorgcramos in #2741
- multi: Add Default Pi Layout on Home Page by @victorgcramos in #2748
- feat(common-ui): Add Modal Confirm and Provider by @victorgcramos in #2749
- multi: Proposals List with Infinite Scroller by @victorgcramos in #2750
- multi: Add Proposal Loader + Store Listeners by @victorgcramos in #2755
- feat(cli): add plugins flag to newapp command by @tiagoalvesdulce in #2754
- multi: Add proposal details page. by @victorgcramos in #2723
- comments: Markdown + Error Handlers by @victorgcramos in #2758
- comments: Remove formik and use react-hook-form by @victorgcramos in #2760
- comments: Fix comments sort alignment. by @victorgcramos in #2761
- feat(pi): Add Sidebar on Home page by @victorgcramos in #2764
- feat(common-ui): Add External Link Modal by @victorgcramos in #2768
- multi: Add Navbar by @victorgcramos in #2763
- legacy: Fix Proposal Dates. by @victorgcramos in #2771
- Update chat link by @jholdstock in #2773
- Use listeners for plugin integration by @tiagoalvesdulce in #2769
- fix: do not submit empty comments by @tiagoalvesdulce in #2783
- chore: build and test on node v18 by @tiagoalvesdulce in #2784
- Minor visual enhancements for proposals by @victorgcramos in #2780
- multi: Add Proposal New page by @victorgcramos in #2751
- multi: Plug and Play structure. by @victorgcramos in #2775
- multi: Tests minor fixes by @victorgcramos in #2787
- fix(core/router): allow anchor to wrap other elements and fix external links by @tiagoalvesdulce in #2793
- legacy: Minor proposals UX improvements by @victorgcramos in #2795
- feat: Proposal details attachments by @victorgcramos in #2792
- multi: webpack fixes by @tiagoalvesdulce in #2798
- multi: Plugins Setup fixes by @victorgcramos in #2799
- multi: Improve proposals diff and versions by @victorgcramos in #2789
- feat: Comments links on proposals list by @victorgcramos in #2802
- multi: Persist theme on page refresh by @victorgcramos in #2801
- fix: Correct grammar on a couple of user pages. by @davecgh in #2805
- common-ui: Show modal for Md external links by @victorgcramos in #2804
- Decouple listeners effects by @tiagoalvesdulce in #2800
- feat(legacy): remove hardcoded legacy proposals by @tiagoalvesdulce in #2762
- fix: Remove empty legacy indicator by @victorgcramos in #2811
- docs: Update about politeia. by @lukebp in #2813
- fix(legacy): disabled edit button alignment by @victorgcramos in #2822
- fix(legacy): RFP submissions ctrl+click bug by @victorgcramos in #2817
- fix: Avoid loop on proposal details page by @victorgcramos in #2819
- multi: legacy politeiagui fixes by @tiagoalvesdulce in #2832
- feat: add politeiagui-scripts CLI toolbox by @tiagoalvesdulce in #2827
- feat(politeiagui-scripts): add jest/babel configuration by @tiagoalvesdulce in #2838
- style(cli): improve code organization by @tiagoalvesdulce in #2834
- politeiagui-scripts: Improve 'unknown script' message by @victorgcramos in #2839
- feat: keep quorum label for approved and rejected proposals by @tiagoalvesdulce in #2836
- legacy: Fix invalid signature on user key verify by @victorgcramos in #2842
- feat: Pi plugin enhancements by @victorgcramos in #2823
- comments: code cleanup by @tiagoalvesdulce in #2843
- legacy: RFP submissions view fixes by @victorgcramos in #2845
- test: Plugin Architecture E2E Integration by @victorgcramos in #2803
- legacy: Comments fixes by @victorgcramos in #2852
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
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
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.
- The dark mode toggle switch was updated with some new light/dark mode
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
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
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
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
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
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.