Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
68016cd
feat: auth lo fi screens
tars919 Mar 17, 2026
fcda7f2
fix: use import type for OnboardingFormData
tars919 Mar 17, 2026
385e2c2
fix: run prettier on onboarding components
tars919 Mar 17, 2026
2cd6706
fix: remove broken requests.list route blocking CI
tars919 Mar 17, 2026
9282a6e
fix: prettier formatting
tars919 Mar 17, 2026
d8b9786
fix: prettier formatting
tars919 Mar 17, 2026
75e2d36
Merge branch 'main' into onboarding-lofi
tars919 Mar 18, 2026
323c7e9
fix: prettier formatting
tars919 Mar 18, 2026
86d33a8
final fix
tars919 Mar 18, 2026
93a60bc
fixed the responsive view on the pages
tars919 Mar 18, 2026
12ce85a
address PR review: named exports, type props, design tokens, RoleCard…
tars919 Mar 25, 2026
04c8a61
resolve merge conflict in swagger.yaml
tars919 Mar 25, 2026
1d58f7d
fix import order lint errors
tars919 Mar 25, 2026
5faba0d
fix prettier formatting
tars919 Mar 25, 2026
8a94275
Merge branch 'main' of https://github.com/GenerateNU/selfserve into o…
tars919 Apr 4, 2026
b39c32f
fix: convert inline styles to Tailwind
tars919 Apr 4, 2026
23947dc
fix: restore prettier config and finalize onboarding styles
tars919 Apr 4, 2026
28a12d6
fix: prettier formatting
tars919 Apr 4, 2026
a4c68ff
fix: revert unintended changes to CI and README
tars919 Apr 4, 2026
59e2cd2
fix: remove var() syntax and use Tailwind token shorthand
tars919 Apr 4, 2026
930c85c
Merge branch 'main' into onboarding-lofi
tars919 Apr 4, 2026
bd064cd
Merge branch 'main' into onboarding-lofi
tars919 Apr 4, 2026
552f821
Merge branch 'main' into onboarding-lofi
tars919 Apr 4, 2026
42e6ca9
Merge branch 'main' into onboarding-lofi
tars919 Apr 7, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/IOSDeploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: oven-sh/setup-bun@v2

- name: Install dependencies
working-directory: clients
working-directory: clients
run: make install-shared && make install-mobile

- name: Setup Expo and EAS
Expand Down
30 changes: 21 additions & 9 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ const variantStyles: Record<ButtonVariant, string> = {
secondary: "bg-bg-container text-text-default hover:bg-bg-selected",
};

export function Button({ variant = "secondary", className = "", ...props }: ButtonProps) {
export function Button({
variant = "secondary",
className = "",
...props
}: ButtonProps) {
return (
<button
className={cn(variantStyles[variant], className)}
{...props}
/>
<button className={cn(variantStyles[variant], className)} {...props} />
);
}
```
Expand Down Expand Up @@ -90,6 +91,7 @@ const variantStyles: Record<Variant, string> = { ... };
```

**Custom theme tokens** (use these instead of raw colors):

- Text: `text-text-default`, `text-text-subtle`, `text-text-secondary`
- Background: `bg-bg-primary`, `bg-bg-container`, `bg-bg-selected`, `bg-bg-disabled`
- Stroke: `stroke-default`, `stroke-subtle`, `stroke-disabled`
Expand Down Expand Up @@ -125,9 +127,14 @@ const { data } = useQuery({

```ts
const { mutate } = useMutation({
mutationFn: (value: string) => request({ url: `/resource/${id}`, method: "PUT", data: { field: value } }),
onSuccess: (result) => { /* handle success */ },
onError: (error) => { /* handle error */ },
mutationFn: (value: string) =>
request({ url: `/resource/${id}`, method: "PUT", data: { field: value } }),
onSuccess: (result) => {
/* handle success */
},
onError: (error) => {
/* handle error */
},
onSettled: () => {
queryClient.invalidateQueries({ queryKey: ["resource", id] });
},
Expand Down Expand Up @@ -170,7 +177,10 @@ const { mutate } = useMutation({
Follow `use*` naming. Generic hooks accept type parameters.

```ts
export const useDropdown = <T>({ selected, onChangeSelectedItems }: UseDropdownOptions<T>) => {
export const useDropdown = <T>({
selected,
onChangeSelectedItems,
}: UseDropdownOptions<T>) => {
// implementation
};
```
Expand Down Expand Up @@ -254,6 +264,7 @@ if errors.Is(err, errs.ErrNotFoundInDB) {
```

Available HTTP error constructors in `errs` package:

- `BadRequest(msg string) HTTPError`
- `NotFound(title, withKey string, withValue any) HTTPError`
- `InvalidRequestData(errors map[string]string) HTTPError`
Expand Down Expand Up @@ -330,6 +341,7 @@ Use `slog` package for structured logging. No `fmt.Println` in production paths.
Commands are registered in `main.go` and implemented in per-topic files (e.g. `guests.go`).

**Registering a command:**

```go
// main.go
var commands = map[string]command{
Expand Down
Loading
Loading