Open Atrophius opened 2 years ago
npm
but yarn
should be preferred if we are using yarn.lock
fileyarn generate
.env.example
doesn't provide a proper initial config. Setup that worked for me
GITHUB_GRAPHQL_URL=https://api.github.com/graphql
OAUTH_API_URL=https://api.starter.dev
CLIENT_REDIRECT_URL=http://localhost:4200/redirect
PRODUCTION=false
closed
PRs filter it's not possible to select 'open' issues (had to select other filter and then click clear filters button)* it works properly on `Issues`
x
in label selector selects the first label instead of clearing the filter (or errors in console if no labels are available)Pull requests
and Issues
page.
* It should be the same on both sites. Possibly displaying skeleton for header as well but without 0 shown for open/closed counter
About
section should scroll to the README section* [ ] navigating to a page that doesn't have any data should show 404 page. Currently, it will try loading eg. a user and display a graphql error
components
, utils
mixed with home
, profile
, issues
)
shared
root directory)export class IssuesComponent implements OnInit {
setLabel(label: string) {
this.reposFilterStore.setLabel(label);
this.issuesStore.getIssues$(this.filterState$);
}
}
Currently, every time we change anything in the filter state we need to manually call this.issuesStore.getIssues$(this.filterState$)
. It should be a responsibility of the store to manage that IMO. Similar thing happens in pull requests logic
ProfileModule
and ReposModule
declare respectively 13 and 12 components. Modules should be kept small so that we don't need to maintain a large collection of imports that might be used only in a couple of components. We should probably start moving towards using standalone components now.user
and org
ProfileResolver
uses ActivatedRouteSnapshot.url to resolve params, but they could use ActivatedRouteSnapshot.paramMap.get('owner')
to avoid conditional logic@ktrz Review board for tickets related to this audit: https://github.com/orgs/thisdot/projects/1/views/5
Create tickets for anything that's not accounted for. If coverage is sufficient, you can close this ticket.
Acceptance
As either a write up in Google Docs or as comments on this issue, please provide us with:
Notes
See #489 for a good example