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

Marker generator #125

Merged
merged 40 commits into from
Jan 3, 2021
Merged
Show file tree
Hide file tree
Changes from 39 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
b4e4cb0
Add library for creating barcode markers
floogulinc Aug 9, 2020
fea4f12
Create types for barcode marker generator from library
floogulinc Aug 9, 2020
d915dd4
Create marker generator page
floogulinc Aug 9, 2020
53857d8
Fix typo in barcode marker generator type
floogulinc Aug 9, 2020
f5b5dee
Add basic demo of generating barcodes
floogulinc Aug 9, 2020
318031a
Write custom version of the barcode generator that allows for custom …
floogulinc Aug 9, 2020
38caa03
Install pdfmake
floogulinc Aug 9, 2020
137330e
Use pdfmake to output a pdf with the barcode
floogulinc Aug 9, 2020
de6a0e3
Add download pdf button to marker generator demo
floogulinc Aug 9, 2020
17493ad
Merge remote-tracking branch 'origin/master' into marker-generator
floogulinc Dec 25, 2020
a5e9974
npm install to fix package.json after merge
floogulinc Dec 25, 2020
ff1645e
Work on generating multi-page PDFs of markers
floogulinc Dec 25, 2020
40cf616
Refactor some marker generation functions
floogulinc Dec 25, 2020
12122d3
Remove unused imports in marker-generator component
floogulinc Dec 25, 2020
66f42fa
Optimize bee icon SVG
floogulinc Dec 26, 2020
79f8293
Work on styling the PDF output
floogulinc Dec 26, 2020
7c6129b
Use self-hosted Roboto font
floogulinc Dec 26, 2020
c783781
Add metadata to marker PDFs
floogulinc Dec 26, 2020
211322a
Put together basic form for generating markers
floogulinc Dec 27, 2020
bad19bd
Set filename for downloaded PDF
floogulinc Dec 27, 2020
d3eebe6
Add validation message to number of nests input
floogulinc Dec 27, 2020
30b391c
Clean up the buttons on the markers form
floogulinc Dec 27, 2020
31aed90
Add link to the marker generator to the home page
floogulinc Dec 27, 2020
fe45998
Remove old console logs and comments
floogulinc Dec 27, 2020
ba41bdd
Add additional paper sizes and orientation option
floogulinc Dec 27, 2020
ad8271d
Improve marker PDF layout, emphasize marker number and type
floogulinc Dec 27, 2020
16f14e0
Add 4x6in size option
floogulinc Dec 27, 2020
f139df7
Merge branch 'master' into marker-generator
floogulinc Dec 30, 2020
aacf50d
Add checkbox for nest markers and switch flower markers to checkbox
floogulinc Dec 30, 2020
521aef8
Add "ISO" to ISO page sizes
floogulinc Dec 30, 2020
c702cf0
Add "Landscape (2 per page)" page orientation option
floogulinc Dec 30, 2020
38d8594
Stack "Buzz About Markers" text on marker pages
floogulinc Dec 30, 2020
22dfb0c
Add GH Actions job that runs the prod build
floogulinc Dec 30, 2020
727f8c5
Remove unneeded wrapping from pageOrientationControl's default value
floogulinc Dec 30, 2020
0945c42
Update pdfmake
floogulinc Dec 30, 2020
9db1f06
Tweak compareOrientationAndNumPerPage function
floogulinc Dec 30, 2020
31c3ede
Reformat parts of marker-generator component
floogulinc Dec 30, 2020
1733039
Fix download icon
floogulinc Dec 31, 2020
15d5b43
Apply suggestions from code review
floogulinc Jan 3, 2021
6e0739b
Correct logic for adding blanks sections when numPerPage > 1
floogulinc Jan 3, 2021
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
26 changes: 26 additions & 0 deletions .github/workflows/angular-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,29 @@ jobs:
CYPRESS_INSTALL_BINARY: 0
- name: Lint (npm run lint)
run: npm run lint

ng-build-prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: 'https://npm.pkg.github.com'
scope: '@mn-pollinators'
- name: Install dependencies (npm ci)
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_INSTALL_BINARY: 0
- name: Build (npm run build)
run: npm run build -- --prod
Loading