Git Product home page Git Product logo

Comments (5)

boylec avatar boylec commented on September 25, 2024 1

okay those are done, commit 0420b99

from sentry-vsts.

boylec avatar boylec commented on September 25, 2024

working on these - got the top 3 done just wiring up the last one as well. Thanks for the finds/suggestions 🥇

from sentry-vsts.

boylec avatar boylec commented on September 25, 2024

On second thought, maybe the last thing on your list is a symptom of another issue:

This plugin only has the ('create') ability as dictated in lines 17 and 18 of plugin .py

class VstsPlugin(CorePluginMixin, IssuePlugin2):
    allowed_actions = ['create']

The default for IssuePlugin2 is ('create', 'link', 'unlink') which I overrode to only 'create'.

So there are two options, either implement the link/unlink functionality, or hide the "Visual Studio Team Services" button when the only allowed_actions element is 'create'.

What is the intended purpose of the link/unlink functionality for an IssuePlugin2? It seems like it would be rather counter-intuitive for a VSTS plugin to implement that so I'd rather just hide the "Visual Studio Team Services" button for this particular plugin unless you guys have qualms about that?

Would an 'unlink' functionality simply delete the work item that was created in VSTS?

For our team's purposes, we thought it would make sense to only have a create functionality. Once work items are created in VSTS (ie the 'create' issue functionality) they would be decoupled from Sentry.io at that point.

from sentry-vsts.

billyvg avatar billyvg commented on September 25, 2024

My mistake... you can just add unlink to allowed_actions and sentry will handle unlinking. It does not require deleting the Work Item from VSTS, it simply unlinks it from sentry side.

I'm not familiar with VSTS, but will users recognize the acronym? The button currently is pretty wordy:
image

from sentry-vsts.

boylec avatar boylec commented on September 25, 2024

okay cool, I will add it.

I believe the acronym would be fine. I'll change that now.

from sentry-vsts.

Related Issues (5)

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.