rgehan / octolenses Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
If your filter fetched data previously and you try to refresh, only to get rate-limited, we currently just show the error and discard whatever data you fetched previously.
We should indicate that the request was rate-limited in a more subtle way, and still display the "old" data.
Maybe we could show a small toast instead of showing a global error in the page
We could add support for various providers if the code was less tied to GitHub.
This means there would be some refactoring to do so that we're not coupled to the GitHub API JSON structure.
In order to support that, we'd need to:
Providers that we could support:
When there is a loader/error, there is no margin in the card.
This should be fixed.
For now, we cannot search issues/PR by their creation date. Ideally, I'd like to be able to do something like:
I think we could create something smart that would dynamically generate the date corresponding to the "range" we want and use it in a filter condition.
The GraphQL endpoint can return both comments & reviews count:
PullRequest fragment:
comments {
totalCount
}
reviews {
totalCount
}
Issue fragment
comments {
totalCount
}
I think the REST endpoint only returns comments count. The value would be a bit off, but that's still better than nothing.
Make sure it works with both
Is your feature request related to a problem? Please describe.
I use both github.com and Github Enterprise daily. Octolense only works with github.com.
Describe the solution you'd like
Octolense should also support Github Enterprise instances.
Describe alternatives you've considered
N/A
Additional context
N/A
We should store the a version number in the storage too.
That way we'd be able to define migrations from say format v0.1.0
to format v0.2.0
Use it in the Chrome Store and add it to the README.md
I can imagine:
$username
or $me
that would be replaced by the user's nameBefore doing that, we'd need to fetch the user's profile (/me
I believe)
This would require adding some kind of transformer between the filter definition and the fetching. We could use lodash.template
for the actual replacement of the variables.
When the plugin will have been fixed
checkSuites: {nodes: [{status: "COMPLETED", conclusion: "CANCELLED", app: {name: "Travis CI"}}]}
This library works pretty well, we could use it https://github.com/clauderic/react-sortable-hoc.
On hover of a filter, we should display a small icon (https://fontawesome.com/icons/grip-lines?style=solid) on the left. Dragging that icon would allow moving the filter up/down.
If a token
is provided, we could fetch the list of:
This would allow adding suggestions to predicates such as:
repo
user
involves
commenter
organization
label
For this, we should:
Maybe add a red exclamation mark, or a red badge near the FilterLink
?
Refreshing a Jira filter doesn't always work.
Sometimes it even clear it completely, forcing the user to clear the cache
This would have a few advantages:
That does:
changelog.txt
filesemver
)Also update the Releasing section of the README.md
Is your feature request related to a problem? Please describe.
Don't work on firefox
Describe the solution you'd like
Build and deploy the version to firefox store
Describe alternatives you've considered
Building on Code Sandbox and deploy to Now
Additional context
Data dev use Firefox at Botify, if you want success you need firefox version
So that the user sets his token
Do not refresh on willMount
Is your feature request related to a problem? Please describe.
By default, I'm suspicious when it comes to permissions that an app or extensions requires. For me it's really important to understand why an extension needs those permissions. In your case the Read your browser history
permission needs some clarity why this is needed.
Describe the solution you'd like
Try to remove them or narrow them down as much as possible. E.g. "https://github.com/*",
instead of *://*.github.com/*
Describe alternatives you've considered
Explain why your extensions needs all those permissions.
We need to wrap chrome.storage
in the IStorage
interface defined in: https://github.com/pinqy520/mobx-persist/blob/master/src/storage.ts
Candidate: webNavigation
Is your feature request related to a problem? Please describe.
It's unclear what PRs in the list need action based on their review status, because this info isn't displayed in the list anywhere.
Describe the solution you'd like
It would be really helpful to see some sort of status on the PR list (awaiting review, approved, etc.) so that you know what status a PR has.
Describe alternatives you've considered
I've created a workaround by adding additional lists with review status filters, which works but clutters up the dashboard.
It could allow quick access to useful stuff such as:
It currently checks on the chrome://newtab
url, but should also check on the about:newtab
We'd need:
To prevent the user from getting stuck with the "Set a valid Github token" error message
Is your feature request related to a problem? Please describe.
Like many people I really like Momentum
as my new tab view. Since your extensions is using the same space, I have to decide which one I like / need more.
Btw. I took me a moment to figure where to find the extension.
Describe the solution you'd like
Move the extensions out of the new tab space and integrate with GitHub.com. A content script allows you do modify the DOM so you an inject a button on GitHub.com which triggers a new view.
Something discrete, such as a green/red checkmark icon somewhere on the card.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.