-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Created conditional show minimize/maximize action buttons on window component #2286
Created conditional show minimize/maximize action buttons on window component #2286
Conversation
… with specific config
Codecov Report
@@ Coverage Diff @@
## master #2286 +/- ##
=======================================
Coverage 81.53% 81.53%
=======================================
Files 244 244
Lines 7377 7378 +1
Branches 773 773
=======================================
+ Hits 6015 6016 +1
Misses 1135 1135
Partials 227 227
|
Any update about when will this feature be merged and released? |
@cesarochoa2006 |
Thanks. In fact, i have no idea of when it will be merged :(. Hopefully
soon. I have no control over it.
El jue., 26 mar. 2020 a las 21:19, Naing Aung Phyo (<
notifications@github.com>) escribió:
… Any update about when will this feature be merged and available in master?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2286 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFKKWRHQIGGPAJXLGBCHYFDRJQELRANCNFSM4LQ6TPAQ>
.
|
fyi, |
¿ But with css you hide all buttons ? I need the close button displayed |
nope, I can hide specific button with css coz they have different class to be overwritten. |
Can hoy share with me the css that have you applied? I see no css classes
applied here
El jue., 7 de mayo de 2020 9:40 p. m., Naing Aung Phyo <
notifications@github.com> escribió:
… nope, I can hide specific button with css coz they have different class to
be overwritten.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2286 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFKKWRADPBB6CEE753VK26LRQNWJ5ANCNFSM4LQ6TPAQ>
.
|
sorry, I said wrong information. I hide with nth-child selectors like this.
|
Well, is a good alternative. Thanks for sharing it, i didn't know those
css.
El jue., 7 de mayo de 2020 10:34 p. m., Naing Aung Phyo <
notifications@github.com> escribió:
… sorry, I said wrong information. I hide with nth-child selectors like this.
// hide maximum nb-windows-container> nb-window > nb-card >
nb-card-header> div:nth-child(2)> button:nth-child(2) { display: none; }
nb-windows-container>nb-window>nb-card>nb-card-header>.buttons {
justify-content: flex-end !important; } // hide minimize
.no-minimize-window > nb-card > nb-card-header> div:nth-child(2)>
button:first-child { visibility: hidden; }
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2286 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFKKWRAXP4J2TYL3PJHWLH3RQN4UFANCNFSM4LQ6TPAQ>
.
|
Would be great to be able to add a confirmation dialog on the close button as well. Shame this hasn't been pushed yet. |
@JamesKnippel Yeah. |
@naingaungphyo That's my biggest problem too - I'm looking into some sort of solution with maybe storing template data on a backend with post requests and repopulating from a temporary form-data table. I want to be able to walk away and open up the same minimized windows on another computer with the same state from old forms. I'll let you know if I come up with any workarounds. |
Closed by #2762 |
Please read and mark the following check list before creating a pull request:
Short description of what this resolves:
Adds a new feature that show/hide action buttons (minimize/maximize) with the config option "showActions" of window component that can be configured when the component is used. By default, it works like before, and the added option is by default true, so can be changed to false whenever it is desired to work. Also, added the css class no actions, to correctly display the close button when the actions buttons are not shown.
This feature is added because i had the need of hide minimize/maximize buttons of a window component.