Giter Club home page Giter Club logo

chromeuserwebsearchextension's People

Contributors

brandonmcclure avatar christopherpickering avatar ima9rd avatar markiannucci avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

chromeuserwebsearchextension's Issues

Add SU Search

Is your feature request related to a problem? Please describe.
Sometimes we get nova notes that say "you're not affected by this Nova Note if you have already installed a SU". Therefore I'd like a way to type uw su and have it return a list of RAs that have the SU I'm interested in.

Describe the solution you'd like
It looks like sending sherlock this link will do the trick:
https://sherlock.epic.com/default.aspx?view=ra/search#sus=

Update the userweb search in Chrome to do that :)

Can you add functionality so I can search Nova?

Is your feature request related to a problem? Please describe.
Nova note links aren't copyable from my browser, and I have to search for them, and then click something else to get them to display. Can you get me straight there like Sherlock?

Describe the solution you'd like
uw nova #### takes me directly to the nova note.
uw nova words searches for words

Sherlock search using keyword SLG

Is your feature request related to a problem? Please describe.
Right now I can type out Sherlock and search slgs (sherlocks), however, most of us in the Epic community know them as SLGs.

Describe the solution you'd like
Make typing "uw slg" do the same as "uw sherlock"

Use constants for the base URLs

Describe the bug
I noticed we're using a lot of the same values for the first part of the URL strings. Refactor that to use constants so the code is less brittle.

Add reportable issue search to the extension

Is your feature request related to a problem? Please describe.
Today I wanted to go directly to a reportable issue because I had the Q-### for it. Unfortunately, I wasn't able to do that.

Describe the solution you'd like
Have reportable issue search functionality work like SLG functionality.

