Implement Drupal Dialog API instead of bootstrap to show Modal

Created on 18 May 2022, about 2 years ago
Updated 24 May 2024, about 1 month ago

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 →

✨ Feature request
Status

Active

Version

5.0

Component

Code

Created by

🇧🇷Brazil RenatoG Campinas

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇪🇸Spain Eduardo Morales Alberti Spain, 🇪🇺

    I am interested on it, because my main theme has bootstrap 4 and the admin theme (GIN) does not have bootstrap.

  • 🇺🇸United States JeffC518

    Thanks @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.

  • 🇧🇷Brazil RenatoG Campinas

    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

    agreed, using Drupal Dialog API without dependency of BS would be amazing

    If I have some time I'll see what I can contribute

    Awesome! Really appreciated @jeffc518

  • 🇳🇱Netherlands Tr4nzNRG

    @jeffc518 I'm also very interested in this change for the same reasons.

  • 🇮🇳India zeshan.ziya

    @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?

  • 🇧🇷Brazil RenatoG Campinas

    Thank you so much @zeshan.ziya

    Do you think we should make it work directly with v5, or continue with 4.x?

    v5 is better

    We'll focus updates on 5.x so makes sense use this version

Production build 0.69.0 2024