Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions pdf-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
As a minor extension, we also keep a semantic version for the `UNRELEASED`
changes.

## [v1.0.4-alfa](https://www.npmjs.com/package/@intersect.mbo/pdf-ui/v/1.0.4-alfa) 2025-06-27
- Changed submit ga button

## [v1.0.3-beta](https://www.npmjs.com/package/@intersect.mbo/pdf-ui/v/1.0.3-beta) 2025-06-19
- Fix Vote link visibility
## [v1.0.4-beta](https://www.npmjs.com/package/@intersect.mbo/pdf-ui/v/1.0.4-beta) 2025-06-30
- Align Vote link
- Add conditional statement for visibility of poll header text

## [v1.0.3-alfa](https://www.npmjs.com/package/@intersect.mbo/pdf-ui/v/1.0.3-alfa) 2025-06-19
- Fix removed voting button for non drep on budget proposal
Expand Down
2 changes: 1 addition & 1 deletion pdf-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@intersect.mbo/pdf-ui",
"version": "1.0.4-alfa",
"version": "1.0.4-beta",
"description": "Proposal discussion ui",
"main": "./src/index.js",
"exports": {
Expand Down
27 changes: 15 additions & 12 deletions pdf-ui/src/pages/BudgetDiscussion/SingleBudgetDiscussion/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@ const SingleBudgetDiscussion = ({ id }) => {
handleOpenReviewVersions()
}
data-testid='review-version'
sx={{ cursor: 'pointer' }}
sx={{ cursor: 'pointer' }}
>
Review Versions
</Link>
Expand Down Expand Up @@ -1844,17 +1844,20 @@ const SingleBudgetDiscussion = ({ id }) => {
</CardContent>
</Card>
</Box>

<Box
mt={4}
display='flex'
alignItems='center'
justifyContent='space-between'
>
<Typography variant='h4' component='h3'>
Poll of DRep sentiment
</Typography>
</Box>
{activePoll &&
proposal?.attributes?.submitted_for_vote ===
null && (
<Box
mt={4}
display='flex'
alignItems='center'
justifyContent='space-between'
>
<Typography variant='h4' component='h3'>
Poll of DRep sentiment
</Typography>
</Box>
)}

{activePoll &&
proposal?.attributes?.submitted_for_vote ===
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1119,7 +1119,6 @@ const SingleGovernanceAction = ({ id }) => {
gap={2}
>
<Box>
{' '}
<Typography
variant='caption'
sx={{
Expand Down Expand Up @@ -1165,6 +1164,7 @@ const SingleGovernanceAction = ({ id }) => {
data-testid='submit-as-GA-button'
sx={{
width: 'max-content',
cursor: 'pointer',
}}
onClick={async () => {
const balance =
Expand Down