Conversation
- Convert sentiments_id filter from text input to select dropdown - Add exposed language filter using node relationship, defaulting to site default - Change submit button text to "Apply filters" for consistency - Add getSentimentOptions() method for filter options - Consolidate update hooks into single hook_update_8002 Closes #22
a4c7bb3 to
16ea895
Compare
jjroelofs
pushed a commit
that referenced
this pull request
Jan 28, 2026
- Add hook_update_8003 for view enhancements - Add analyzed_timestamp field with time ago format - Add created field with time_diff enabled - Enable time_diff on changed field (shows relative time) - Add content type filter - Change default sort from created to changed - Standardize field ordering across views - Refactor SentimentsStorageService to use merge/upsert pattern - Add user module dependency and user.permissions cache context - Clean up filters and remember_roles Follow-up to #23 (Improve Views UX)
7 tasks
jjroelofs
added a commit
that referenced
this pull request
Jan 28, 2026
…24) * Improve Views UX part 2: time_diff, fields, and storage optimization - Add hook_update_8003 for view enhancements - Add analyzed_timestamp field with time ago format - Add created field with time_diff enabled - Enable time_diff on changed field (shows relative time) - Add content type filter - Change default sort from created to changed - Standardize field ordering across views - Refactor SentimentsStorageService to use merge/upsert pattern - Add user module dependency and user.permissions cache context - Clean up filters and remember_roles Follow-up to #23 (Improve Views UX) * Fix linting: break long comment line, simplify return * Fix array formatting for Drupal coding standards --------- Co-authored-by: Jurriaan Roelofs <jur@dxpr.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
analyze_selectplugingetSentimentOptions()method for filter optionshook_update_8002Test plan
drush updbto apply update hookdrush crto rebuild caches (required for Views to recognize the new filter plugin)Closes #22