311-user-story-group-related-collections-in-directus Show on GitHub
RazanSagheer
7e63d0f
Merge pull request #307 from fdnd-agency/288-documentation-addbasic-authentication-tests-for-magic-link-login
288 documentation addbasic authentication tests for magic link login
fix: change the location off the group link #278
Group page link component were previously loaded inside the ProfileInfo component
- Now they load at the profile page instead
fix(tests): limit vitest to unit and integration tests only. #288
Explicitly include only unit and integration test files
to prevent vitest from picking up playwright e2e tests.
Refs: #288
ci: add vitest and playwright e2e tests to pipeline #288
- Run unit and integration tests with vitest --run- Install chromium and firefox for playwright e2e
Refs: #288
test(e2e): add protected route redirect e2e tests. #288
These tests verify that unauthenticated users are redirected
to /login when visiting protected routes like /dashboard,
/research, and the root route.
Refs: #288
Merge pull request #301 from fdnd-agency/300-bug-remove-unused-publicenv-import-and-use-urlorigin-for-magic-link
fix: remove unused publicEnv import and use url.origin for magic link…
Merge pull request #298 from fdnd-agency/288-documentation-add-basic-authentication-tests-for-magic-link-login
test(integration): add magic link API integration tests. #288
test(integration): add magic link API integration tests. #288
These tests verify the magic link request logic including
happy path with existing email, unknown email returning
success for security, and failed Directus insert handling.
Refs #288
fix: correct GroupsLink import path in ProfileForm #278
Fixes incorrect import name from GroupsLinkButton
to GroupsLink to match the actual component filename.
feat: make GroupsLink component for ProfileForm #278
Adds a reusable GroupsLink component:
- Focus-visible outline for accessibility
- Replaces inline anchor in ProfileForm with component
chore: add TODO comments for dynamic data integration #264
Adds TODO comments across Group components marking all
hardcoded placeholder data that needs to be replaced
feat: integrate GroupAboutBanner and update Group page layout css #264
- load AboutBanner component
- Stacked member avatars with border
- Summary bar with space between layout and top border
- Container query for larger padding at 42rem+
- Respects prefers-reduced-motion for transitions
feat: add AboutBanner component #264
- Blue dismissible banner using <details> open/close
- Slotted content with close button (×) as summary
- Responsive font size via container query at 48rem+
- Hides banner when closed via :not([open])
style: add CSS styling to GroupCard #264
- Rounded card with shadow and max-width of 24rem
- Summary bar with space-between layout and top border
- Container query for larger padding at 42rem+
- Respects prefers-reduced-motion for transitions
style: add CSS styling to GroupInviteForm component #264
- Blue submit button with hover transition
- Container query for larger padding at 42rem+
- Respects prefers-reduced-motion for button transition
style: add CSS and header photo to GroupCardHeader #264
- add defuealt photo for the group avtar
- background image using absolute positioning
- Container query for larger padding at 42rem
test(unit): add session expiration unit tests. #288
These tests verify that a session correctly expires after 1 hour of inactivity, including edge cases like exactly 59 minutes and just over the 1 hour limit.
Refs: #288
test(unit): add token generation unit tests. #288
These tests verify that the magic link token is always a valid, unique, non-empty 64-character string.
Refs #288