* refactor: extract shared debounce util
* fix: project search in admin highlights
* fix: add save feedback, cover images and 84px cells to highlights
* fix: show selection and empty state in basic dropdown
---------
Co-authored-by: Pep Villalonga <pep.villalonga@platoniq.net>
* docs: update SKILL-template to current codebase
* fix: remove unnecesary check command alias
* fix: update SDK regen command from `openapi` to `sdk`
* fix: indentation on command table
---------
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* feat: hide footer funding section if empty
* feat: update footer social link type
* fix: move footer data out of ad-hoc lone config folder
* fix: code style issues by eslint and prettier
* create RewardClaims after payment
* replace ClearCart with RewardClaims
* mount RewardClaim on payment verification
* format
* match charges by fields and order to avoid duplicate claims
* guard RewardClaims whit allSucceeded, soft-delete carts via finalised flag
* format
* feat: add POST /api/checkout/rewardClaims endpoint
* refactor: make RewardClaims.svelte a thin client that submit the cart
* fix: pass checkoutId into the verified-checkout reward claims flow
* fix: format
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
* feat: implement promoter public profile form in /me/manage
* feat: add view profile button to /me/manage
* feat: persist social links and fix profile PATCH
* fix: load current user in /me/manage so social links show up
* fix: use design social icons on user profile
* feat: accept username or link in profile social fields
* fix: always send links on profile update so they are not cleared
* feat: add link, lists and quote to RichTextEditor with opt-out toolbar props
* feat: add heading select to RichTextEditor and close link popover on outside click
* refactor: extract shared debounce util
* fix: project search in admin highlights
* fix: add save feedback, cover images and 84px cells to highlights
* fix: show selection and empty state in basic dropdown
* docs: update SKILL-template to current codebase (#507)
* docs: update SKILL-template to current codebase
* fix: remove unnecesary check command alias
* fix: update SDK regen command from `openapi` to `sdk`
* fix: indentation on command table
---------
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* feat: Improve footer config (#508)
* feat: hide footer funding section if empty
* feat: update footer social link type
* fix: move footer data out of ad-hoc lone config folder
* fix: code style issues by eslint and prettier
* chore: import zod from zod package in actions (#506)
* feat: show user avatar in header (#505)
* Feat/implement reward claims (#471)
* create RewardClaims after payment
* replace ClearCart with RewardClaims
* mount RewardClaim on payment verification
* format
* match charges by fields and order to avoid duplicate claims
* guard RewardClaims whit allSucceeded, soft-delete carts via finalised flag
* format
* feat: add POST /api/checkout/rewardClaims endpoint
* refactor: make RewardClaims.svelte a thin client that submit the cart
* fix: pass checkoutId into the verified-checkout reward claims flow
* fix: format
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
* Feat/refactor activity section (#480)
* refactor ActivitySection (DonationsCard-MatchfundingCard-ProjectsCart)
* format
* refactor: apply DonationsCard (ld+json totals, batch slug[], money_total)
* refactor: ProjectsCard (ld-json totals, async, remove lang)
* refactor: MatchfundingCard (drop lang prop)
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
* feat: implement promoter public profile form in /me/manage (#495)
* feat: implement promoter public profile form in /me/manage
* feat: add view profile button to /me/manage
* feat: persist social links and fix profile PATCH
* fix: load current user in /me/manage so social links show up
* fix: use design social icons on user profile
* feat: accept username or link in profile social fields
* fix: always send links on profile update so they are not cleared
* Fix: admin highlights save (#511)
* fix: cast highlight slot project ids to integer
* fix: drop highlight slots outside selected layout on save
* feat: add link, lists and quote to RichTextEditor with opt-out toolbar props (#509)
* feat: add link, lists and quote to RichTextEditor with opt-out toolbar props
* feat: add heading select to RichTextEditor and close link popover on outside click
* refactor: simplify search page state (#510)
* refactor: simplify search page state
* fix: update naming convention examples
---------
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* Feat/user preferences manage screen (#496)
* Render ManagePreferencesSection in /me/manage
* add ManagePreferencesSection component
* add manage preferences i18n key to es.json
* add manage preferences i18n keys
* add ManagePreferencesSection with form, language cookies and PATCH
* add dedicated /me/menege/preferences route
* link preferences screen from /me/manage sidebar
* fix: remove pointless user PATCH, adopt twMerge
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
---------
Co-authored-by: Pep Villalonga <pep.villalonga@platoniq.net>
Co-authored-by: angeldipinto <72363089+angeldipinto@users.noreply.github.com>
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
* feat: add project manage page for owners and admins
* fix: widen claim status columns and add bottom padding
* feat: add user search and CSV export to manage tables
* fix: address review on project manage page
* feat: show non-anchored toasts floating at bottom-right
* chore: remove Platoniq deploy infra for open core
* feat: make share widget host configurable via PUBLIC_WIDGET_URL
* fix: build widget link from current host
* docs: update README and drop deploy pipeline references
* fix: show owned projects in profile promoted tab and move donated ones to donor type
* fix: prefer project cover and build owner IRI from operation path
* chore: move RiskCard, ChatMessage and ChatTextarea components to /components/review
* feat: add review domain types, mocks and services
* feat: expose review actions and open reviews routes
* feat: build review areas and chat screens
* fix: navigate from BackButton links
* chore: remove review temporary CTA from home
* chore: format code by prettier
* feat: add shared profile manage components and utilities
* feat: add me section navigation and route restructuring
* feat: add personal/public profile forms with validation and actions
* chore: format code with prettier
* refactor: consolidate public profile action
* fix: remove public data from personal profile form
* fix: split public / private info forms
* fix: stale user handle, non-floating toasts
* feat: improve preferred language
* fix: remove non-necessary "Goteo" mentions
* fix: code style issues by eslint and prettier
---------
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* fix: make home hero text required and media optional
* fix: hero start-only scheduling, prefilled form and history with delete
* feat: add hero preview modal to admin form and fix icon home
* fix: default home hero timestamps to current date
* feat: preview hero from history rows in a modal
* fix: accept local hero urls and reload after save
* feat: admit localized content for home hero, base language and translations
* feat: add itemClass to override DropdownItem classes
* chore: format code with prettier
* feat: allow hero translations in any language with a searchable picker
- Searchable picker fed by the full ISO 639-1 catalog, not limited to UI locales
- No base language: the platform language only seeds the form and can be
removed once a second language exists
- Locale pattern validation in createHomeHero
- LanguagesDropdown controlled from the parent
- Chosen label shown in the picker input
- es.json hero keys
* fix: bind all 11 home_hero columns when storing a hero
The previous merge left 10 placeholders for 11 columns, so creating a hero row was failing.
* fix: drop unused TranslationRecord interface
* chore: format code with prettier
* feat: add updateHomeHero to overwrite a stored hero
* feat: preview heroes in any of their languages
* feat: validate title and content in every selected language
* feat: overwrite a hero from the history
* fix: rename admin home hero tabs
* chore: format code with Prettier
---------
Co-authored-by: Pep Villalonga <pep.villalonga@platoniq.net>
* fix: prebundle markdown deps so RichTextEditor loads in dev
* feat: add admin blog list and editor with translations backed by D1
* feat: add public blog pages and show the latest post on the home (#530)
* refactor: move BodyBlog from typography to layout
* feat: allow multiple header images in blog posts for a carousel
* feat: store blog translations like the home hero
* feat: add public blog pages with a media carousel
* feat: show the latest blog post on the home
* fix: admin sidebar, tables and forms layout
* fix: do not check for release against campaign max end date when max end date is undefined
* refactor: resolve object storage env config once and warn when missing
* refactor: replace hardcoded file upload error with i18n key
* fix: wire project wizard continue buttons to next step
* fix: keep reward form input when toggling the checkbox
* feat: preview project draft from the edit wizard
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* feat: add translations to banners and share TranslationLanguages selector with hero and blog
* fix: code style issues by prettier and eslint
* feat: add db:rebuild command to fully apply all migrations
---------
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* chore: update SDK
* chore: remove mocks
* feat: back project reviews with the v4 API
* feat: wire review pages and admin overview to the live API
* feat: render safe markdown in review chat and add formatting hotkeys
* feat: assign an advisor from the reviews administration
* feat: persist risk-change cards in the review conversation
* fix: prebundle the client actions entrypoint so dev stops reloading
* feat: let the review admin post links and images in the chat
* fix: tidy the review card activity wording and button layout
* feat: add isAssignedReviewer function and update review access logic for reviewer
* chore: format code with prettier
* refactor: extract review validation and enforce the comment length in the chat
* refactor: simplify the reviews admin page loading and add review filters
* refactor: improve minimum characters counter in ChatTextarea
* fix: hydrate review rows reactively and show area risk squares
* feat: improve debouncing
* fix: update missing statuses options
* fix: code style issues by prettier and eslint
* Merge branch 'develop' into feat/connect-project-reviews-pages-with-api
---------
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* feat: add featured users table and repository
* feat: add owner project summary service
* feat: add saveFeaturedUsers action
* feat: add slotEditor for admin
* feat: add featured users admin section
* feat: add featured user card and home grid
* refactor: replace promoters block with featured users
* refactor: remove class prop from featured users form
* docs: add SlotEditor story
* refactor: extract shared FeaturedUser type
* fix: correct slot message for featured users
* fix: use user wording in featured users modal
* refactor: reuse common add label in featured users modal
* refactor: use Astro.locals lang in home page
* refactor: move featured users resolution into a service
* refactor: move raised project statuses to projectStatus util
* refactor: carry a MoneyOutput through the featured users chain
* fix: format
* fix: order of migration files
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* fix: align filter composer subjects with the API query params
* fix: render the filter composer roles subject as a multiselect
* fix: use i18n keys for filter composer option labels
* fix: remove empty helper span from text and currency inputs
* fix: remove empty helper span from password input
* fix: format
* fix: send multi-value filters as key[]
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
* fix: show descriptive errors in checkout login and register
* feat: display checkout login and register errors in floating toast
* fix: rely on API to detect duplicate email in register
* fix: don't hardcode password length in register error mapping
* fix: show loading states instead of placeholder data
* fix: add spinners and disabled state to async buttons
* fix: make admin filters Apply button work
* chore: format
Adds a working light/dark base that follows the browser/system setting, using the palette from democratictech.fund. I'm open to tweaking the color palette, my main aim here was to get the light/dark themes working.
### Changes
- Switched interface font to variable Atkinson Hyperlegible Next, with Boldonse reserved for selected display headings.
- Tightened header and campaign-card spacing, fixed mismatched card border-radius, and added missing hover states for buttons.
- Updated footer partner logos and links
- Adjusted text foreground color variable to work with the themes.
The shared styles also affect checkout, profile and admin screens, though I can't check all of those myself currently.
**Note:** The kitten photos and sample campaign content in the screenshots are placeholders I put in locally because I don't have API access. Neither the placeholders nor my local preview setup are included in this PR.
### Screenshots
Light mode:

Dark mode:

Reviewed-on: #2
Co-authored-by: mfmcl <mfmcln@proton.me>
* chore: regenerate SDK with ProjectReward.hasShipping
* feat: add shipping step to checkout
* fix: show shipping address in project claims table
* feat: add hasShipping toggle to reward form
* feat: manage shipping addresses in profile
---------
Co-authored-by: Daniel Subiabre García <daniel.subiabre@platoniq.net>
* fix: make extractId return last numeric piece in IRI for ID
* fix: make CategorySelect component also take Theme SDK type
* fix: make getTerritoryDisplayName log errors
* fix: code style issues by prettier
* chore: exclude wrangler and miniflare from minimumReleaseAge and refresh lockfile
* feat: add DropdownSearch and slim DropdownMenu to a plain dropdown
* fix: add validation message when there is no category or theme selected in create and edit project forms
* feat: make submit button always enabled until sending is triggered, then scroll to field when is missing/incorrect
* fix: use project true type on transformProjectToCampaign
* fix: matching of projectSupports by IRI in FeedbackForm
* fix: bad references to project.video imgs before project.cover
* fix: code style issues by prettier
* feat: add D1 schema and save action for proposed campaigns
* feat: add admin proposed campaigns page
* feat: show proposed campaigns in home tabs carousel
* refactor: type Grid props explicitly
* chore/fix: format and fix es.json
* fix: prioritize project cover over video thumbnail and fix proposed modal i18n keys
* fix: other conflicts after the develop merge
* fix: number clash in db migrations for featured_users and proposed_campaigns
---------
Co-authored-by: Daniel Subiabre García <daniel.subiabre@platoniq.net>
* fix: admin projects status tag, status change, min-optimum, actions and filtered total
* fix: use projects money_total endpoint and show loading in admin total
* chore: regenerate SDK with new profile fields
* feat: add disabled state to Checkbox and TerritoryInput
* feat: add new API profile fields to /me/manage personal form
* feat: send only edited fields in profile forms with observable-slim
* fix: address profile review comments and regenerate SDK
* fix: build the player URL of campaign videos instead of using the page URL
* fix: reject campaign video links of unsupported providers
* refactor: reorder conditionals in youtubeId function
* chore: format code with prettier
* fix: validate the draft before saving and keep it on failure
* fix: render empty budgets without crashing
* fix: keep the close button inside the modal
* fix: keep the modal close buttons inside their cards
* fix: refresh the session when the preview gets a 401
* refactor: reuse the shared sumMoney for budget totals
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
* feat: classify statuses by campaign phase
* fix: add the pre-campaign notice copy
* fix: adapt the campaign notice to the project phase
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
* fix: keep form values when the language changes
* fix: keep form values on language change in public forms
* fix: keep form values on language change in admin forms
* chore: format code with prettier
---------
Co-authored-by: Daniel Subiabre García <daniel.subiabre@platoniq.net>
* fix: resolve svelte-check and astro check errors and warnings
* chore: disable Shiki syntax highlighting to silence CSP warning
* chore: regenerate SDK and update renamed DTOs
* fix: resolve svelte-check errors and warnings from develop merge
* fix: keep new personal profile fields on language change
* fix: extractId uses SDK routes to support slugs and handles
* refactor: remove URL parsing from extractId
* test: cover all API item routes in extractId tests
* feat: use searchable dropdown to pick country in /me/manage
* feat: use DropdownSearch for country picker in /me/manage
* fix: code style issues by eslint and prettier
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
Co-authored-by: Pep <pep.villalonga@platoniq.net>
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* feat: store footer content in D1 and render it server-side
* feat: add footer editor to /admin/customize/footer
* feat: collapse admin sidebar to a letter rail
* feat: round the footer logos band to match the main block
* feat: round the bottom corners of the footer preview
* refactor: use canonical Tailwind variants in footer preview
* feat: add the header logo table
* feat: add the header logo repository
* feat: add the header logo server actions
* feat: expose the active header logo
* feat: render the managed logo in the header
* feat: add the header logo admin copy
* feat: add the header logo admin page
---------
Co-authored-by: Angel Di Pinto <angel.dipinto@platoniq.net>
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
* feat: add polished library for accessibility purposes
* chore: update gitignore adding AGENTS.md
* feat: D1 theme colors migration
* feat: add i18n keys for them colors page
* feat: add utils, actions and repositories files for theme colors page
* fix: rename colours subsection to colors
* feat: add new actions to index
* feat: add new colors page with its form and input components
* refactor: modify Astro layout to load the saved theme colors
* feat: make global.css theme colors dynamic
---------
Co-authored-by: Daniel Subiabre <daniel.subiabre@platoniq.net>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.