Problem/Motivation
Currently we're using bootstrap to show Modal. Should be amazing using Drupal Core Dialog API to show that and remove dependency of BS
Proposed resolution
Implement that using Dialog API: https://www.drupal.org/docs/drupal-apis/ajax-api/ajax-dialog-boxes
Issue fork modal_page-3281106
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
zeshan.ziya commented@RenatoG I have started working on this.
Comment #4
renatog commentedWooow awesome! Thanks a lot!
Comment #5
marcusvsouza commentedAre you working on thi issue?
Just to know, if you don't, I really like to work on this one!
Thanks!
Comment #6
renatog commentedHello @marcusvsouza! Thanks a lot for that. I'm not working on this because of lack of time =/
So feel free. Any merge request or patches will be welcome!
:D
Comment #7
marcusvsouza commentedWorking on it!
Comment #8
zeshan.ziya commentedThanks @marcusvsouza, I got busy with some work so didn't get time to work on this. Please let me know if you need any help from my side.
Comment #9
marcusvsouza commented@zeshan.ziya
Thank you for your availability, I will definitely reach you if I need help!
Comment #11
marcusvsouza commentedI've made progress on the task and made a MR to show it, I'm still working on the issue, any suggestions for improvement or changes to what I've done so far are welcome.
Comment #12
eduardo morales albertiI am interested on it, because my main theme has bootstrap 4 and the admin theme (GIN) does not have bootstrap.
Comment #13
jeffc518 commentedThanks @marcusvsouza - I'll check out your merge request. Bootstrap is great if your custom theme is already using it, but adding it to the front end globally causes a number of conflicts on my end. I haven't seen much movement on this in awhile so wanted to make a note. If I have some time I'll see what I can contribute.
Comment #14
renatog commentedagreed, using Drupal Dialog API without dependency of BS would be amazing
Awesome! Really appreciated @jeffc518
Comment #15
chriseikelboom commented@jeffc518 I'm also very interested in this change for the same reasons.
Comment #16
zeshan.ziya commented@renatog, I haven't seen an update in a while, so I'll try to spend some time on it and get it going. I see that v5 is now available. Do you think we should make it work directly with v5, or continue with 4.x?
Comment #17
renatog commentedThank you so much @zeshan.ziya
v5 is better
We'll focus updates on 5.x so makes sense use this version
Comment #18
zeshan.ziya commentedHi @renatog, I am almost done with the changes. I am doing some final testing. I need help opening the merge request. I don't see an option to open the merge request. Can you please help with the same?
Comment #20
zeshan.ziya commentedHi @renatog, I have raised an MR. Please review. Please let me know if any changes are required.
Comment #21
renatog commentedWow! Seems awesome! Thank you so much @zeshanziya
Moving to NR so we can validate. Anyone are welcome to help testing as well
If it works fine we can create 5.1.0-beta1 with this
Comment #23
alfattal commentedI tried to apply the MR as a local patch, but it failed to apply.
Comment #24
zeshan.ziya commentedHey @alfattal, thanks for giving it a try. I don’t have much experience with patching, but here’s what worked for me.
1. Download the diff from https://git.drupalcode.org/project/modal_page/-/merge_requests/42.diff.
2. Apply the patch with: `patch < 42.diff`
Comment #25
alfattal commented@zeshan.ziya Sorry for the late response. I've successfully applied the patch from the PR and I can confirm that it is working properly. 1 for RTBC!
Comment #26
renatog commentedGreat! Thanks for testing
Moving that to RTBC to be merged soon
Comment #27
eduardo morales albertiAny news? we tested it, and works properly.
Comment #28
renatog commentedSorry, I didn't have time to merge that before but it's on my plans
I'll test that and merge as soon as possible
Comment #29
renatog commentedYou're right. Tested and confirmed that it works fine
Comment #31
renatog commentedMerged to the dev branch: 6.0.x
Since it's a considerable milestone we're going to create a beta-version based on 6.x and keep the stable on 5.x
After a time when it's tested by users, we'll make 6.x stable
Thanks everyone, it's amazing