Commit Graph
82 Commits
Author SHA1 Message Date
James Smith 0ecc40d44c add ability to bulk merge all contained models 2023-06-28 20:06:20 +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
Don Eisele b2d5a963d0 regex sqlite vs postgres tweaking 2023-03-22 08:54:11 -05:00
Don Eisele 0bf19575b7 tweaking filters 2023-03-21 23:13:43 -05:00
Don Eisele bd1c8503db fixed logic to combine missing keypair with other filters 2023-03-21 19:54:59 -05:00
James Smith 6be391577b move tag cloud settings from SiteSettings into User 2023-03-16 22:01:54 +00:00
Don Eisele 25a5189306 bug in coll update individual model 2023-03-14 18:04:19 -05:00
Don Eisele 38c96dbeaf add pagination to collections, fix edit/bulk_edit in models for collections, add default for collection pagination in user_settings in db 2023-03-13 22:40:49 -05:00
Don Eisele 0577ff19a4 merge from main 2023-03-13 21:16:44 -05:00
James Smith 2b74d4aabb Merge pull request #1082 from mcsgroi/delete_collections
Delete buttons for models
2023-03-10 23:25:13 +00:00
James Smith 2cac27dfe0 lint fix 2023-03-10 23:23:38 +00:00
Michael ea9e596e4d Add delete option to UI
- Add delete button to list and item view for collections
2023-03-08 21:35:17 -06:00
Don Eisele 4889512b46 lint 2023-03-08 15:02:59 -06:00
Don Eisele 814b15383c In progress: Moving collections from tag to first-class object 2023-03-08 14:54:40 -06:00
Don Eisele 99d4f51f8f postgres / sqlite divergence 2023-03-06 20:57:41 -06:00
Don Eisele ab3147e003 Indivual regex tests available too 2023-03-06 16:58:37 -06:00
Don Eisele fe640a20c8 lint 2023-03-06 10:31:25 -06:00
Don Eisele 880e7ee9a1 Add search for missing tags in library (settings UI still needs some tweaking) 2023-03-06 10:21:30 -06:00
Don Eisele f780d75fdd when sorting by frequency alpha sort first (done for bulk editor in #806, now extended to all places based on site settings for tag cloud sort) 2023-03-02 01:00:31 -06:00
Don Eisele e45689f1a6 lint 2023-03-01 23:05:35 -06:00
Don Eisele 7b7fe47675 Added in models: Missing URL button in actions (moved Untagged from previous push to actions). 2023-03-01 23:03:40 -06:00
Don Eisele 65d49e4b3e typo 2023-03-01 20:57:31 -06:00
Don Eisele 9029cfa6b8 Tag cloud settings: Display count, threshold, sorting 2023-03-01 20:52:05 -06:00
Don Eisele cf47e7701b I missed getting the missing creator/collections/tags in bulk_editor filter processing, so did a DRY on filtering to fix that and make it not happen again. #1035 2023-02-28 10:20:21 -06:00
Don Eisele ec4efe46ab apparently better linting? 2023-02-27 22:16:01 -06:00
Don Eisele 37a89f728c Tags in tag cloud will be restricted to the libraries in filters if a library filter is set. This enables libraries to easy have distinct sets of tags without cluttering up other libraries 2023-02-27 22:11:47 -06:00
Don Eisele b41883eb30 Add code for missing collection and missing tags 2023-02-27 19:07:22 -06:00
Don Eisele 3212496b9f fix inner join to left join on search code 2023-02-27 13:40:04 -06:00
James Smith e3b2a2193e pass tags correctly through bulk edit form
resolves #1031
2023-02-23 19:22:21 +00:00
James Smith 5d9df5721d fix redirect path after bulk edit 2023-02-23 18:38:43 +00:00
James Smith ae33f74bc6 rename excerpt to caption
self explanatory now, resolves #1001
2023-02-22 16:02:32 +00:00
James Smith be5f7dabb6 add support to model list for unassigned creators 2023-02-22 13:25:39 +00:00
James Smith 610d56a64b remove scale factor UI 2023-02-21 18:15:41 +00:00
James Smith 859dab6d10 refactor tag rendering
resolves #998
2023-02-20 21:16:17 +00:00
James Smith e4f726fee0 add default value for tags filter param 2023-02-20 19:00:34 +00:00
James Smith cde9d8b55b refactor filter param handling 2023-02-20 15:42:26 +00:00
James Smith 6427162b30 Merge pull request #968 from ksuquix/notes_excerpt
Added notes/excerpts to models/creators/model_files
2023-02-19 20:14:43 +00:00
Don Eisele 889042b465 add notes/excerpt on creators/models 2023-02-03 13:51:36 -06:00
Don Eisele 80d53aea70 linting issues 2023-02-03 00:18:02 -06:00
Don Eisele c75e2b6938 Make params[:q] search on creator name as well as tags/name 2023-02-03 00:15:05 -06:00
Don Eisele df7fc081a5 I missed Creators on the round of moving to model view, this is a quick
update to include creators in the mix of creators/collection/search/tags as filters
2023-02-02 23:42:15 -06:00
Don Eisele af1fc95e84 fix linting errors 2023-01-31 21:44:46 -06:00
Don Eisele bc29a2129e Restructure:
Moved model group actions from libraries#show to models#index (and bulkedit/update)

Features added:
filter models#index by libary
filter models#index by multiple tags at once
filter models#index collection
filter models#index by search query
All four above filters are logically anded together
Bulk editor modified to operate logically the same way for filter sets

Models added in header
Quick Search box added in header
Limits box added in models view

Tags are greyed out if they would result in 0 models if added to current filters.

Helper added:
params_passthrough() Grabs current filters from params() to be able to pass through or merge for use in buttons/links
2023-01-31 19:30:14 -06:00
James Smith 0bd13aeb91 add model destroy path for purging problems 2022-12-11 23:20:31 +00:00
James Smith 44982aadb0 add collection setting to bulk edit 2022-11-24 01:05:34 +00:00
James Smith cd29908b85 simplofy tag setting code to use automagic rails setters 2022-11-23 15:10:57 +00:00
James Smith 68fda92ef5 add collection tag type, and tag-like box in model editor 2022-11-23 14:59:43 +00:00
James Smith 8e1f080e3e fix naming of bulk tag editing form fields 2022-11-20 19:28:04 +00:00
James Smith 6873776ac2 update bulk editor for new-style tag editor 2022-11-20 17:53:01 +00:00
James Smith 4aa45c02df use multi-select for tags 2022-11-19 14:40:24 +00:00