Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/networking #78

Merged
merged 9 commits into from
Aug 25, 2021
Merged

Conversation

BrianL3
Copy link
Collaborator

@BrianL3 BrianL3 commented Aug 22, 2021

Link to Relevant Issue

This pull request resolves the primary blocker for creating containers (e.g. most of the remaining work in the front end): a network layer.

Description of Changes

This is nearly purely additive. It adds a NetworkService which in turn will be used by other Services to request and create their appropriate Model objects. A "demo" of how this might work in included in PersonContainer for now.

Link to Forked Storybook Site

https://Brianl3.github.io/cdp-frontend/

@evamaxfield evamaxfield changed the title Feature/networking feature/networking Aug 23, 2021
Copy link
Member

@evamaxfield evamaxfield left a comment

Choose a reason for hiding this comment

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

This all looks good to me and makes sense. Some random questions.

Before approve, any chance we can fix the lint and build?

src/components/PersonPage/PersonContainer.tsx Outdated Show resolved Hide resolved
src/models/Body.ts Show resolved Hide resolved
src/networking/NetworkService.ts Show resolved Hide resolved
src/networking/PersonService.ts Outdated Show resolved Hide resolved
Copy link
Member

@evamaxfield evamaxfield left a comment

Choose a reason for hiding this comment

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

Looks good to me. @tohuynh should get a change to review though.

Copy link
Collaborator

@tohuynh tohuynh left a comment

Choose a reason for hiding this comment

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

The NetworkService and PersonService look good to me.

Just have a few comments.

src/networking/NetworkService.ts Outdated Show resolved Hide resolved
src/networking/NetworkService.ts Outdated Show resolved Hide resolved
@evamaxfield
Copy link
Member

@BrianL3 are you going to try and get the mock firebase into this PR or is this good to go for now?

@BrianL3 BrianL3 merged commit bf4c0c9 into CouncilDataProject:main Aug 25, 2021
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.

None yet

3 participants