Commit graph

763 commits

Author SHA1 Message Date
3ccb80d33b Add prettierignore 2022-12-04 07:18:59 -08:00
e52594d5dd Fix broken skill images 2022-12-03 19:41:25 -08:00
d32824521b Fix lint error: Forgot SearchableObject 2022-12-03 19:21:44 -08:00
32e3bbdab4 Fix lint error 2022-12-03 19:19:31 -08:00
a3ac29deb8
Merge pull request #45 from jedmund/job-skills
Implement job skills
2022-12-03 19:15:02 -08:00
2164b563d0 Fix race condition when selecting job for first time 2022-12-03 19:01:45 -08:00
70ca827e5f Fix an error with ambient declaration 2022-12-03 18:59:48 -08:00
b8130af3f6 Don't show JobDropdown if party isn't editable 2022-12-03 18:40:34 -08:00
5ef43bc1f5 Update job image shadow and backdrop 2022-12-03 16:48:41 -08:00
c6f6a6ca99 Update API calls and display errors 2022-12-03 16:43:18 -08:00
12f54c1e02 Add base_job to Job type 2022-12-03 16:40:09 -08:00
4783a664a7 Add custom Alert component 2022-12-03 16:39:58 -08:00
977c1df13c Remove unused dependencies 2022-12-02 14:54:06 -08:00
7e3c6a9463 Update job skills from server response 2022-12-02 11:21:32 -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
ca4b2e9149 Add JobSkillObject and 0th index 2022-12-01 05:35:27 -08:00
944bfa3d17 Update index.tsx 2022-12-01 04:00:48 -08:00
6d602462fb Fix restoring party state
Instead of pulling it down from props on mount we're just pulling from state
2022-12-01 04:00:39 -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
1cb9d6c843 Restore job when loading party 2022-12-01 01:45:47 -08:00
0096a49a07 Added jobSkills to data structures 2022-12-01 01:45:31 -08:00
8f06fb8770 Remove log 2022-11-30 09:01:39 -08:00
6af2ace6b0 Use SearchableObject type 2022-11-30 09:01:33 -08:00
cbbad53e09 Fix typo that broke job persistence 2022-11-30 09:00:50 -08:00
1202985f80 Fix forwardRef and refactor rendering 2022-11-30 06:09:55 -08:00
055c70624a Add translations 2022-11-30 06:09:40 -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
ee7dc0bc4a Update API 2022-11-30 05:19:51 -08:00
73944becf4 Add type alias for searchable objects 2022-11-30 05:19:43 -08:00
322964d767 Update translations 2022-11-30 05:17:57 -08:00
89e157dc6d Refactor CSS 2022-11-29 02:05:53 -08:00
bf04d951bd Fix CSS bug 2022-11-29 02:05:34 -08:00
7e6e9f244a Add JobSkillModal component 2022-11-29 01:00:52 -08:00
ab28d8c4bf Added JobSkillResult component 2022-11-29 00:59:47 -08:00
5d6ca05143 Add different groupings of skills
`skillClassification` is for pills shown in results
`skillGroups` is for the dropdown that filters all skills
2022-11-29 00:59:28 -08:00
235f36814f Fix name of color attribute on JobSkill 2022-11-29 00:58:48 -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
c599a8352a Fetch and store the jobs and skills in app state 2022-11-27 20:24:47 -08:00
1d571f1a21 Register jobs and skills in app state 2022-11-27 20:19:18 -08:00
5d4ca78dda Add endpoint for fetching skills 2022-11-27 20:18:38 -08:00
5598e72463 Add JobSkill type 2022-11-27 18:55:51 -08:00
c354c8840c Ignore job skill images 2022-11-27 18:55:31 -08:00
b61885a86d Fix even more linter errors 2022-11-19 21:06:06 -08:00
10e2cdd2a6 Continue fixing linter bugs 2022-11-19 20:57:12 -08:00
4b960308d4 Continue fixing linter errors 2022-11-19 20:53:09 -08:00
4f11f88c0f Fix more linter errors 2022-11-19 20:50:39 -08:00