Commit Graph

154 Commits

Author SHA1 Message Date
Jason Zimdars 25e929bb59 Escape param 2024-11-14 11:04:43 -06:00
Jason Zimdars c2df855211 Merge branch 'main' into bubble-perma
* main: (29 commits)
  Add assigners to filter summary
  Use `Current.user`'s name for filter chips
  Allow assigner ids param
  Sort filter params before hashing
  Fix tests
  Test field accessors
  Test filter chips controller
  Test filter terms
  Wire up assigner filters
  Spell out button_to params
  Use Filter class method to digest fixture params
  Add frame to search terms form
  Render each kind of filter in its own frame
  button -> chip
  No need to apply terms from the controller anymore
  Add terms to filter
  buttons -> chips
  Clean up Filter class methods
  KNOWN_PARAMS -> PERMITTED_PARAMS
  Remove most_active as index option
  ...
2024-11-14 10:43:21 -06:00
Jason Zimdars a23bbbd61a Stub new boost button, move pop back to navbar for now 2024-11-13 17:01:21 -06:00
Jose Farias 058c10d89f Use Current.user's name for filter chips
It'll use the name anyway (instead of "me") when re-rendering the perma after navigating.
2024-11-13 14:02:41 -06:00
Jose Farias 72ddd18bcc Spell out button_to params 2024-11-13 13:23:12 -06:00
Jason Zimdars e9ada829fc Flip them back 2024-11-13 13:12:09 -06:00
Jason Zimdars 619dcc171c Use turbo frame for assignments 2024-11-12 20:50:17 -06:00
Jason Zimdars 3da6f954dd Use turbo frame for due dates 2024-11-12 20:23:46 -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 d77eafe012 button -> chip 2024-11-12 19:26:21 -06:00
Jose Farias 932fc341ce Add terms to filter 2024-11-12 19:14:40 -06:00
Jose Farias 8bc89d497c buttons -> chips 2024-11-12 18:55:35 -06:00
Jason Zimdars 143008cfa1 Render with a helper 2024-11-12 15:28:20 -06:00
Jason Zimdars bcde27c4d1 New grid layout and addition of features menu 2024-11-12 15:26:16 -06:00
Jason Zimdars adf98d61b8 Fix styles regression 2024-11-11 17:15:52 -06:00
Jose Farias 3b513fc726 Wire up search 2024-11-11 15:40:10 -06:00
Jose Farias 9e99d961ba Iron out quirks from navigating back and forth 2024-11-11 15:05:54 -06:00
Jose Farias 2d422d7bff Merge branch 'main' into new-filters
* main:
  Simplify
  Another round of design on the stage picker UI
2024-11-11 13:46:25 -06:00
Jose Farias 0baaf5d87f Wire up filter form sans search 2024-11-11 13:46:15 -06:00
Jason Zimdars 110d2a30b7 Another round of design on the stage picker UI 2024-11-07 22:11:08 -06:00
Jose Farias b1570e34ed Remove unused files 2024-11-07 17:05:19 -06:00
Jose Farias 3db6e230c9 Update links to use new system 2024-11-07 17:03:52 -06:00
Jose Farias 1383766cd8 Merge branch 'main' into new-filters
* main: (24 commits)
  Increase filter tests specificity
  Add some more tests for bubble filters
  Simplify filter destruction
  Add derived_params alias
  Split out `fields` and `params` for filters
  exists? -> any?
  Assert params after resource removal
  Put includes on the same line
  Comment on the query merger controller
  Test param sanitization
  Sanitize params after initialization
  Unnecessary parens
  Improve denormalized filters note
  idempotent_create -> persist
  Pull out `strip_default_params`
  Update denormalization comment
  Unnecessary newline
  No need to set resources in `to_params` anymore
  Delegate default_params to class
  Add tests
  ...
2024-11-07 16:55:00 -06:00
Jose Farias 12ce07639d Add tests 2024-11-06 17:49:14 -06:00
Jason Zimdars 8c29a59ac2 Stub design for new filtering UI 2024-11-06 14:23:48 -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
Jason Zimdars c74e2ecd1d Improve bubble animation effect 2024-11-01 09:32:12 -05:00
Jason Zimdars d3acbd2a55 Render bubbles without inline SVG, try a more fluid animation 2024-10-30 17:44:15 -05:00
Jose Farias 017eff6b1e Remove extra newline 2024-10-28 11:23:03 -06:00
Jose Farias e6622a1e7d Use targets for created-by-current-user-controller 2024-10-28 10:14:39 -06:00
Jose Farias e8eb5ac243 Pass filter to filter helpers 2024-10-28 10:06:56 -06:00
Jose Farias 17dab8e310 Remove references to thread 2024-10-25 16:09:20 -06:00
Jose Farias 9a562d8ab1 differentiator -> mine 2024-10-25 15:08:22 -06:00
Jose Farias 85d47a35ab threadables -> messageables 2024-10-25 15:03:31 -06:00
Jose Farias 2387abbe7c Merge branch 'main' into threadables
* main:
  Stub bookmark buttons
  Move delete to filters index
  Move edit to the index
2024-10-24 18:15:54 -06:00
Jose Farias c57f18c20c Materialize abstract thread
The domain language is clearer if we just persist a thread. Also rename some models so their purpose is clear.
2024-10-24 17:36:14 -06:00
Jose Farias 3543121d3d thread-controller -> created-by-current-user-controller 2024-10-24 16:00:09 -06:00
Jose Farias d1f70ae2f8 Write template dependency comments 2024-10-24 15:14:10 -06:00
Jose Farias 8233254de3 Make comments cache-safe 2024-10-23 18:58:10 -06:00
Jason Zimdars 3abfb24e1d Stub bookmark buttons 2024-10-23 19:26:21 -05:00
Jason Zimdars 78279cb191 Move delete to filters index 2024-10-23 16:16:04 -05:00
Jason Zimdars 17f744cf0f Move edit to the index 2024-10-23 16:09:47 -05:00
Jose Farias 3e5b902e76 Move thread to its own partial 2024-10-23 14:28:21 -06:00
Jose Farias 5221807847 Render threadables 2024-10-23 14:12:28 -06:00
Jose Farias b0565fbf20 Spike workflows 2024-10-21 15:33:30 -06:00
David Heinemeier Hansson 716e14998f Note that we need to keep all partials cacheable, so no dynamic path munging 2024-10-19 17:46:36 -07:00
David Heinemeier Hansson 32d1792cb2 Fetch bubbles index with multiget cache 2024-10-19 16:50:19 -07:00
David Heinemeier Hansson cd14fda395 Cache bubble partial on itself 2024-10-19 16:50:05 -07:00