-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
π Clicking "Remove Gizmo ποΈ" button from a Gizmo
's edit page does not actually remove the Gizmo
from the Section
#1565
Comments
@KellyAH or @daltonrpruitt - Are either of you willing to write up some repro steps for this (or a test that isolates it?) |
I have 5 assigned issues right now. I don't have anymore bandwidth for this one. Can you take it @daltonrpruitt ? Thanks. π πββοΈ |
Gizmo
's edit page does not actually remove the Gizmo
from the Section
Section
's edit page does not actually remove the Gizmo
from the Section
Sure thing. Will try do that in a couple hours ish. |
Steps to reproduce:
Expected Behavior: Return to Edit screen for "Listed Room 1" with "Markdown Text Block" gone (so no Gizmos in this case) Steps 5-6 can be repeated any number of times for a Gizmo with the same results. |
These were great! I added some typographical flourishes and put them in the main issue body so it's easier to find without scrolling. |
I'm also going to assign this to myself so I know what to pick up next, but if the spirit moves you and anyone wants to tilt at fixing it; don't let my glowering avatar stop you! Also, if I get to it before next wednesday, it means Convene will have a system test that @KellyAH can crib off of for #1562! |
Section
's edit page does not actually remove the Gizmo
from the Section
Gizmo
's edit page does not actually remove the Gizmo
from the Section
- #1565 I probably should have deconstructed the "fix" and the Spec; but for whastever reason the automated check doesn't *FAIL* despite it failing when we manually execute it! This at least gives us a system spec; and I may come back and split the spec and the fix into two different PRs for clarity sake if requested.
- #1565 For whatever reason the automated check doesn't *FAIL* despite it failing when we manually execute it!
- #1565 For whatever reason the automated check doesn't *FAIL* despite it failing when we manually execute it!
- #1565 OK this is also a bit much; but it does fix the bug. I'm going to try and tighten it up a bit
- #1565 OK this is also a bit much; but it does fix the bug. I'm going to try and tighten it up a bit
- #1565 OK this is also a bit much; but it does fix the bug. I'm going to try and tighten it up a bit
- #1565 OK this is also a bit much; but it does fix the bug. I'm going to try and tighten it up a bit
- #1565 For whatever reason the automated check doesn't *FAIL* despite it failing when we manually execute it!
- #1565 For whatever reason the automated check doesn't *FAIL* despite it failing when we manually execute it! Add Firefox to the RSpec tests Run in Headless mode on CI Don't send real emails in CI save screenshots yo Add the .env.development to the devcontaine Add Firefox to the RSpec tests Run in Headless mode on CI Don't send real emails in CI save screenshots yo
- #1565 OK this is also a bit much; but it does fix the bug. I'm going to try and tighten it up a bit
- #1565 For whatever reason the automated check doesn't *FAIL* despite it failing when we manually execute it! Add Firefox to the RSpec tests Run in Headless mode on CI Don't send real emails in CI save screenshots yo Add the .env.development to the devcontaine Add Firefox to the RSpec tests Run in Headless mode on CI Don't send real emails in CI save screenshots yo
- #1565 OK this is also a bit much; but it does fix the bug. I'm going to try and tighten it up a bit
* π₯ `Gizmo`: System Spec to Add and Remove Gizmo - #1565 For whatever reason the automated check doesn't *FAIL* despite it failing when we manually execute it! Add Firefox to the RSpec tests Run in Headless mode on CI Don't send real emails in CI save screenshots yo Add the .env.development to the devcontaine Add Firefox to the RSpec tests Run in Headless mode on CI Don't send real emails in CI save screenshots yo * ππ¨ `Gizmo`: Fix bug where removing a Gizmo fails - #1565 OK this is also a bit much; but it does fix the bug. I'm going to try and tighten it up a bit
@daltonrpruitt - Can you confirm that this is fixed in production when you get a chance and then close this out? |
The error implies there's no Lemme delete spaces on my local and see if I can replicate the break. π€¦ββοΈ I also notice I forgot to add π€ Maybe I should also add a safe navigational operator too to handle nils. |
This was after creating a space and trying to go to its edit page. So, there was no entrance, like you said, but the space did exist (I thought, anyways?) And yeah, that next part makes sense to me, since if you are checking for both whether the entrance exists and if the entrance has furniture, then there is a non-zero chance there is no entrance to fetch furniture for. That operator seems like a good way to avoid more complex/dense branching here. I will try to look into this more before Wednesday's session. In the meantime, if we want this closed sooner, I will trust anyone saying it's fixed and can gladly close this. (Until I find a way to break it in a different way and have to open another issue or re-open this one for some reason... π π€ let's hope not) |
Woops! I should have caught the need for a safe navigation operator when reviewing #1593! But yes, tossing a |
@daltonrpruitt - now that the missing-entrance-causes-boom issue is resolved; if you can retest I would be delighted! |
It took a few days to get back to this, but I can confirm that the three |
Thank you!!!! Also, don't hesitate to open your own bug reports! If you're not sure which Gizmo or Use Case to connect it to, just comment asking the @zinc-collective/convene-maintainers and we'll take care of it! |
Gizmos
Β #709Sections
Β #1155Utility
andFurniture
Flyweight RegistriesΒ #1548 but it's also possible that there's something else at play.To Do
Gizmo
Steps to Reproduce:
convene
(the base dev instance for now), sign in as "space-member" via regular stepsExpected Behavior: Return to Edit screen for "Listed Room 1" with "Markdown Text Block" gone (so no Gizmos in this case)
Actual Behavior: Returned to Edit screen for "Listed Room 1" with "Markdown Text Block" still present
Note: Steps 5-6 can be repeated any number of times for a Gizmo with the same results. This also applies to the other Gizmos that have "Remove Gizmo ποΈ" as an option in their configure page: "Livestream" and "Embedded Form"
The text was updated successfully, but these errors were encountered: