Skip to content

Conversation

jorgecod
Copy link
Contributor

Issue #29

  • Get Technologies from StackExchange API

@@ -4,3 +4,5 @@
echo 'export const AUTHORITY = "'$AUTHORITY'";' >> src/environments/keys.ts
echo 'export const CLIENT_ID = "'$CLIENT_ID'";' >> src/environments/keys.ts
echo 'export const SCOPES = ["'$SCOPES'"];' >> src/environments/keys.ts
echo 'export const STACK_EXCHANGE_ID = ["'$STACK_EXCHANGE_ID'"];' >> src/environments/keys.ts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you need to remove the brackets and only have his line as:

echo 'export const STACK_EXCHANGE_ID = "'$STACK_EXCHANGE_ID'";' >> src/environments/keys.ts

@@ -4,3 +4,5 @@
echo 'export const AUTHORITY = "'$AUTHORITY'";' >> src/environments/keys.ts
echo 'export const CLIENT_ID = "'$CLIENT_ID'";' >> src/environments/keys.ts
echo 'export const SCOPES = ["'$SCOPES'"];' >> src/environments/keys.ts
echo 'export const STACK_EXCHANGE_ID = ["'$STACK_EXCHANGE_ID'"];' >> src/environments/keys.ts
echo 'export const STACK_EXCHANGE_ACCESS_TOKEN = ["'$STACK_EXCHANGE_ACCESS_TOKEN'"];' >> src/environments/keys.ts
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@Input() entryToEdit;
@Input() formType: string;
@Output() saveEntry = new EventEmitter();
@ViewChild('closeModal') closeModal: ElementRef;
entryForm: FormGroup;
technologies: Technology;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technologies or technology. it looks like technology since the type is not an array or any kind of collection.

@@ -4,7 +4,7 @@ export interface Entry {
startDate: string;
endDate: string;
activity: string;
technology: string;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

technologies

Comment on lines 5 to 7
LOAD_TECHNOLOGY = '[Technology] LOAD_TECHNOLOGY',
LOAD_TECHNOLOGY_SUCCESS = '[Technology] LOAD_TECHNOLOGY_SUCCESS',
LOAD_TECHNOLOGY_FAIL = '[Technology] LOAD_TECHNOLOGY_FAIL',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think here we are not LOADING but FINDING so:
FIND_TECHNOLOGIES
FIND_TECHNOLOGIES_SUCESS
FIND_TECHNOLOGIES_FAIL

@jorgecod jorgecod force-pushed the 29/get-technologies branch from 9f6d155 to a69a911 Compare April 14, 2020 17:26
@codecov
Copy link

codecov bot commented Apr 14, 2020

Codecov Report

Merging #118 into master will increase coverage by 1.04%.
The diff coverage is 92.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #118      +/-   ##
==========================================
+ Coverage   91.85%   92.90%   +1.04%     
==========================================
  Files          43       47       +4     
  Lines         393      437      +44     
  Branches       22       26       +4     
==========================================
+ Hits          361      406      +45     
+ Misses         26       24       -2     
- Partials        6        7       +1     
Impacted Files Coverage Δ
...rc/app/modules/shared/store/technology.reducers.ts 62.50% <62.50%> (ø)
...c/app/modules/shared/store/technology.selectors.ts 66.66% <66.66%> (ø)
...ponents/details-fields/details-fields.component.ts 100.00% <100.00%> (ø)
.../app/modules/shared/services/technology.service.ts 100.00% <100.00%> (ø)
src/app/modules/shared/store/technology.actions.ts 100.00% <100.00%> (ø)
...dules/time-entries/pages/time-entries.component.ts 100.00% <100.00%> (ø)
src/environments/environment.ts 100.00% <100.00%> (ø)
src/environments/keys.ts 100.00% <100.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c21254e...afc20cc. Read the comment docs.

@jorgecod jorgecod force-pushed the 29/get-technologies branch from a69a911 to b9f1262 Compare April 14, 2020 19:45
@jorgecod jorgecod force-pushed the 29/get-technologies branch from b9f1262 to afc20cc Compare April 16, 2020 18:38
@enriquezrene enriquezrene merged commit 2b940df into master Apr 16, 2020
@enriquezrene enriquezrene deleted the 29/get-technologies branch April 16, 2020 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants