Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISSUE-345: left over SBF Ajax interactions when enabling Ajax, then enabling interactions, then disabling Ajax again #346

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

DiegoPino
Copy link
Member

@DiegoPino DiegoPino commented Jul 27, 2023

See #345

Also did a small work-around a bug in Drupal: A non valid (bc I messed it up) Views Page Path will still render a page but basically not work. In that case I can not generate a browser history. I mean nothing will work, but at least it won't be because of our code.

Also the wording of our display extender was "improved". We only allow relationships and Contextual filters to be "fed" by a viewer/ado. Not pure exposed filters that could be modified by the user via a form (that would be a great/extra mess if we did).I mean, an exposed filter "could" be used, but only if also used as contextual. You all know what I mean (or not!)

@alliomeria this solves the array error we saw today.

…bling ajax

Now we will show/but disabled on the absence of "use Ajax" but also clear if after setting this up, Ajax is disabled. Also made sure the wording is accurate. Right now we process Contextual filter values/exposed on path values. Not form driven exposed arguments (imagine the mess if we did that)
Bc views are a mess. I messed up a path, which then did not longer was valid, and because of that Ajax itself died. That is actually OK BC drupal should not even allow a Path to be visible if it is invalid! (according to its own validation methods) but bc it allows it to be there (caching, who knows) at least i can avoid generating any GET/URL/Browser history if that is the case
@DiegoPino DiegoPino added bug Something isn't working Release duties Drupal Views Ask and you should receive Sub Modules When you need more .info.yml files to keep life organized labels Jul 27, 2023
@DiegoPino DiegoPino added this to the 1.1.1 milestone Jul 27, 2023
@DiegoPino DiegoPino changed the title ISSUE-345: left over SBF Ajax interactions when enabling Ajax, then the interactions, then disabling ajax again ISSUE-345: left over SBF Ajax interactions when enabling Ajax, then enabling interactions, then disabling Ajax again Jul 27, 2023
@aksm
Copy link
Contributor

aksm commented Jul 27, 2023

@DiegoPino Makes sense and not noticing any obvious problems with this. Thanks!

@DiegoPino DiegoPino merged commit 8df716a into 1.1.0 Jul 27, 2023
@DiegoPino DiegoPino deleted the ISSUE-345 branch July 27, 2023 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Drupal Views Ask and you should receive Release duties Sub Modules When you need more .info.yml files to keep life organized
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants