Skip to content

Favorite renaming - #30

Open
Lyinlyon wants to merge 10 commits into
certfrom
Favorite-Renaming
Open

Favorite renaming#30
Lyinlyon wants to merge 10 commits into
certfrom
Favorite-Renaming

Conversation

@Lyinlyon

Copy link
Copy Markdown
Collaborator

Favorites can now be renamed inline. The favorite search now searches by the favorite id and name rather than the insertable. The changes to packages and the addition of the coverage folder were done automatically and I have no idea what they do.

Lyinlyon added 4 commits July 8, 2026 13:51
	new file:   drizzle/0003_favorites_add_name.sql
	modified:   package-lock.json
	modified:   package.json
	modified:   src/__test_utils__/seed.ts
	modified:   src/backend/routes/favorites.test.ts
	modified:   src/backend/routes/favorites.ts
	modified:   src/frontend/cards/card-components.tsx
	modified:   src/frontend/favorites/favorite-button.tsx
	modified:   src/frontend/favorites/favorite-card.tsx
	modified:   src/frontend/favorites/favorite-menu.tsx
	modified:   src/shared/api-models.ts
	modified:   src/shared/schema.ts
	new file:   src/frontend/favorites/favorite-search.test.ts
	new file:   src/frontend/favorites/favorite-search.ts
	modified:   src/frontend/favorites/favorites-list.tsx
	modified:   src/shared/search.ts
	modified:   src/frontend/favorites/favorite-menu.tsx
	modified:   src/backend/routes/favorites.test.ts
	modified:   src/backend/routes/favorites.ts
Comment thread src/backend/routes/favorites.ts
Comment thread src/backend/routes/favorites.ts

@AlexKempen AlexKempen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's looking good, you can see my comments above.

I also realized our search logic was pretty scuffed and/or scattered, so I added a typed SearchResultDocument helper and renamed/re-organized our existing search implementation so the organization is a bit clearer, so make sure you run git pull the next time you work on it so you get my changes/don't run into conflicts

Comment thread src/backend/routes/favorites.ts
Comment thread src/frontend/favorites/favorite-card.tsx Outdated
Comment thread src/frontend/favorites/favorite-card.tsx Outdated
Comment thread src/frontend/favorites/favorite-card.tsx Outdated
Comment thread src/frontend/favorites/favorite-card.tsx
Comment thread src/frontend/cards/card-components.tsx Outdated
Comment thread src/frontend/favorites/favorite-search.ts
Comment thread src/shared/schema.ts Outdated
Comment thread src/frontend/favorites/favorite-search.ts Outdated
Comment thread src/frontend/favorites/favorite-search.ts Outdated
Lyinlyon added 2 commits July 19, 2026 18:31
	deleted:    coverage/coverage-final.json
	deleted:    coverage/lcov-report/base.css
	deleted:    coverage/lcov-report/block-navigation.js
	deleted:    coverage/lcov-report/favicon.png
	deleted:    coverage/lcov-report/index.html
	deleted:    coverage/lcov-report/prettify.css
	deleted:    coverage/lcov-report/prettify.js
	deleted:    coverage/lcov-report/sort-arrow-sprite.png
	deleted:    coverage/lcov-report/sorter.js
	deleted:    coverage/lcov.info
	modified:   src/frontend/cards/card-components.tsx
	modified:   src/frontend/cards/insertable-card.tsx
	modified:   src/frontend/favorites/favorite-card.tsx
	modified:   src/frontend/groups/group-card.tsx
	modified:   src/shared/schema.ts
@Lyinlyon
Lyinlyon requested a review from AlexKempen August 6, 2026 01:17
@Lyinlyon
Lyinlyon marked this pull request as draft August 6, 2026 01:35
@Lyinlyon
Lyinlyon marked this pull request as ready for review August 6, 2026 02:10
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