- Issue created by @coaston
- Assigned to shubham_jain
- ๐ธ๐ฐSlovakia coaston
Hi,
Just use any link or view and replace with a href like :
<a class="use-ajax" data-dialog-options="{"width":400}" data-dialog-type="modal" href="/node/1"> First node displayed in modal dialog. </a>
- ๐ธ๐ฐSlovakia coaston
Hi,
Just use any link or view and replace with a href like :
<a class="use-ajax" data-dialog-options="{"width":400}" data-dialog-type="modal" href="/node/1"> First node displayed in modal dialog. </a>
More details here: Drupal modal โ
- ๐ฎ๐ณIndia shubham_jain
Hi
I have setup this in drupal 10 and I am not getting this error. It is working fine. Here is the screenshot for refrence.
- ๐ธ๐ฐSlovakia coaston
Well, from your picture I would say you are using different theme instead. But still normal content works fine here, just admin things like author, publish etc does not as statet in my picture.
- ๐ฎ๐ณIndia shubham_jain
I have also installed the same theme but the color of the theme was diffrent. Here take a look at this screenshot.
- ๐ธ๐ฐSlovakia coaston
You are probably view node not edit one. Because in my case i can update field.
- ๐ฎ๐ณIndia shubham_jain
I have two questions,
First can you make a video of the issue from the starting and second can you tell me what is you opening in the modal. - ๐ฎ๐ณIndia shubham_jain
Hi @coaston, what is the status of the issue.
- ๐ธ๐ฐSlovakia coaston
Hi i have unistalled rigel theme already because of missing regions. I believe my description was clear.
You need to use href="/node/1/edit" instead and logged as admin. Because admin can see the date of last saved or author etc..
- ๐ฎ๐ณIndia shubham_jain
Hi @yas, can you please look into this issue. Because this is not reproducing in my local setup.
Please test this issue in your machine. - ๐บ๐ธUnited States baldwinlouie
@shubham_jain, Thank you for helping on this issue. I was able to reproduce this. The snippet I used is something like this:
<a class="use-ajax" href="/node/2/edit" data-dialog-options="{"width":800}" data-dialog-type="modal">First node displayed in modal dialog.</a>
Note that @coaston is referring to using the modal to access an edit page.
See this screenshot of it using Rigel
Then I tried it using Bootstrap5 base theme:
Do you want to help by submitting a patch to fix the issue?
Thanks for being active in this project!
- ๐ฎ๐ณIndia shubham_jain
Hi @baldwinlouie, sure will raise PR for this.
- @shubham_jain opened merge request.
- Status changed to Needs review
about 1 year ago 7:24pm 15 September 2023 - ๐บ๐ธUnited States baldwinlouie
@shubham_jain, Thank you so you much for the patch. This is a great start. I have the following feedback.
1. When the modal pops up, the background is white. Some of the text is hard to see because it is also white. Is it possible to keep the modal background one of the theme colors?
2. I like that you fixed the layout of the vertical tabs. However, is it possible to keep them as vertical tabs like in
?These are the changes I'm talking about.
Thank you so much for your help!
- Status changed to Needs work
about 1 year ago 9:40pm 15 September 2023 - ๐ฎ๐ณIndia shubham_jain
Hi @baldwinlouie, I am out of town will resume work on it on Monday.
- Status changed to Needs review
about 1 year ago 8:23am 18 September 2023 - ๐ฎ๐ณIndia shubham_jain
Hi @baldwinlouie, changes are done. Please review.
- Status changed to Needs work
about 1 year ago 4:58pm 18 September 2023 - ๐บ๐ธUnited States baldwinlouie
@shubham_jain, Thank you for the great patch. It looks good. I have three pieces of feedback. See the attached screenshot.
- Status changed to Needs review
about 1 year ago 10:40am 19 September 2023 - Status changed to Needs work
about 1 year ago 5:24pm 19 September 2023 - ๐บ๐ธUnited States baldwinlouie
@shubham_jain,
Thanks for the patch. I have two pieces of feedback.
1. Instead of
.ui-button .ui-icon { background-image: url(../../images/icon_white_close.png) !important; background-size: 12px; opacity: 1; }
I think it should be
.ui-dialog-titlebar-close { background-image: url(../../images/icon_white_close.png) !important; background-size: 12px; opacity: 1; }
Without referencing .ui-dialog-titlebar-close, I do not see the "X" icon. What do you think?
2. See this small change for .btn-danger within the ui dialog.
Thanks again!
- Status changed to Needs review
about 1 year ago 8:34am 20 September 2023 - Status changed to Needs work
about 1 year ago 11:16pm 20 September 2023 - ๐บ๐ธUnited States baldwinlouie
@shubham_jain Thanks for the update. A couple of issues.
This might be another issue, but this line causes a syntax error:
https://git.drupalcode.org/project/rigel/-/blob/38e150e1f231d4f90c6100ad...Secondly, I still see the
.btn-danger
button with blue text . I see that your change addresses it using:&.use-ajax { color: $black; }
However, in my testing, the button doesn't have a
.use-ajax
class attached. Look at this screenshot. Are you seeing the same classes? - ๐บ๐ธUnited States baldwinlouie
@shubham_jain, any questions after my last post?
- ๐ฎ๐ณIndia shubham_jain
Hi @baldwinlouie, I am out of town from last 5 days and will come back after two days.
After that will work on this issue.
- Status changed to Needs review
about 1 year ago 10:00pm 30 September 2023 - ๐ฎ๐ณIndia shubham_jain
Hi @baldwinlouie, I had to rebase the repository so took more time but resolved the issue.
Please review and verify. - Status changed to Needs work
about 1 year ago 9:54pm 2 October 2023 - ๐บ๐ธUnited States baldwinlouie
@shubham_jain, Thank you for providing the update. It does fix the issue. Please check my comment above. https://git.drupalcode.org/project/rigel/-/merge_requests/43#note_214048
Those lines should not be removed. Can you please revert that? Btw, I don't see the corresponding change for those lines in the SCSS. Was that a manual change?
- First commit to issue fork.
- Status changed to Needs review
about 1 year ago 8:02pm 17 October 2023 - ๐ฆ๐ทArgentina tguerineau
Hi @baldwinlouie , in order to close this issue I made a commit where I reverted the changes you mentioned.
I did a test and everything seems to work fine.
These changes have been committed and pushed to the issue fork for review and testing.
- Status changed to Needs work
about 1 year ago 5:23pm 18 October 2023 - ๐บ๐ธUnited States baldwinlouie
@tguerineau , thank you so much for fixing this patch. The fix works and looks good. Can I ask that you rebase the PR since things have changed. Once rebased, we will test one more time and then get it committed.
- Status changed to Needs review
about 1 year ago 4:13pm 19 October 2023 - ๐ฆ๐ทArgentina tguerineau
Hi @baldwinlouie ,
I've updated the branch with the latest changes from the
6.x
branch as requested.- Successfully rebased our branch onto the
origin/6.x
branch.
- Resolved all conflicts (if any) during the rebase process.
- Pushed the updated branch to the remote repository.The branch is now up-to-date and ready for a final review and testing. Everything seems to work fine, please let me know if there's anything else that needs to be addressed.
- Status changed to RTBC
about 1 year ago 12:03am 20 October 2023 - ๐บ๐ธUnited States baldwinlouie
@tguerineau, thank you for the updated patch! It looks good to me now.
- Status changed to Needs review
about 1 year ago 12:05am 20 October 2023 - Status changed to Needs work
about 1 year ago 12:09am 20 October 2023 - Status changed to Needs review
about 1 year ago 6:42pm 6 November 2023 - ๐ฆ๐ทArgentina tguerineau
Hi @baldwinlouie,
I have completed the rebase of the branch once again as requested. During the process, I encountered and resolved numerous conflicts to ensure that the latest changes from the 6.x branch are incorporated with the fixes intended for this issue.
Given the extensive nature of these conflicts, I would appreciate a thorough review to confirm that all intended functionality is intact and that no contributions have been inadvertently omitted.
The branch is now up-to-date. Please let me know if there's anything else that needs to be addressed.
- Status changed to Needs work
about 1 year ago 4:07am 8 November 2023 - ๐บ๐ธUnited States baldwinlouie
@tguerineau thank you so much for rebasing and cleaning up the patch. I see two concerns
1. It seems like when hovering over a vertical fieldset, it is acting weird. (The text is jumping around when you hover over a fieldset). It's hard to describe, so I am attaching a screen recording of what I see in my environment.
2. The fieldset text in the screen recording should be left aligned and not center aligned.
- ๐ฎ๐ณIndia Sachin.addweb
sachin.addweb โ made their first commit to this issueโs fork.
- Status changed to Needs review
3 months ago 1:50pm 3 September 2024 - ๐ฎ๐ณIndia Sachin.addweb
Hello,
I have updated the fork and fixed the issue mentioned in #39. A new merge request !68 has been created.
Thank you.
- ๐บ๐ธUnited States yas California ๐บ๐ธ
@baldwinlouie
Can you please review the MR if you have a chance to take a look at it? Thanks!
- Status changed to Needs work
3 months ago 3:03pm 4 September 2024 - ๐บ๐ธUnited States baldwinlouie
@sachin.addweb, Thank you for taking over this patch. There are stylelint issues reported with main.css during Unit testing. Can you please run
Step 6
from theREADME.md
,npx prettier --config .prettierrc.json --write "assets/css/main.css"
. That will fix all the stylelint issues. - ๐ฎ๐ณIndia Sachin.addweb
Hello @baldwinlouie,
I have resolved all the Stylelint issues. Could you please review them at your convenience?
Thanks!
- Status changed to Needs review
3 months ago 5:04pm 5 September 2024 - ๐บ๐ธUnited States baldwinlouie
Changing to needs review to trigger testing.
- Status changed to Needs work
3 months ago 9:37pm 5 September 2024 - ๐บ๐ธUnited States baldwinlouie
@sachin.addweb, Thank you for the updated patch. I made one code comment. Also, please see attached screenshot. When you added the new "X" as the close icon, there smaller one is still showing up.
- ๐บ๐ธUnited States yas California ๐บ๐ธ
@baldwinlouie
Thank you for your review. It helps us a lot.
@sachin.addweb
I found that you created your MR based on the
drupal/rigel:6.x
branch. The 6.x branch has been behind, but I was thinking it was fine since we will proceed with7.0.x
releases and 6.0.x will be obsolete in the future.It explains the reason why your MR needed to be fixed for the StyleLint. Anyhow, thank you so much for fixing the standard coding errors on the 6.x branch.
In that case, could I ask you create the MR for
drupal/rigel:7.x
, and can you update both branch when you fix Baldwin's comment?Thanks!
- Status changed to Needs review
2 months ago 8:32pm 10 September 2024 - Status changed to Needs work
2 months ago 9:10pm 10 September 2024 - ๐บ๐ธUnited States baldwinlouie
@sachin.addweb, Thank you for the updated patch. It fixes the "close" icon issue.
Please take a look at this comment: https://git.drupalcode.org/project/rigel/-/merge_requests/68#note_370892
Aside from that, it is looks good to me.
- ๐ฎ๐ณIndia Sachin.addweb
@baldwinlouie, As you had suggested, we have fixed the code. Kindly check it.
@yas, And as you mentioned that we need to work on
drupal/rigel:7.x
, we are currently working on that. We will update you later. - Status changed to Needs review
2 months ago 7:06am 11 September 2024 - ๐บ๐ธUnited States yas California ๐บ๐ธ
@sachin.addweb
Thank you for the update. I've changed the status to Needs review so that you can indicate the MR is ready to be reviewed. You can change the status by yourself in the future.
Thanks
- Status changed to RTBC
2 months ago 9:07pm 11 September 2024 - ๐บ๐ธUnited States baldwinlouie
@sachin.addweb. Thank you for the fixes to the patch. It looks good to me now.
- Assigned to Sachin.addweb
- ๐บ๐ธUnited States yas California ๐บ๐ธ
@baldwinlouie
Thank you for your review.
@sachin.addweb
Thank you for the update. -Iโll merge the patch into
6.x
; and change the status Needs work for the7.x
branch. -
yas โ
committed 304c97e0 on 6.x authored by
sachin.addweb โ
Issue #3383326 by shubham_jain, sachin.addweb, tguerineau, baldwinlouie...
-
yas โ
committed 304c97e0 on 6.x authored by
sachin.addweb โ
- Status changed to Needs work
2 months ago 6:46am 13 September 2024 - ๐บ๐ธUnited States yas California ๐บ๐ธ
@sachin.addweb
Can you make MRs for
drupal/rigel:7.x
and8.x
branch? Thank you for your extra efforts. - Assigned to baldwinlouie
- ๐บ๐ธUnited States baldwinlouie
@yas, I'll create the 7.x and
8.x
branch - Status changed to Fixed
2 months ago 3:59pm 20 September 2024 Automatically closed - issue fixed for 2 weeks with no activity.