Skip to content

Develop#18

Merged
davidangarita1 merged 5 commits intomainfrom
develop
Mar 10, 2026
Merged

Develop#18
davidangarita1 merged 5 commits intomainfrom
develop

Conversation

@davidangarita1
Copy link
Owner

No description provided.

davidangarita1 and others added 5 commits March 10, 2026 14:30
- Replace Bootstrap/SCSS with TailwindCSS
- Add Zustand for state management (replacing Context API)
- Add Fuse.js for fuzzy search
- Add vite-plugin-pwa for PWA support
- Refactor resources.json to new schema (id, title, url, description, category, tags, createdAt)
- Remove pendings.json, unused deps (axios, bootstrap, formik, dotenv)
- Create service layer: storageService, searchService, resourceService
- Create Zustand store with filters, favorites, statuses, search
- Create custom hooks: useResources, useFavorites, useStatuses, useSearch
- Create UI components: ResourceCard, SearchBar, Sidebar, Topbar, TagList, CategoryList
- Create pages: Dashboard with grid layout, NotFound
- Implement localStorage persistence for favorites and statuses
- Implement status cycling: pending -> consumed -> reference -> none
- Add 49 unit tests (services, hooks, components)
- Configure PWA manifest and service worker
- Update path aliases and tsconfig
…k checker

- fix(search): rewrite useResources to subscribe to all store slices reactively
  searchQuery/searchResults/activeFilter/activeCategory/favorites/statuses are
  now direct Zustand subscriptions so any change triggers a re-render

- fix(dark-mode): add @custom-variant dark to index.css for Tailwind v4 class-based dark mode
  Tailwind v4 defaults to prefers-color-scheme; class variant requires
  '@custom-variant dark (&:is(.dark, .dark *))' in CSS
  Topbar refactored: applyDarkMode() syncs classList+localStorage atomically,
  no more stale useEffect, reads system preference as fallback

- refactor(tests): move all tests to src/__tests__ mirroring src structure
  src/__tests__/services/storageService.test.ts
  src/__tests__/services/searchService.test.ts
  src/__tests__/hooks/useFavorites.test.ts
  src/__tests__/hooks/useStatuses.test.ts
  src/__tests__/components/ResourceCard.test.tsx
  src/__tests__/components/SearchBar.test.tsx
  All 49 tests pass from new location

- feat(script): add check-links.sh to verify URL availability
  Parallelizes curl checks (default 10 workers, configurable)
  Reports HTTP status codes for broken/inaccessible links
  Saves timestamped TXT report when broken links are found
  Usage: ./check-links.sh [--timeout N] [--parallel N]
…refactor

feat: Bookmark Manager PWA — full architectural refactor (v1.0.0)
@netlify
Copy link

netlify bot commented Mar 10, 2026

Deploy Preview for webresources ready!

Name Link
🔨 Latest commit d995b37
🔍 Latest deploy log https://app.netlify.com/projects/webresources/deploys/69b074c228a12800087660ca
😎 Deploy Preview https://deploy-preview-18--webresources.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@davidangarita1 davidangarita1 merged commit 664224e into main Mar 10, 2026
6 of 7 checks passed
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