Git Product home page Git Product logo

sap-addon's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

sap-addon's Issues

User mentions not working in v1.11.2

When a user is mentioned in GitHub, the id is not replaced with the name as it should. As this worked before I expect that some of the recent changes broke this.

Update docs

  • update screenshots
  • update description of features
  • add note on optional permissions?

GitHub "Show Names" in Pull Request view

In the PR commit view (https://{github}/{org}/{repo}/pull/{id}/commits), the user ID is wrapped into a span (<span class="commit-author user-mention" title="{userID}">{userID}</span>), so currently this element isn't covered by any query. I could solve it by adding the following query including a hrefException:

// commit author, direct mentions
_addQuery(`.commit-author.user-mention`, { userMention: true, hrefException: true });

In the PR timeline view (https://{github}/{org}/{repo}/pull/{id}/), the user ID is wrapped into a span (<span class="author text-bold" data-test-selector="pr-timeline-events-commit-actor-name">{userId}</span> and others added x commits y days ago.), so currently this element isn't covered by any query. I could solve it by adding the following query including a hrefException:

// commit author, direct mentions
_addQuery(`.author[data-test-selector="pr-timeline-events-commit-actor-name"]`, { userMention: true, hrefException: true });

Edit: I just noticed, that this only happens if the commit author couldn't be linked to a GitHub user (e.g. because of different email address) but the given user ID could be mapped to an existing GitHub user ID. Still, these queries could be helpful.

No permission to fetch usernames from GitHub

In a716b56 the fetch request (to get GitHub username for a certain ID) moved to the background script. But currently background pages don't have permission for GitHub.

As a result, if People is disabled or not accessible and user ID is not in cache, user ID will not be replaced because username is unknown.

Edit: Seems to be an issue only for Firefox

"SAP related" vs "SAP internal"

Hi Niko,

If I understand it right, the extensions only make sense for SAP employees (maybe contractors working at SAP). If so, I find the description misleading. Maybe you clarify that it's only for SAP-internal websites:

"Firefox/Chrome Extension for SAP-internal webpages"

Marc
(former SAP)

Pluralsight login logic was updated

Atm we look for an HTML element containing href="/id/signin/sso" but now it seems to use href="/id/signin/sso?redirectTo=".
Same problem applies to the url of the second page where we enter the company url. It has been https://app.pluralsight.com/id/signin/sso, now it's https://app.pluralsight.com/id/signin/sso?redirectTo=.

ZenHub login

  • automatically login to ZenHub
  • similar to GitHub login
  • investigate how login is done โ†’ maybe in a new tab to prevent redirecting to main page and leaving current page

execAsync not working in Chrome

Uncaught (in promise) TypeError: Illegal invocation:
Function must be called on an object of type StorageArea
    at execAsync

bug was probably introduced in 511c6fc

this blocks further chrome releases until solution is found or change is reverted

sync settings?

  • currently browser.storage.local is used
  • could be changed to browser.storage.sync
  • which storage to use could be defined in configuration

Improve installation/update experience

With the newly introduced optional permissions, there is now the possibility to add new features to the addon - even for new domains and without a permission request that blocks usage/updates of the addon. However, users need to take an action to grant the new permission.

Evaluate whether there could be a notification on updates when new optional permissions are added (e.g., insert a popup on pages where the addon runs). Also, activeTab permission or "*" as optional permission might be something to look into to get something like "Enable all new features automatically" without requiring a user action on update.

For a first-time installation, users should get some notification to do the initial setup (i.e. optionally provide configuration + enable optional permissions).

Replace User ID in emoji reaction tooltips

GitHub: when users react with emojis in Issues/Pull Requests a tooltip will show who reacted with which emoji, the text in the corresponding aria-label of that emoji button needs to be replaced with the username

[Feature Request] Enable Auto Login for Slack

Hello,

It would be nice if this extension could offer an auto login option also for Slack, similar to the Mural one, but using a configured workspace (e.g. "sap-btp.slack.com") instead.

Currently, whenever the Slack session is lost or cleared, we are presented with this screen, which is annoying having to type our workspace every time: https://app.slack.com/workspace-signin

PS: I use Slack strictly through the browser, not through its own desktop application.

Thank you and best regards,
Andre

SRI approval

Hi,

as far as I can see, there isn't any SRI entry for this extensions. Is it allowed to use it (without SRI approval) inside SAP?

;-Daniel

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.