Commit graph

32 commits

Author SHA1 Message Date
b36dcb7b6f Fix optional error 2023-01-31 17:59:57 -08:00
b3ec6a5d08 Fix job dropdown not showing jobs
This was happening due to a combination of the useEffect not being updated properly in the New route and the state being completely reset when cleaned in the new route, including values that should persist.
2023-01-29 16:20:14 -08:00
2a202bb60d Don't allow selecting skill without selecting job 2023-01-29 02:11:07 -08:00
a7e3718a7e
Merge branch 'staging' into fix-job-errors 2023-01-28 03:52:58 -08:00
c5c08b6a78 Fix bug with api response 2023-01-26 02:42:14 -08:00
9a3d833092 Persist and recall accessory from server 2023-01-24 02:39:04 -08:00
bef9c2b286 Add JobAccessoryPopover
This opens, closes, and saves the value but it doesn't persist to the server yet. Not a responsive component yet.
2023-01-24 02:07:54 -08:00
6f32c975ce Extracted display of Job image into a component 2023-01-23 22:08:38 -08:00
a4cc331f5e Use proper URL for job icons
Before we were linking to local icons, but these will live on S3
2023-01-23 15:09:34 -08:00
968970b332 Fix errors from props on HTML elements 2023-01-23 02:46:58 -08:00
d5dda428cf Add job to read-only display 2023-01-22 22:48:50 -08:00
89908777a2 Add backdrop-filter for Overlay and animate 2023-01-21 09:42:50 -08:00
acbc2da09d Show no_job string in read-only section 2023-01-15 10:37:51 -08:00
ba6c45d551 Fix job image rendering
* Only render when job selected
* Render localized name as alt string
2023-01-02 00:52:26 -08:00
dc86e712cb Fix canEditSkill 2022-12-23 15:47:39 -08:00
2d2497b8da Allow setting job to "No job" after it has been set 2022-12-23 15:34:13 -08:00
e8843699c7 Remove trailing semicolons 2022-12-05 17:54:46 -08:00
efa864fb80 Run prettier on src 2022-12-04 07:19:31 -08:00
2164b563d0 Fix race condition when selecting job for first time 2022-12-03 19:01:45 -08:00
b8130af3f6 Don't show JobDropdown if party isn't editable 2022-12-03 18:40:34 -08:00
977c1df13c Remove unused dependencies 2022-12-02 14:54:06 -08:00
cfc8e149fb Remove logs 2022-12-02 11:21:14 -08:00
fdebea27ae Populate skills from props instead of state
We're essentially ensuring consistency between the backend by frontend by using the backend as more of a source of truth.
2022-12-01 05:36:57 -08:00
c307fcb18f Remove logs 2022-12-01 02:00:58 -08:00
6070164150 Save job and job skill to party 2022-12-01 01:46:11 -08:00
97f22b852a Remove dead ref code 2022-11-30 06:09:32 -08:00
725e989bd7 Remove console logs 2022-11-30 05:21:11 -08:00
6ef73583df Implement job skill search 2022-11-30 05:20:22 -08:00
79a0095d22 Add basic interface for skills
Skills change when the job changes, but can't be selected on their own yet
2022-11-28 20:36:12 -08:00
e53dac8b46 Update JobSection to reflect MC gender 2022-04-10 13:25:30 -07:00
b0b0219896 Don't crash when loading parties without jobs 2022-04-10 13:07:02 -07:00
95f4dccb9e Create JobSection 2022-04-04 23:43:02 -07:00