Commit Graph
27 Commits
Author SHA1 Message Date
James Smith 36fcb787dc use single quotes in LIKE 2024-08-06 11:29:08 +01:00
James Smith 6d342182fe move key-value tag calculations out of view 2024-08-05 22:20:37 +01:00
James Smith ce61a58f03 move more optimal tag select into concern 2024-08-05 22:19:13 +01:00
James Smith 8efaa20de6 move tag list stuff into its own concern 2024-08-05 22:19:13 +01:00
James Smith dada8dcb92 rename ModelFilters concern to Filterable 2024-08-05 17:11:06 +01:00
James Smith af1be7e868 Fix error during search
Postgres doesn't like including all the conditions for this inside another query, so we split the query and get just a list of model IDs.
2024-07-25 12:23:46 +01:00
James Smith d07604aba3 lint 2024-07-25 11:11:21 +01:00
James Smith 56f5923287 replace free text search with a prebuilt ransack query 2024-07-25 11:09:43 +01:00
James Smith 3993639f00 refactor filtered_models into testable parts 2024-07-24 12:47:08 +01:00
James Smith 53d9589f39 reduce side effects in filtered_models method 2024-07-24 12:13:31 +01:00
James Smith 03556774d4 rename process_filters to filter_models and combine 2024-07-24 12:08:56 +01:00
James Smith 575cb52d99 rename process_filters_init to be clearer 2024-07-24 11:59:23 +01:00
James Smith ad20320edb lint 2024-07-24 11:04:36 +01:00
James Smith 49919356df exclude filtered tags earlier 2024-07-24 10:35:58 +01:00
James Smith 50296ea0f0 remove unused process_filters_tags_fetchall 2024-07-24 10:28:10 +01:00
James Smith b91038ccbf apply sorting and thresholding to tag list 2024-07-24 10:26:47 +01:00
James Smith 905b4ceb05 restore count of unrelated tags 2024-07-24 10:12:05 +01:00
James Smith 37f230d80d generate tag list from filtered models 2024-07-24 10:10:08 +01:00
James Smith 36a23652ad remove @commontags 2024-07-24 09:54:20 +01:00
James Smith e9fe30ba33 only need @addtags in bulk edit 2024-07-24 09:34:31 +01:00
James Smith 845973fae9 update regexp syntax check to work for MySQL 2024-07-08 17:37:48 +01:00
James Smith f4c7d9c94d switch regexp syntax properly 2024-07-08 16:49:13 +01:00
James Smith a24d544e2d authorize models using pundit 2024-03-15 16:18:53 +00:00
James Smith 6287467eb0 lint: move lexical scope filter warning into rubocop todo comment 2024-02-28 15:05:45 +00:00
James Smith 7953479d9d lint: remove redundant all from activerecord model 2023-10-10 19:54:40 +01:00
Don Eisele b525d7acc3 css compacted alert/notice area when empty
structured top/models/creators/collections into 2nd row menu: keeping filters active between the different "views"
pulled filters into a concern to share code between the different views
added tree-based sql queries for handling collection nesting display and searching
2023-03-30 21:15:28 -05:00
James Smith 7bc89d0df7 new rails app woohoo
Generated with railsnew.io:
`rails new van_dam --skip-action-mailbox --skip-action-text --skip-system-test --skip-test --template https://www.railsbytes.com/script/zyvso6`
2021-01-30 18:23:33 +00:00