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

Feat: new methods for users to follow and unfollow initiatives #144

Merged
merged 1 commit into from
Mar 21, 2019

Conversation

jgravois
Copy link
Contributor

@codecov
Copy link

codecov bot commented Mar 13, 2019

Codecov Report

Merging #144 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #144   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          56     57    +1     
  Lines         855    885   +30     
  Branches      114    117    +3     
=====================================
+ Hits          855    885   +30
Impacted Files Coverage Δ
packages/initiatives/src/groups.ts 100% <ø> (ø) ⬆️
packages/initiatives/src/index.ts 100% <100%> (ø) ⬆️
packages/initiatives/src/follow.ts 100% <100%> (ø)

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 be6c96a...aeef22e. Read the comment docs.

@tomwayson
Copy link
Member

also resolves #25


const getTag = (initiativeId: string) => `hubInitiativeId|${initiativeId}`;

const getUserUrl = (session: UserSession) =>
Copy link
Member

Choose a reason for hiding this comment

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

maybe this belongs in @esri/arcgis-rest-auth?

Copy link
Contributor Author

@jgravois jgravois Mar 15, 2019

Choose a reason for hiding this comment

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

right now, getPortal() and getPortalUrl() can be found in request.

i have a note here to move them to @esri/arcgis-rest-common, so my preference would be to do the same with getUserUrl().

AFFECTS PACKAGES:
@esri/hub-initiatives
@jgravois jgravois force-pushed the feat/follow-initiative branch from c843606 to aeef22e Compare March 21, 2019 19:02
@jgravois jgravois merged commit c94a025 into master Mar 21, 2019
@jgravois jgravois deleted the feat/follow-initiative branch March 21, 2019 19:17
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