What is advance setting jira.enabled.dark.features (JIRA_OPTION_ENABLED_DARK_FEATURES)

childnode May 3, 2012

As of JIRA 5 the Advanced Settings will show a new, unset Option called:

jira.enabled.dark.features

(Which is set in constant JIRA_OPTION_ENABLED_DARK_FEATURES)

What does this mean and what is it for?

Dark Theme?

Some "dark forces from the other side"? :=)

~Marcel

13 answers

1 accepted

5 votes
Answer accepted
Mark McD May 27, 2012

From the code:

"Dark features are features that can enabled and disabled per user via a feature key. Their main use is to allow in-development features to be rolled out to production in a low-risk fashion."

Apologies if this isn't kosher to post.

Shaakunthala December 14, 2014

Sounds like Labs features of Google apps.

Mike Ellertson October 27, 2018

Well, I switched it to true, but sadly it doesn't turn on a dark web-client theme.  :-(

 

I've been slowly adding to a "dark" web-client theme to make Jira, Bitbucket, and Bamboo. It's pretty good so far, but could always use improvement.  I'd gladly welcome any help on it.  It uses the Stylus plugin, for Chrome on my desktop.  But, it is also available for other browsers.  Here is the theme if you interested.

https://userstyles.org/styles/154946/jira-full-dark

Like thekngmkr2015 likes this
2 votes
David Toussaint _Communardo_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 30, 2012
2 votes
JamieA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 7, 2012

I think they are "labs" features... you could set them through system properties, or I guess globally in the UI.

Here are a couple of examples...

-Datlassian.darkfeature.jira.search.kickass=true

-Datlassian.darkfeature.jira.frother.reporter.field=true

The second one is a bit self-explanatory, you'd have to experiment or look at the code to see what #1 does.

childnode August 30, 2012

Now there is a new Wiki site for that:

https://confluence.atlassian.com/x/EhHbEQ

0 votes
Fabian Meier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 9, 2013

Just found a darkfeatures-panel.vm:

##disable_html_escaping() TODO REENABLE
#* @vtlvariable name="textUtils" type="com.opensymphony.util.TextUtils" *#
#* @vtlvariable name="isAdmin" type="boolean" *#
#* @vtlvariable name="globalEnabledFeatures" type="java.util.List<com.atlassian.jira.config.CoreFeatures>" *#
#* @vtlvariable name="userEnabledFeatures" type="java.util.List<com.atlassian.jira.config.CoreFeatures>" *#

<div class="module isolated">
    <div class="mod-content">
        <form class="aui" action="EditDarkFeatures.jspa">
            <section id="global-dark-features">
                <h3>Site-wide Dark Features</h3>
                <p>
                    These dark features are enabled for the entire site.
##                    TODO - copy site dark-features admin from Confluence too, and link from here for admins.
##                    #if ($isAdmin)
##                        <a href="$req.contextPath/admin/darkfeatures.action">Change</a>
##                    #else
                        They may only be disabled by an administrator.
##                    #end
                </p>
                <ul>
                    #if ($globalEnabledFeatures.size())
                        #foreach($feature in $globalEnabledFeatures)
                            <li>
                                $textUtils.htmlEncode($feature)
                            </li>
                        #end
                    #else
                        <li>
                            No global dark features enabled
                        </li>
                    #end
                </ul>
            </section>

            <section id="user-dark-features">
                <h3>User Dark Features</h3>
                <p>
                    These dark features affect you only:
                </p>
                <ul>
                    #if ($userEnabledFeatures.size())
                        #foreach($feature in $userEnabledFeatures)
                            #set ($featureStr = $textUtils.htmlEncode($feature))
                            <li>
                                $featureStr
                                ## This could use an XSRF token... worth it? E.g. &#url_xsrfToken()
                                (<a href="EditDarkFeatures.jspa?action=remove&featureKey=$featureStr">remove</a>)
                            </li>
                        #end
                    #else
                        <li>
                            No user dark features enabled
                        </li>
                    #end
                </ul>
            </section>
            <div class="field-group">
                <label for="feature-key">Enable dark feature:</label>
                <input id="feature-key" type="text" value="" name="featureKey" class="text">
            </div>
            <div class="buttons-container content-footer">
                <div class="buttons">
                    <input type="submit" value="Submit" class="button">
                </div>
            </div>
        </form>
    </div>
</div>

So it looks like there is a EditDarkFeatures.jspa somewhere out there ;)

0 votes
MattS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 30, 2012

Skimming the source, it looks like 'kickass' is the internal name for an update of the issue navigator.

0 votes
childnode May 7, 2012

tried yes, found anything changed no. But today I found some translations available in https://translations.atlassian.com/

0 votes
Ryan Gergen (LaundryCard) May 6, 2012

Has anyone tried this yet?

0 votes
Ryan Gergen (LaundryCard) May 6, 2012

has anyone tired this yet

0 votes
childnode May 6, 2012

As mentioned above: Found it after Jira 5 Upgrade in my advanced settings on the jira web administration gui… https://jira.example.com/secure/admin/AdvancedApplicationProperties.jspa

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 3, 2012

Nope, it is Star Wars day. But yes, it's a real option. I'd be interested to know how you get on - from what I've seen, it's either something to do with users being able to enable/disable functions for themselves, or possibly something to do with renering.

0 votes
childnode May 3, 2012

you're joking...this isn't an easteregg … isn't it? mhh...set it to "true"…let's see

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 3, 2012

Well, it is "Star Wars" day ;-)

Suggest an answer

Log in or Sign up to answer