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: [SOEN-140] Implemented sending posts #21

Open
wants to merge 66 commits into
base: main
Choose a base branch
from
Open

Conversation

AfandiM
Copy link
Collaborator

@AfandiM AfandiM commented Apr 2, 2023

Implemented possibility to send posts to your existing conversations

#18

@linear
Copy link

linear bot commented Apr 2, 2023

@AfandiM AfandiM temporarily deployed to Preview April 2, 2023 08:49 — with GitHub Actions Inactive
@AfandiM AfandiM temporarily deployed to Preview April 24, 2023 15:05 — with GitHub Actions Inactive
@AfandiM AfandiM temporarily deployed to Preview April 24, 2023 17:51 — with GitHub Actions Inactive
@github-actions
Copy link

Coverage after merging 140-send-posts-MA into main will be

80.57%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/components
   authLayout.tsx87.50%100%75%83.33%66
   button.tsx87.50%85.71%100%100%15, 30, 33
   filePreview.tsx43.75%36.36%50%46.67%59–61, 63–67, 70–71, 71, 71, 74, 81, 81
   header.tsx70.31%75.51%57.14%72.55%142, 148, 151, 167, 167, 167, 195–197, 224, 230, 234–236, 274, 281, 294, 297, 302, 64, 67–68, 71, 71, 71, 86
   input.tsx85.71%66.67%100%100%14
   mainLayout.tsx100%100%100%100%
   modal.tsx100%100%100%100%
   postMessage.tsx0%0%0%0%10, 14, 14, 14, 14–15, 15, 22, 22, 22–23, 23, 37, 37, 42, 42, 9
   topMenuBar.tsx63.64%66.67%33.33%71.43%35–36, 44, 50, 50, 50
   upload.tsx47.83%28.57%50%58.33%16, 24, 24, 24, 35, 35, 35–37, 41
src/components/notifications
   notificationsDropdown.tsx1.64%0%0%3.23%100, 104, 104–105, 105, 109, 109, 109–110, 110, 129, 129, 129, 129, 134, 134, 149–150, 154, 165–166, 17, 170–171, 18–22, 24, 31, 33–34, 38–39, 42–43, 48–49, 52, 79, 85, 85, 87, 98–99, 99, 99
src/components/profile
   editBioModal.tsx100%100%100%100%
   editButton.tsx91.67%88.89%100%100%18
   editEducationModal.tsx82.76%66.67%100%93.33%54–55, 61–62, 68
   editHeadlineModal.tsx8.33%100%0%11.11%12–13, 15–18, 21, 30
   editJobsModal.tsx82.76%66.67%100%93.33%55–56, 62–63, 69
   editLanguagesModal.tsx82.35%66.67%66.67%94.74%40, 84, 90
   editSkillsModal.tsx81.25%66.67%62.50%94.44%39, 78, 84
   newSectionButton.tsx100%100%100%100%
src/customHooks
   useFileUploading.ts83.33%100%50%100%
   useFiles.ts43.64%0%37.50%48.84%55–58, 60, 62–64, 69, 74–76, 76, 76–77, 79, 82–85, 87, 90–91, 91, 91, 94
src/env
   client.mjs36.36%25%0%50%10, 12, 12, 12, 12, 12, 16–18, 22–23, 25
   schema.mjs50%33.33%0%80%11, 15, 15, 15, 17
src/pages
   _app.tsx100%100%100%100%
   chat.tsx67.10%61.94%65.38%73.55%105, 108, 108, 175, 185, 188, 202–205, 224, 228–229, 233, 239–241, 251, 255, 257, 267, 269, 272, 276, 280–281, 286, 290–291, 303–305, 317, 339, 344, 358, 358, 370–371, 371–372, 372, 372, 372, 372, 375, 38–39, 395–396, 401, 405, 405–406, 406, 406, 406, 406, 411–412, 429, 467, 475, 479, 513–514, 529, 533, 565, 567, 567, 567–568, 79, 81–82, 82, 84, 84, 88, 90–91, 94
   feed.tsx75.54%65.22%74.55%83.21%109, 162, 172, 190, 232, 241–242, 247, 325, 388, 394, 430, 434, 447–448, 454–456, 460, 460–461, 467–468, 519, 532, 535–537, 539, 544, 550, 552, 552, 552–553, 555, 569–570, 570, 576, 576–577, 577, 577, 577, 579, 579, 579, 579, 579, 587, 587, 593, 90
   index.tsx60%75%33.33%63.64%101, 56, 56, 56, 86, 93
src/pages/auth
   final.tsx72.41%40%80%92.86%45, 45, 45, 74, 76, 76, 76
   register.tsx85%66.67%87.50%95%54–55, 57, 88, 88
   signin.tsx84.38%58.33%100%100%50, 68–69, 69, 69
src/pages/u
   [email].tsx76.82%75.65%71.05%82.09%116, 122, 127, 149, 155, 167, 183, 183, 183, 205, 205, 205, 223, 240, 289, 297, 297, 300, 314, 314, 314–315, 315–316, 316, 359, 380, 401, 409, 440, 447, 458, 507, 509, 509, 511–512, 58, 78, 86
src/server
   auth.ts50%100%0%75%20
   db.ts91.67%80%100%100%14
   pusher.ts75%100%0%100%
src/server/api
   helpers.ts100%100%100%100%
   root.ts100%100%100%100%
   trpc.ts67.57%66.67%54.55%73.91%118–119, 41, 63, 66, 68, 87
src/server/api/routers
   auth.ts100%100%100%100%
   chat.ts100%100%100%100%
   connections.ts92.31%76.67%100%100%129, 136, 172, 202, 229–230, 95
   conversations.ts98.04%88.89%100%100%7
   notifications.ts100%100%100%100%
   post.ts74.07%37.50%86.67%82%190–191, 301–302, 31, 313, 313–314, 319, 332–333, 57, 74, 76, 76–77, 77, 77, 77
   postings.ts76.34%43.75%80.95%83.93%100, 242, 28, 45, 45, 45–46, 46, 46, 48–49, 51, 88–89, 91–92, 94–95
   user.ts82.46%54.55%100%100%155–157, 209–211, 38–39, 76–77
src/utils
   customFormat.ts80%100%50%100%
   pusher.tsx75%41.67%65.52%90.70%121, 18–20, 20, 20–21, 47, 55, 75, 75
   useWindowSize.tsx100%100%100%100%

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.

2 participants