Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

sprint-9 -> staging #184

Merged
merged 284 commits into from
May 2, 2019
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
284 commits
Select commit Hold shift + click to select a range
8bf2946
Merge branch 'dev' into hotfix/homepage-QA
burgwyn Dec 19, 2018
a96a6a1
Merge branch 'dev' into fix/homepage-cleanups
rtirserio Dec 19, 2018
8c308b5
Merge branch 'dev' into fix/profile-qa
rtirserio Dec 19, 2018
18c060d
Merge branch 'dev' into fix/saved-search-qa
rtirserio Dec 19, 2018
8807ed2
Merge branch 'dev' into fix/search-qa
rtirserio Dec 19, 2018
e098d48
Merge branch 'dev' into fix/pagination-link
rtirserio Dec 19, 2018
c6bd78d
Merge branch 'dev' into hotfix/TM-308-Details-QA
mjoyce91 Dec 19, 2018
27c1ed4
fix: use the correct button style
rtirserio Dec 19, 2018
0351c1b
Merge pull request #39 from MetaPhase-Consulting/fix/saved-search-qa
burgwyn Dec 20, 2018
b2c0632
Merge branch 'dev' into fix/profile-qa
rtirserio Dec 20, 2018
8ecfe2e
Merge branch 'dev' into fix/pagination-link
rtirserio Dec 20, 2018
8f5d6ee
fix: better accessibility for active pagination tab selection
rtirserio Dec 20, 2018
7a18b44
Merge branch 'dev' into fix/search-qa
rtirserio Dec 20, 2018
d684b06
Merge pull request #36 from MetaPhase-Consulting/fix/profile-qa
rtirserio Dec 20, 2018
245a4f0
Merge branch 'dev' into fix/homepage-cleanups
rtirserio Dec 20, 2018
a535130
Merge branch 'dev' into fix/search-qa
rtirserio Dec 20, 2018
6b90ec6
Merge branch 'dev' into fix/pagination-link
rtirserio Dec 20, 2018
cf4a82c
Merge pull request #35 from MetaPhase-Consulting/fix/homepage-cleanups
rtirserio Dec 20, 2018
8cb50ea
Merge branch 'dev' into fix/pagination-link
rtirserio Dec 20, 2018
b701fbc
Merge branch 'dev' into hotfix/homepage-QA
mjoyce91 Dec 20, 2018
063eed3
Merge branch 'dev' into hotfix/TM-308-Details-QA
mjoyce91 Dec 20, 2018
d66064b
Merge pull request #44 from MetaPhase-Consulting/fix/pagination-link
rtirserio Dec 20, 2018
ffeb02d
Merge branch 'dev' into fix/search-qa
rtirserio Dec 20, 2018
8c960c9
fix: use correct button design
rtirserio Dec 20, 2018
656e33b
Merge branch 'dev' into hotfix/TM-308-Details-QA
mjoyce91 Dec 20, 2018
3abf692
Merge pull request #41 from MetaPhase-Consulting/fix/search-qa
burgwyn Dec 21, 2018
48e7e24
Merge branch 'dev' into hotfix/TM-308-Details-QA
burgwyn Dec 21, 2018
d15373e
Merge pull request #38 from MetaPhase-Consulting/hotfix/TM-308-Detail…
burgwyn Dec 21, 2018
ca233d0
Merge branch 'dev' into hotfix/homepage-QA
burgwyn Dec 21, 2018
cd43281
Merge pull request #43 from MetaPhase-Consulting/hotfix/homepage-QA
burgwyn Dec 21, 2018
116df11
fix: use lodash get so that non-existent nested property doesn't thro…
mjoyce91 Dec 21, 2018
76f7bce
Align bid count with data points in ResultsCondensedCard
mjoyce91 Dec 21, 2018
237c74f
Show "Available" filter to all users, not just CDOs (#46)
mjoyce91 Dec 21, 2018
35e9248
Merge branch 'dev' into fix/card-bid-count-style
mjoyce91 Dec 21, 2018
193cde8
Update dashboard styles and content based on QA
mjoyce91 Dec 21, 2018
1790f7f
Fix style for bid list container
mjoyce91 Dec 21, 2018
ad42149
Move Bid Count in-line with data points on ResultsCard
mjoyce91 Dec 21, 2018
402bd13
Merge pull request #47 from MetaPhase-Consulting/fix/card-bid-count-s…
mjoyce91 Dec 26, 2018
53fb4c5
Merge branch 'dev' into fix/dashboard-qa
mjoyce91 Dec 26, 2018
650e304
View More -> View more
mjoyce91 Dec 26, 2018
94c4cac
Add disabled state for BidListButton based on proposed API updates
mjoyce91 Dec 26, 2018
d43ad8a
Use real properties from API PR, combine strings
mjoyce91 Dec 26, 2018
da1e340
Use white for button text color
mjoyce91 Dec 26, 2018
f8cb458
Merge pull request #48 from MetaPhase-Consulting/fix/dashboard-qa
mjoyce91 Dec 27, 2018
3ba63d3
feature: add remove bid to the bid tracker for draft and submitted bids
rtirserio Dec 27, 2018
b6944e3
add additional status to the canDeleteBid function
rtirserio Dec 27, 2018
a9d07a6
Merge branch 'dev' into feature/remove-bid-locations
rtirserio Dec 27, 2018
d776131
Merge branch 'dev' into feature/TM-279-disabled-bid-button
burgwyn Dec 31, 2018
c94fc92
Add react-toastify and use with bid list additions/removals (#51)
mjoyce91 Jan 2, 2019
0a869e9
Merge branch 'dev' into feature/remove-bid-locations
burgwyn Jan 2, 2019
0df9ab1
Check if bid can be deleted and apply disabled status accordingly; up…
mjoyce91 Jan 2, 2019
4663d21
Merge branch 'dev' into feature/TM-279-disabled-bid-button
mjoyce91 Jan 2, 2019
7316200
feature: use the can_delete property from the bid rather than calcula…
rtirserio Jan 3, 2019
3b249d6
Merge pull request #49 from MetaPhase-Consulting/feature/TM-279-disab…
mjoyce91 Jan 7, 2019
d98fc6b
Merge branch 'dev' into feature/remove-bid-locations
rtirserio Jan 7, 2019
024c570
Merge pull request #50 from MetaPhase-Consulting/feature/remove-bid-l…
rtirserio Jan 7, 2019
f487122
Add loading spinner to Bid List button (#52)
mjoyce91 Jan 8, 2019
cd772f8
Compress us-flag.jpg (#53)
mjoyce91 Jan 9, 2019
4bb1ead
Use react-linkify to automatically hyperlink URLs and email addresses…
mjoyce91 Jan 11, 2019
e04c2ff
Authorization -> Authentication (#54)
burgwyn Jan 11, 2019
52e3312
Merge branch 'dev' into feature/TM-400-hyperlinks
burgwyn Jan 11, 2019
b0b17d8
Update pagination and page size defaults in alignment with designs
mjoyce91 Jan 15, 2019
70ca045
Merge branch 'dev' into feature/page-sort-defaults
mjoyce91 Jan 15, 2019
ed1268e
Merge pull request #59 from MetaPhase-Consulting/feature/page-sort-de…
mjoyce91 Jan 16, 2019
44d97c6
Display link, if available, in the glossary
mjoyce91 Jan 16, 2019
372ebc6
Merge branch 'dev' into feature/glossary-links
mjoyce91 Jan 16, 2019
c63b113
Merge branch 'dev' into feature/TM-400-hyperlinks
mjoyce91 Jan 17, 2019
7321aae
Merge pull request #57 from MetaPhase-Consulting/feature/TM-400-hyper…
mjoyce91 Jan 17, 2019
a1e06d8
Merge branch 'dev' into feature/glossary-links
mjoyce91 Jan 17, 2019
f0df381
Add ability to edit links from Glossary editor; update styling for gl…
mjoyce91 Jan 17, 2019
cad4303
Merge pull request #61 from MetaPhase-Consulting/feature/glossary-links
mjoyce91 Jan 17, 2019
597acee
Merge branch 'dev' into feature/glossary-editor-link
mjoyce91 Jan 17, 2019
0548450
Reduce code complexity, fix long link styles
mjoyce91 Jan 25, 2019
6218c6f
Update snapshot
mjoyce91 Jan 28, 2019
d7f10d8
Merge pull request #62 from MetaPhase-Consulting/feature/glossary-edi…
mjoyce91 Jan 28, 2019
a9195e1
Add bundlesize (#69)
burgwyn Jan 30, 2019
cbd0313
Chore/linter (#67)
rtirserio Jan 30, 2019
ce1228c
End of basic auth (#63)
rtirserio Jan 30, 2019
5de9100
Bidder role - TM-371 (#68)
mjoyce91 Jan 31, 2019
7c91ca8
Fix/mock auth (#70)
rtirserio Feb 1, 2019
510a291
Default to true if can_delete property is not found
mjoyce91 Feb 6, 2019
7a5f710
Update snapshots
mjoyce91 Feb 7, 2019
e319608
Merge pull request #72 from MetaPhase-Consulting/hotfix/can-delete-bid
mjoyce91 Feb 8, 2019
004535d
fix: remove the auth redirect loop and clean up reamining references …
rtirserio Feb 11, 2019
fc757c2
TM-410 - display favorites list as 4 across above the large break poi…
rtirserio Feb 11, 2019
fbf4dab
fix: remove the auth redirect loop (#73)
rtirserio Feb 11, 2019
5a6a8e0
dev -> staging (#56) (#75)
mjoyce91 Feb 12, 2019
4349d66
Merge branch 'staging' into dev
burgwyn Feb 12, 2019
4224df2
Remove use of skill cone/code to skill (#76)
mjoyce91 Feb 12, 2019
665ff24
Add Public Profile page - links from CDO portfolio, profile/public/:i…
mjoyce91 Feb 12, 2019
3a0cd3e
Sort bid cycles alphabetically by name (#78)
mjoyce91 Feb 13, 2019
71a330e
feature: download search results in csv format. Resolves TM-439
rtirserio Feb 13, 2019
9a420a5
Merge branch 'dev' into feature/search-csv-export
rtirserio Feb 13, 2019
fe41c42
chore: use default variable for sort
rtirserio Feb 14, 2019
5f71e9b
chore: reformat the date before file creation
rtirserio Feb 15, 2019
eae2f92
Simplified search bar v2 (#81)
mjoyce91 Feb 19, 2019
8cee540
Redesign compare page (#82)
mjoyce91 Feb 19, 2019
c6e68a2
Merge branch 'dev' into feature/search-csv-export
burgwyn Feb 19, 2019
a2651d7
feature: move the download button and use the secondary style. resolv…
rtirserio Feb 19, 2019
cf1848d
Merge pull request #79 from MetaPhase-Consulting/feature/search-csv-e…
rtirserio Feb 19, 2019
e2f57d0
fix: set a width on the cards for the favorite positions profile scre…
rtirserio Feb 20, 2019
752b7d5
Fix search styles from breaking on the bidder portfolio
mjoyce91 Feb 20, 2019
cf87483
Merge pull request #83 from MetaPhase-Consulting/hotfix/search-button…
mjoyce91 Feb 20, 2019
854d0e4
Reverting the changes to the glossary card due to the new term dialog…
mjoyce91 Feb 20, 2019
d780d1a
Merge branch 'dev' into hotfix/new-glossary-term
mjoyce91 Feb 20, 2019
0610089
Add link-container class back in
mjoyce91 Feb 20, 2019
18f45ea
Update snapshots
mjoyce91 Feb 20, 2019
cfcc169
Trigger circleci build
mjoyce91 Feb 20, 2019
485562e
Merge pull request #84 from MetaPhase-Consulting/hotfix/new-glossary-…
mjoyce91 Feb 20, 2019
82d0919
Code smells (#86)
burgwyn Feb 22, 2019
1c0b7ca
Comparison drawer component, add event listeners where needed, remove…
mjoyce91 Feb 22, 2019
b097a6d
Track old compare choices to maintain sorting during an update
mjoyce91 Feb 22, 2019
8b4d806
Add test coverage, use cancel tokens
mjoyce91 Feb 23, 2019
87acc1b
Merge branch 'dev' into feature/comparison-drawer, resolve conflicts
mjoyce91 Feb 23, 2019
8bc2241
Merge pull request #87 from MetaPhase-Consulting/feature/comparison-d…
mjoyce91 Feb 25, 2019
ca472b4
Change dropdown menu link name from "Profile" to "Dashboard"
mjoyce91 Feb 26, 2019
877d0c8
Merge branch 'dev' into fix/profile-to-dashboard
mjoyce91 Feb 26, 2019
d20cc4c
Merge pull request #88 from MetaPhase-Consulting/fix/profile-to-dashb…
mjoyce91 Feb 28, 2019
eeb99f3
Remove How to Bid section from position details (#89)
mjoyce91 Feb 28, 2019
b476e7f
Homepage QA (#90)
mjoyce91 Feb 28, 2019
b12b65e
Conditional rendering of Bid Count on Bid Tracker cards, update Resul…
mjoyce91 Feb 28, 2019
a61b081
Merge branch 'dev' into update/results-cards-and-tracker-QA
mjoyce91 Feb 28, 2019
2b2f377
Merge pull request #91 from MetaPhase-Consulting/update/results-cards…
mjoyce91 Mar 1, 2019
21b55fd
Break out compare elements into their own rows, add Bid List button t…
mjoyce91 Mar 1, 2019
abb91b8
Remove eslint-disable
mjoyce91 Mar 1, 2019
6a5680f
feature: include org info for domestic positions (#92)
rtirserio Mar 1, 2019
a30ce10
Merge branch 'dev' into update/compare-QA
burgwyn Mar 1, 2019
caffad7
Remove bidListToggleIsLoading since that is handled in BidListButton …
mjoyce91 Mar 5, 2019
7af06c2
Display the service needs filter as a pill on the results page (#95)
mjoyce91 Mar 6, 2019
aa27a97
Add error handling for position details screen (#93)
mjoyce91 Mar 6, 2019
fb08f8e
Merge branch 'dev' into update/compare-QA
burgwyn Mar 6, 2019
c86270c
Merge pull request #94 from MetaPhase-Consulting/update/compare-QA
mjoyce91 Mar 6, 2019
3b1a9f5
feature: add bid list button to the favorites cards. TM-512
rtirserio Mar 7, 2019
1de3839
Merge branch 'dev' into staging
mjoyce91 Mar 7, 2019
ea703e2
dev -> staging
mjoyce91 Mar 7, 2019
ab38994
Merge pull request #99 from MetaPhase-Consulting/dev-staging-sprint5
mjoyce91 Mar 7, 2019
8b7a5ca
Make icons consistent throughout profile pages (#102)
mjoyce91 Mar 11, 2019
21c4b24
Service Needs -> Featured (#100)
mjoyce91 Mar 11, 2019
f593997
Add hover to dropdown (#103)
mjoyce91 Mar 11, 2019
bde31ab
Merge branch 'dev' into feature/bid-list-button-favs
rtirserio Mar 11, 2019
d6c5185
Update empty saved search list text (#101)
mjoyce91 Mar 11, 2019
f4a8388
Add custom filter for including null language positions (#104)
mjoyce91 Mar 11, 2019
ec03e77
Remove Status component throughout app (#105)
mjoyce91 Mar 11, 2019
e319f3b
Merge branch 'dev' into feature/bid-list-button-favs
burgwyn Mar 12, 2019
7a060b0
fix: change label. TM-632 (#107)
rtirserio Mar 13, 2019
a7650ed
Adjust elements to grow
mjoyce91 Mar 13, 2019
bee8872
fix: allow export on edge to run
rtirserio Mar 13, 2019
9b45d33
Merge branch 'dev' into feature/bid-list-button-favs
rtirserio Mar 13, 2019
b7d78c1
Merge pull request #97 from MetaPhase-Consulting/feature/bid-list-but…
rtirserio Mar 14, 2019
227ed95
Merge branch 'dev' into fix/edge_export
rtirserio Mar 14, 2019
601d85c
Merge pull request #111 from MetaPhase-Consulting/fix/edge_export
rtirserio Mar 14, 2019
6726399
Styles, add post to top
mjoyce91 Mar 14, 2019
e3492ec
Update ordering for data points on Compare page (#110)
mjoyce91 Mar 14, 2019
46afe37
Merge branch 'dev' into update/card-flex, resolve conflicts
mjoyce91 Mar 14, 2019
228a3f4
Remove post, add grade to bottom section
mjoyce91 Mar 14, 2019
1d6c2d1
Merge branch 'dev' into update/TM-633-card-design
mjoyce91 Mar 15, 2019
51e8714
Merge pull request #109 from MetaPhase-Consulting/update/card-flex
mjoyce91 Mar 18, 2019
3dae1bb
Merge branch 'dev' into update/TM-633-card-design
mjoyce91 Mar 18, 2019
64e780e
Merge pull request #112 from MetaPhase-Consulting/update/TM-633-card-…
mjoyce91 Mar 18, 2019
db78518
Updates to Bid Tracker (#115)
mjoyce91 Mar 20, 2019
d4a15fc
Track favoriting loading state of individual IDs (#108)
mjoyce91 Mar 20, 2019
1f4a631
Handshake ribbon (#113)
mjoyce91 Mar 20, 2019
5b698ad
Test coverage (#117)
mjoyce91 Mar 20, 2019
dd98443
Add toast notifications for favoriting actions (#114)
mjoyce91 Mar 20, 2019
f44479f
Create BoxShadow component and use with various cards (#106)
mjoyce91 Mar 20, 2019
2995ac3
dev -> staging (#98) (#119)
mjoyce91 Mar 21, 2019
b92e781
Sprint 6 merge conflicts (#120)
mjoyce91 Mar 25, 2019
e27c932
Add toggle component, use static toggle filter in search results (#121)
mjoyce91 Mar 26, 2019
0bed630
Add condensed card layouts for projected vacancy and recently availab…
mjoyce91 Mar 26, 2019
43e444d
dev -> staging (#98) (#127)
mjoyce91 Mar 28, 2019
57284f6
Move "No Language" filter to top of list (#129)
mjoyce91 Mar 28, 2019
d0ae5c8
Projected Vacancy - Saved Search + Results cards (#123)
mjoyce91 Apr 1, 2019
1bf2881
Refactor section headers in profile, static UI for projected vacancy …
mjoyce91 Apr 1, 2019
a4c9ab9
Pull css-box-shadow repo into app to force es6 to compile
mjoyce91 Apr 1, 2019
b423e1f
Merge pull request #133 from MetaPhase-Consulting/fix/yarn-build
mjoyce91 Apr 1, 2019
07cc45a
Chore/autodeploy config (#132)
rtirserio Apr 2, 2019
240f37b
Compare from Favorites (#124)
mjoyce91 Apr 2, 2019
0483a9e
Condensed Bid Tracker (#128)
mjoyce91 Apr 2, 2019
fa703a5
Feature flags (#130)
mjoyce91 Apr 2, 2019
708913f
Merge branch 'staging' of github.com:MetaPhase-Consulting/State-Talen…
burgwyn Apr 2, 2019
1b24edc
fix: check for and remove if present the backup dir (#136)
rtirserio Apr 4, 2019
9f834f9
Remove jQuery and replace with XHR (#137)
burgwyn Apr 4, 2019
87284cc
Different text and colors for Approved bids (#139)
mjoyce91 Apr 4, 2019
8e44efb
Hide Featured Positions section if positions length is zero (#138)
mjoyce91 Apr 8, 2019
097db4b
Set config.json to preferred defaults in dev environment
mjoyce91 Apr 8, 2019
dbe3ce6
Update index.html to reference API URL from config
mjoyce91 Apr 8, 2019
546ec62
Update deploy.sh to use alternate config
mjoyce91 Apr 8, 2019
9720db2
fix: include the bid count in the sections toggled by the bidding flag
rtirserio Apr 9, 2019
e1afb38
Merge pull request #143 from MetaPhase-Consulting/update/deployment-d…
mjoyce91 Apr 9, 2019
368cfe6
Add the Beta banner back in
mjoyce91 Apr 9, 2019
8df5b09
Merge branch 'dev' into update/add-beta-banner
mjoyce91 Apr 9, 2019
1dc0be7
Merge branch 'dev' into fix/bid_count_flag
mjoyce91 Apr 9, 2019
17dc069
Merge pull request #146 from MetaPhase-Consulting/update/add-beta-banner
mjoyce91 Apr 9, 2019
46c033f
Merge branch 'dev' into fix/bid_count_flag
rtirserio Apr 9, 2019
210833c
Merge pull request #145 from MetaPhase-Consulting/fix/bid_count_flag
rtirserio Apr 9, 2019
226c050
Use defaultSort prop instead of entire object; refresh state value on…
mjoyce91 Apr 10, 2019
8338eab
New card design for Bidder Portfolio (#140)
mjoyce91 Apr 12, 2019
1e1da9d
Use aria-label to describe the meaning of the icon (#149)
mjoyce91 Apr 12, 2019
4738935
New row design for Bidder Portfolio (#141)
mjoyce91 Apr 15, 2019
ba6b385
Add Export button to Bidder Portfolio (#142)
mjoyce91 Apr 15, 2019
7cbcb7e
Add auto-complete dropdown to display CDO list in Bidder Portfolio (#…
mjoyce91 Apr 15, 2019
953df8c
Increase test coverage (#151)
mjoyce91 Apr 15, 2019
4d2e356
Remove ABOUT_URL (#152)
burgwyn Apr 15, 2019
0a66399
Update Jest (#153)
burgwyn Apr 15, 2019
dbccb52
Bidder Portfolio Edit View (#144)
mjoyce91 Apr 15, 2019
a3c4b1d
Public Profile "Updates" and Edit UI (#147)
mjoyce91 Apr 15, 2019
d014b56
Use react-picky to create a multi-select checkbox dropdown to use as …
mjoyce91 Apr 15, 2019
e3a4879
Merge branch 'dev' into feature/bid-cycle-multi-checkbox, resolve con…
mjoyce91 Apr 15, 2019
3437484
Improved test coverage
mjoyce91 Apr 15, 2019
caed2aa
Additional tests for SearchResultsExportLink and utilities
mjoyce91 Apr 16, 2019
948ab56
Merge pull request #154 from MetaPhase-Consulting/feature/bid-cycle-m…
mjoyce91 Apr 16, 2019
c055743
Merge branch 'dev' into tests/test-04152019
mjoyce91 Apr 16, 2019
6a610b9
Merge pull request #155 from MetaPhase-Consulting/tests/test-04152019
mjoyce91 Apr 16, 2019
b7a4391
More test coverage (#156)
mjoyce91 Apr 17, 2019
e1c68ab
Add active filter (#158)
burgwyn Apr 17, 2019
99bed5a
staging -> sprint-8 (#160)
mjoyce91 Apr 18, 2019
1732e48
Set min-width on compare drawer cards in IE11 (#161)
mjoyce91 Apr 18, 2019
348e027
Merge branch 'staging' into dev
burgwyn Apr 18, 2019
4302572
Redirect standard error, for when file does not exist in CI (#162)
mjoyce91 Apr 18, 2019
e4aedc0
Use common Export Button component for re-use (#163)
mjoyce91 Apr 19, 2019
f397684
Handle for when current_assignment is null (#165)
mjoyce91 Apr 19, 2019
5be63d2
Merge branch 'staging' into dev
burgwyn Apr 19, 2019
4ea78bc
"Service need" -> "Featured positions" sort name (#167)
mjoyce91 Apr 19, 2019
1abd533
dev -> staging (#166) (#168)
burgwyn Apr 23, 2019
b90d01b
Integrate react-scroll-up-button to scroll to top on the Results page…
mjoyce91 Apr 26, 2019
b151dc2
Better handling for Go Back button by tracking back/forward in histor…
mjoyce91 Apr 26, 2019
73ddb37
Add redux-persist, add PreferencesWrapper to wrap existing components…
mjoyce91 Apr 27, 2019
5119045
Linting - unused import
burgwyn Apr 27, 2019
6869737
Linting - unused prop
burgwyn Apr 27, 2019
844c51e
Linting - vendor selector
burgwyn Apr 27, 2019
e28cee0
Linting - scss
burgwyn Apr 27, 2019
837d93b
Add Grade to Compare page (#174)
mjoyce91 Apr 28, 2019
5a2b833
Fix/back to top usability (#175)
mjoyce91 Apr 29, 2019
bc69fb3
Bid Tracker Success link (#176)
mjoyce91 Apr 29, 2019
d0b6126
Add scaffolding to set global context as a client, update CDO portfol…
mjoyce91 Apr 29, 2019
ce3edc3
Merge branch 'dev' of github.com:MetaPhase-Consulting/State-TalentMAP…
burgwyn Apr 29, 2019
1f33d5a
Merge branch 'dev' into nat-codeclimate
burgwyn Apr 29, 2019
50aec4a
Merge branch 'nat-codeclimate' of github.com:MetaPhase-Consulting/Sta…
burgwyn Apr 29, 2019
c21e065
Add comments
burgwyn Apr 29, 2019
2012054
Hover button on results cards to display capsule description (#177)
mjoyce91 Apr 29, 2019
b0fc129
Merge branch 'dev' into nat-codeclimate
burgwyn Apr 29, 2019
a876f8d
Merge pull request #173 from MetaPhase-Consulting/nat-codeclimate
mjoyce91 Apr 29, 2019
8287de6
Accessibility fixes (#178)
mjoyce91 Apr 29, 2019
1ea0447
Use slightly lighter blue for accessibility against link color (#180)
mjoyce91 Apr 29, 2019
c124017
Deploy edit (#179)
burgwyn Apr 30, 2019
cdade94
Projected Vacancy Search (#172)
mjoyce91 Apr 30, 2019
8e0480f
Feature/projected vacancy export (#181)
rtirserio Apr 30, 2019
1e1f62e
Use the word "Bid Season" when using projected vacancy search (#182)
mjoyce91 Apr 30, 2019
1b7a820
Test coverage (#183)
mjoyce91 May 1, 2019
b3cc425
Merge branch 'staging' into dev
burgwyn May 2, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ export SSO_LOGOUT_URL=https://dev.talentmap.metaphasedev.com/talentmap/login.htm

export ENTITY_ID=https://dev.talentmap.metaphasedev.com/talentmap/

# change to dev BEFORE install
export NODE_ENV=dev
# change to development BEFORE install
export NODE_ENV=development

# install dependencies
yarn install
Expand All @@ -62,9 +62,10 @@ yarn build
sudo cp -R build /var/www/html

# remove default config.json
sudo rm /var/www/html/build/config/config.json
sudo rm /var/www/html/config/config.json 2>/dev/null

# rename config_dev.json to config.json so that it gets used instead
sudo mv /var/www/html/build/config/config_dev.json /var/www/html/build/config/config.json
sudo mv /var/www/html/config/config_dev.json /var/www/html/config/config.json

# restart apache
sudo apachectl restart
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"memoize-one": "^5.0.2",
"numeral": "^2.0.6",
"prop-types": "^15.6.0",
"q": "^1.5.1",
"query-string": "^5.0.1",
"rc-steps": "^3.1.0",
"react": "^15.6.2",
Expand All @@ -43,13 +44,16 @@
"react-router-redux": "^5.0.0-alpha.9",
"react-router-scroll-4": "^1.0.0-beta.1",
"react-scroll": "^1.7.5",
"react-scroll-up-button": "^1.6.4",
"react-scrollbar": "^0.5.4",
"react-select": "^1.1.0",
"react-simple-dropdown": "^3.2.0",
"react-spring": "4.0.0",
"react-tippy": "^1.2.2",
"react-toastify": "^4.5.1",
"redux": "^3.7.1",
"redux-form": "^7.2.0",
"redux-persist": "^5.10.0",
"redux-saga": "^0.15.6",
"redux-thunk": "^2.2.0",
"saml2-js": "2.0.2",
Expand Down Expand Up @@ -148,7 +152,9 @@
"jest-localstorage-mock",
"mock-local-storage"
],
"setupFilesAfterEnv": ["<rootDir>/config/jest/setupTests.js"],
"setupFilesAfterEnv": [
"<rootDir>/config/jest/setupTests.js"
],
"testMatch": [
"<rootDir>/src/**/__tests__/**/*.js?(x)",
"<rootDir>/src/**/?(*.)(spec|test).js?(x)"
Expand Down
15 changes: 10 additions & 5 deletions src/Components/BackButton/BackButton.jsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
import React from 'react';
import PropTypes from 'prop-types';
import FontAwesome from 'react-fontawesome';
import { connect } from 'react-redux';
import { withRouter } from 'react-router';
import { getLastRouteLink } from '../../actions/routerLocations';
import { ROUTER_LOCATIONS } from '../../Constants/PropTypes';

const BackButton = ({ routerLocations }) => {
const goBackLink = getLastRouteLink(routerLocations);
export const BackButton = ({ routerLocations, location, ignoreCurrentPath }) => {
const { text, distance } = getLastRouteLink(routerLocations, location, ignoreCurrentPath);
return (
goBackLink.text ?
text ?
<button
className="button-back-link usa-button-secondary"
tabIndex="0"
role="link"
onClick={() => window.history.back()}
onClick={() => window.history.go(-(distance))}
>
<FontAwesome name="arrow-left" />
{goBackLink.text}
{text}
</button>
:
null
Expand All @@ -25,10 +26,14 @@ const BackButton = ({ routerLocations }) => {

BackButton.propTypes = {
routerLocations: ROUTER_LOCATIONS,
location: PropTypes.shape({}),
ignoreCurrentPath: PropTypes.bool,
};

BackButton.defaultProps = {
routerLocations: [],
location: {},
ignoreCurrentPath: false,
};

const mapStateToProps = state => ({
Expand Down
27 changes: 17 additions & 10 deletions src/Components/BackButton/BackButton.test.jsx
Original file line number Diff line number Diff line change
@@ -1,47 +1,54 @@
import React from 'react';
import sinon from 'sinon';
import { shallow } from 'enzyme';
import toJSON from 'enzyme-to-json';
import TestUtils from 'react-dom/test-utils';
import { Provider } from 'react-redux';
import configureStore from 'redux-mock-store';
import thunk from 'redux-thunk';
import { MemoryRouter } from 'react-router-dom';
import toJSON from 'enzyme-to-json';
import BackButton from './BackButton';
import BackButtonContainer, { BackButton } from './BackButton';

const middlewares = [thunk];
const mockStore = configureStore(middlewares);

describe('BackButton', () => {
const props = {
routerLocations: [
{ pathname: '/' },
{ pathname: '/results' },
{ pathname: '/results', search: '?q=', hash: '', state: undefined, key: 'dudni5' },
{ pathname: '/compare/58312870,58312869', search: '', hash: '', state: undefined, key: 't0s36f' },
],
location: { pathname: '/compare/58312870,58312869', search: '', hash: '', key: 't0s36f' },
ignoreCurrentPath: true,
};

it('is defined', () => {
const wrapper = shallow(<BackButton {...props} />);
expect(wrapper).toBeDefined();
});

it('is defined when connected', () => {
const wrapper = TestUtils.renderIntoDocument(<Provider store={mockStore({})}><MemoryRouter>
<BackButton {...props} />
<BackButtonContainer {...props} />
</MemoryRouter></Provider>);
expect(wrapper).toBeDefined();
});

it('renders the button', () => {
const wrapper = shallow(<BackButton.WrappedComponent {...props} />);
const wrapper = shallow(<BackButton {...props} />);
expect(wrapper.find('.button-back-link').exists()).toBe(true);
});

it('calls window.history.back on click', () => {
const wrapper = shallow(<BackButton.WrappedComponent {...props} />);
it('calls window.history.go on click', () => {
const wrapper = shallow(<BackButton {...props} />);
const spy = sinon.spy();
window.history.back = spy;
window.history.go = spy;
expect(wrapper.find('button').simulate('click'));
sinon.assert.calledOnce(spy);
});

it('matches snapshot', () => {
const wrapper = shallow(<BackButton.WrappedComponent {...props} />);
const wrapper = shallow(<BackButton {...props} />);
expect(toJSON(wrapper)).toMatchSnapshot();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ exports[`BackButton matches snapshot 1`] = `
<FontAwesome
name="arrow-left"
/>
Back to Home Page
Back to Search Results
</button>
`;
8 changes: 8 additions & 0 deletions src/Components/BidListMessages/Success.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import React from 'react';
import { Link } from 'react-router-dom';

const Success = () => (
<span>Bid successfully added. <Link to="/profile/bidtracker/">Go to Bid Tracker</Link>.</span>
);

export default Success;
10 changes: 10 additions & 0 deletions src/Components/BidListMessages/Success.test.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { shallow } from 'enzyme';
import React from 'react';
import Success from './Success';

describe('Success', () => {
it('is defined', () => {
const wrapper = shallow(<Success />);
expect(wrapper).toBeDefined();
});
});
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ exports[`BidControlsComponent matches snapshot when isLoading is false 1`] = `
},
]
}
transformValue={[Function]}
/>
<ResultsViewBy
initial="card"
Expand Down Expand Up @@ -85,6 +86,7 @@ exports[`BidControlsComponent matches snapshot when isLoading is true 1`] = `
},
]
}
transformValue={[Function]}
/>
<ResultsViewBy
initial="card"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ exports[`BidderPortfolioSearchComponent matches snapshot 1`] = `
onFilterChange={[Function]}
onUpdate={[Function]}
placeholder="Search Bidder Last Name, Skill"
searchBarDisabled={false}
searchBarDisabledPlaceholder="Free text search is unavailable when searching Projected Vacancies"
/>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from 'react';
import { Link } from 'react-router-dom';
import { get, orderBy } from 'lodash';
import FA from 'react-fontawesome';
import { BIDDER_OBJECT } from '../../../Constants/PropTypes';
import BoxShadow from '../../BoxShadow';
import SkillCodeList from '../../SkillCodeList';
import { getPostName } from '../../../utilities';
import { NO_POST, NO_GRADE } from '../../../Constants/SystemMessages';
import ClientBadgeList from '../ClientBadgeList';
import StaticDevContent from '../../StaticDevContent';
import SearchAsClientButton from '../SearchAsClientButton';
import LinkButton from '../../LinkButton';

const BidderPortfolioStatCard = ({ userProfile }) => {
const sortedAssignments = orderBy(userProfile.assignments, 'start_date', 'desc');
Expand All @@ -19,10 +19,7 @@ const BidderPortfolioStatCard = ({ userProfile }) => {
<div className="bidder-portfolio-stat-card-top">
<div>
<h3>
<Link to={`/profile/public/${userProfile.id}`}>
{`${userProfile.user.first_name} ${userProfile.user.last_name}`}
<FA name="angle-right" />
</Link>
{`${userProfile.user.first_name} ${userProfile.user.last_name}`}
</h3>
</div>
<div className="stat-card-data-point">
Expand All @@ -37,7 +34,7 @@ const BidderPortfolioStatCard = ({ userProfile }) => {
</div>
<div className="bidder-portfolio-stat-card-bottom">
<div>
<span>Updates</span>
<span className="updates">Updates</span>
<StaticDevContent>
<ClientBadgeList
statuses={{
Expand All @@ -49,6 +46,10 @@ const BidderPortfolioStatCard = ({ userProfile }) => {
/>
</StaticDevContent>
</div>
<div className="button-container" style={{ display: 'flex', flexDirection: 'row', justifyContent: 'space-between' }}>
<LinkButton toLink={`/profile/public/${userProfile.id}`} className="usa-button-secondary">View Profile</LinkButton>
<SearchAsClientButton id={userProfile.id} />
</div>
</div>
</BoxShadow>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,7 @@ exports[`BidderPortfolioStatCard matches snapshot 1`] = `
>
<div>
<h3>
<Link
replace={false}
to="/profile/public/5"
>
Kara Batisak
<FontAwesome
name="angle-right"
/>
</Link>
Kara Batisak
</h3>
</div>
<div
Expand Down Expand Up @@ -74,7 +66,9 @@ exports[`BidderPortfolioStatCard matches snapshot 1`] = `
className="bidder-portfolio-stat-card-bottom"
>
<div>
<span>
<span
className="updates"
>
Updates
</span>
<Connect(StaticDevContent)>
Expand All @@ -90,6 +84,28 @@ exports[`BidderPortfolioStatCard matches snapshot 1`] = `
/>
</Connect(StaticDevContent)>
</div>
<div
className="button-container"
style={
Object {
"display": "flex",
"flexDirection": "row",
"justifyContent": "space-between",
}
}
>
<LinkButton
className="usa-button-secondary"
isExternal={false}
toLink="/profile/public/5"
useDefaultClass={true}
>
View Profile
</LinkButton>
<Connect(withRouter(SearchAsClientButton))
id={5}
/>
</div>
</div>
</BoxShadow>
`;
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import StaticDevContent from '../../StaticDevContent';
import LinkButton from '../../LinkButton';
import Avatar from '../../Avatar';
import CheckboxList from '../CheckboxList';
import SearchAsClientButton from '../SearchAsClientButton';

const BidderPortfolioStatRow = ({ userProfile, showEdit }) => {
const sortedAssignments = orderBy(userProfile.assignments, 'start_date', 'desc');
Expand Down Expand Up @@ -57,8 +58,9 @@ const BidderPortfolioStatRow = ({ userProfile, showEdit }) => {
}
{
!showEdit &&
<div>
<div className="button-container">
<LinkButton className="usa-button-secondary" toLink={`/profile/public/${userProfile.id}`}>View Details</LinkButton>
<SearchAsClientButton id={userProfile.id} />
</div>
}
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ exports[`BidderPortfolioStatRow matches snapshot 1`] = `
/>
</Connect(StaticDevContent)>
</div>
<div>
<div
className="button-container"
>
<LinkButton
className="usa-button-secondary"
isExternal={false}
Expand All @@ -87,6 +89,9 @@ exports[`BidderPortfolioStatRow matches snapshot 1`] = `
>
View Details
</LinkButton>
<Connect(withRouter(SearchAsClientButton))
id={5}
/>
</div>
</div>
`;
7 changes: 3 additions & 4 deletions src/Components/BidderPortfolio/ExportLink/ExportLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { CSVLink } from 'react-csv';
import { get } from 'lodash';
import { bidderPortfolioFetchDataFromLastQuery } from '../../../actions/bidderPortfolio';
import { EMPTY_FUNCTION } from '../../../Constants/PropTypes';
import ExportButton from '../../ExportButton';

// Mapping columns to data fields
const HEADERS = [
Expand Down Expand Up @@ -72,10 +73,8 @@ export class ExportLink extends Component {
const { data, isLoading } = this.state;
return (
<div className="export-button-container">
<button className="usa-button-secondary" onClick={this.onClick}>
{isLoading && <span className="ds-c-spinner spinner-blue" />}<span>Export</span>
</button>
<CSVLink ref={this.setCsvRef} target="_blank" filename={this.props.filename} data={data} headers={HEADERS} />
<ExportButton onClick={this.onClick} isLoading={isLoading} />
<CSVLink tabIndex="-1" ref={this.setCsvRef} target="_blank" filename={this.props.filename} data={data} headers={HEADERS} />
</div>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ describe('SearchResultsExportLink', () => {
it('calls onClick on button click', () => {
const wrapper = shallow(<ExportLink />);
expect(wrapper.instance().state.isLoading).toBe(false);
wrapper.find('button').simulate('click');
wrapper.find('ExportButton').props().onClick();
expect(wrapper.instance().state.isLoading).toBe(true);
});

Expand Down
Loading