Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024 June-July LTS upgrade #738

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from
Draft

2024 June-July LTS upgrade #738

wants to merge 42 commits into from

Conversation

elboletaire
Copy link
Member

No description provided.

selankon and others added 30 commits May 15, 2024 12:32
It create two new states on the form:

- isLoadingCost to know when is loading cost
- notEnoughBalance to disable the confirm button when not enough balance
* Fix show votes

* Fix layout bug

* Ensure questions length
* Set close and title at same line

On the modal for both themes

* Unify modal body color
* fixed issue bg home and navbar in local folder

* bg resized

* bg size 100%
Merge pull request #698 from vocdoni/develop
- Created Organization dashboard layout
- Created new Protected route OrganizationProtectedRoute, shogin a
  sign-in page if no account is connected, and the organization creation
  form if no org is found for the logged in user.
- Refactored EditProfile to split its contents from the modal. In the
  future the modal should disappear, but this is a mid-step until this
  section is properly styled.
- Upgraded @vocdoni/chakra-components and refactored everything to
  properly handle all the new election types handled by the package.
- Refactored the router to not use react elements, for implementation
  simplification

TODO (on my behalf):
- Change the current link to "my organization" to link to
  /organization
- Remove the modal form to edit profile, also redirecting to
  /organization/edit
- Properly implement limits in calls, rather than just truncate
  responses as we're doing now
- Add filtering by state as soon as we have the API pagination issues
  resolved

refs #686
* Delete duplicated code

* Delete unused variable
* reduced footer size

* fixed issue padding mobile
* Implement process page title

* Fix title go to previous state

* Delete comment

* Use better component name

* Add organization title

* Implement title prepend

* Prevent invalid elections title

* Fix go back to the original title

* Define APP_TITLE

- Defined APP_TITLE, defaulting to the Vocdoni and Onvote titles
  (depending on the theme selected ofc).
- Inject APP_TITLE to view to not have the titles multiple times.

---------

Co-authored-by: Òscar Casajuana <elboletaire@gmail.com>
---------

Co-authored-by: Òscar Casajuana <elboletaire@gmail.com>
* Add approval to supported voting types

* Implement generic tabs page

* Implement generic tabs page for questions

* Implement approval voting component

* Delete questions if not multiquestion type

* Implement ApprovalElection creation

* Fix netlify action

* Add comments

* Add translations

* Delete unused code

* Select default voting type

* Use Trans component

This is needed because on spanish and catalan translations have a subtitle with html tags that need to be parsed.

On this way, we are passing the translation as string value, and the trans component does the parsing of the inner html tags.
* reduced footer size

* fixed issue padding mobile

* new footer styles

* clean code, closes #718
gerouvi and others added 12 commits June 27, 2024 10:19
fixed issue voting modal padding, closes #721
fixed issue bg footer dashboard, closes #731
* fixed issue, dashboard name isTruncated in the second line, closes #723

* isTruncated and title

* dashborad name truncated in mobile
added transaltions catalan and spanish, closes #730
* 1.0

* scaffold terms and privacy

* New base terms & privacy texts, ready to style

* terms and privacy styles

* terms and privacy maxwidth 1200px

* fixed issues

* fixed issues process view

* deleted duplicated Avatar in src/themes/default/components/index.ts

* replaced Link for ReactRouterLink and removed return and returned component with an arrow function

* onvote footer terms and privacy

---------

Co-authored-by: jpa <jaulet@aragonlabs.com>
@elboletaire elboletaire changed the base branch from develop to main July 18, 2024 10:31
Copy link

@github-actions github-actions bot temporarily deployed to pull request July 18, 2024 10:34 Inactive
Copy link

@github-actions github-actions bot temporarily deployed to pull request July 18, 2024 10:34 Inactive
Copy link

@github-actions github-actions bot temporarily deployed to pull request July 18, 2024 10:34 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants