Code Monkey home page Code Monkey logo

youtrack-issues-list-widget's Introduction

YouTrack Issues List Widget

JetBrains team project

YouTrack dashboard widget, which displays a list of YouTrack issues that match a search query.

Widget's page on JetBrains Marketplace

Developing a Hub widget

The following commands are available:

  • npm test to launch karma tests
  • npm start to run a local development server
  • npm run lint to lint your code (JS and CSS)
  • npm run stylelint to lint CSS only
  • npm run build to generate a production bundle (will be available under dist)
  • npm run ci-test to launch karma tests and report the results to TeamCity

To check your widget, go to the widget playground page located at <your_hub_server>/dashboard/widgets-playground.

You may encounter the following problem when using a local development server together with Hub running over HTTPS: all major browsers block insecure scripts. In Chrome you can add a security exception: click the security notification in the address bar (the one saying "The page is trying to load scripts from unauthenticated sources") and press the "Load unsafe scripts" button. Similar workarounds are available in other browsers as well.

Introduction into widget development

Template for this widget was generated by hub widget generator.

youtrack-issues-list-widget's People

Contributors

andrey-skl avatar jetbrainsteamcity avatar katriyna avatar lehvolk avatar leostryuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

youtrack-issues-list-widget's Issues

How to get Theme selected in Youtrack

Hello JetBrains,

Can anyone help me, i try to change theme of my widget after use selected theme in youtrack, but i can not find any way to do this

const App = () => {
    return (
        <div>
            <ThemeContext.Provider value={Theme.DARK}>
                <Header/>
                <ReportsList/>
                <ReportsList/>
                <ReportsList/>
            </ThemeContext.Provider>
        </div>
    );
};
const DashboardAddons = require('hub-dashboard-addons');
DashboardAddons.registerWidget(async (dashboardApi, registerWidgetApi) => {
        return render(<App/>, document.getElementById('app'));
    }
);

Issue List Loads Infinitely For Guests

I'm testing with a Guest dashboard, so users can see and track issues without needing an account, but I've noticed that the issue list does not update on the guest dashboard. While I'm building the dashboard, it loads, but if you view in incognito, the widget will have a loading animation forever.

If the issue list points to a project or issue(s) that guests don't have access to, you see "Can't load information from service." - but if they DO have access, it will show a loading animation forever.
Clicking the #{title} of the widget still takes them to the issue list with all of them displayed.

Update from 1.0.25 to 1.0.26 breaks dashboard in version 2019.2 Build 54193

Today our dashboard stopped working despite we haven't changed anything in our hosted YouTrack.

I could debug the problem by the audit events and it seems this automatic widget update to 1.0.26 with url change doesn't work in this version.

c0af24f

When I load the dashboard, this new 1.0.26 widget version downloads this url:
/api/users/me/profiles/general?fields=id,dateFieldFormat(pattern,datePattern)

but this url return http error 404.

The admin definitely missing from it, this is the one which works:
/api/admin/users/me/profiles/general?fields=id,dateFieldFormat(pattern,datePattern)

I don't know where was wrong this api/admin/users url, but in this 2019.2 Build 54193 this is working and without admin it does not.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.