profile
viewpoint
Joseph Ngugi Kachulio1 Kenya, Nairobi

Pull request review commentHuman-Connection/Human-Connection

Add teaser image to contribution form

 export default {         this.form.content = contribution.content         this.form.title = contribution.title         this.form.language = this.locale+        this.form.teaserImage = contribution.imageUpload       },     },+    error() {+      let that = this

have you tried to use an arrow function

mattwr18

comment created time in 2 days

push eventandela/andela-societies-frontend

Joseph Ngugi

commit sha 9f44004535d9981259438b77e9ac476e9906abb7

Deploy to production (#227) * feat(logging): implement logging on the frontend (#162) - introduce the package morgan to the frontend application - log to stderr and stdout [ Fixes #162052401 ] * feat(design) CI/CD pipeline (#166) - refactor CI/CD pipeline to include a design branch - configure bundling for design environment [ Fixes #162496788 ] * chore(badges): rename the badges (#169) - rename badges to match the new repository [ Fixes #162779200 ] * chore(deployment): remove deployment for MVP2 on develop (#175) - ensure that branches from develop do not point to MVP2 [ Fixes #163449835 ] * Deploy v2 (#222) * Clean up in preparation for version 2 * Set up new folder structure and web pack config (#167) * chore(setup): add webpack configuration * chore(setup): add HomeComponent * feat(setup): add webpack dev config feat(setup): add eslint dependencies * feat(setup): add babel config * feat(setup): add clean-webpack-plugin dependency * feat(setup): add optimization using splitChunks - add CleanWebpackPlugin config - add MiniCssExtractPlugin config - refactor to use source-map * feat(setup): add webpack config for production * feat(setup): add node sass dependency - add home scss * feat(setup): add jest and enzyme for testing - test HomeComponent * chore(tests): add babel-core dependency - add jest config file * chore(setup): add coveralls dependency * chore(node): upgrade node version - upgrade node version to enable compatibility with eslint upgrade [ Fixes #162770492 ] * chore(badges): circle ci & coveralls badges (#171) - change badges to reflect the develop v2 branch [ Fixes #163145741] * #163360183 Continuous deployment for develop-V2 (#174) * ft(container): create a docker image - create a docker file that creates the application production environment [ Fixes #163360183] * chore(cleanup): remove unused commands - remove the copy:favicon command [ Fixes #163360183 ] * chore(node): move to node version 10 - use node version 10 in tests and deployment - add deployment for develop-v2 [ Fixes #163360183 ] * feat(deployment): add deployment script - Add a deployment script for the application - change the design configuration on the application to staging_v2 - Refactor the slack notification script [ Fixes #163360183 ] * chore(docker-image): opt for a lighter images - choose alpine image [ Fixes #163360183 ] * Add new login design (#172) * feat(login): add css variables * feat(login): add login component * feat(routes): add routes * feat(styles): add login component scss * feat(login): add Din Pro font face * feat(login): add jwt-decode and js-cookie dependencies - use js-ccokie to get token - use js-decode to decode token - add function tokenIsValid to check validity of the decoded token - add check to route to login or home in componentDidMount * feat(login): add component to authenticate routes and its tests - add devServer config - refactor login test to add history prop - add image place holder * feat(login): add token fixture - add tokenIsValid test * feat(login): add bootstrap and modify css - add rem function to convert px to rem - add bootstrap classes in LoginComponent - add lightGray css variable * feat(login): add test cases - add test case for components not authenticated - add invalid token test case * chore(domains): update domains (#181) - update domains to use the v2 version [ Fixes #163615519] * Setup Redux and Redux-Saga (#170) * Redux Saga setup * Clean Saga examples * Resolve Conflicts * Resolve conflicts * Create personal dashboard (#178) * feat(login): add login component * feat(dashboard): add a HeroComponent * feat(dashboard): add SidebarComponent * feat(dashboard): refactor login component to add LogoCompoment - add styling for hero class * feat(dashboard): add Dashboard component * feat(dashboard): add MyStatsComponent and SocietyStatsComponent * feat(dashboard): add sidebar footer and it's scss file feat(dashboard): add styles and logoClassType props in LogoComponent * feat(dashboard): add dashboard svg, blue and white andela image logos * feat(dashboard): add navbar component with its scss file * feat(dashboard): add Navbar component in dashboard - add css classes and styling in Navbar component * feat(dashboard): add text-styles mixin - add person placeholder image - add jpg in test property of url-loader - add css classes to MyStatsComponent - add myStats scss file - add css classes to SocietyStatsComponent - add societyStats.scss * feat(dashboard): add buttons to log points and filter - add button component and it's styling * feat(dashboard): add file-loader * feat(dashboard): add society icons * feat(dashboard): add media queries for small and medium devices - handle responsiveness of dashboard component * feat(dashboard): add media queries to handle resposiveness of society stats component * feat(Dashboard): add component tests - add dashboard component tests - add my stats component tests - add society stats component tests - add button component tests - add hero component tests - add logo component tests - add navabar tests - add sidebar component tests - add wrapper, main-content, sidebar and sub-content class names - add position absolute to main-content - add flex grow in sub-content * feat(dashboard): add sidebar in navbar component - add media query for small and other devices * feat(dashboard): add NavItem component in sidebar component - add NavItem component - add media query for devices with width > 767 * feat(dashboard): add capitalize util * feat(dashboard): add css files in styles folder of each domain - add NavItemComponent tests - add Capitalize tests - add NavbarComponent tests - refactor image urls in logo.scss * feat(dashboard): add image svg files * feat(dashboard): add society icon class names and their images - add border left on hover - add top navigation separator * feat(dashboard): refactor to use rems * feat(dashboard): refactor svg files * feat(dashboard): add constants and refactor scss files to add spaces * feat(dashboard): add date-fns dependency - remove default webkit - remove png images * feat(dashboard): add progress bar * Display graphic of total points and activities logged (#182) * feat(login): add login component * feat(dashboard): add a HeroComponent * feat(dashboard): add SidebarComponent * feat(dashboard): refactor login component to add LogoCompoment - add styling for hero class * feat(dashboard): add Dashboard component * feat(dashboard): add MyStatsComponent and SocietyStatsComponent * feat(dashboard): add sidebar footer and it's scss file feat(dashboard): add styles and logoClassType props in LogoComponent * feat(dashboard): add dashboard svg, blue and white andela image logos * feat(dashboard): add navbar component with its scss file * feat(dashboard): add Navbar component in dashboard - add css classes and styling in Navbar component * feat(dashboard): add text-styles mixin - add person placeholder image - add jpg in test property of url-loader - add css classes to MyStatsComponent - add myStats scss file - add css classes to SocietyStatsComponent - add societyStats.scss * feat(dashboard): add buttons to log points and filter - add button component and it's styling * feat(dashboard): add file-loader * feat(dashboard): add society icons * feat(dashboard): add media queries for small and medium devices - handle responsiveness of dashboard component * feat(dashboard): add media queries to handle resposiveness of society stats component * feat(Dashboard): add component tests - add dashboard component tests - add my stats component tests - add society stats component tests - add button component tests - add hero component tests - add logo component tests - add navabar tests - add sidebar component tests - add wrapper, main-content, sidebar and sub-content class names - add position absolute to main-content - add flex grow in sub-content * feat(dashboard): add sidebar in navbar component - add media query for small and other devices * feat(dashboard): add NavItem component in sidebar component - add NavItem component - add media query for devices with width > 767 * feat(dashboard): add capitalize util * feat(dashboard): add css files in styles folder of each domain - add NavItemComponent tests - add Capitalize tests - add NavbarComponent tests - refactor image urls in logo.scss * feat(dashboard): add image svg files * feat(dashboard): add society icon class names and their images - add border left on hover - add top navigation separator * feat(dashboard): refactor to use rems * feat(dashboard): refactor svg files * feat(dashboard): add constants and refactor scss files to add spaces * feat(dashboard): add date-fns dependency - remove default webkit - remove png images * feat(dashboard): add progress bar * feat(dashboard): add Dashboard component * feat(totalPointsAndActivities): configure store, sagas and reducer * feat(userActivites): add fetch user activities actions and types * feat(userActivities): add fetch user activities saga - handle fetch user activities actions in reducer * feat(userActivities): add api util - add get request util - add getToken and getUserInfo utils * feat(userActivities): Add dependencies - add redux-saga - add redux - add redux-devtools-extension * feat(userActivities): add plugin-transform-runtime dependency * feat(userActivities): map dashboard state to props - add post util * feat(userActivities): resolve linting errors * feat(userActivities): add action to fetchUser - handle fetchUser action in reducer * feat(useraActivities): add tests - add tests for dashboard actions i.e fetch user activities. - add reducer tests - refactor to remove fetch user action * feat(userActivities): add tests - add Dashboard tests - add dashboard saga tests - add tokenIsValid test * feat(userActivities): add background image in HeroComponent * feat(userActivities): evaluate the right JSX before rendering * Add api util tests * feat(userActivities): add token parameter to tokenIsValid & getUserInfo * Add button interactions (#184) * chore(feedback): Add pointer cursor to settings nav item - add pointer cursor to buttons - add box shadow and transition to hover state - add bold font weight to society stats * chore(feedback): add colors variables - remove unused content-wrapper class * chore(feedback): use andela blue and gold colors * chore(feedback): add border around society icons - reduce height and width of society svgs * chore(feedback): refactor button styles - add shared class user-dashboard__button - remove unshared hover state styles and button class * chore(feedback): add mixins - add border and widthAndHeight mixin * Wrap pages within common sidebar and navigation bar (#185) * chore(commonWrapper): wrap components under common sidebar and navbar - redirect to login if not authenticated - remove hero, navbar and sidebar component from dashboard component * chore(commonWrapper): add user's society in state * chore(commonWrapper): add user's society image in society stats component - pass down user's society as props to society stats component - add society images * chore(commonWrapper): refactor tests to add society * chore: add background image on login page (#189) * #163083355 Display redesigned my logged activities (#187) * feat(loggedActivities): add TableComponent * feat(myActivities): add table component and its scss * feat(myActivities): add TruncateDescriptionComponent and its scss * feat(myActivities): add onClick prop * feat(myActivities): add MyActivities component - add userActivities constant * feat(myActivities): rework dashboard to edit padding and margin values * feat(myActivities): Add tableClassName prop in TableComponent - add myActivities scss file - add truncateDescription scss file - add styles to TableComponent - refactor dashboard actions * feat(myActivities): add society prop - rename color value * feat(myActivities): format date value - modify text styles for table body - add border collapse and spacing styles on table class * feat(myActivities): add MyActivitiesComponent and TableComponent tests - add condition to check if there are userActivities * feat(myActivities): Add StatusIndicatorComponent - add statusIndicator scss file - add colors representing the various statuses - make use of status indicator component in MyActivities and SocietyStats components * feat(myActivities): Add TruncateDescriptionComponent tests * feat(myActivities): add colSpan attribute on table data * chore(rename): rename stateful components to have container suffix (#191) - add DashboardContainer - add TruncateDescriptionContainer - add LoginContainer - add NavbarContainer * feat(userProfile): add profile component (#190) - add its scss file - add userInfo prop - pass down userInfo prop to NavbarComponent - add prop validation for userInfo - add profile dropdown menu - refactor remove logo styles - add user profile on small devices - refactor profile component to be stateful - add profileIconClick - add classname prop - add tests - add withRouter on login component - add function to logOut a user - add removeCookies util - add tests - add box shadow on profile dropdown - add a class on buttons in the DashboardComponent - rename component to ProfileContainer * chore(login): update image on login page (#193) * chore(pipeline): master-V2 pipeline (#186) - create a pipeline for master-V2 [ Fixes #164102566 ] * #163083132 Display redesigned societies page (#194) * feat(societies): add ProgressBarComponent * feat(societies): add SocietiesContainer * feat(societies): add society actions, types, reducer and saga - add society initial state * feat(societies): move TruncateDescriptionContainer to common folder - refactor societies path - add loggedActivities argument in fetchSocietyInfoSuccess action * feat(societies): add SocietyActivitiesComponent - add defaultProps and propTypes in SocietiesContainer - refactor to add societyName object - refactor match propType - add societies scss file - add society image placeholder - add Activities and Redemption tabs - add className prop in SocietyStatsComponent - add background image on societies page profile - add SocietyActivitiesComponent tests * feat(societies): add totalPoints and activitiesLogged props * feat(societies): conditionally display total points & activities logged - refactor to remove unused classes - refactor styles under society-stats__desc class - refactor MyStatsComponent tests * fetch(societies): add action, reducer, data tests - add SocietiesContainer tests - add media queries and modify styles - add userinfo prop when authenticating society pages - modify color of points subscript - add SocietyStatsComponent tests * #164324997 Log Society Activity points (#188) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * fix datefns time format error * #164528722 Switch between activities and redemption tabs on any society page (#195) * feat(societyTabs): add TabsComponent - add selectedSocietyTab mixin - add styles for the selected tab title - add fetch society redemptions action types - handle fetch society redemptions actions in reducer - add fetch society redemptions generators - modify container to stateless component ): refactor tabs container * feat(societyTabs): display redemptions table - add selectedTab prop to SocietyActivitiesComponent - conditionally display redemptions table - add pointsToDollarConverter util - modify society initial state - add societyName to fetchSocietyInfoSuccess payload - refactor state returned in FETCH_SOCIETY_INFO_SUCCESS case block - refactor mapStateToProps to add society - add fetch society redemptions tests - add test to handle case FETCH_SOCIETY_REDEMPTIONS_SUCCESS in reducer - add watchFetchSocietyRedemptionsReq and fetchSocietyRedemptions generator tests - add pointsToDollarConverter test - add TabsComponent tests * add authorization token on the Header (#200) * #163083300 Display activities awaiting verification by a society secretary (#198) * feat(societyTabs): add TabsComponent - add selectedSocietyTab mixin - add styles for the selected tab title - add fetch society redemptions action types - handle fetch society redemptions actions in reducer - add fetch society redemptions generators - modify container to stateless component ): refactor tabs container * feat(verify): add Sidebar domain - rename SidebarComponent to SidebarContainer - add verify activities nav item - conditionally render an outlined checkmark - add outlined checkmark styles - add fetch user role actions, types, saga - handle actions in reducer - add sidebar initial state - conditionally render verify activities nav item - add VerifyActivities container - add VerifyActivitiesComponent - add tests - add ActionsComponent - add LoaderComponent - add action, reducer and saga tests * chore(dlevel): add user's dlevel (#199) * #164397766 Display Toast message after successfully logging an activity (#196) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * fix datefns time format error * success toast message * Clean Saga examples * resolve conflicts * feat(sidebar): get user id from token (#202) * Fix the Activity category and Date display (#203) * feat(sidebar): get user id from token * fix activity category and date name formats * #164830528 Display redemptions page (#201) * feat: add redemptions screen - add tests * feat: add redemptions nav item - add fetchSocietyInfoRequest request * chore: add SidebarContainer tests * feat(approve): Add Approve Budget page (#204) - move SocietyStatsComponent & TabsComponent to common folder - add ApproveActivitiesContainer - add TabsComponent - add ApproveBudgetComponent - add ApproveBudgetContainer tests - add getTabBorderClassname helper - add ApproveBudgetComponent tests - add Approve Budget nav item * feat(redeem): add redeem points dialog (#206) - add createRedemptionRequest and createRedemptionSuccess actions - add createRedemption generator - add dollarsToPointsConverter util - add redemption dialog styles - add RedeemPointsDialogComponent tests - add RedemptionsContainer tests - add action, reducer and saga tests - add money svg image * #164397809 Validate Log points Modal inputs (#197) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * fix failing CI build * tests * test * test * fix date format * add backround opacity by using Material UI Dialog (#208) * Ft log points validation (#212) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * fix failing CI build * tests * test * test * fix date format * resolve conflict * #165116475 Secretary verify activity (#207) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * activity verification by secretary * fix failing CI build * tests * test * test * fix date format * tests * resolve conflict * fix failing test * remove whitespace * test handleVerify * improve test * implement feedback * fix reducer * Verify activity alert modal (#209) * verify dialog * fix failing build * fix alert message * Approve reject budget actions (#210) * feat(approveBudget): Approve reject actions - add approve and reject click actions on ActionsComponent - add request, success actions for budget approval - add approve budget page loading and error actions - handle APPROVE_BUDGET actions - add approveBudget generator - add AlertDialogComponent - status and message parameters in approveBudgetSuccess - add approveBudgetStatus and approveBudgetMessage in society state - add action,reducer and saga tests - add AlertDialogComponent tests - add ApproveBudgetContainer tests - move ActionsComponent to common folder - add ActionsComponent tests * feat(approveReject): add tests - add api and ActionsComponent tests * feat(approveActivities): add approve activities page (#211) - add ApproveActivitiesComponent - add ApproveActivitiesContainer - add activities sidebar item - add tests * Add pagination (#214) * add pagination * include pagination across other pages * add tests * bug(dashboard): add usedPoints & remainingPoints (#215) - remove footer on sidebar - remove Profile dropdown item - remove dlevel - hide profile dropdown * feat: search (#213) - add Navbar folder - move NavbarContainer and tests tp Navbar folder - add search util - add search action - add reducer to handle SEARCH action - add search on all the pages - add tests * bug: blue login background (#216) - remove class container - add watchCreateRedemptionReq import * Adjust log points padding (#217) * adjust log points padding * api base url quick fix * update api base url * update * Filter engineer activities (#205) * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * chore(filter): add tests * fix lint * remove event listener * fix api base url and pagination display (#220) * bug: fix staging errors (#221) - fix redemption date error - fix activity status sent while verifying by society secretary * feat(filter): filter society activities (#219) - import Filter component - add filter dropdown - add filter functionality [Finishes ######] * Resolve deploy v2 conflicts (#223) * chore(badges): rename the badges (#169) - rename badges to match the new repository [ Fixes #162779200 ] * chore(deployment): remove deployment for MVP2 on develop (#175) - ensure that branches from develop do not point to MVP2 [ Fixes #163449835 ] * remove require (#224) * remove background color (#226)

view details

push time in 2 days

PR merged andela/andela-societies-frontend

Reviewers
Deploy to production
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
What are the relevant Pivotal Tracker stories?
Questions?
Screenshots?
+10293 -25569

0 comment

488 changed files

Kachulio1

pr closed time in 2 days

push eventandela/andela-societies-frontend

CrispusKamau

commit sha 6bbdb958b8ef975e4678568359627df167148263

feat(logging): implement logging on the frontend (#162) - introduce the package morgan to the frontend application - log to stderr and stdout [ Fixes #162052401 ]

view details

CrispusKamau

commit sha d82aa8ee2b978a8d298c31048bb60651f09991b2

feat(design) CI/CD pipeline (#166) - refactor CI/CD pipeline to include a design branch - configure bundling for design environment [ Fixes #162496788 ]

view details

CrispusKamau

commit sha 9e1c0dfd2bce888ed1b30e0b35cf74f6fca4598c

chore(badges): rename the badges (#169) - rename badges to match the new repository [ Fixes #162779200 ]

view details

CrispusKamau

commit sha 375785e9da7c5e205d629ce1e9aff255d627a951

chore(deployment): remove deployment for MVP2 on develop (#175) - ensure that branches from develop do not point to MVP2 [ Fixes #163449835 ]

view details

Joseph Ngugi

commit sha 05cb8a3989e912ae13f45fed59222c3de0dad9bb

Deploy v2 (#222) * Clean up in preparation for version 2 * Set up new folder structure and web pack config (#167) * chore(setup): add webpack configuration * chore(setup): add HomeComponent * feat(setup): add webpack dev config feat(setup): add eslint dependencies * feat(setup): add babel config * feat(setup): add clean-webpack-plugin dependency * feat(setup): add optimization using splitChunks - add CleanWebpackPlugin config - add MiniCssExtractPlugin config - refactor to use source-map * feat(setup): add webpack config for production * feat(setup): add node sass dependency - add home scss * feat(setup): add jest and enzyme for testing - test HomeComponent * chore(tests): add babel-core dependency - add jest config file * chore(setup): add coveralls dependency * chore(node): upgrade node version - upgrade node version to enable compatibility with eslint upgrade [ Fixes #162770492 ] * chore(badges): circle ci & coveralls badges (#171) - change badges to reflect the develop v2 branch [ Fixes #163145741] * #163360183 Continuous deployment for develop-V2 (#174) * ft(container): create a docker image - create a docker file that creates the application production environment [ Fixes #163360183] * chore(cleanup): remove unused commands - remove the copy:favicon command [ Fixes #163360183 ] * chore(node): move to node version 10 - use node version 10 in tests and deployment - add deployment for develop-v2 [ Fixes #163360183 ] * feat(deployment): add deployment script - Add a deployment script for the application - change the design configuration on the application to staging_v2 - Refactor the slack notification script [ Fixes #163360183 ] * chore(docker-image): opt for a lighter images - choose alpine image [ Fixes #163360183 ] * Add new login design (#172) * feat(login): add css variables * feat(login): add login component * feat(routes): add routes * feat(styles): add login component scss * feat(login): add Din Pro font face * feat(login): add jwt-decode and js-cookie dependencies - use js-ccokie to get token - use js-decode to decode token - add function tokenIsValid to check validity of the decoded token - add check to route to login or home in componentDidMount * feat(login): add component to authenticate routes and its tests - add devServer config - refactor login test to add history prop - add image place holder * feat(login): add token fixture - add tokenIsValid test * feat(login): add bootstrap and modify css - add rem function to convert px to rem - add bootstrap classes in LoginComponent - add lightGray css variable * feat(login): add test cases - add test case for components not authenticated - add invalid token test case * chore(domains): update domains (#181) - update domains to use the v2 version [ Fixes #163615519] * Setup Redux and Redux-Saga (#170) * Redux Saga setup * Clean Saga examples * Resolve Conflicts * Resolve conflicts * Create personal dashboard (#178) * feat(login): add login component * feat(dashboard): add a HeroComponent * feat(dashboard): add SidebarComponent * feat(dashboard): refactor login component to add LogoCompoment - add styling for hero class * feat(dashboard): add Dashboard component * feat(dashboard): add MyStatsComponent and SocietyStatsComponent * feat(dashboard): add sidebar footer and it's scss file feat(dashboard): add styles and logoClassType props in LogoComponent * feat(dashboard): add dashboard svg, blue and white andela image logos * feat(dashboard): add navbar component with its scss file * feat(dashboard): add Navbar component in dashboard - add css classes and styling in Navbar component * feat(dashboard): add text-styles mixin - add person placeholder image - add jpg in test property of url-loader - add css classes to MyStatsComponent - add myStats scss file - add css classes to SocietyStatsComponent - add societyStats.scss * feat(dashboard): add buttons to log points and filter - add button component and it's styling * feat(dashboard): add file-loader * feat(dashboard): add society icons * feat(dashboard): add media queries for small and medium devices - handle responsiveness of dashboard component * feat(dashboard): add media queries to handle resposiveness of society stats component * feat(Dashboard): add component tests - add dashboard component tests - add my stats component tests - add society stats component tests - add button component tests - add hero component tests - add logo component tests - add navabar tests - add sidebar component tests - add wrapper, main-content, sidebar and sub-content class names - add position absolute to main-content - add flex grow in sub-content * feat(dashboard): add sidebar in navbar component - add media query for small and other devices * feat(dashboard): add NavItem component in sidebar component - add NavItem component - add media query for devices with width > 767 * feat(dashboard): add capitalize util * feat(dashboard): add css files in styles folder of each domain - add NavItemComponent tests - add Capitalize tests - add NavbarComponent tests - refactor image urls in logo.scss * feat(dashboard): add image svg files * feat(dashboard): add society icon class names and their images - add border left on hover - add top navigation separator * feat(dashboard): refactor to use rems * feat(dashboard): refactor svg files * feat(dashboard): add constants and refactor scss files to add spaces * feat(dashboard): add date-fns dependency - remove default webkit - remove png images * feat(dashboard): add progress bar * Display graphic of total points and activities logged (#182) * feat(login): add login component * feat(dashboard): add a HeroComponent * feat(dashboard): add SidebarComponent * feat(dashboard): refactor login component to add LogoCompoment - add styling for hero class * feat(dashboard): add Dashboard component * feat(dashboard): add MyStatsComponent and SocietyStatsComponent * feat(dashboard): add sidebar footer and it's scss file feat(dashboard): add styles and logoClassType props in LogoComponent * feat(dashboard): add dashboard svg, blue and white andela image logos * feat(dashboard): add navbar component with its scss file * feat(dashboard): add Navbar component in dashboard - add css classes and styling in Navbar component * feat(dashboard): add text-styles mixin - add person placeholder image - add jpg in test property of url-loader - add css classes to MyStatsComponent - add myStats scss file - add css classes to SocietyStatsComponent - add societyStats.scss * feat(dashboard): add buttons to log points and filter - add button component and it's styling * feat(dashboard): add file-loader * feat(dashboard): add society icons * feat(dashboard): add media queries for small and medium devices - handle responsiveness of dashboard component * feat(dashboard): add media queries to handle resposiveness of society stats component * feat(Dashboard): add component tests - add dashboard component tests - add my stats component tests - add society stats component tests - add button component tests - add hero component tests - add logo component tests - add navabar tests - add sidebar component tests - add wrapper, main-content, sidebar and sub-content class names - add position absolute to main-content - add flex grow in sub-content * feat(dashboard): add sidebar in navbar component - add media query for small and other devices * feat(dashboard): add NavItem component in sidebar component - add NavItem component - add media query for devices with width > 767 * feat(dashboard): add capitalize util * feat(dashboard): add css files in styles folder of each domain - add NavItemComponent tests - add Capitalize tests - add NavbarComponent tests - refactor image urls in logo.scss * feat(dashboard): add image svg files * feat(dashboard): add society icon class names and their images - add border left on hover - add top navigation separator * feat(dashboard): refactor to use rems * feat(dashboard): refactor svg files * feat(dashboard): add constants and refactor scss files to add spaces * feat(dashboard): add date-fns dependency - remove default webkit - remove png images * feat(dashboard): add progress bar * feat(dashboard): add Dashboard component * feat(totalPointsAndActivities): configure store, sagas and reducer * feat(userActivites): add fetch user activities actions and types * feat(userActivities): add fetch user activities saga - handle fetch user activities actions in reducer * feat(userActivities): add api util - add get request util - add getToken and getUserInfo utils * feat(userActivities): Add dependencies - add redux-saga - add redux - add redux-devtools-extension * feat(userActivities): add plugin-transform-runtime dependency * feat(userActivities): map dashboard state to props - add post util * feat(userActivities): resolve linting errors * feat(userActivities): add action to fetchUser - handle fetchUser action in reducer * feat(useraActivities): add tests - add tests for dashboard actions i.e fetch user activities. - add reducer tests - refactor to remove fetch user action * feat(userActivities): add tests - add Dashboard tests - add dashboard saga tests - add tokenIsValid test * feat(userActivities): add background image in HeroComponent * feat(userActivities): evaluate the right JSX before rendering * Add api util tests * feat(userActivities): add token parameter to tokenIsValid & getUserInfo * Add button interactions (#184) * chore(feedback): Add pointer cursor to settings nav item - add pointer cursor to buttons - add box shadow and transition to hover state - add bold font weight to society stats * chore(feedback): add colors variables - remove unused content-wrapper class * chore(feedback): use andela blue and gold colors * chore(feedback): add border around society icons - reduce height and width of society svgs * chore(feedback): refactor button styles - add shared class user-dashboard__button - remove unshared hover state styles and button class * chore(feedback): add mixins - add border and widthAndHeight mixin * Wrap pages within common sidebar and navigation bar (#185) * chore(commonWrapper): wrap components under common sidebar and navbar - redirect to login if not authenticated - remove hero, navbar and sidebar component from dashboard component * chore(commonWrapper): add user's society in state * chore(commonWrapper): add user's society image in society stats component - pass down user's society as props to society stats component - add society images * chore(commonWrapper): refactor tests to add society * chore: add background image on login page (#189) * #163083355 Display redesigned my logged activities (#187) * feat(loggedActivities): add TableComponent * feat(myActivities): add table component and its scss * feat(myActivities): add TruncateDescriptionComponent and its scss * feat(myActivities): add onClick prop * feat(myActivities): add MyActivities component - add userActivities constant * feat(myActivities): rework dashboard to edit padding and margin values * feat(myActivities): Add tableClassName prop in TableComponent - add myActivities scss file - add truncateDescription scss file - add styles to TableComponent - refactor dashboard actions * feat(myActivities): add society prop - rename color value * feat(myActivities): format date value - modify text styles for table body - add border collapse and spacing styles on table class * feat(myActivities): add MyActivitiesComponent and TableComponent tests - add condition to check if there are userActivities * feat(myActivities): Add StatusIndicatorComponent - add statusIndicator scss file - add colors representing the various statuses - make use of status indicator component in MyActivities and SocietyStats components * feat(myActivities): Add TruncateDescriptionComponent tests * feat(myActivities): add colSpan attribute on table data * chore(rename): rename stateful components to have container suffix (#191) - add DashboardContainer - add TruncateDescriptionContainer - add LoginContainer - add NavbarContainer * feat(userProfile): add profile component (#190) - add its scss file - add userInfo prop - pass down userInfo prop to NavbarComponent - add prop validation for userInfo - add profile dropdown menu - refactor remove logo styles - add user profile on small devices - refactor profile component to be stateful - add profileIconClick - add classname prop - add tests - add withRouter on login component - add function to logOut a user - add removeCookies util - add tests - add box shadow on profile dropdown - add a class on buttons in the DashboardComponent - rename component to ProfileContainer * chore(login): update image on login page (#193) * chore(pipeline): master-V2 pipeline (#186) - create a pipeline for master-V2 [ Fixes #164102566 ] * #163083132 Display redesigned societies page (#194) * feat(societies): add ProgressBarComponent * feat(societies): add SocietiesContainer * feat(societies): add society actions, types, reducer and saga - add society initial state * feat(societies): move TruncateDescriptionContainer to common folder - refactor societies path - add loggedActivities argument in fetchSocietyInfoSuccess action * feat(societies): add SocietyActivitiesComponent - add defaultProps and propTypes in SocietiesContainer - refactor to add societyName object - refactor match propType - add societies scss file - add society image placeholder - add Activities and Redemption tabs - add className prop in SocietyStatsComponent - add background image on societies page profile - add SocietyActivitiesComponent tests * feat(societies): add totalPoints and activitiesLogged props * feat(societies): conditionally display total points & activities logged - refactor to remove unused classes - refactor styles under society-stats__desc class - refactor MyStatsComponent tests * fetch(societies): add action, reducer, data tests - add SocietiesContainer tests - add media queries and modify styles - add userinfo prop when authenticating society pages - modify color of points subscript - add SocietyStatsComponent tests * #164324997 Log Society Activity points (#188) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * fix datefns time format error * #164528722 Switch between activities and redemption tabs on any society page (#195) * feat(societyTabs): add TabsComponent - add selectedSocietyTab mixin - add styles for the selected tab title - add fetch society redemptions action types - handle fetch society redemptions actions in reducer - add fetch society redemptions generators - modify container to stateless component ): refactor tabs container * feat(societyTabs): display redemptions table - add selectedTab prop to SocietyActivitiesComponent - conditionally display redemptions table - add pointsToDollarConverter util - modify society initial state - add societyName to fetchSocietyInfoSuccess payload - refactor state returned in FETCH_SOCIETY_INFO_SUCCESS case block - refactor mapStateToProps to add society - add fetch society redemptions tests - add test to handle case FETCH_SOCIETY_REDEMPTIONS_SUCCESS in reducer - add watchFetchSocietyRedemptionsReq and fetchSocietyRedemptions generator tests - add pointsToDollarConverter test - add TabsComponent tests * add authorization token on the Header (#200) * #163083300 Display activities awaiting verification by a society secretary (#198) * feat(societyTabs): add TabsComponent - add selectedSocietyTab mixin - add styles for the selected tab title - add fetch society redemptions action types - handle fetch society redemptions actions in reducer - add fetch society redemptions generators - modify container to stateless component ): refactor tabs container * feat(verify): add Sidebar domain - rename SidebarComponent to SidebarContainer - add verify activities nav item - conditionally render an outlined checkmark - add outlined checkmark styles - add fetch user role actions, types, saga - handle actions in reducer - add sidebar initial state - conditionally render verify activities nav item - add VerifyActivities container - add VerifyActivitiesComponent - add tests - add ActionsComponent - add LoaderComponent - add action, reducer and saga tests * chore(dlevel): add user's dlevel (#199) * #164397766 Display Toast message after successfully logging an activity (#196) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * fix datefns time format error * success toast message * Clean Saga examples * resolve conflicts * feat(sidebar): get user id from token (#202) * Fix the Activity category and Date display (#203) * feat(sidebar): get user id from token * fix activity category and date name formats * #164830528 Display redemptions page (#201) * feat: add redemptions screen - add tests * feat: add redemptions nav item - add fetchSocietyInfoRequest request * chore: add SidebarContainer tests * feat(approve): Add Approve Budget page (#204) - move SocietyStatsComponent & TabsComponent to common folder - add ApproveActivitiesContainer - add TabsComponent - add ApproveBudgetComponent - add ApproveBudgetContainer tests - add getTabBorderClassname helper - add ApproveBudgetComponent tests - add Approve Budget nav item * feat(redeem): add redeem points dialog (#206) - add createRedemptionRequest and createRedemptionSuccess actions - add createRedemption generator - add dollarsToPointsConverter util - add redemption dialog styles - add RedeemPointsDialogComponent tests - add RedemptionsContainer tests - add action, reducer and saga tests - add money svg image * #164397809 Validate Log points Modal inputs (#197) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * fix failing CI build * tests * test * test * fix date format * add backround opacity by using Material UI Dialog (#208) * Ft log points validation (#212) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * fix failing CI build * tests * test * test * fix date format * resolve conflict * #165116475 Secretary verify activity (#207) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * activity verification by secretary * fix failing CI build * tests * test * test * fix date format * tests * resolve conflict * fix failing test * remove whitespace * test handleVerify * improve test * implement feedback * fix reducer * Verify activity alert modal (#209) * verify dialog * fix failing build * fix alert message * Approve reject budget actions (#210) * feat(approveBudget): Approve reject actions - add approve and reject click actions on ActionsComponent - add request, success actions for budget approval - add approve budget page loading and error actions - handle APPROVE_BUDGET actions - add approveBudget generator - add AlertDialogComponent - status and message parameters in approveBudgetSuccess - add approveBudgetStatus and approveBudgetMessage in society state - add action,reducer and saga tests - add AlertDialogComponent tests - add ApproveBudgetContainer tests - move ActionsComponent to common folder - add ActionsComponent tests * feat(approveReject): add tests - add api and ActionsComponent tests * feat(approveActivities): add approve activities page (#211) - add ApproveActivitiesComponent - add ApproveActivitiesContainer - add activities sidebar item - add tests * Add pagination (#214) * add pagination * include pagination across other pages * add tests * bug(dashboard): add usedPoints & remainingPoints (#215) - remove footer on sidebar - remove Profile dropdown item - remove dlevel - hide profile dropdown * feat: search (#213) - add Navbar folder - move NavbarContainer and tests tp Navbar folder - add search util - add search action - add reducer to handle SEARCH action - add search on all the pages - add tests * bug: blue login background (#216) - remove class container - add watchCreateRedemptionReq import * Adjust log points padding (#217) * adjust log points padding * api base url quick fix * update api base url * update * Filter engineer activities (#205) * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * chore(filter): add tests * fix lint * remove event listener * fix api base url and pagination display (#220) * bug: fix staging errors (#221) - fix redemption date error - fix activity status sent while verifying by society secretary * feat(filter): filter society activities (#219) - import Filter component - add filter dropdown - add filter functionality [Finishes ######] * Resolve deploy v2 conflicts (#223) * chore(badges): rename the badges (#169) - rename badges to match the new repository [ Fixes #162779200 ] * chore(deployment): remove deployment for MVP2 on develop (#175) - ensure that branches from develop do not point to MVP2 [ Fixes #163449835 ]

view details

Joseph Ngugi

commit sha 362f16bc134a189ec20d3fa70584fce7e1907ac0

remove require (#224)

view details

kachulio1

commit sha 131ecf41c4ddb947f4d6daca31f29df1488ffbbb

fix conflicts

view details

push time in 2 days

PR opened andela/andela-societies-frontend

Reviewers
Deploy to production
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
What are the relevant Pivotal Tracker stories?
Questions?
Screenshots?
+10293 -25569

0 comment

488 changed files

pr created time in 3 days

push eventandela/andela-societies-frontend

Joseph Ngugi

commit sha 84956be25c6fb64684236649d45a355baf41be27

remove background color (#226)

view details

push time in 3 days

push eventKachulio1/journey

kachulio1

commit sha 07410c514783d15c92eb4220b4808ea2c2a3436c

add css

view details

push time in 3 days

push eventKachulio1/journey

kachulio1

commit sha 42647cce1b0ac3c48e66c8d514e48de495af6c51

split-text

view details

push time in 3 days

push eventKachulio1/microsoft-graph-explorer-v2

Charles Wahome

commit sha b58f12d3f043277048d32097171bd6a62b0e6ec3

set request headers on anonymous requests

view details

Charles Wahome

commit sha 327eb703cbabc5a894519bfadc36cb8531ab0566

send headers with authenticated requests

view details

Charles Wahome

commit sha 1389f1dca3e5252596f58935b3214811bd87a796

uses redux to update heatders

view details

kachulio1

commit sha bd9f700a39467e2f3592c6b86622061abefbdbf9

add readme

view details

kachulio1

commit sha dee829cc674bdd22f8661b1652dcba892d133d2d

add contributing.md

view details

Charles Wahome

commit sha 0670d938cd35946d6e1264767808127f0f270dca

uses a DetailList to display headers

view details

Charles Wahome

commit sha 4ba3e258847421add0a8562ab6ec0dbfd53cb190

clears inputs after adding headers

view details

Japheth Obala

commit sha ff2cb811de0dcd5f28dff7b7d58fdb190bd0248a

Merge pull request #67 from Kachulio1:chore/add-read-me add readme file and contribution file

view details

Japheth Obala

commit sha 0ae0e18e1420cc983e5d556a4962af92e597ade0

Adds env variables

view details

Japheth Obala

commit sha 8a9f114869dd63bcc3a84f6ce8ddd3b26b1079bf

Removes env variables

view details

Japheth Obala

commit sha 35187732e8e2ba37e23964e64e424cc640149767

Sets env var in pipeline

view details

Japheth Obala

commit sha e5d4ecf17186c201baa55ae9a77869a77cde809b

Fixes pipelines.yml

view details

Japheth Obala

commit sha b1ae24740b2cc1db8490a2cf453d270da6483f0d

Fixes pipelines.yml

view details

Japheth Obala

commit sha 2782514c8ddae74174ff9c6bb3f1fc4e284f65de

Read env variables from build pipeline

view details

Charles Wahome

commit sha 94c36b166529cdc8d9a0446e4037e80e86c23088

remove empty key value pair

view details

Charles Wahome

commit sha 173d26432792810490011de6bda11f1c5add6ee7

center aligns the headers component

view details

Charles Wahome

commit sha f80493063099f5d1d179e2c531db1193ea2722a4

use internationalised placeholders

view details

Charles Wahome

commit sha 948d9fb561b58edd4b6c06002a10985d0d66a114

Merge branch 'dev' into fix/request-headers

view details

Charles Wahome

commit sha 2eed5648f32a632755b317768b6bc0b4b0bfad54

fixes failing request import

view details

Charles Wahome

commit sha d8b5364a05d4010ee49b96a3e3d4baef566a3251

adds 'Add' to en-us locale

view details

push time in 6 days

push eventKachulio1/journey

kachulio1

commit sha c1775407341cc811f68d81176111f41956941f32

add yarn lock file

view details

push time in 8 days

push eventKachulio1/journey

kachulio1

commit sha ac4fb51854e573ac7a48145a279c7b4580d0ae0f

add webpack

view details

push time in 8 days

push eventKachulio1/journey

kachulio1

commit sha a363a0ca4ad1a132a123d2012448a9f8f87892bb

add eslintignore

view details

push time in 8 days

push eventKachulio1/journey

kachulio1

commit sha dc0be560fa9e39bc146104d8e5d6cd4a9fdc1cf3

add babel

view details

kachulio1

commit sha b3ecd9d6d122ee0aa2904f58143dc1309a148c5e

add eslint

view details

push time in 8 days

create barnchandela/andela-societies-frontend

branch : fix-image-background

created branch time in 8 days

delete branch andela/andela-societies-frontend

delete branch : fix-deploy-pipeline

delete time in 10 days

push eventandela/andela-societies-frontend

Joseph Ngugi

commit sha 362f16bc134a189ec20d3fa70584fce7e1907ac0

remove require (#224)

view details

push time in 10 days

PR merged andela/andela-societies-frontend

remove require
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
What are the relevant Pivotal Tracker stories?
Questions?
Screenshots?
+0 -2

0 comment

1 changed file

Kachulio1

pr closed time in 10 days

push eventandela/andela-societies-frontend

kachulio1

commit sha 1010f929241f363b9741c6138d5fcf13f5474ed8

remove require

view details

push time in 10 days

PR opened andela/andela-societies-frontend

remove require
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
What are the relevant Pivotal Tracker stories?
Questions?
Screenshots?
+1 -2

0 comment

1 changed file

pr created time in 10 days

create barnchandela/andela-societies-frontend

branch : fix-deploy-pipeline

created branch time in 10 days

push eventandela/andela-societies-frontend

Joseph Ngugi

commit sha 05cb8a3989e912ae13f45fed59222c3de0dad9bb

Deploy v2 (#222) * Clean up in preparation for version 2 * Set up new folder structure and web pack config (#167) * chore(setup): add webpack configuration * chore(setup): add HomeComponent * feat(setup): add webpack dev config feat(setup): add eslint dependencies * feat(setup): add babel config * feat(setup): add clean-webpack-plugin dependency * feat(setup): add optimization using splitChunks - add CleanWebpackPlugin config - add MiniCssExtractPlugin config - refactor to use source-map * feat(setup): add webpack config for production * feat(setup): add node sass dependency - add home scss * feat(setup): add jest and enzyme for testing - test HomeComponent * chore(tests): add babel-core dependency - add jest config file * chore(setup): add coveralls dependency * chore(node): upgrade node version - upgrade node version to enable compatibility with eslint upgrade [ Fixes #162770492 ] * chore(badges): circle ci & coveralls badges (#171) - change badges to reflect the develop v2 branch [ Fixes #163145741] * #163360183 Continuous deployment for develop-V2 (#174) * ft(container): create a docker image - create a docker file that creates the application production environment [ Fixes #163360183] * chore(cleanup): remove unused commands - remove the copy:favicon command [ Fixes #163360183 ] * chore(node): move to node version 10 - use node version 10 in tests and deployment - add deployment for develop-v2 [ Fixes #163360183 ] * feat(deployment): add deployment script - Add a deployment script for the application - change the design configuration on the application to staging_v2 - Refactor the slack notification script [ Fixes #163360183 ] * chore(docker-image): opt for a lighter images - choose alpine image [ Fixes #163360183 ] * Add new login design (#172) * feat(login): add css variables * feat(login): add login component * feat(routes): add routes * feat(styles): add login component scss * feat(login): add Din Pro font face * feat(login): add jwt-decode and js-cookie dependencies - use js-ccokie to get token - use js-decode to decode token - add function tokenIsValid to check validity of the decoded token - add check to route to login or home in componentDidMount * feat(login): add component to authenticate routes and its tests - add devServer config - refactor login test to add history prop - add image place holder * feat(login): add token fixture - add tokenIsValid test * feat(login): add bootstrap and modify css - add rem function to convert px to rem - add bootstrap classes in LoginComponent - add lightGray css variable * feat(login): add test cases - add test case for components not authenticated - add invalid token test case * chore(domains): update domains (#181) - update domains to use the v2 version [ Fixes #163615519] * Setup Redux and Redux-Saga (#170) * Redux Saga setup * Clean Saga examples * Resolve Conflicts * Resolve conflicts * Create personal dashboard (#178) * feat(login): add login component * feat(dashboard): add a HeroComponent * feat(dashboard): add SidebarComponent * feat(dashboard): refactor login component to add LogoCompoment - add styling for hero class * feat(dashboard): add Dashboard component * feat(dashboard): add MyStatsComponent and SocietyStatsComponent * feat(dashboard): add sidebar footer and it's scss file feat(dashboard): add styles and logoClassType props in LogoComponent * feat(dashboard): add dashboard svg, blue and white andela image logos * feat(dashboard): add navbar component with its scss file * feat(dashboard): add Navbar component in dashboard - add css classes and styling in Navbar component * feat(dashboard): add text-styles mixin - add person placeholder image - add jpg in test property of url-loader - add css classes to MyStatsComponent - add myStats scss file - add css classes to SocietyStatsComponent - add societyStats.scss * feat(dashboard): add buttons to log points and filter - add button component and it's styling * feat(dashboard): add file-loader * feat(dashboard): add society icons * feat(dashboard): add media queries for small and medium devices - handle responsiveness of dashboard component * feat(dashboard): add media queries to handle resposiveness of society stats component * feat(Dashboard): add component tests - add dashboard component tests - add my stats component tests - add society stats component tests - add button component tests - add hero component tests - add logo component tests - add navabar tests - add sidebar component tests - add wrapper, main-content, sidebar and sub-content class names - add position absolute to main-content - add flex grow in sub-content * feat(dashboard): add sidebar in navbar component - add media query for small and other devices * feat(dashboard): add NavItem component in sidebar component - add NavItem component - add media query for devices with width > 767 * feat(dashboard): add capitalize util * feat(dashboard): add css files in styles folder of each domain - add NavItemComponent tests - add Capitalize tests - add NavbarComponent tests - refactor image urls in logo.scss * feat(dashboard): add image svg files * feat(dashboard): add society icon class names and their images - add border left on hover - add top navigation separator * feat(dashboard): refactor to use rems * feat(dashboard): refactor svg files * feat(dashboard): add constants and refactor scss files to add spaces * feat(dashboard): add date-fns dependency - remove default webkit - remove png images * feat(dashboard): add progress bar * Display graphic of total points and activities logged (#182) * feat(login): add login component * feat(dashboard): add a HeroComponent * feat(dashboard): add SidebarComponent * feat(dashboard): refactor login component to add LogoCompoment - add styling for hero class * feat(dashboard): add Dashboard component * feat(dashboard): add MyStatsComponent and SocietyStatsComponent * feat(dashboard): add sidebar footer and it's scss file feat(dashboard): add styles and logoClassType props in LogoComponent * feat(dashboard): add dashboard svg, blue and white andela image logos * feat(dashboard): add navbar component with its scss file * feat(dashboard): add Navbar component in dashboard - add css classes and styling in Navbar component * feat(dashboard): add text-styles mixin - add person placeholder image - add jpg in test property of url-loader - add css classes to MyStatsComponent - add myStats scss file - add css classes to SocietyStatsComponent - add societyStats.scss * feat(dashboard): add buttons to log points and filter - add button component and it's styling * feat(dashboard): add file-loader * feat(dashboard): add society icons * feat(dashboard): add media queries for small and medium devices - handle responsiveness of dashboard component * feat(dashboard): add media queries to handle resposiveness of society stats component * feat(Dashboard): add component tests - add dashboard component tests - add my stats component tests - add society stats component tests - add button component tests - add hero component tests - add logo component tests - add navabar tests - add sidebar component tests - add wrapper, main-content, sidebar and sub-content class names - add position absolute to main-content - add flex grow in sub-content * feat(dashboard): add sidebar in navbar component - add media query for small and other devices * feat(dashboard): add NavItem component in sidebar component - add NavItem component - add media query for devices with width > 767 * feat(dashboard): add capitalize util * feat(dashboard): add css files in styles folder of each domain - add NavItemComponent tests - add Capitalize tests - add NavbarComponent tests - refactor image urls in logo.scss * feat(dashboard): add image svg files * feat(dashboard): add society icon class names and their images - add border left on hover - add top navigation separator * feat(dashboard): refactor to use rems * feat(dashboard): refactor svg files * feat(dashboard): add constants and refactor scss files to add spaces * feat(dashboard): add date-fns dependency - remove default webkit - remove png images * feat(dashboard): add progress bar * feat(dashboard): add Dashboard component * feat(totalPointsAndActivities): configure store, sagas and reducer * feat(userActivites): add fetch user activities actions and types * feat(userActivities): add fetch user activities saga - handle fetch user activities actions in reducer * feat(userActivities): add api util - add get request util - add getToken and getUserInfo utils * feat(userActivities): Add dependencies - add redux-saga - add redux - add redux-devtools-extension * feat(userActivities): add plugin-transform-runtime dependency * feat(userActivities): map dashboard state to props - add post util * feat(userActivities): resolve linting errors * feat(userActivities): add action to fetchUser - handle fetchUser action in reducer * feat(useraActivities): add tests - add tests for dashboard actions i.e fetch user activities. - add reducer tests - refactor to remove fetch user action * feat(userActivities): add tests - add Dashboard tests - add dashboard saga tests - add tokenIsValid test * feat(userActivities): add background image in HeroComponent * feat(userActivities): evaluate the right JSX before rendering * Add api util tests * feat(userActivities): add token parameter to tokenIsValid & getUserInfo * Add button interactions (#184) * chore(feedback): Add pointer cursor to settings nav item - add pointer cursor to buttons - add box shadow and transition to hover state - add bold font weight to society stats * chore(feedback): add colors variables - remove unused content-wrapper class * chore(feedback): use andela blue and gold colors * chore(feedback): add border around society icons - reduce height and width of society svgs * chore(feedback): refactor button styles - add shared class user-dashboard__button - remove unshared hover state styles and button class * chore(feedback): add mixins - add border and widthAndHeight mixin * Wrap pages within common sidebar and navigation bar (#185) * chore(commonWrapper): wrap components under common sidebar and navbar - redirect to login if not authenticated - remove hero, navbar and sidebar component from dashboard component * chore(commonWrapper): add user's society in state * chore(commonWrapper): add user's society image in society stats component - pass down user's society as props to society stats component - add society images * chore(commonWrapper): refactor tests to add society * chore: add background image on login page (#189) * #163083355 Display redesigned my logged activities (#187) * feat(loggedActivities): add TableComponent * feat(myActivities): add table component and its scss * feat(myActivities): add TruncateDescriptionComponent and its scss * feat(myActivities): add onClick prop * feat(myActivities): add MyActivities component - add userActivities constant * feat(myActivities): rework dashboard to edit padding and margin values * feat(myActivities): Add tableClassName prop in TableComponent - add myActivities scss file - add truncateDescription scss file - add styles to TableComponent - refactor dashboard actions * feat(myActivities): add society prop - rename color value * feat(myActivities): format date value - modify text styles for table body - add border collapse and spacing styles on table class * feat(myActivities): add MyActivitiesComponent and TableComponent tests - add condition to check if there are userActivities * feat(myActivities): Add StatusIndicatorComponent - add statusIndicator scss file - add colors representing the various statuses - make use of status indicator component in MyActivities and SocietyStats components * feat(myActivities): Add TruncateDescriptionComponent tests * feat(myActivities): add colSpan attribute on table data * chore(rename): rename stateful components to have container suffix (#191) - add DashboardContainer - add TruncateDescriptionContainer - add LoginContainer - add NavbarContainer * feat(userProfile): add profile component (#190) - add its scss file - add userInfo prop - pass down userInfo prop to NavbarComponent - add prop validation for userInfo - add profile dropdown menu - refactor remove logo styles - add user profile on small devices - refactor profile component to be stateful - add profileIconClick - add classname prop - add tests - add withRouter on login component - add function to logOut a user - add removeCookies util - add tests - add box shadow on profile dropdown - add a class on buttons in the DashboardComponent - rename component to ProfileContainer * chore(login): update image on login page (#193) * chore(pipeline): master-V2 pipeline (#186) - create a pipeline for master-V2 [ Fixes #164102566 ] * #163083132 Display redesigned societies page (#194) * feat(societies): add ProgressBarComponent * feat(societies): add SocietiesContainer * feat(societies): add society actions, types, reducer and saga - add society initial state * feat(societies): move TruncateDescriptionContainer to common folder - refactor societies path - add loggedActivities argument in fetchSocietyInfoSuccess action * feat(societies): add SocietyActivitiesComponent - add defaultProps and propTypes in SocietiesContainer - refactor to add societyName object - refactor match propType - add societies scss file - add society image placeholder - add Activities and Redemption tabs - add className prop in SocietyStatsComponent - add background image on societies page profile - add SocietyActivitiesComponent tests * feat(societies): add totalPoints and activitiesLogged props * feat(societies): conditionally display total points & activities logged - refactor to remove unused classes - refactor styles under society-stats__desc class - refactor MyStatsComponent tests * fetch(societies): add action, reducer, data tests - add SocietiesContainer tests - add media queries and modify styles - add userinfo prop when authenticating society pages - modify color of points subscript - add SocietyStatsComponent tests * #164324997 Log Society Activity points (#188) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * fix datefns time format error * #164528722 Switch between activities and redemption tabs on any society page (#195) * feat(societyTabs): add TabsComponent - add selectedSocietyTab mixin - add styles for the selected tab title - add fetch society redemptions action types - handle fetch society redemptions actions in reducer - add fetch society redemptions generators - modify container to stateless component ): refactor tabs container * feat(societyTabs): display redemptions table - add selectedTab prop to SocietyActivitiesComponent - conditionally display redemptions table - add pointsToDollarConverter util - modify society initial state - add societyName to fetchSocietyInfoSuccess payload - refactor state returned in FETCH_SOCIETY_INFO_SUCCESS case block - refactor mapStateToProps to add society - add fetch society redemptions tests - add test to handle case FETCH_SOCIETY_REDEMPTIONS_SUCCESS in reducer - add watchFetchSocietyRedemptionsReq and fetchSocietyRedemptions generator tests - add pointsToDollarConverter test - add TabsComponent tests * add authorization token on the Header (#200) * #163083300 Display activities awaiting verification by a society secretary (#198) * feat(societyTabs): add TabsComponent - add selectedSocietyTab mixin - add styles for the selected tab title - add fetch society redemptions action types - handle fetch society redemptions actions in reducer - add fetch society redemptions generators - modify container to stateless component ): refactor tabs container * feat(verify): add Sidebar domain - rename SidebarComponent to SidebarContainer - add verify activities nav item - conditionally render an outlined checkmark - add outlined checkmark styles - add fetch user role actions, types, saga - handle actions in reducer - add sidebar initial state - conditionally render verify activities nav item - add VerifyActivities container - add VerifyActivitiesComponent - add tests - add ActionsComponent - add LoaderComponent - add action, reducer and saga tests * chore(dlevel): add user's dlevel (#199) * #164397766 Display Toast message after successfully logging an activity (#196) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * fix datefns time format error * success toast message * Clean Saga examples * resolve conflicts * feat(sidebar): get user id from token (#202) * Fix the Activity category and Date display (#203) * feat(sidebar): get user id from token * fix activity category and date name formats * #164830528 Display redemptions page (#201) * feat: add redemptions screen - add tests * feat: add redemptions nav item - add fetchSocietyInfoRequest request * chore: add SidebarContainer tests * feat(approve): Add Approve Budget page (#204) - move SocietyStatsComponent & TabsComponent to common folder - add ApproveActivitiesContainer - add TabsComponent - add ApproveBudgetComponent - add ApproveBudgetContainer tests - add getTabBorderClassname helper - add ApproveBudgetComponent tests - add Approve Budget nav item * feat(redeem): add redeem points dialog (#206) - add createRedemptionRequest and createRedemptionSuccess actions - add createRedemption generator - add dollarsToPointsConverter util - add redemption dialog styles - add RedeemPointsDialogComponent tests - add RedemptionsContainer tests - add action, reducer and saga tests - add money svg image * #164397809 Validate Log points Modal inputs (#197) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * fix failing CI build * tests * test * test * fix date format * add backround opacity by using Material UI Dialog (#208) * Ft log points validation (#212) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * fix failing CI build * tests * test * test * fix date format * resolve conflict * #165116475 Secretary verify activity (#207) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * activity verification by secretary * fix failing CI build * tests * test * test * fix date format * tests * resolve conflict * fix failing test * remove whitespace * test handleVerify * improve test * implement feedback * fix reducer * Verify activity alert modal (#209) * verify dialog * fix failing build * fix alert message * Approve reject budget actions (#210) * feat(approveBudget): Approve reject actions - add approve and reject click actions on ActionsComponent - add request, success actions for budget approval - add approve budget page loading and error actions - handle APPROVE_BUDGET actions - add approveBudget generator - add AlertDialogComponent - status and message parameters in approveBudgetSuccess - add approveBudgetStatus and approveBudgetMessage in society state - add action,reducer and saga tests - add AlertDialogComponent tests - add ApproveBudgetContainer tests - move ActionsComponent to common folder - add ActionsComponent tests * feat(approveReject): add tests - add api and ActionsComponent tests * feat(approveActivities): add approve activities page (#211) - add ApproveActivitiesComponent - add ApproveActivitiesContainer - add activities sidebar item - add tests * Add pagination (#214) * add pagination * include pagination across other pages * add tests * bug(dashboard): add usedPoints & remainingPoints (#215) - remove footer on sidebar - remove Profile dropdown item - remove dlevel - hide profile dropdown * feat: search (#213) - add Navbar folder - move NavbarContainer and tests tp Navbar folder - add search util - add search action - add reducer to handle SEARCH action - add search on all the pages - add tests * bug: blue login background (#216) - remove class container - add watchCreateRedemptionReq import * Adjust log points padding (#217) * adjust log points padding * api base url quick fix * update api base url * update * Filter engineer activities (#205) * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * chore(filter): add tests * fix lint * remove event listener * fix api base url and pagination display (#220) * bug: fix staging errors (#221) - fix redemption date error - fix activity status sent while verifying by society secretary * feat(filter): filter society activities (#219) - import Filter component - add filter dropdown - add filter functionality [Finishes ######] * Resolve deploy v2 conflicts (#223) * chore(badges): rename the badges (#169) - rename badges to match the new repository [ Fixes #162779200 ] * chore(deployment): remove deployment for MVP2 on develop (#175) - ensure that branches from develop do not point to MVP2 [ Fixes #163449835 ]

view details

push time in 12 days

PR merged andela/andela-societies-frontend

Deploy v2
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
What are the relevant Pivotal Tracker stories?
Questions?
Screenshots?
+10272 -25603

0 comment

488 changed files

Kachulio1

pr closed time in 12 days

push eventandela/andela-societies-frontend

CrispusKamau

commit sha 9e1c0dfd2bce888ed1b30e0b35cf74f6fca4598c

chore(badges): rename the badges (#169) - rename badges to match the new repository [ Fixes #162779200 ]

view details

CrispusKamau

commit sha 375785e9da7c5e205d629ce1e9aff255d627a951

chore(deployment): remove deployment for MVP2 on develop (#175) - ensure that branches from develop do not point to MVP2 [ Fixes #163449835 ]

view details

kachulio1

commit sha 9c57401d6f169d37a22966b3c4adfec3d824c0df

Merge branch 'develop' into develop-V2

view details

push time in 12 days

push eventandela/andela-societies-frontend

Raff

commit sha 68553a6f7daa362ccca3e5c077c689ebd75afb05

Resolve deploy v2 conflicts (#223) * chore(badges): rename the badges (#169) - rename badges to match the new repository [ Fixes #162779200 ] * chore(deployment): remove deployment for MVP2 on develop (#175) - ensure that branches from develop do not point to MVP2 [ Fixes #163449835 ]

view details

push time in 12 days

PR merged andela/andela-societies-frontend

Resolve deploy v2 conflicts
What does this PR do?

This PR resolves merge conflicts on Deploy V2

What are the relevant Pivotal Tracker stories?

Fixes Deploy V2

+26 -3

3 comments

4 changed files

Gidraff

pr closed time in 12 days

Pull request review commentHuman-Connection/Human-Connection

[WIP] Authorisation problem when disabling a post

 export default {         return value.match(/(contribution|comment|organization|user)/)       },     },-    callbacks: { type: Object, required: true },+    modalsData: {+      type: Object,+      required: false,+      // default: () => {

We can remove the commented out code.

Tirokk

comment created time in 13 days

Pull request review commentandela/andela-societies-frontend

Resolve deploy v2 conflicts

-[![CircleCI](https://circleci.com/gh/andela/andela-societies-frontend.svg?style=svg)](https://circleci.com/gh/andela/andela-societies-frontend)-[![Coverage Status](https://coveralls.io/repos/github/andela/andela-societies-frontend/badge.svg)](https://coveralls.io/github/andela/andela-societies-frontend)+[![CircleCI](https://circleci.com/gh/andela/andela-societies-frontend/tree/develop-V2.svg?style=svg)](https://circleci.com/gh/andela/andela-societies-frontend/tree/develop-V2)

😕

Gidraff

comment created time in 13 days

Pull request review commentandela/andela-societies-frontend

Resolve deploy v2 conflicts

-[![CircleCI](https://circleci.com/gh/andela/andela-societies-frontend.svg?style=svg)](https://circleci.com/gh/andela/andela-societies-frontend)-[![Coverage Status](https://coveralls.io/repos/github/andela/andela-societies-frontend/badge.svg)](https://coveralls.io/github/andela/andela-societies-frontend)+[![CircleCI](https://circleci.com/gh/andela/andela-societies-frontend/tree/develop-V2.svg?style=svg)](https://circleci.com/gh/andela/andela-societies-frontend/tree/develop-V2)

Yes ...

Gidraff

comment created time in 13 days

pull request commentandela/andela-societies-frontend

Resolve deploy v2 conflicts

Please raise a PR with only your changes and make sure you don't format the whole codebase with Prettier 😉

Gidraff

comment created time in 14 days

pull request commentandela/andela-societies-frontend

Resolve deploy v2 conflicts

@Gidraff there are 489 files change

Gidraff

comment created time in 14 days

PR opened andela/andela-societies-frontend

Deploy v2
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
What are the relevant Pivotal Tracker stories?
Questions?
Screenshots?
+10269 -25624

0 comment

489 changed files

pr created time in 16 days

delete branch andela/andela-societies-frontend

delete branch : filter-all-society-activities

delete time in 16 days

create barnchandela/andela-societies-frontend

branch : filter-all-society-activities

created branch time in 16 days

delete branch andela/andela-societies-frontend

delete branch : filter-all-society-activities

delete time in 16 days

push eventandela/andela-societies-frontend

Ajima Chukwuemeka

commit sha c35d55e8fdb817a5374b08b79c43c8529de54401

feat(filter): filter society activities (#219) - import Filter component - add filter dropdown - add filter functionality [Finishes ######]

view details

push time in 16 days

PR merged andela/andela-societies-frontend

Reviewers
Filter All Society Activities
What does this PR do?

Enable users filter logged society activities

Description of Task to be completed?
  • import Filter component
  • add filter dropdown
  • add filter functionality
Any background context you want to provide?

None

What are the relevant Pivotal Tracker stories?

None

Questions?

None

Screenshots?
+433 -9296

0 comment

5 changed files

ajimae

pr closed time in 16 days

delete branch andela/andela-societies-frontend

delete branch : bug-fix-staging-errors

delete time in 17 days

push eventandela/andela-societies-frontend

Chris Maina

commit sha d051ad918ea621543890404adca81204575cd3c1

bug: fix staging errors (#221) - fix redemption date error - fix activity status sent while verifying by society secretary

view details

push time in 17 days

PR merged andela/andela-societies-frontend

Reviewers
Fix redemption date and verify status sent errors
What does this PR do?

Fix redemption date and verify status sent errors encountered while using the staging environment

Description of Task to be completed?
  • fix redemption date error
  • fix activity status sent while verifying by society secretary
+41 -20

0 comment

6 changed files

Chris-Maina

pr closed time in 17 days

delete branch andela/andela-societies-frontend

delete branch : bg-pagination-config

delete time in 17 days

push eventandela/andela-societies-frontend

Alex Mochu

commit sha e7629ba7d02d31c06d471ac4e858211c5268d94e

fix api base url and pagination display (#220)

view details

push time in 17 days

PR merged andela/andela-societies-frontend

Reviewers
Fix API Base url bug and Pagination display
What does this PR do?

Fixes the API Base url bug and when Pagination display

Description of Task to be completed?
  • The pagination buttons should only be displayed when the items being mapped are greater than 6.
  • Fix the Production API base url to use the as-bend staging url
+93 -67

0 comment

6 changed files

alexmochu

pr closed time in 17 days

pull request commentmicrosoftgraph/microsoft-graph-explorer-v2

add readme file and contribution file

Something that I should add or remove @thewahome @jobala

Kachulio1

comment created time in a month

PR opened microsoftgraph/microsoft-graph-explorer-v2

add readme file and contribution file

Overview

Add read me with more description.

Demo

Screen Shot 2019-05-29 at 11 30 39

+234 -56

0 comment

2 changed files

pr created time in a month

create barnchKachulio1/microsoft-graph-explorer-v2

branch : chore/add-read-me

created branch time in a month

push eventKachulio1/microsoft-graph-explorer-v2

Japheth Obala

commit sha b2fb4bb95392c19654a5434a04221b4d3c5c0c77

Adds iframe message parser

view details

Japheth Obala

commit sha be45b71788c44ac8d762e409dbb4669768d95eac

Parses messages received from host document.

view details

Japheth Obala

commit sha 1ece2fb3d5ad173e63c7a4620fa4177ebacb44a7

Fixes failing tests

view details

Japheth Obala

commit sha 049db9d05c63776c7a3d4753e42d92e0f707a011

Removes zombie code

view details

Japheth Obala

commit sha 05e02dcd123830916b28eef02326b1fc68570f73

1. Removes unused variables. 2. Adds return types for the tokenize and parse functions. 3. Adds copyright headers.

view details

Japheth Obala

commit sha 9387d36e2fe39bb6190d88c0aeae416d7d6af633

Documents iframe-message-parser

view details

Japheth Obala

commit sha 0ce3568bb29843afb47922ba7f4e9f80aa2ac245

Refactors iframe-message-parser

view details

Japheth Obala

commit sha bab4682c3fec25ea9ac230cccef553cfc5513e8c

Adds documentation for the parser

view details

Japheth Obala

commit sha 09df9f523ad2a1e54167c9b92065e1d157e2776e

Changes wording in comments

view details

Charles Wahome

commit sha a8862ce1029f5cfcf4437c31162ac68202224320

fetches client Id from the environment variables

view details

Charles Wahome

commit sha 1a6a2de1d111804dd83f5c262063227f6ec41c01

fixes failing tests

view details

Charles Wahome

commit sha f75b0727749c64263449ef6f64bcd71522e1c56c

fix failing build tests

view details

Charles Wahome

commit sha 2a186ffed0f53f5df58fb737916925312116bf7d

prevent failure of profile when image missing

view details

Charles Wahome

commit sha f1dde0ad587e0c748448dded25ceeb90d82f6fff

Merge branch 'dev' into task/use-environment-variables

view details

Charles Wahome

commit sha ea8c2c5036a9824dea21ce5b39dc9b7a7e6041a4

Merge pull request #62 from microsoftgraph/task/use-environment-variables fetches client Id from the environment variables

view details

Japheth Obala

commit sha 14e272f5c939cdad2016cfd21127924c8a5da510

Logs env variable so that I can debug staging

view details

Japheth Obala

commit sha 9e3a3c096ecd7649a5ad809a296cf00cd3a472fb

Specifies env variables in web.config

view details

Japheth Obala

commit sha efc0e3aa50fd8f0d6f839b72247e8f2cc71be87c

Revert "fetches client Id from the environment variables"

view details

Japheth Obala

commit sha 63248167ba23fc3c84dd1030bb5f2ddc22ff1217

Merge pull request #63 from microsoftgraph/revert-62-task/use-environment-variables Revert "fetches client Id from the environment variables"

view details

Japheth Obala

commit sha fd223146b9bfb84f7d20e101b7d2daa68d3bfb18

Generate web.config

view details

push time in a month

push eventandela/andela-societies-frontend

Joseph Ngugi

commit sha f0933b5a82e24c2c4f25f452d4c8027bca8c0c75

Filter engineer activities (#205) * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * add bootstrap js * add filter component * add filter css * add filter Component * fix css issue * export filter component * fix lint errors * change select all to lowercase * add test * chore(filter): add tests * fix lint * remove event listener

view details

push time in a month

PR merged andela/andela-societies-frontend

Reviewers
Filter engineer activities
What does this PR do?
Description of Task to be completed?
Any background context you want to provide?
What are the relevant Pivotal Tracker stories?
Questions?
Screenshots?
+210 -12

1 comment

10 changed files

Kachulio1

pr closed time in a month

push eventandela/andela-societies-frontend

Alex Mochu

commit sha 10ed767f9de23e156ea96aa1f8e3e706088f4081

Adjust log points padding (#217) * adjust log points padding * api base url quick fix * update api base url * update

view details

Joseph Ngugi

commit sha 5aed4d047c0d959de3417a578f5d18525220e3e7

Merge branch 'develop-V2' into filter-activity

view details

push time in a month

MemberEvent

delete branch andela/andela-societies-frontend

delete branch : bg-logpoints

delete time in a month

push eventandela/andela-societies-frontend

Alex Mochu

commit sha 10ed767f9de23e156ea96aa1f8e3e706088f4081

Adjust log points padding (#217) * adjust log points padding * api base url quick fix * update api base url * update

view details

push time in a month

PR merged andela/andela-societies-frontend

Reviewers
Adjust log points padding
What does this PR do?

Fix the log points that are overlapping the button

+6 -4

0 comment

2 changed files

alexmochu

pr closed time in a month

push eventandela/andela-societies-frontend

kachulio1

commit sha 4c31e71feb3dbc704f36f58ba3854fc5385b34da

remove event listener

view details

push time in a month

push eventKachulio1/microsoft-graph-explorer-v2

Charles Wahome

commit sha f2b2a3c6e5a2e9abf0d875e11f14ecbd6c1b39bb

displays query running status

view details

Charles Wahome

commit sha 67965bb856d0ce7a043c803e2897db9566644b96

fixes failing tests

view details

Japheth Obala

commit sha f6435345c5580d4d49de5400c50de0dc92eea039

Adds error handling reducer

view details

Japheth Obala

commit sha 0c2b5641bbb214145188d8dedc5d92fac43bfd55

Show error messages

view details

Japheth Obala

commit sha 6282b373924ff862f7e5cec9685c70f1b8f83a5a

Dismisses error

view details

Japheth Obala

commit sha cce47bf201e700611fd3c13acfc6d6c49b392d2b

Adds error action creator

view details

Charles Wahome

commit sha 56b7ad5c7957047902c5f14dbf03f493e2b730ea

adds vscode related workspace settings

view details

Charles Wahome

commit sha a360e6ae2e5b1a0b3c835c0b6276add3c270c426

gets the user profile and image on auth

view details

Charles Wahome

commit sha 2463fc4a7fa688fcbe362cad6becadcdc996f7c0

Merge branch 'dev' into fix/display-run-query-status

view details

Charles Wahome

commit sha 4497ac391649241cc56455d02557d989a5420cad

add loading reducer

view details

Charles Wahome

commit sha d42d41afac91bcd438351cf6ded5645a1a5e95ec

fixes failing test

view details

Japheth Obala

commit sha 21198946041b61f899207aafada341a4fe75df5c

Changes client id

view details

Japheth Obala

commit sha 25c2669bd0ec2cc32223a1b0d797055471e12326

Fixes failing test

view details

Japheth Obala

commit sha de1c35b81ee4ffcda6eaa2dbdd9d30fa1c0dd30e

Adds tests

view details

Japheth Obala

commit sha 69993bfc66ec5a45b0d6580655f8f6e897f191e2

Tests clearing errors

view details

Charles Wahome

commit sha 432f9b888dad391d382adcb5f9bf4e244d942ba7

fixes failure when image is missing

view details

Japheth Obala

commit sha adb43a2fb13464e47223da02a0ee8ace024ec14f

Merge pull request #59 from microsoftgraph/task/handl-fetch-errors Task/handl fetch errors

view details

Charles Wahome

commit sha e45c699cddcf942e46aa8016e32cf6f3e49f4dcc

fix broken profile component fix broken profile component

view details

Charles Wahome

commit sha 1fc5a4bda160b59953efc3a0c9b465a7665bbb80

merge dev into current branch

view details

Charles Wahome

commit sha b8a1e61435bf67b6078cf280edf7dd04669ba45a

disables run query button when query is running disables run query button when query is running

view details

push time in a month

push eventKachulio1/microsoft-graph-explorer-v2

Japheth Obala

commit sha 305f8a7964f4063bde96b903cceff6b90a72aaf1

Uses HelloJS as an auth provider

view details

Japheth Obala

commit sha f5d00b396ee25ec9429ce3783c06dac5cd386881

Refactors authentication strategy

view details

Japheth Obala

commit sha 3d421136ce7e28992da064ee875f6c0c4e72651b

Refactors HelloAuthProvider

view details

Japheth Obala

commit sha 24271212667d7392b9ad1ad741a25395f356cebe

Adds sign out capability

view details

Japheth Obala

commit sha 94c35bce98b0bde5076faa198fce1215dd36bbe4

Fixes an authentication bug. Clicking on Run Query resets the authToken value in the store.

view details

Japheth Obala

commit sha 4147c77c0d1edb188b2063d485e7866f31546120

Fixes failing tests.

view details

Japheth Obala

commit sha 3bb2024003b3bf30b078b9cbb9d68406133d3c16

Refreshes access token hourly

view details

Japheth Obala

commit sha 7676e14e182d2bae03fe500700c228e8cbb9aa9f

Fixes authToken default state in the reducer

view details

Japheth Obala

commit sha 77ec90bf801965aa290c013289b019f475461f39

Fixes failing tests

view details

Japheth Obala

commit sha ac3cdf61920bdd3119bc044d5f7df720bc1aa3fe

Refreshes token when it expires

view details

Japheth Obala

commit sha 95c1790c22baf20292a7555023e628a8243ba739

Fixes bug where authentication state was lost after making a query

view details

Japheth Obala

commit sha 6950fcec873bb1dcac877722c0ea7f4478be5200

Checks for token before querying

view details

Japheth Obala

commit sha 71714cbe1da5ecf13920096a768a8ef1713314c4

Sets a default value for the auth token

view details

Japheth Obala

commit sha 49c1cdfb845d25ebd769c1c8af05543a12ca4432

Updates hellojs version

view details

Japheth Obala

commit sha 725b93033b32486bd6f087ce70cca4b3695a774c

Merge pull request #51 from microsoftgraph/task/use-hellojs Task/use hellojs

view details

push time in a month

Pull request review commentandela/andela-societies-frontend

Filter engineer activities

 export class DashboardContainer extends Component {     });   }; +  handleClick = index => (event) => {+    if (event.target.value === 'Select All') {+      const filterBy = this.state.filterBy.map((item) => {+        if (event.target.checked) {+          return (item.checked = true), item;+        }++        return (item.checked = false), item;+      });++      this.setState({ filterBy, filteredUserActivities: null });+    } else {+      const filterBy = this.state.filterBy.slice();+      filterBy[index].checked = !filterBy[index].checked;++      if (!filterBy[index].checked) {+        const filteredUserActivities = (+          this.state.filteredUserActivities || this.props.userActivities+        ).filter(activity => activity.status !== event.target.value);++        if (!filteredUserActivities.length) {+          this.setState({ filterBy, filteredUserActivities: null });+          return;+        }++        this.setState({ filterBy, filteredUserActivities });+        return;+      }++      if (this.state.filteredUserActivities) {+        const filteredUserActivities = [+          ...this.state.filteredUserActivities,+          ...this.props.userActivities.filter(+            activity => activity.status === event.target.value,+          ),+        ];++        this.setState({ filterBy, filteredUserActivities });+        return;+      }++      const filteredUserActivities = this.props.userActivities.filter(+        activity => activity.status === event.target.value,+      );+      this.setState({ filterBy, filteredUserActivities });+    }+  };++  hideFilter = (e) => {+    if (!e.target.className) {

@ajimae Yes, if we remove that when you click the filter button the showFilter and hideFilter(document.addEventListener('mousedown', this.hideFilter, false);) that's why I check if the button has been click I don't do anything on hideFilter. otherwise the filter option will disappear and show again

Kachulio1

comment created time in a month

Pull request review commentandela/andela-societies-frontend

Filter engineer activities

 export class DashboardContainer extends Component {     });   }; +  handleClick = index => (event) => {+    if (event.target.value === 'Select All') {+      const filterBy = this.state.filterBy.map((item) => {+        if (event.target.checked) {+          return (item.checked = true), item;+        }++        return (item.checked = false), item;+      });++      this.setState({ filterBy, filteredUserActivities: null });+    } else {+      const filterBy = this.state.filterBy.slice();

I want a copy. although a could you spread there. 🤔

Kachulio1

comment created time in a month

pull request commentandela/andela-societies-frontend

Filter engineer activities

Nice will change that.

On Fri, 17 May 2019, 8:53 pm Ajima Chukwuemeka, notifications@github.com wrote:

@ajimae commented on this pull request.

In src/app/Dashboard/components/DashboardContainer.js https://github.com/andela/andela-societies-frontend/pull/205#discussion_r285226913 :

@@ -94,6 +109,69 @@ export class DashboardContainer extends Component { }); };

  • handleClick = index => (event) => {
  • if (event.target.value === 'Select All') {

I think this should be select all instead of Select All looking at the value that comes from the target object

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/andela/andela-societies-frontend/pull/205?email_source=notifications&email_token=AFJWOEUYFSGKFA5OINK3OTDPV3WIXA5CNFSM4HD6YGM2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBY73NVA#pullrequestreview-239056596, or mute the thread https://github.com/notifications/unsubscribe-auth/AFJWOESRZHRGAMCRMGXJMGLPV3WIXANCNFSM4HD6YGMQ .

Kachulio1

comment created time in a month

push eventKachulio1/microsoft-graph-explorer-v2

Charles Wahome

commit sha 179f8b1e28826a03be4126f64290d310e1b41234

creates options for sending requests

view details

Charles Wahome

commit sha 6ff9933f866883da6fcbce4b3e95e72f8af4377e

allow changing of request body content

view details

Charles Wahome

commit sha 9f3791041ef7a07f39ce256dc17f7ec1eab69c31

adds a body to requests

view details

Charles Wahome

commit sha faeef86f4ebaa3681cd6e3a44bb1e91546565543

create dynamically changing request options

view details

Charles Wahome

commit sha 426b19adee8093b5e8f8c46f6f15cd3f7f991899

mapping state to props

view details

kachulio1

commit sha cc5bfa75f0cf56d7ff4b966f8615935e29594725

add prettier

view details

kachulio1

commit sha d301d976a6a276ff24a893ec1ea032704948902b

remove no lambda rule

view details

kachulio1

commit sha 39e216d51b82e531c65622977065573f965f3511

remove unused element

view details

Japheth Obala

commit sha d9cb659f5c5f3e5ebcca6e03ed7bd72f878cd974

Adds themes

view details

Charles Wahome

commit sha fb8a23696caad4ecbd297fd3696574901f7607d1

load user data on componentDidMount

view details

Charles Wahome

commit sha c27a8ede479db840167b80e6e6d0ad857357ad0e

prevent object mutation

view details

Charles Wahome

commit sha 3377b3c04fca9bc440bb6359223aff27121d5471

make code more readable

view details

Japheth Obala

commit sha 3c9c018a5929836a5e2b9c2f481f3726e1ead249

Themes the App component

view details

Japheth Obala

commit sha 81885d619e77d246b590a1a382ddec344af866a6

Removes TODO tags

view details

kachulio1

commit sha 882adbaa791504a9894e21069c392160191f87a7

add jsxSingleQuote

view details

kachulio1

commit sha 12d81c92e7b0ea07b270981021599d6816957150

add prettier command

view details

Charles Wahome

commit sha 4efbfefebd26b70702917cb9ae8faf6259f015cf

resolves conflicts with dev

view details

Japheth Obala

commit sha aa01230b36047011045f997cd5988bc9f12552de

Changes monaco-editor theme based on the current GE theme.

view details

Japheth Obala

commit sha 4d129e1a631cf27edcb16f15887befccb3ea5036

Merge pull request #41 from Kachulio1/chore/add-prettier add prettier

view details

Japheth Obala

commit sha bef46246e5e14a08d90c155d4bc8e215235ce33a

Merge branch 'dev' into feat/theme

view details

push time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

disables run query button when query is running

 import { IAction } from '../../../types/action';-import { QUERY_GRAPH_SUCCESS } from '../redux-constants';+import { QUERY_GRAPH_ERROR, QUERY_GRAPH_RUNNING, QUERY_GRAPH_SUCCESS } from '../redux-constants';  export function graphResponse(state = {}, action: IAction): object {   switch (action.type) {     case QUERY_GRAPH_SUCCESS:       if (typeof action.response !== 'string') {         return action.response;       }+    case QUERY_GRAPH_ERROR:+      if (typeof action.response !== 'string') {+        return action.response;+      }+    case QUERY_GRAPH_RUNNING:+    if (action.response) {+        return {+          ...state,+          isLoadingData: !!action.response

I think it should be action.response.isLoadingData

thewahome

comment created time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

fix broken profile component

-import React from 'react';-import { IProfileProps } from '../../../../types/profile';+import React, { Component } from 'react';+import { connect } from 'react-redux';+import { bindActionCreators, Dispatch } from 'redux';+import { IProfileProps, IProfileState } from '../../../../types/profile';+import * as queryActionCreators from '../../../services/actions/query-action-creators';+import { USER_INFO_URL, USER_PICTURE_URL } from '../../../services/graph-constants'; -export const Profile = ({ user }: { user: IProfileProps}) => {+export class Profile extends Component<IProfileProps, IProfileState> {+    constructor(props: IProfileProps) {+        super(props);+        this.state = {+            user: {+                displayName: '',+                emailAddress: '',+                profileImageUrl: '',+            }+        };+    }++    public componentDidMount = async () => {+        const { actions } = this.props;++        const jsonUserInfo = (actions) ? await actions.runQuery({+            selectedVerb: 'GET',+            sampleUrl: USER_INFO_URL,+        }) : null;++        const userPicture = (actions) ? await actions.runQuery({+            selectedVerb: 'GET',+            sampleUrl: USER_PICTURE_URL,+        }) : null;++        const userInfo = jsonUserInfo.response.body;+        const buffer = await userPicture.response.body.arrayBuffer();+        const blob = new Blob([buffer], { type: 'image/jpeg' });+        const createObjectURL = URL.createObjectURL(blob);+        const imageUrl = (createObjectURL) ? createObjectURL : '';++        const user = {+            ...{},

this is not necessary

thewahome

comment created time in a month

push eventandela/andela-societies-frontend

kachulio1

commit sha f37bac2a4db6b2558e63e6fec6f4489d5e0429b2

fix lint

view details

push time in a month

push eventandela/andela-societies-frontend

Alex Mochu

commit sha 848e5eee167da9412778a75f6c1c8f9accfe6542

#165116475 Secretary verify activity (#207) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * activity verification by secretary * fix failing CI build * tests * test * test * fix date format * tests * resolve conflict * fix failing test * remove whitespace * test handleVerify * improve test * implement feedback * fix reducer

view details

Alex Mochu

commit sha 0cef4aa4be58924af6abacec450cdd124730772c

Verify activity alert modal (#209) * verify dialog * fix failing build * fix alert message

view details

Chris Maina

commit sha adc04bea888c133cc65a856c2eb3f718a43c7cf4

Approve reject budget actions (#210) * feat(approveBudget): Approve reject actions - add approve and reject click actions on ActionsComponent - add request, success actions for budget approval - add approve budget page loading and error actions - handle APPROVE_BUDGET actions - add approveBudget generator - add AlertDialogComponent - status and message parameters in approveBudgetSuccess - add approveBudgetStatus and approveBudgetMessage in society state - add action,reducer and saga tests - add AlertDialogComponent tests - add ApproveBudgetContainer tests - move ActionsComponent to common folder - add ActionsComponent tests * feat(approveReject): add tests - add api and ActionsComponent tests

view details

Chris Maina

commit sha cd9efd22f4769fc850b6705dbcba6b97ec298b4d

feat(approveActivities): add approve activities page (#211) - add ApproveActivitiesComponent - add ApproveActivitiesContainer - add activities sidebar item - add tests

view details

Alex Mochu

commit sha d02cb4b7d82d1e543e1a41df5bccbd0cd20c8b29

Add pagination (#214) * add pagination * include pagination across other pages * add tests

view details

Chris Maina

commit sha 4353e90a83834c4e9c44218b10629e1fc3c53adc

bug(dashboard): add usedPoints & remainingPoints (#215) - remove footer on sidebar - remove Profile dropdown item - remove dlevel - hide profile dropdown

view details

Chris Maina

commit sha 4c8649a0782b14334473cb123c799aecf716c7fb

feat: search (#213) - add Navbar folder - move NavbarContainer and tests tp Navbar folder - add search util - add search action - add reducer to handle SEARCH action - add search on all the pages - add tests

view details

Chris Maina

commit sha 2f68459cfa2c52273d41512908beba45cd2d9246

bug: blue login background (#216) - remove class container - add watchCreateRedemptionReq import

view details

kachulio1

commit sha fde121fb2dbdc499684899ba8af4d0a22422ec6a

rebase develop-v2

view details

push time in a month

push eventandela/andela-societies-frontend

kachulio1

commit sha faba83e2cc1f48388dc4481a6a03a052543171e6

add bootstrap js

view details

kachulio1

commit sha 4bf3f05e60f623a36a68eff3122502aaedc828c4

add filter component

view details

kachulio1

commit sha 0f798978168dd767c301852c92ccdc6ef78e2a1c

add filter css

view details

kachulio1

commit sha 2e1848e6b0112ab49332d34fe2e698a1771f33e9

add filter Component

view details

kachulio1

commit sha f200401aee3382939414caded6139392a65eea5d

fix css issue

view details

kachulio1

commit sha 1918b6a087edbf15d180306d19db7eb23e487875

export filter component

view details

kachulio1

commit sha 465931578abdfd72ad8d885e5f84df9b33fd305b

fix lint errors

view details

kachulio1

commit sha c5dd6537000cac16d404674ad60dea886e321921

change select all to lowercase

view details

kachulio1

commit sha db4a7276a45d30c932fa396d25bc4acc650c4979

add test

view details

kachulio1

commit sha 1aff7d71ec536f51abe48867c5e39595e6f0894a

fix conflicts

view details

kachulio1

commit sha 53924592a43f32c053add0bc47347fb26806b3fa

fix conflict

view details

push time in a month

delete branch andela/andela-societies-frontend

delete branch : bg-login-background

delete time in a month

push eventandela/andela-societies-frontend

Chris Maina

commit sha 2f68459cfa2c52273d41512908beba45cd2d9246

bug: blue login background (#216) - remove class container - add watchCreateRedemptionReq import

view details

push time in a month

PR merged andela/andela-societies-frontend

Removes the blue login background
What does this PR do?

Removes the blue login background and adds watchCreateRedemptionReq import.

+4 -3

0 comment

3 changed files

Chris-Maina

pr closed time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

disables run query button when query is running

 import { IAction } from '../../../types/action';-import { QUERY_GRAPH_SUCCESS } from '../redux-constants';+import { QUERY_GRAPH_ERROR, QUERY_GRAPH_RUNNING, QUERY_GRAPH_SUCCESS } from '../redux-constants';  export function graphResponse(state = {}, action: IAction): object {   switch (action.type) {     case QUERY_GRAPH_SUCCESS:       if (typeof action.response !== 'string') {         return action.response;       }+    case QUERY_GRAPH_ERROR:+      if (typeof action.response !== 'string') {+        return action.response;+      }+    case QUERY_GRAPH_RUNNING:+    if (action.response) {+        return {+          ...state,+          isLoadingData: !!action.response

yeah, that's if you have something like !!age which is a Number and you want to convert it to aboolean but here you are explicitly passing queryRunningStatus({ isLoadingData: false }) or true which is already a boolean.

thewahome

comment created time in a month

delete branch andela/andela-societies-frontend

delete branch : ft-search

delete time in a month

push eventandela/andela-societies-frontend

Chris Maina

commit sha 4c8649a0782b14334473cb123c799aecf716c7fb

feat: search (#213) - add Navbar folder - move NavbarContainer and tests tp Navbar folder - add search util - add search action - add reducer to handle SEARCH action - add search on all the pages - add tests

view details

push time in a month

PR merged andela/andela-societies-frontend

Enable user to search for an activity, redemption e.t.c
What does this PR do?

Enables the user to search a text using the search input

Description of Task to be completed?
  • add Navbar folder
  • move NavbarContainer and tests to Navbar folder
  • add search utility function
  • add search action
  • add reducer to handle SEARCH action
  • add search on all the pages
  • add onClick on search icon in search input
Screenshots?

Here is a link with a demo

+285 -68

0 comment

26 changed files

Chris-Maina

pr closed time in a month

push eventandela/andela-societies-frontend

Chris Maina

commit sha 4353e90a83834c4e9c44218b10629e1fc3c53adc

bug(dashboard): add usedPoints & remainingPoints (#215) - remove footer on sidebar - remove Profile dropdown item - remove dlevel - hide profile dropdown

view details

push time in a month

PR merged andela/andela-societies-frontend

Reviewers
Fix dashboard icon alignment, disable footer settings and profile dropdown option
What does this PR do?

Fixes the dashboard icon alignment disables footer settings and profile dropdown option

+76 -27

0 comment

7 changed files

Chris-Maina

pr closed time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

disables run query button when query is running

 import { IAction } from '../../../types/action';-import { QUERY_GRAPH_SUCCESS } from '../redux-constants';+import { QUERY_GRAPH_ERROR, QUERY_GRAPH_RUNNING, QUERY_GRAPH_SUCCESS } from '../redux-constants';  export function graphResponse(state = {}, action: IAction): object {   switch (action.type) {     case QUERY_GRAPH_SUCCESS:       if (typeof action.response !== 'string') {         return action.response;       }+    case QUERY_GRAPH_ERROR:+      if (typeof action.response !== 'string') {

@jobala but the action creators have response type as object queryResponseError(response: object), queryRunningStatus(response: object) so we can be sure if the case is QUERY_GRAPH_ERROR then we have an object, but you are saying that response.body queryResponseError(response.body) might be a string or object.

thewahome

comment created time in a month

delete branch andela/andela-societies-frontend

delete branch : ft-paginate

delete time in a month

push eventandela/andela-societies-frontend

Alex Mochu

commit sha d02cb4b7d82d1e543e1a41df5bccbd0cd20c8b29

Add pagination (#214) * add pagination * include pagination across other pages * add tests

view details

push time in a month

PR merged andela/andela-societies-frontend

Add pagination
What does this PR do?
Video

Demo Link

Screenshots?

Screenshot 2019-05-06 at 12 38 42

+255 -15

0 comment

14 changed files

alexmochu

pr closed time in a month

issue commentmicrosoftgraph/microsoft-graph-explorer-v2

Sample Request History

Oh, I mean how long should the data in indexedDB be valid for.

jobala

comment created time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

disables run query button when query is running

 import { IAction } from '../../../types/action';-import { QUERY_GRAPH_SUCCESS } from '../redux-constants';+import { QUERY_GRAPH_ERROR, QUERY_GRAPH_RUNNING, QUERY_GRAPH_SUCCESS } from '../redux-constants';  export function graphResponse(state = {}, action: IAction): object {   switch (action.type) {     case QUERY_GRAPH_SUCCESS:       if (typeof action.response !== 'string') {         return action.response;       }+    case QUERY_GRAPH_ERROR:+      if (typeof action.response !== 'string') {

whay are we checking if payload is a not of type string

thewahome

comment created time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

disables run query button when query is running

 const makeRequest = (httpVerb: string): Function => {         queryResponse({           body: json,           headers: respHeaders-        })+        }),+        queryRunningStatus({ isLoadingData: false }),       );     }-    dispatch(queryResponseError(response.body));+    return dispatch(+      queryResponseError(response.body),+      queryRunningStatus({ isLoadingData: false }),

I think this is an extra param that should not be there no?

thewahome

comment created time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

disables run query button when query is running

 import { IAction } from '../../../types/action';-import { QUERY_GRAPH_SUCCESS } from '../redux-constants';+import { QUERY_GRAPH_ERROR, QUERY_GRAPH_RUNNING, QUERY_GRAPH_SUCCESS } from '../redux-constants';  export function graphResponse(state = {}, action: IAction): object {   switch (action.type) {     case QUERY_GRAPH_SUCCESS:       if (typeof action.response !== 'string') {         return action.response;       }+    case QUERY_GRAPH_ERROR:+      if (typeof action.response !== 'string') {+        return action.response;+      }+    case QUERY_GRAPH_RUNNING:+    if (action.response) {+        return {+          ...state,+          isLoadingData: !!action.response

why do you have the !! before action.response?

thewahome

comment created time in a month

Pull request review commentmicrosoftgraph/microsoft-graph-explorer-v2

disables run query button when query is running

 export const QueryInputControl = ({         />       </div>       <div className='col-sm-2 run-query-button'>-        <PrimaryButton-          onClick={() => handleOnRunQuery()}-        >-          <FormattedMessage-            id='Run Query'-          />-        </PrimaryButton>+        <SubmitButton+          className='run-query-button'+          text='Run Query'+          handleOnClick={() => handleOnRunQuery()}

I think this handleOnClick={() => handleOnRunQuery()} would be better if it was handleOnClick={handleOnRunQuery} since we are not passing anything to handleOnRunQuery and also to avoid extra re-rendering if we are passing the callback as a prop to another component

thewahome

comment created time in a month

issue commentmicrosoftgraph/microsoft-graph-explorer-v2

Sample Request History

@jobala ☝️and how should we do the cache invalidation?

jobala

comment created time in 2 months

issue commentmicrosoftgraph/microsoft-graph-explorer-v2

Sample Request History

Question is it ok if I use this https://github.com/jakearchibald/idb a Polyfill for IndexedDB, so that we can use Promises which is better than using IndexedDB Events and it's open source.

jobala

comment created time in 2 months

issue commentmicrosoftgraph/microsoft-graph-explorer-v2

Sample Request History

👍

jobala

comment created time in 2 months

issue commentmicrosoftgraph/microsoft-graph-explorer-v2

Sample Request History

what's the timeframe?

jobala

comment created time in 2 months

issue commentmicrosoftgraph/microsoft-graph-explorer-v2

Sample Request History

@jobala Yeah, I will, I've been super busy in the past few weeks.

jobala

comment created time in 2 months

PR closed andela/andela-societies-frontend

[wip]Onboarding integration with Authentication
What does this PR do?

It integrates the Onboarding screen together with the app Authentication

  • Onboarding screen UI screenshots can be found here https://github.com/andela/andela-societies-frontend/pull/173
+410 -21

1 comment

23 changed files

alexmochu

pr closed time in 2 months

push eventandela/andela-societies-frontend

Chris Maina

commit sha cd9efd22f4769fc850b6705dbcba6b97ec298b4d

feat(approveActivities): add approve activities page (#211) - add ApproveActivitiesComponent - add ApproveActivitiesContainer - add activities sidebar item - add tests

view details

push time in 2 months

PR merged andela/andela-societies-frontend

Reviewers
Display activities to approve/reject
What does this PR do?

Enables a user i.e. success team/member, to view activities to approve/reject.

Screenshots?

Screen Shot 2019-04-16 at 3 03 41 PM

+292 -10

0 comment

9 changed files

Chris-Maina

pr closed time in 2 months

delete branch andela/andela-societies-frontend

delete branch : ft-approve-reject-actions-success-ops

delete time in 2 months

push eventandela/andela-societies-frontend

Chris Maina

commit sha adc04bea888c133cc65a856c2eb3f718a43c7cf4

Approve reject budget actions (#210) * feat(approveBudget): Approve reject actions - add approve and reject click actions on ActionsComponent - add request, success actions for budget approval - add approve budget page loading and error actions - handle APPROVE_BUDGET actions - add approveBudget generator - add AlertDialogComponent - status and message parameters in approveBudgetSuccess - add approveBudgetStatus and approveBudgetMessage in society state - add action,reducer and saga tests - add AlertDialogComponent tests - add ApproveBudgetContainer tests - move ActionsComponent to common folder - add ActionsComponent tests * feat(approveReject): add tests - add api and ActionsComponent tests

view details

push time in 2 months

PR merged andela/andela-societies-frontend

Reviewers
Approve reject budget actions
What does this PR do?

Enables a user to approve or reject a redemption

Screenshots?

Here is a link with a demo

+581 -208

0 comment

26 changed files

Chris-Maina

pr closed time in 2 months

push eventandela/andela-societies-frontend

Alex Mochu

commit sha 0cef4aa4be58924af6abacec450cdd124730772c

Verify activity alert modal (#209) * verify dialog * fix failing build * fix alert message

view details

push time in 2 months

PR merged andela/andela-societies-frontend

Reviewers
Verify activity alert modal
Description of Task to be completed?

Display an alert modal after a society secretary verifies an activity

Video

Demo Link

Screenshots?

Screenshot 2019-04-14 at 15 59 35

+433 -13

0 comment

16 changed files

alexmochu

pr closed time in 2 months

push eventandela/andela-societies-frontend

Alex Mochu

commit sha 848e5eee167da9412778a75f6c1c8f9accfe6542

#165116475 Secretary verify activity (#207) * Redux Saga setup * Clean Saga examples * Onboading screen * log points * merge conflicts * Log society activity points * Log points reducer tests * log activity points action tests * log activity points generators and component tests * refactor and implement review feedback * remove evaluation * update branch * add expects blocks to my tests * team feedback implementation * improve test coverage * improve test coverage * improve tests * toast component * Remove unnecessary code * logged activity should be added to the user activity list * Rename file * test componentDidUpdate * add snapshot * toast component * add modal inputs validation * commit * fix failing test * clean branch * activity verification by secretary * fix failing CI build * tests * test * test * fix date format * tests * resolve conflict * fix failing test * remove whitespace * test handleVerify * improve test * implement feedback * fix reducer

view details

push time in 2 months

PR merged andela/andela-societies-frontend

#165116475 Secretary verify activity
What does this PR do?

Secretary should be able to verify his/her society activities

Description of Task to be completed?

As a Society secretary, I should be able to approve or reject an activity by changing their status from in-review to pending/rejected

What are the relevant Pivotal Tracker stories?

#165116475

Video
  • Here is the demo Link
+267 -21

0 comment

18 changed files

alexmochu

pr closed time in 2 months

more