Describe alternatives you've considered
Click stuff on the web :(

Additional context
https://sherlock.epic.com/default.aspx?view=zqn/search#cid=932&txt=5084374&es=1 <--- search string
https://sherlock.epic.com/default.aspx?view=zqn/search#cid=932&txt=5084374&es=1&id=5084374 <--- display view

Nova search doesn't work ---

Describe the bug
If I attempt to search nova, I do not get results anymore

To Reproduce
uw nova active etl

Expected behavior
I get results.

It looks like search stopped working if you need to authenticate ---

Describe the bug
When I punch in uw term galaxy search does not happen -- you get taken to an empty galaxy page

To Reproduce
Type uw term first thing in the morning. There may not be much we can do to avoid this issue.

Expected behavior
Get taken to your search results

Add the ability to goto an RA directly from within Sherlock

Is your feature request related to a problem? Please describe.
It would be nice to be able to use this to lookup RA's directly by their number

Describe the solution you'd like
For example: uw sherlock ra XXXX
where XXXX is the ra#

Describe alternatives you've considered
For example: uw sherlockRA XXXX
From what I saw of the code, this might be easier?

The Release Azure Pipeline won't deploy to the Chrome Web store because it has trouble authenticating when using secret variables

I've tried to get this to work using two approaches:

The first approach was a bash task with the script inline. It threw this error:

2018-10-12T09:22:20.4798570Z > Host: www.googleapis.com
2018-10-12T09:22:20.4798876Z > User-Agent: curl/7.47.0
2018-10-12T09:22:20.4799006Z > Accept: */*
2018-10-12T09:22:20.4799088Z > Authorization: Bearer null
2018-10-12T09:22:20.4799403Z > x-goog-api-version: 2
2018-10-12T09:22:20.4799682Z > Content-Length: 0
2018-10-12T09:22:20.4799763Z > 
2018-10-12T09:22:20.5272825Z < HTTP/1.1 401 Unauthorized
2018-10-12T09:22:20.5276434Z < Vary: X-Origin
2018-10-12T09:22:20.5276939Z < WWW-Authenticate: Bearer realm="https://accounts.google.com/", error=invalid_token
2018-10-12T09:22:20.5277354Z < Content-Type: application/json; charset=UTF-8
2018-10-12T09:22:20.5277453Z < Date: Fri, 12 Oct 2018 09:22:20 GMT
2018-10-12T09:22:20.5277592Z < Expires: Fri, 12 Oct 2018 09:22:20 GMT
2018-10-12T09:22:20.5277883Z < Cache-Control: private, max-age=0
2018-10-12T09:22:20.5278196Z < X-Content-Type-Options: nosniff
2018-10-12T09:22:20.5278472Z < X-Frame-Options: SAMEORIGIN
2018-10-12T09:22:20.5279081Z < X-XSS-Protection: 1; mode=block
2018-10-12T09:22:20.5279174Z < Server: GSE
2018-10-12T09:22:20.5279483Z < Alt-Svc: quic=":443"; ma=2592000; v="44,43,39,35"
2018-10-12T09:22:20.5279798Z < Accept-Ranges: none
2018-10-12T09:22:20.5280058Z < Vary: Origin,Accept-Encoding
2018-10-12T09:22:20.5280528Z < Transfer-Encoding: chunked
2018-10-12T09:22:20.5280612Z < 
2018-10-12T09:22:20.5280732Z { [195 bytes data]

The second approach I used was to write the script into a file and execute the file. It throws this error:

2018-10-12T10:01:46.5102062Z /home/vsts/work/r1/a/_MarkIannucci.ChromeUserWebSearchExtension/drop/ChromeWebStoreBashScript.sh: line 4: $'\r': command not found
2018-10-12T10:01:46.5158842Z * Illegal characters found in URL
2018-10-12T10:01:46.5160466Z * Closing connection -1

I am working on this via my #1 pull request. I am able to get this to work using a private azure pipeline where I have the secrets stored in the clear.

Simultaneous search --- one set of keystrokes opens up multiple tabs!

Is your feature request related to a problem? Please describe.
Sometimes I need to search multiple sections of the UserWeb with the same query. Galaxy does this a bit for me, but the results show up in the side pane and they don't contain sufficient text for me to know if they'll be useful.

Describe the solution you'd like
Wouldn't it be fantastic if I could use a shortcut to open multiple epic search engines and send off my query to them in different tabs? Wouldn't it be even cooler if I could search google at the same time if I'm looking up a SQL server problem? For example, if I type uw slg galaxy stuff I'm looking for, I would get two tabs, one searching sherlock and the second searching galaxy. uw slg galaxy dh stuff I'm looking for would return three.

Implement a keyword to search SLGs assigned to my team

Is your feature request related to a problem? Please describe.
Sometimes I get too many search results when searching sherlock. With epic recently releasing functionality to allow us to filter SLGs by team, it would be great if the extension could filter SLGs for my team's ownership.

Describe the solution you'd like
Allow me to save my team(s) as an option in the extension and when I type myteam: in my search string, filter stuff for my team(s)

Switch from the chrome api to the browser api so this code is easier to port to any compliant browsers

Is your feature request related to a problem? Please describe.
It looks like the only way to get this code to port to Firefox is to use web-ext which needs to pack the extension. It looks like web-ext is only compliant with the browser namespace.

Describe the solution you'd like
Switch the chrome. references to browser. references and confirm it works in chrome; from there, see if it works in firefox, then check it out in Edge

Add document filters based on application to the search string

Is your feature request related to a problem? Please describe.
Wouldn't it be sweet to type:
uw max server memory af:clarity,caboodle
and have the userweb return documents filtered by the Clarity and Caboodle applications

Additional context
this won't be fun to implement because Epic's approach to this is to use magic numbers in the search string... so you should probably wait to implement this until after you get the work done to throw a page at people when they click on the magnifying glass

Add forums search

This is cool!

Do you think forum search can be added?

maybe:

uw forums something cool
uw fm something cool

for

https://userweb.epic.com/Search?Query=something%20cool

Users need a list of keywords, and documentation on how to use the utilty within the utilty

Is your feature request related to a problem? Please describe.
People will miss announcements on the UserWeb, and a UserWeb topic is not a good place for production documentation

Describe the solution you'd like
If a user clicks the magnifying glass, create a new tab which displays instructions on how to use the Chrome UserWeb Search Extension; also list out key words.

Bonus points, if you can throw a notification on extension updates so people can learn within the product as it evolves.

Add version search to the `uw nova` phrase

Is your feature request related to a problem? Please describe.
In order to filter on a version, you have to specify a particular version. Specifying a particular version is very time consuming because there's a query happening to Epic's database when you go to populate the form and it seems to take 3 seconds or so on my end. In addition each quarter, Epic releases stuff for the base version as well as quarterly sus, so searching a full year takes 30 seconds in their UI.

Describe the solution you'd like
before parsing the search phrase, accept versions information. so If I punch in 2020.02 append the versions= parameter and populate it with 9200%2C9201 (to cover the SUs).

Bonus points if you can handle >=2020.02 (if user only inputs > assume they mean >=) and get it to populate 9200%2C9201%2C9300 ... etc until you get to the current version which you should figure out based on the month and calendar year.

Describe alternatives you've considered
I asked Epic to offer this functionality in the UI via e-mail. I haven't heard back.

Write tests for the Chrome UserWeb Extension

Describe the bug
The code doesn't have tests. We need to identify a framework for unit tests and refactor the code so it can be tested automatically. This probably means moving the bulk of the work done by the event into a function which returns the newURL and then a test which confirms that the url for the entered string is what we want.

Implement a keyword to search for SLGs based on next update date

Is your feature request related to a problem? Please describe.
We can now filter sherlock results based on next update date. Unfortunately, the filter text that Epic decided to use looks for SLGs using their internal date representation (days since 1/1/1841). I would much prefer to use dates in my locale format or using the date mnemonics.

Describe the solution you'd like
uw slg nu:T+7->T+14 returns all SLGs that have next update dates beginning with seven days from today and ending 14 days from today.

Help me search metrics faster

Is your feature request related to a problem? Please describe.
It took a while to search the metric repository. It would be nice if I could just type 'uw metric' and my term; even better if I type 'uw metric ####' and it returns the released metric number

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.