Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add fields support #110

Merged
merged 1 commit into from
Sep 27, 2024
Merged

feat: Add fields support #110

merged 1 commit into from
Sep 27, 2024

Conversation

evadecker
Copy link
Member

What changed?

  • Add backend support for setting fields within quest steps
  • Rename usersQuests table to userQuests
  • Rename types.ts to validators.ts and reorganize consts/validators for consistency
  • Eliminate enums and use as const instead
  • Make app nav sticky

CleanShot 2024-09-27 at 13 18 26@2x

Why?

Prepare support for form filling, improve organization and DX.

How was this tested?

Manual testing.

Anything else?

Will followup with more backend changes to store user fields.

Copy link

changeset-bot bot commented Sep 27, 2024

🦋 Changeset detected

Latest commit: b34ef9f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
namesake Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 9.72%
⬆️ +2.26%
342 / 3515
🔵 Statements 9.72%
⬆️ +2.26%
342 / 3515
🔵 Functions 2.5%
⬆️ +1.24%
2 / 80
🔵 Branches 14.45%
⬆️ +9.12%
12 / 83
File Coverage
File Stmts % Branch % Funcs % Lines Uncovered Lines
Changed Files
convex/constants.ts 100% 100% 100% 100%
convex/forms.ts 0% 0% 0% 0% 1-4, 6-7, 9-14, 16-21, 23-31, 33-40, 42-48, 50-52, 54-61, 63-77, 79-84, 86-91, 93-96, 98-101
convex/quests.ts 59.7% 100% 14.28% 59.7% 19-23, 29-30, 40-46, 52-53, 59-60, 66-71, 73-75
convex/schema.ts 100% 100% 100% 100%
convex/users.ts 0% 0% 0% 0% 1-3, 5-6, 8-9, 11-16, 18-23, 25-34, 36-44, 46-51, 53-58, 60-65, 67-78, 80-85, 87-92, 94-97
convex/validators.ts 100% 100% 100% 100%
src/components/AppHeader/AppHeader.tsx 0% 0% 0% 0% 1-9, 11-14, 16-19, 21-24, 26-31, 33-40, 43-44, 51
src/routes/__root.tsx 0% 0% 0% 0% 1, 8, 10-11, 26-28, 30-31, 33-40, 43-49, 52-53, 56-58, 62
src/routes/_authenticated/admin/forms/index.tsx 0% 0% 0% 0% 1, 21-22, 24-28, 30-32, 34-37, 42-50, 52-57, 59-60, 62-63, 65-66, 68-74, 76, 78-80, 82-93, 95, 97, 99-105, 107-112, 114-120, 122-124, 129-130, 133, 140, 142-146, 148-152, 154-158, 162-163, 165-169, 171-173, 177-179, 183-185, 190, 199, 201-203, 205-209, 213-218, 220-229, 233-234, 238-241, 245
src/routes/_authenticated/admin/quests/$questId.tsx 0% 0% 0% 0% 1, 11-12, 14-18, 20-22, 24-36, 38-40, 42-45, 47-56, 58-63, 65-77, 87, 90-91, 95-101, 103-111, 114, 116-119, 121, 126, 129-130, 133, 143
src/routes/_authenticated/admin/quests/index.tsx 0% 0% 0% 0% 1, 20-21, 23-27, 29-31, 33-36, 41-45, 47-51, 53-55, 57-59, 61-71, 73-77, 80, 82-87, 89-94, 96-98, 102-103, 106, 113, 115-116, 119-125, 127, 129-133, 135-141, 146-148, 150, 153-158, 160-165, 168-170, 172, 177, 186, 188-190, 192-196, 200-206, 208-217, 221-222, 226-229, 233
src/routes/_authenticated/quests/$questId.tsx 0% 0% 0% 0% 1, 9-10, 12-16, 18-20, 22-35, 37-40, 42-43, 45-54, 56, 61-63, 65-67, 71-72, 79-87, 94, 98
src/routes/_authenticated/quests/route.tsx 0% 0% 0% 0% 1, 10-11, 13-15, 21-22, 25-27, 29-32, 37-41, 43-45, 47-48, 50-52, 54-56, 58-67, 69-75, 77-82, 85, 88, 90-91, 94-97, 99-103, 109, 111-112, 114-115, 117, 119-128, 132-135, 137, 139-143, 145-148, 152-155, 157, 161, 163-168, 170-173, 176-177, 181
src/routes/_authenticated/settings/index.tsx 0% 0% 0% 0% 1, 11-13, 15-20, 22-24, 26-29, 31-36, 38-41, 43, 45-49, 51-61, 63-67, 69-74, 76, 78-79, 81-82, 84-87, 89-94, 96-102, 104-111, 113-117, 120-123, 125-127, 129-130, 133-136, 138-139, 142-149, 156-166, 169, 175
Generated in workflow #78

@evadecker evadecker merged commit b57e265 into main Sep 27, 2024
7 checks passed
@evadecker evadecker deleted the quest-fields branch September 27, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant