Interests dashboard page, Articles interest filter, and interest links (steps 5-7)
Every interest name in the web UI links admins to the Articles page filtered and sorted by that interest's stored matches; the Interests page lists weights derived from current ratings and manages categories. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K9PrjtUS16PAQve8D4bHgc
This commit is contained in:
1 parent
22cfb34788
commit
861ae6cb5e
18 files changed
+797
-34
No files matched your search
@@ -2012,6 +2012,8 @@ mod tests {
|
||||
|
||||
let article_id = source.lineup.picks[0].article.id;
|
||||
let dashboard_href = format!("/dashboard/articles/{article_id}");
|
||||
let interest_href = crate::interests::articles_href("Filesystems");
|
||||
assert!(!issue.contains(&interest_href));
|
||||
assert!(!issue.contains(&dashboard_href));
|
||||
let article = app
|
||||
.clone()
|
||||
@@ -2741,6 +2743,7 @@ mod tests {
|
||||
assert!(admin_issue.contains("Was this a good pick?"));
|
||||
assert!(admin_issue.contains("value=\"loved\" data-label=\"loved\" class=\"active\""));
|
||||
assert!(admin_issue.contains(&dashboard_href));
|
||||
assert!(admin_issue.contains(&crate::interests::articles_href("Filesystems")));
|
||||
|
||||
let admin_article = app
|
||||
.clone()
|
||||
|
||||
Reference in new issue
Block a user