A tool to help Granblue Fantasy players create and share teams and strategies.
Find a file
Justin Edmund 0fbdd24491
Job accessories and DatabaseGridWithProvider for jobs (#453)
## Summary

Add job accessories feature and migrate jobs list to
DatabaseGridWithProvider pattern:

- Jobs list now uses DatabaseGridWithProvider (consistent with
weapons/characters/summons)
- Segmented control to switch between jobs and accessories views
- Full CRUD pages for job accessories (detail, edit, new)
- Job creation page for editors
- Navigation dropdown for jobs section

## Changes

### DatabaseGridWithProvider extension
- Extended to support `jobs` resource
- Added `searchJobs` method to search adapter
- Job-specific filters (row, proficiency, master_level, etc.)
- Collection filters hidden for jobs (no element/rarity/series)

### Job grid cells
- `JobIconCell` - portrait thumbnail
- `JobTierCell` - row tier badge
- `JobProficienciesCell` - weapon proficiency icons
- `JobFeaturesCell` - master/ultimate/accessory badges

### Job accessories
- Detail page with job info
- Edit/new pages for editors
- Type utilities (Shield/Manatura)

### Navigation
- Dropdown with "New job" and "New job accessory" options

## Dependencies

Requires hensei-api#206 for backend endpoints.

## Test plan

- [ ] Jobs list loads with DatabaseGridWithProvider
- [ ] Segmented control switches between jobs/accessories
- [ ] Job accessory detail/edit/new pages work
- [ ] Job creation page works for editors
- [ ] Navigation dropdown appears on job pages
2026-01-04 14:44:12 -08:00
.storybook replace Goalking with AGrot font 2025-12-02 08:39:32 -08:00
.vscode Add project configuration files 2025-09-15 04:12:26 -07:00
messages add View in Database menu item for admins 2025-12-23 12:59:39 -08:00
project.inlang Add project configuration files 2025-09-15 04:12:26 -07:00
src Job accessories and DatabaseGridWithProvider for jobs (#453) 2026-01-04 14:44:12 -08:00
static Init Svelte migration repo 2025-09-08 13:43:09 -07:00
.gitignore Low-risk cleanup: unused imports, gitignore, auth types, test routes (#439) 2025-11-28 11:21:24 -08:00
.mcp.json Add project configuration files 2025-09-15 04:12:26 -07:00
.npmrc Init Svelte migration repo 2025-09-08 13:43:09 -07:00
.prettierignore Init Svelte migration repo 2025-09-08 13:43:09 -07:00
.prettierrc Update config files 2025-09-09 00:27:09 -07:00
CLAUDE.md docs: update CLAUDE.md 2025-11-30 02:32:15 -08:00
eslint.config.js Update config files 2025-09-09 00:27:09 -07:00
NEXT_SESSION_PROMPT.md docs: update NEXT_SESSION_PROMPT.md with current progress (161 errors remaining) 2025-11-28 21:25:11 +00:00
package.json add youtube and mention tiptap extensions 2025-12-21 16:32:44 -08:00
pnpm-lock.yaml add youtube and mention tiptap extensions 2025-12-21 16:32:44 -08:00
README.md Init Svelte migration repo 2025-09-08 13:43:09 -07:00
svelte.config.js chore: theme colors and svelte config tweaks 2025-11-30 02:32:11 -08:00
TANSTACK_QUERY_MIGRATION_CONTINUATION.md feat: migrate components to TanStack Query v6 (Phase 2) (#442) 2025-11-29 01:11:24 -08:00
tsconfig.json tsconfig: fix env types by not overriding include 2025-12-01 02:27:52 -08:00
TYPESCRIPT_IMPROVEMENTS.md refactor: consolidate Awakening type definition 2025-11-28 21:48:21 -08:00
vite.config.ts misc type and style fixes 2025-12-13 21:25:02 -08:00
vitest-setup-client.ts Init Svelte migration repo 2025-09-08 13:43:09 -07:00
vitest.config.adapter.ts feat: implement base adapter with retry logic and caching 2025-09-19 23:03:36 -07:00

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.