Commit Graph

53 Commits

Author SHA1 Message Date
Zai Shi
b4677ff272 bumped version 2024-04-15 16:55:56 +02:00
Stan Wohlwend
02fe7bee2f StatusError name 2024-04-15 14:10:23 +02:00
Stan Wohlwend
ff3fb4a542 Remove unnecessary console.log 2024-04-14 21:54:44 +02:00
Zai Shi
3a55713b43 fixed access token parsing 2024-04-14 15:33:33 +02:00
Zai Shi
909afc1edf bumped version 2024-04-14 13:40:00 +02:00
Stan Wohlwend
6fe5ca45eb Report all errors to Sentry 2024-04-14 13:32:31 +02:00
Stan Wohlwend
3df1def41e Async onClick for button 2024-04-14 08:28:41 +02:00
Zai Shi
ed90a7efcf fixed error inheritance structure 2024-04-14 08:01:44 +02:00
Stan Wohlwend
23db888c90 Fix: "The provided app JSON does not match the configuration" 2024-04-13 17:52:33 +02:00
Zai Shi
2995d9662a
UserButton component and account setting page (#10)
* fixed sign in title bug

* addec changeset

* added popover

* added dropdown, improved user button

* improved user button

* added avatar, adding account setting

* added send verification email

* added plaintext to emails

* fixed select props

* added name update

* added password update

* added email password update

* only password update for accounts logged in credential

* fixed small errors in endpoints

* improved account setting page

* fixed types

* removed props export

* divider -> separator

* fixed accidently renamed dividers

* added changeset
2024-04-13 16:42:05 +02:00
Stan Wohlwend
673a8fae74 Add useful headers 2024-04-12 17:44:41 +02:00
Stan Wohlwend
244ac7c9e3 Decrease page load latency 2024-04-12 17:04:01 +02:00
Stan Wohlwend
0c24ed5f05 Fix auth error 2024-03-25 20:59:16 -07:00
Stan Wohlwend
33823065b6 Rework known errors 2024-03-25 20:59:16 -07:00
Zai Shi
63a90fed35 bumped version 2024-03-21 17:58:29 +08:00
Zai Shi
9e9907f2b3
New UI system (#5)
* added stack-ui package

* added ui elements

* fixed react package type bug, added deleted components back

* updated button and typography interface

* added element provider

* moved all elements to element context

* added ui-joy

* moved UIPage component and update Button component

* added StackUIProvider

* added UI framework switch

* changed theme to colormode

* changed StackUIProvider interface

* updated file names

* updated package config

* fixed types and dependencies

* fixed color theme

* added custom button

* converted signin page to stack-ui

* moved oauth button stack-ui

* fixed styling bugs

* changed color/variant interface for button and text

* moved credential sign up to stack-ui

* moved card header and divider to stack-ui

* moved card-frame to stack-ui, fixed bugs

* fixed bugs, added global bg color to dev app

* moved forgot password to stack-ui

* updated styling

* moved form warning text to stack-ui

* added redirect message card to stack-ui

* moved everything to stack-ui, removed daisy and tailwind

* added joy input

* simplified code

* fixed joy button

* restructured UI provider interface

* made joy color mode work

* fixed small ui bugs

* updated demo, changed constant structures in stack-ui

* added select ui to demo

* added joy ui text

* added mui divider

* Used dynamic elements to replace useElements hook

* changed full page behaviour (100vh => 100%)

* added auto detect parent to cardframe

* updated documentation

* updated customization overview

* updated custom color doc

* fixed system color mode bug

* fixed select visual on safari

* changed UI provider interface

* renamed files to lower case

* fixed import bug

* finished custom colors doc

* added docs for custom components

* removed wrong cased files

* updated custom pages docs

* updated custom component docs

* elements -> components

* fixed missing rename

* fixed broken links in docs

* removed tailwind css import in stack

* fixed typos and small problems

* cleaned up package.json files

* updated dependencies

* fixed stack-server bug (webpack xxx not a function and u type error)

* updated setup doc

* added changeset

* fixed the 'use client' bug in stack-ui

* merged stack-ui and stack-ui-joy into stack

* renamed StackUIProvider to StackTheme

* unified imports

* added hook details to custom color doc
2024-03-21 10:51:53 +01:00
Stan Wohlwend
1774908984
Initiate backend rework (#6) 2024-03-18 01:40:40 -07:00
Zai Shi
ed6b50d429 published new npm version 2024-03-13 11:13:16 +08:00
Zai Shi
c0151a8e5d removed redirectUrl in functions, added newUser attribute to signInWithOAuth, added after sign-in/up/out urls 2024-03-12 17:31:28 +08:00
Stan Wohlwend
df2130d36a Head tags 2024-03-08 06:23:02 +01:00
Stan Wohlwend
f5108bc53d Fix SSR error if Suspense is missing 2024-03-07 14:32:52 +01:00
Zai Shi
e76a2cd5fa versuib bump 2024-03-06 23:46:39 +08:00
Zai Shi
7ce58d3efb Bumped version 2024-03-06 22:44:43 +08:00
Zai Shi
96d61ab216 improved type system 2024-03-06 21:38:49 +08:00
Zai Shi
397a4046ba Oauth -> OAuth 2024-03-06 21:17:14 +08:00
Zai Shi
8bbf4d2688 added more production check messages 2024-03-06 17:06:39 +08:00
Stan Wohlwend
db5a2c859e Remove most occurences of useStrictMemo 2024-03-06 05:39:11 +01:00
Zai Shi
3737f68e07 added allow localhost 2024-03-06 10:52:50 +08:00
Stan Wohlwend
939f50f75d AsyncCache cache strategies 2024-03-06 02:55:47 +01:00
Zai Shi
278a18a1ed added enabled to oauth config 2024-03-06 09:02:05 +08:00
Zai Shi
a66e32fef7 Merge branch 'main' of github.com:stackframe-projects/stack 2024-03-06 01:27:49 +08:00
Zai Shi
0eced1936b updated provider frontend 2024-03-06 01:27:45 +08:00
Stan Wohlwend
81760b87cd stack: Redirect to home on "Invalid API key" hack 2024-03-05 17:36:57 +01:00
Zai Shi
8ecba202cf made credential enabled work (both frontend and backend) 2024-03-05 23:08:16 +08:00
Zai Shi
cd152317de added project config update 2024-03-05 22:40:50 +08:00
Zai Shi
55150eab78 bumped versions 2024-03-05 13:23:08 +08:00
Stan Wohlwend
f0dcc65b4b stack-shared: Add cacheFunction 2024-03-05 04:29:06 +01:00
Stan Wohlwend
32d67068ed Remove clean before build 2024-03-04 21:59:41 +01:00
Stan Wohlwend
f7380e041a Add React as dev dependency to stack-shared 2024-03-04 21:30:35 +01:00
Stan Wohlwend
ac8bfe4845 Better clean script 2024-03-04 19:37:39 +01:00
Stan Wohlwend
f93858900f Fix "Invalid API key" bug with reload hack 2024-03-04 16:06:53 +01:00
Stan Wohlwend
8b25826652 Several small fixes on the dashboard 2024-03-04 14:29:29 +01:00
Zai Shi
5d43e48248 published npm pacakges 2024-03-04 21:20:59 +08:00
Zai Shi
85d6585664 Merge branch 'main' of https://github.com/stackframe-inc/stack 2024-03-04 06:24:44 +08:00
Zai Shi
6c8d5653f3 improved types for catch known error 2024-03-03 18:43:35 +01:00
Zai Shi
9bd2e26af0 fixed login token bug 2024-03-03 17:30:20 +01:00
Stan Wohlwend
489ef8bec3 Don't log SSR suspension error 2024-03-03 14:45:58 +01:00
Zai Shi
3a8b1041ae formatted code 2024-03-03 09:53:47 +01:00
Stan Wohlwend
e334df1a88 Fix use being called conditionally 2024-03-02 15:30:56 +01:00
Zai Shi
53f27b8758 added onboarding apikey dialog (doesn't quite work yet because of the root exit issue) 2024-03-01 13:56:17 +01:00