Soft auto-apply (retract + confirm, no self-training) + tagging UX (reject-rest, tag-input race, modal playlist) #197
@@ -197,7 +197,7 @@ def _head_fingerprints(session: Session, tag_ids: list[int]) -> dict[int, str]:
|
||||
.where(TagPositiveConfirmation.tag_id.in_(tag_ids))
|
||||
.group_by(TagPositiveConfirmation.tag_id)
|
||||
).all()
|
||||
conf_map = {t: c for t, c in conf}
|
||||
conf_map = dict(conf)
|
||||
out = {}
|
||||
for t in tag_ids:
|
||||
pc, pm = pos_map.get(t, (0, None))
|
||||
|
||||
@@ -80,6 +80,6 @@ describe('PostCard', () => {
|
||||
const w = mountComponent(PostCard, { props: { post }, pinia })
|
||||
await w.find('.fc-post-card__hero').trigger('click')
|
||||
await flushPromises()
|
||||
expect(openSpy).toHaveBeenCalledWith(10, { postImageIds: [10, 11] })
|
||||
expect(openSpy).toHaveBeenCalledWith(10, { playlistIds: [10, 11] })
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user