78 Commits
Author SHA1 Message Date
76b244092d chore: sync main to develop (#484)
* implement getActive method for active banners

* render active banners

* update handleDateSelect to match current system time

* add translation keys for banners

* format

* feat: improve project prop passing to RewardsModal

* fix: code style issues by eslint

* feat: remove legacy apis from RewardCard

* chore: prettier run

* fix: clean RewardsCard of legacy code

* fix: make RewardsModal work changes on local state draft var

* feat: add image upload modal for campaign cover

* change filter handle for q

* add user accounting and integrate charges in user details

* feat: show total collected

* fix: use q filter

* format

* add financial details and recent charges to user details row

* add missing translation keys for user details

* fix/admin-projects

* format

* refactor: update project translations

* unify status keys in table and API format

* update translation key name to inputLabel, use library Button component

* update use "EUR"

* use SDK path constants and dynamic currency in fetchTotalEarned

* format

* use PUBLIC_DEFAULT_CURRENCY

* remove duplicate getCurrencySymbol

* feat: add home highlights page

* fix: admin nav active state, sidebar scrollbar and home banner wrapper

* chore: format

* fix: persist banner dismissal in a cookie

* fix: make banner close button circular

* fix: use formatCurrency for money values

* fix: normalizer banner start/end dates

* fix: date greaterThan key

* extract HomeBanners

* chore: update dependencies

* fix: solve PR mistakes

* fix: solve PR mistakes

* refactor: convert HomeBanners to svelte

* New translations es.json (Catalan)

[ci skip]

* New translations es.json (English)

[ci skip]

* New translations es.json (Catalan)

[ci skip]

* New translations es.json (English)

[ci skip]

* fix: avoid rendering empty helper space in TextInput

* refactor: reward modal new design with new aside feature and mobile resposiveness

* refactor: unify reward cards into shared library Reward component

* fix: make public rewards grid responsive

* refactor: move register and login i18n keys under pages.checkout

* feat: add checkout register page

* refactor: remove legacy auth register page and form

* fix: unify territory inputs into TerritoryInput

* fix: restore banner dismissal in HomeBanners

* fix: update translation keys of validation for required fields

* fix: pass draft instead of Project to Rewards step

* feat: add validation to rewards modal

* fix: code style issues

* feat: allow FileUpload component to accept helperText and error

* feat: implement validation for reward cover file upload

* fix: solve PR mistakes

* fix: make TextArea onInput give text value

* feat: implement validation on rewards modal

* fix: bad prop passing to RewardsCard.svelte

* fix: update rewards step after reward created

* fix: restore cards for each reward

* feat: add accounting owner resolver and badge component

* refactor: use AccountingOwnerBadge in charges table

* refactor: use AccountingOwnerBadge in filter tags and composer

* chore: remove unused map props from FilterTagsConfig

* fix: remove console logs on banners repo

* fix: no-op of date normalization previous to action call

* feat: get closed banners as soon as component loads client-side

* fix: code style issues by prettier

* fix: handle error on banner creation

* fix: match RichTextEditor text styles to rendered campaign text

* fix: unify modal validation messages

* fix: remove weird border from deletemodal bottom sections

* feat: handle writing and deleting of existing rewards

* New translations es.json (English)

[ci skip]

* feat: mutability of existing rewards in RewardsStep

* refactor: unify filter composer selection

* feat: add highlights DB schema, repository and actions

* feat: connect admin panel to highlights repository and actions

* feat: render homepage highlights from database config

* refactor: use baseUrl option for relay calls

* chore: replace modal backdrop hex with overlay token

* feat: add admin home hero section

* chore: pnpm run

* fix: import RequestOptions from generated client

* chore: pre-bundle app deps discovered at render time

* Implement CheckoutCartItem component

* use CheckoutCartItem in checkout cart

* add i18n labels

* add project cover to CheckoutCartItem

* align MinusIcon size whith PlusIcon

* format

* chore: update SDK

* feat: spearhead budget step restoration

* fix: use project ids and keep highlight history, search via relay

* fix: change project_id table property type

* chore: format code with prettier

* New translations es.json (English)

[ci skip]

* New translations es.json (Catalan)

[ci skip]

* fix: leave TextInput as it was originally

* fix: avoid using template string for formatCurrency function, remove Platoniq's VAT specific message and add TO-DO

* feat: update wrangler environments

* chore: update worker types

* fix: disable Astro's default session handling

* use SDK zod  schema in 'checkout/Register'

* fix: define names of each worker env

* rename Email input errorMessage prop to error

* remove duplicate register submit i18n key

* Sometimes it feels like the entire JavaScript ecosystem breaks things for no single fucking reason at all, just because they think it is funny or because if they didn't then they would have to actually ship stuff instead of constantly feeding hype of what-is-about-to-come, they keep re-inventing the wheel like they are Robert Moses adding lanes to fix traffic, backwards-compatibility is a joke that only gets respected on the shittiest pieces of the ecosystems. I hate JavaScript.

* chore: reuse common.remove in DropdownMenu

* format

* feat: add db migrations to deploy script

* use reward cover over project cover in CheckoutItem

* chore: pnpm format

* fix: seed --header-height before first paint

* fix: bugs in register action

* feat: refactor private area OwnedProjectsSection with 4 tabs

* feat: allow hiding font size and alignment in RichTextEditor

* refactor: narrow action errors with isInputError

* feat: serve home hero content from D1

* New translations es.json (English)

[ci skip]

* New translations es.json (Catalan)

[ci skip]

* hotfix: bad db name for db: scripts in package.json

* fix: solve PR mistakes

* feat: convert Hero to Svelte and seed default hero image

* fix: bad DeleteModal usage

* fix: code style issues by prettier

* feat: let filter subjects declare their referent component

* fix: disabled input label no longer lets the border show through

* fix: dangling merge conflicts

* fix: blank newline at end of es.json

* New translations es.json (English)

[ci skip]

* New translations es.json (Catalan)

[ci skip]

* feat: status-based cards and funding tab in owned projects section

* fix: format code with prettier

* fix: update Reward cards

* feat: update SDK with non-optional project for ProjectBudgetItem

* feat: send new budget items to API

* feat: add simple landing page with Astro for /admin

* refactor: centralize admin nav sections

* chore: format code with prettier

* fix: calc money for budgets after updates

* feat: restore save/delete operations of AdminBudgetCard

* feat: rename AdminBudgetCard to BudgetCard

* feat: actionable continue button in checkout pages

* New translations es.json (English)

[ci skip]

* New translations es.json (Catalan)

[ci skip]

* feat: empty state in Carousel component, Button href support and CTACard dark variant refactor + use Button component with its kinds

* fix: update astro and cf adapter versions to fix deep-bug in hydration chain

* feat: add per-tab empty state messages to owned projects section

* fix: bad color title

* fix: code style issues by prettier

* feat: validate tax id format by issuing country in register

* New translations es.json (English)

[ci skip]

* New translations es.json (Catalan)

[ci skip]

* feat: add admin link to user dropdown

* refactor: improve admin landing cards

* chore: review client directives on Svelte islands

* fix: address review on tax id validation

* fix: show empty state and loader instead of flashing empty message (now correct hasItems var)

* fix: use domain.carousel.empty key for carousel empty message

* docs: add Carousel story

* fix: pin astro and cf adapter to avoid dev server OOM

* chore: pin workerd inspector port to 9229

* feat: functional collaborations CRUD in project draft with zod validation

* feat: remove dependency on cypress

* feat: enable collaborations step in project draft wizard

* feat: remove cypress config

* feat: remove cypress tests

* feat: remove eslint-plugin-cypress

* feat: remove dangling cypress config and pipeline references

* feat: remove cypress references in docs

* chore: pnpm format

* New translations es.json (English)

[ci skip]

* New translations es.json (Catalan)

[ci skip]

* fix: pass explicit emptyMessage to Empty story so it renders in Storybook

* fix: make mounted state reactive so empty message renders in Carousel

* feat: add floating label support to RichTextEditor and use it in project modals

* chore: comment donation certificate UI in open-core

* chore: remove donation certificate i18n keys and assets

---------

Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
Co-authored-by: Pep Villalonga <pep.villalonga@platoniq.net>
Co-authored-by: OlivierSchulbaum <dev@goteo.org>
Co-authored-by: Dayv1dDev <david.moreno@platoniq.net>
Co-authored-by: David Moreno Cámara <139916751+Dayv1dDev@users.noreply.github.com>
2026-09-18 15:10:10 +02:00
daniel.subiabre 2177bbb9ff Merge branch 'develop' into feat/implement-crowdin-auto-translation-pipeline 2026-06-26 16:06:29 +02:00
daniel.subiabre 9486633acf chore: update node version in workflow files to 24 2026-06-26 15:29:01 +02:00
Pep Villalonga 9bbe4408cc fix crowdin pre-translation fileIds 2026-06-22 13:44:05 +02:00
Pep Villalonga 60734b6eb2 chore: remove crowdin-download workflow 2026-06-22 13:34:47 +02:00
Pep Villalonga 2beb9dbf07 chore: remove test key and feature branch from crowdin upload workflow 2026-06-18 14:43:22 +02:00
daniel.subiabre e324628b5c feat: add self-branch to test crowdin integration 2026-06-18 13:31:52 +02:00
Pep Villalonga 501c6aee42 chore: use AI pre-translation instead of MT 2026-06-18 13:23:58 +02:00
Pep Villalonga 997210de79 chore: format 2026-06-16 14:19:28 +02:00
Pep Villalonga ad0d5ccdc5 feat: implement crowdin auto translation pipeline 2026-06-16 14:14:08 +02:00
daniel.subiabre 03af1d10b8 fix: remove references to old PUBLIC_PLATONIQ_ACCOUNTING_ID env var 2026-04-30 15:04:21 +02:00
daniel.subiabre ea68dc71d3 fix: simplify cypress invoke in CI 2026-01-13 14:31:50 +01:00
daniel.subiabre 1cf7320726 fix: remove redundancy from wait for server step 2026-01-13 13:47:52 +01:00
Santiago Nahuel de la Fuente 4d0e9a22bf ci: simplify environment setup in Cypress workflow 2025-10-28 01:16:17 -03:00
Santiago Nahuel de la Fuente 077ce9336c feat: create .env file for Cypress workflow 2025-10-28 01:06:58 -03:00
Santiago Nahuel de la Fuente 823a7f4b97 test: Cypress workflow with server startup logging and error handling 2025-10-28 01:02:10 -03:00
Santiago Nahuel de la Fuente 00e7ca4167 ci: debug environment variables in Cypress workflow 2025-10-28 00:30:16 -03:00
Santiago Nahuel de la Fuente 06db10ecf9 style: format prettier 2025-10-28 00:27:00 -03:00
Santiago Nahuel de la Fuente 8d42ea0495 ci: use github environments for env vars 2025-10-28 00:20:50 -03:00
Santiago Nahuel de la Fuente c3403419c2 chore: remove branch ignore from cypress workflow 2025-10-23 09:45:00 -03:00
Santiago Nahuel de la Fuente 27d51b34b7 chore: update cypress workflow timeout 2025-10-21 11:07:02 -03:00
daniel.subiabre a7e6350363 Merge pull request #116 from goteo/fix/cypress-e2e-tests-stability
Improve e2e tests stability and error handling
2025-10-01 19:49:56 +02:00
Santiago Nahuel de la Fuente 202708393c refactor: prettier format 2025-09-25 09:02:48 -03:00
daniel.subiabre 63ce88ed92 Add prettier check against develop 2025-09-24 17:55:31 +02:00
Santiago Nahuel de la Fuente f675643bd9 fix: enhance server readiness checks and improve Cypress test robustness 2025-09-24 10:29:20 -03:00
daniel.subiabre 32a0f17720 Run each spec in isolation 2025-09-18 16:23:07 +02:00
daniel.subiabre 1235ad18bc pnpm format, if this breaks the CI I will kms 2025-09-17 21:46:44 +02:00
daniel.subiabre d6d85bcbea Fucking work already 2025-09-17 21:37:16 +02:00
daniel.subiabre 23c2bd6da5 Remove wrangler installation as its already in package.json 2025-09-17 21:35:02 +02:00
daniel.subiabre 8e981ba768 Install wait-on 2025-09-17 21:21:43 +02:00
daniel.subiabre 87f8d860c0 Lets see if this shit works 2025-09-17 21:17:35 +02:00
daniel.subiabre 8a8bd3ce1d That was on me 2025-09-17 21:11:49 +02:00
daniel.subiabre 9d014dae40 Messed up the start server command 2025-09-17 21:10:12 +02:00
daniel.subiabre f5aac5a1eb Just trying random shit atp 2025-09-17 21:08:31 +02:00
daniel.subiabre b676b52d9e Fuck it 2025-09-17 20:54:12 +02:00
daniel.subiabre 23e73f4dbc Increase timeout becasue fuck me 2025-09-17 20:21:01 +02:00
daniel.subiabre 51b1097385 Export env vars to .env file 2025-09-17 20:03:10 +02:00
daniel.subiabre 1014608412 Update cypress workflow 2025-09-17 19:33:05 +02:00
daniel.subiabre 62aa2a9a94 Pass PUBLIC_CURRENCY_DEFAULT var to cypress ci 2025-09-17 15:55:22 +02:00
Santiago Nahuel de la Fuente 6ae1b52fbf refactor: corrected the missing tests to mock up 2025-08-28 16:42:03 -03:00
Santiago Nahuel de la Fuente b2ae86df8e feat: enhance environment variable handling for runtime and request contexts
- Add support for retrieving runtime environment variables through Astro Request.
- Update various `getEnvVariable` functions to include request-based context resolution.
- Adjust default language utility to ensure fallback handling.
- Refactor `.env.example` and `.dev.vars.example` files for better clarification between private and public variables.
- Modify Cypress test workflow to use private environment variables without PUBLIC_ prefix.
2025-08-20 11:59:45 -03:00
Santiago Nahuel de la Fuente d08bb6ced5 fix: use environment-based URLs and correct gateway_charges schema 2025-08-07 19:36:34 -03:00
Santiago Nahuel de la Fuente 471eeb6677 feat: implement test cases for admin panel and project progress 2025-07-31 01:13:38 -03:00
daniel.subiabre f09e948033 Update deploy command 2025-07-15 14:16:07 +02:00
daniel.subiabre b5ed9c9c0d chore: pnpm format 2025-07-15 13:58:33 +02:00
daniel.subiabre 751c71d50b Update deploy jobs to split staging and prod steps 2025-07-15 13:56:25 +02:00
daniel.subiabre 751250cdcc Remap branches to envs 2025-07-15 11:55:22 +02:00
Jean Piere Rodriguez e705d0bab1 feat: add deploy workflow 2025-07-14 14:07:34 -05:00
daniel.subiabre 381c55c24d Merge branch 'main' into feature/GV4-148 2025-07-02 12:32:51 +02:00
Jean Piere Rodriguez d273f42df7 fix: add env test 2025-07-01 07:57:10 -05:00