Commit Graph

80 Commits

Author SHA1 Message Date
vincanger
7d36c8f0b1 Refactor file upload and toast notifications (#472)
* Refactor file upload and toast notifications

Replaces react-hot-toast with a custom toast system using @radix-ui/react-toast, updating all usages and adding new UI components for toast and dialog. Refactors file upload to use a two-step process: first generating an S3 upload URL, then adding the file to the database, and adds file deletion support with confirmation dialog and S3 cleanup. Updates Prisma schema, removes unused fields, and cleans up navigation and admin settings page.

* Enforce file upload limit and update dependencies on opensaas-sh

Added a check to restrict users to 2 file uploads in the demo, with a new helper function and error handling. Updated navigation items, improved landing page content, and removed unused dependencies (react-hot-toast). Added @radix-ui/react-toast, updated testimonials, and made minor content and code improvements.

* update tests

* Improve file deletion error handling and cleanup

Refactors file deletion to delete the database record before attempting S3 deletion, ensuring the file is removed from the app even if S3 deletion fails. Adds error logging for failed S3 deletions to aid in manual cleanup. Also simplifies error handling in the file upload page and removes unused imports in the demo app page.

* Add credit check and S3 file existence validation

Added logic to decrement user credits or throw an error if out of credits in the AI demo app. Updated file upload operations to validate file existence in S3 before adding to the database, and implemented S3 file existence check utility. Minor UI and code improvements included.

* Update s3Utils.ts

* update app_diff

* fix diff

* Update deletions

* Improve toast UI, error handling, and credit messaging

Updated toast action hover style and icon spacing for better UI consistency. Enhanced error handling in file deletion to display specific error messages. Refined credit/subscription error message in GPT response operation for clarity and removed redundant credit decrement logic.

* Refactor file upload validation and error handling

Replaces error state management with toast notifications for file upload errors and success. Refactors file type validation to use a new ALLOWED_FILE_TYPES_CONST and type AllowedFileTypes. Updates validation logic to throw errors instead of returning error objects, and simplifies type handling across file upload modules.

* Refactor file upload to use s3Key and add cleanup job

Replaces the 'key' field with 's3Key' for file storage references throughout the codebase and database schema. Updates all related logic, types, and API contracts to use 's3Key'. Adds a scheduled job to delete old files from S3 and the database. Cleans up file type validation constants and improves consistency in file upload and download operations.

* add orphaned file clean up

* remove s3 cleanup job from template

removed but added suggestion to docs.

* Update SettingsPage.tsx

* prettier format

* Update  UI, remove unused files

Updated README with deployment and demo details. Removed unused App.tsx and package-lock.json files. Modified Main.css, NavBar constants, file uploading logic, file upload operations, and landing page content sections for improved UI and functionality.

* remove pricing page from isMarketingPage
2025-10-15 12:01:08 +02:00
Carlos Precioso
2713f9e1f6 Remove Satoshi from template, keep it in opensaas.sh (#526) 2025-10-07 14:58:14 +02:00
Carlos Precioso
fa15f85587 Use SVG versions of the banner (#521) 2025-10-01 11:06:30 +02:00
Franjo Mindek
10dd2c743d i run patch on main, checked out this branch, run prettier format, and then run diff 2025-09-19 18:21:45 +02:00
Franjo Mindek
a69b8d0be4 Merge pull request #508 from wasp-lang/franjo/add-prettier 2025-09-19 18:03:21 +02:00
Martin Šošić
18711b7f86 Fix OpenSaas GitHub URL in opensaas-sh app (#510) 2025-09-19 10:37:44 +02:00
Franjo Mindek
daea2be9d5 diff 2025-09-18 17:00:21 +02:00
Filip Sodić
7074eaeeca Update package-lock.json for opensaas.sh (#504) 2025-09-16 12:24:56 +02:00
Filip Sodić
fabbfef0e9 Migrate Open Saas to 0.18.0 (#500) 2025-09-12 15:49:59 +02:00
Fran
cc943dfb1b small ui fixes (#490) 2025-08-19 09:47:30 +02:00
vincanger
e2c4c40d90 Update Open SaaS meta tags and Hero description (#476)
* Update Open SaaS meta tags and Hero description

Enhanced Open Graph and Twitter meta tags to include 'Built by Wasp' in the description. Updated the Hero section description to clarify the project as a starter kit and added attribution to Wasp with a link.

* Update links and branding to use WaspUrl and improve accuracy

Replaced hardcoded Wasp URLs with the new WaspUrl constant across landing page components and content sections. Updated meta tags and branding language from 'Built by' to 'Powered by' Wasp. Adjusted company links to use the correct license and Wasp team attribution. Added WaspUrl to shared constants for consistent usage.
2025-08-04 10:50:17 +02:00
Franjo Mindek
3b7a67d5ae Fix failing e2e tests (#460)
* fix broken tests

* navbar fixes + return pricing

* changes

* re-remove pricing
2025-07-30 15:19:59 +02:00
vincanger
0a7a04e63d Update Stripe and tailwind-merge, adjust NavBar items
Upgraded 'stripe' to 18.1.0 and 'tailwind-merge' to 2.2.1 in package files. Modified NavBar to use 'size-7' when scrolled and updated navigation constants to move 'Pricing' under demo navigation items.
2025-07-29 17:40:35 +02:00
Franjo Mindek
92a56af70e Fix visual and navigation errors (#457)
* fixes

* changes

* make sure features is fragment of homepage

* diff fix

* larger logo, less nav text

* remove xl
2025-07-29 17:26:25 +02:00
vincanger
3a8eca118a Update NavBar.tsx.diff 2025-07-29 11:26:05 +02:00
Fran
2caac6c1de OpenSaaS Redesign - Add ShadCN, and redesign OpenSaaS.sh landing page (#447)
* add shadcn and shadcn script

* cleanup

* navbar and announcement

* remove unnecessary documentation

* cleanup

* dark mode switcher

* update hero

* update features

* update clients

* update testimonials

* update faq

* add avatar and use it in hero

* update the demo app

* update pricing page

* update file upload page

* update account page

* update dropdown

* fix mobile menu

* use card for testimonials

* update analytics to use new color tokens

* use sheet for mobile nav bar

* update user table

* update settings page to use shadcn components

* update testimonials to use new design

* add section title component

* update components to use section header

* add gradients

* add secondary muted

* add dynamic navbar

* cleanup

* fix color tokens for the dark mode

* don't scale all the cards

* Examples component

* fix the carousel scrolling into view

* add highlighted feature component

* add features grid

* cleanup

* fix navbar announcment sticking

* fix padding

* cleanup

* cleanup

* cleanup

* cleanup

* cleanup

* more robust on mouse leave for examples carousel

* auto scroll threshold set to 1

* generate app diff fo creating opensaassh

* add orbit

* fix mobile layout for Hero

* update template FeaturesGrid, and fix logos location

* Update the title for the features grid on landing

* update testimoinals layout

* update contentSections to support new testimonials

* update examples carousel

* update examples carouselui

* cleanup

* fix navbar layout when Announcement not present

* add highlighted features in examples

* cleanup

* fix faq component

* fix testimonials UI

* cleanup

* cleanup

* update contentSections

* update the ui limits

* make highlighted feature items centered

* remove inconsistent styles

* remove legacy classnames

* standardize chart cards

* fix dark mode ui issue with dropdown

* make it so that you can't change your own admin status

* fix changes with filtering on user table

* make filtering more intuitive

* fix calendar visibility issues

* remove forms pages

* use type tel for phone number

* button page redo

* clean up breadrcrumb and remove comments from default layout

* clean up navbar

* throttle scroll for navbar

* clean up remaining template items

* clean up

* fix the examples carousel so that it automatically scrolls

* fix demo app page

* fix FeaturesGrid types

* fix highlighted feature

* fix section title

* Replace old icons

* Remove package-lock.json

* fix opensaas issues

* remove all legacy icons

* remove accidental package files

* update throttleWithTrailingInvocation

* refactor the FeaturesGrid

* clean up highlithted feature

* clean up highlithted feature

* fix behavior of ExamplesCarousel

* clean up ExamplesCarousel

* fix wrong copy and layout on the landing for opensaas.sh

* center examples on the page if there are not enough of them

* Fix layout of pricing

* fix wrong link

* color of sidebar on admin

* add new examples

* fix icon layout

* adds specific tokens for opensaas landing

* layout fix

* remove leftover custom svgs

* update layout to better match figma

* use kebab-case for forms

* revert to h3

* png -> webp

* Update layout for bento grid for opensaas

* parse day views only once

* dropdown edit delete to shadcn

* remove the remaining svgs

* make useDebounce generic

* address small pr comments

* update examples carousel

* remove the banner from the hero

* section title subtitle → description

* remove unnecessary files

* address layout comments for opensaas.sh

* add back git star count

* update contentSections to have currently deployed copy

* useRef instaed of class query

* address layout comments for opensaas.sh

* adjust padding for RepoInfo on diff

* fix gradient on template

* Revert "fix gradient on template"

This reverts commit 4b45f7f437.

* fix gradient on template

* add AI Ready highlighted feature

* update landing page features & add LLM copy button and

Introduced a 'Copy URL for LLMs' button to the blog navbar by creating CopyForLlmButton.astro and integrating it into a new MyRightNavBarItems.astro component, replacing the previous theme select. Updated astro.config.mjs to use the new component. In the app template, added an example highlighted feature component to the landing page and updated testimonial avatars. Also enabled Google, GitHub, Discord, and Slack auth providers in main.wasp.

* Update NavBar announcement for Product Hunt launch

Refactored the Announcement component in NavBar to promote the Open SaaS v2.0 Product Hunt launch, including dynamic messaging based on launch date and updated links. Also updated the landing page to import and render new example components.

---------

Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com>
2025-07-28 18:29:22 +02:00
Filip Sodić
318047fa8c Update toml files for new deployment (#452) 2025-07-25 15:59:48 +02:00
Mihovil Ilakovac
09ea4ee982 Updates for Wasp 0.17.0 (#448)
Co-authored-by: Filip Sodić <filip.sodic@fer.hr>
2025-07-10 16:16:19 +02:00
vincanger
7fde793ffe move faker to dev dependencies 2025-06-16 12:01:55 +02:00
Franjo Mindek
48cfd62666 Merge pull request #417 from wasp-lang/franjo/favicon-changes 2025-05-12 13:06:12 +02:00
Mohammed Mudassir
03579d947d fix Landing PageTypos (#424)
Co-authored-by: momomohi <mohammed.mudassir.mohiuddin@oracle.com>
2025-05-07 17:03:45 +02:00
Franjo Mindek
0caed34032 update favicon changes 2025-04-11 13:41:11 +02:00
Mihovil Ilakovac
576d47a32e Adds Posthog script to opensaas.sh and docs.opensaas.sh (#398) 2025-03-21 11:14:06 +01:00
Mihovil Ilakovac
aad13a44a7 Updated package-lock.json for opensaas.sh (#397) 2025-03-20 12:01:27 +01:00
vincanger
f98d17b2ad remove newsletter stuff (#383)
* remove newsletter stuff

* Update guided-tour.md

* Update deletions
2025-03-03 09:43:51 -05:00
Mihovil Ilakovac
d088cff84b Merge pull request #385 from wasp-lang/miho-s3-validation 2025-02-28 19:03:38 +01:00
Mihovil Ilakovac
66d1155a0d Handle missing Discord email sooner. Make sure emails are verified. 2025-02-26 15:25:17 +01:00
Mihovil Ilakovac
03236a4ff8 Update diff 2025-02-25 16:42:48 +01:00
Filip Sodić
90a0ddbea4 Fix diffs 2025-02-24 15:37:03 +01:00
Filip Sodić
b38c156ef2 Update diff files 2025-02-24 15:32:18 +01:00
Filip Sodić
d67ae93805 Update diff files 2025-02-24 15:17:22 +01:00
Filip Sodić
c42ce2322d Update diff files 2025-02-24 15:04:15 +01:00
Mihovil Ilakovac
e270084101 Simplify code 2025-02-21 20:04:20 +01:00
Mihovil Ilakovac
077bede063 Diffs. Cleanup. 2025-02-20 22:38:54 +01:00
Filip Sodić
40f6b72290 Merge pull request #365 from wasp-lang/update-updateUser-info
remove user lastActiveTimestamp property
2025-02-20 15:42:24 +01:00
vincanger
e1a9436029 improve one-time payment webhook logic (#375)
* improve one-time payment webhook logic

* Update paymentProcessor.ts.diff

* update tests and docs

* fix requested changes
2025-02-20 10:58:51 +01:00
vincanger
5c1ec767df update migrations and docs 2025-02-20 10:55:37 +01:00
vincanger
be1b5adf19 Update NavBar.tsx.diff 2025-02-19 14:17:13 +01:00
vincanger
fe4381917e update app diff 2025-02-14 14:55:46 +01:00
vincanger
ef0df9aa02 updateIsUserAdminById 2025-02-13 13:38:37 +01:00
vincanger
c842ee589f Update operations.ts.diff 2025-02-13 13:23:06 +01:00
vincanger
e16ce420fd update app diff 2025-02-13 13:05:26 +01:00
vincanger
8eecd97147 Upgrade v0.16 (#357)
* bump version

* add update banner and cursorrules
2025-01-29 12:26:21 +01:00
Mihovil Ilakovac
73c623e011 Adds tailwindcss as explicit dep (#356) 2025-01-23 15:44:13 +01:00
vincanger
9020daf81a Update AnalyticsDashboardPage.tsx.diff 2024-12-17 17:43:31 +01:00
vincanger
a0de7e9112 add notification to admin dash if no stats generated yet (#346)
* add notification if no stats generated yet

* Update main.wasp

* fix app_diff

* Update AnalyticsDashboardPage.tsx
2024-12-17 17:02:38 +01:00
vincanger
a436c1b658 improve file upload (progress bar & validation) (#317)
* validate file

* fix app_diff

* rename types and functions

* use accessible custom progress bar over native html
2024-12-10 17:24:33 +01:00
vincanger
98dcc43eb8 fix migration issue 2024-11-26 19:52:58 +01:00
vincanger
ab7834b866 Best of cookie banners blogpost (#330)
* add blogpost with canonical to wasp-lang.dev

* Delete 2023-11-23-post.md
2024-11-25 16:04:48 +01:00
Mihovil Ilakovac
79efec838e Merge pull request #320 from wasp-lang/miho-plausible-stats
opensaas.sh stats improvements
2024-11-19 11:46:24 +01:00