Commit Graph

1175 Commits

Author SHA1 Message Date
Jose Farias 45e94e4484 Support search on markdown fields 2024-11-29 14:28:37 -06:00
Jose Farias d556e21287 Use House for MD comments 2024-11-27 18:59:15 -06:00
Jose Farias 3e1b2c74e4 Make one-way assignment and tagging methods private 2024-11-25 17:55:25 -06:00
Jose Farias a9f845ed47 Assigner is always Current.user 2024-11-25 17:51:20 -06:00
Jose Farias acac683b3e Do combobox filtering client-side 2024-11-25 16:25:42 -06:00
Jose Farias 5e09f5a9b9 Remove swapping 2024-11-25 16:17:44 -06:00
Jose Farias f266e46b57 Wire up comboboxes 2024-11-21 19:58:21 -06:00
Jose Farias e117f4e5af boost_count -> boosts_count
This aligns better with counter_cache conventions, in case we turn boosts into a model later
2024-11-19 14:22:51 -06:00
Jose Farias df746e5a64 Merge branch 'main' into activity-score
* main:
  Missed one
  Tighten up workflow panel
  Fix test
  Forget about the dividing line for now
  Add some structure to buckets index
  Adjust form
  Restore bucket settings link, adjust styles for filters
  No need for inline svg here anymore
2024-11-19 13:38:39 -06:00
Jose Farias 9ac136bace Rescore bubble from Message, not Comment 2024-11-19 13:27:09 -06:00
Jose Farias 2a9be42c4e Use count cache instead of counting comments in calculating score 2024-11-19 13:26:25 -06:00
Jose Farias 0c38699dec Merge branch 'main' into activity-score
* main: (22 commits)
  Fix layout issue that caused comment form to be unselectable
  Stick with stock buttons for now
  Still a little odd that it's a separate form but this conceptually belongs here
  We've got a utility for this
  Fix navbar alignment
  Kind of hate that icon, let's try something else
  Use new bubble shape
  Prevent bubble getting squished
  Fix image fit, try animation
  Don't assume `@filter` is set
  Clicking assignees filters by that assignee
  Restore behavior: clicking tags filters by that tag
  Make these consist from view-to-view
  Improve hover motion for meta bubbles
  No longer used
  Improve assignee bubble display, especially when there are multiple assignees
  name -> key
  ** not required
  Swap one? and many? branches
  Change title based on selected buckets
  ...
2024-11-19 13:09:57 -06:00
Jason Zimdars 4eaa414ebb Missed one 2024-11-19 13:01:01 -06:00
Jason Zimdars ca7cccdb7c Add some structure to buckets index 2024-11-19 12:45:16 -06:00
Jose Farias 0c51129e1e name -> key 2024-11-18 12:04:52 -06:00
Jose Farias 0995eee074 Turn filter chips into links 2024-11-18 11:34:44 -06:00
Jose Farias f17b060906 Move rescoring concerns to bubble 2024-11-15 19:48:53 -06:00
Jose Farias b4e8adca47 Pre-calculate comment counts and activity scores 2024-11-15 18:17:42 -06:00
Jose Farias fb04249209 Make filters into a simple form 2024-11-14 21:50:38 -06:00
Jose Farias a2092efc0a Add assigners to filter summary 2024-11-13 14:27:23 -06:00
Jose Farias cc2b799b1c Allow assigner ids param 2024-11-13 14:01:31 -06:00
Jose Farias 33d1f7f022 Sort filter params before hashing
So that param order doesn't matter
2024-11-13 13:55:46 -06:00
Jose Farias 4dfba46142 Fix tests 2024-11-13 13:55:30 -06:00
Jose Farias 458a6a1ac2 Wire up assigner filters 2024-11-13 13:34:51 -06:00
Jose Farias 72ddd18bcc Spell out button_to params 2024-11-13 13:23:12 -06:00
Jose Farias 8301db767a Add frame to search terms form 2024-11-12 20:20:38 -06:00
Jose Farias ec16237bf4 Render each kind of filter in its own frame 2024-11-12 19:58:19 -06:00
Jose Farias 932fc341ce Add terms to filter 2024-11-12 19:14:40 -06:00
Jose Farias e399702217 Clean up Filter class methods 2024-11-12 16:36:59 -06:00
Jose Farias e53df951f2 KNOWN_PARAMS -> PERMITTED_PARAMS 2024-11-12 16:36:38 -06:00
Jose Farias 6384d5eb0e Remove most_active as index option 2024-11-11 17:29:16 -06:00
Jose Farias 0baaf5d87f Wire up filter form sans search 2024-11-11 13:46:15 -06:00
Jose Farias d455b72906 Hash filter params 2024-11-08 15:17:55 -06:00
Jose Farias aca9a69ce1 Add derived_params alias 2024-11-07 12:48:27 -06:00
Jose Farias 77a9b267d8 Split out fields and params for filters 2024-11-07 12:44:26 -06:00
Jose Farias fb08ff394d exists? -> any? 2024-11-07 11:35:26 -06:00
Jose Farias 8f17152108 Put includes on the same line 2024-11-07 11:32:44 -06:00
Jose Farias f53ee0ddac Sanitize params after initialization 2024-11-06 18:19:19 -06:00
Jose Farias e73f44cde9 Unnecessary parens 2024-11-06 18:16:18 -06:00
Jose Farias f7495ac1fa Improve denormalized filters note 2024-11-06 18:13:05 -06:00
Jose Farias 9efe94a277 idempotent_create -> persist 2024-11-06 18:09:55 -06:00
Jose Farias 32618debf6 Pull out strip_default_params 2024-11-06 18:05:15 -06:00
Jose Farias 49f3894bcb Update denormalization comment 2024-11-06 18:01:40 -06:00
Jose Farias be0973705c Unnecessary newline 2024-11-06 17:56:46 -06:00
Jose Farias a853f75ef9 No need to set resources in to_params anymore
They're denormalized now
2024-11-06 17:54:43 -06:00
Jose Farias e6cf8d3571 Delegate default_params to class 2024-11-06 17:52:31 -06:00
Jose Farias 12ce07639d Add tests 2024-11-06 17:49:14 -06:00
Jose Farias 3d9d169477 Many-to-many relationship for filters and filterables 2024-11-05 21:21:46 -06:00
Jose Farias f2706d0f74 Unnest bubble filters 2024-11-05 13:04:05 -06:00
Jose Farias 2f7baaff29 create -> create! 2024-10-28 10:47:49 -06:00