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

Migrate to Next.js #3485

Merged
merged 372 commits into from
Aug 16, 2021
Merged
Changes from 1 commit
Commits
Show all changes
372 commits
Select commit Hold shift + click to select a range
2580419
Basic styling and functionality for menu opening/closing; use state i…
Jun 29, 2021
c852de1
Fix vertical card style
jakeburden Jun 30, 2021
c80a940
Fix background layout colors
jakeburden Jun 30, 2021
67a5a97
Improve fragment importing
Jun 30, 2021
048228f
Only show menu by default on desktop platforms
Jun 30, 2021
bf19970
BlockSwitcher style fixes
Jun 30, 2021
65b3f0a
prettier
Jun 30, 2021
cb9a245
CodeBlock style fix
Jun 30, 2021
3bc01b0
Menu style fixes
Jun 30, 2021
e1c58dc
Layout style fixes
Jul 1, 2021
8ccb97c
Close platform select when changing pages
Jul 1, 2021
e8c06d5
Platform select style fixes
Jul 1, 2021
fe93480
Menu open/close button style fixes
Jul 1, 2021
3cc4893
Set TOC media queries
jakeburden Jul 1, 2021
2506efc
Fix overflow on container
jakeburden Jul 1, 2021
99a5325
Remove top spacing on Menu (needed after fixing horizontal scroll issue)
jakeburden Jul 1, 2021
a45f54a
Fix Container / Layout / Menu / ToC widths and overflows
jakeburden Jul 1, 2021
9301dd3
Override secondary nav div display for shadow style
jakeburden Jul 6, 2021
39c749c
Directory added (fake data, but real styling and functionality)
Jul 6, 2021
1373d34
Repo actions, Discord link added to sidebar menu
Jul 6, 2021
682e829
Fix image sizing
Jul 6, 2021
defb99c
Pass href through RepoActions to avoid "prop not matching" error; mov…
Jul 7, 2021
306b137
Unnecessary import
Jul 7, 2021
a8bbe2d
Make ExternalLink clearer
jakeburden Jul 7, 2021
d250649
Add 404 page with styles
jakeburden Jul 7, 2021
7991efe
Next/previous links
Jul 8, 2021
357b6cc
Set document.title and content header to chapter title
Jul 8, 2021
fc0fe7c
Set TOC anchor on scroll
jakeburden Jul 8, 2021
481fb50
Add highlights to active TOC link
jakeburden Jul 8, 2021
bd8f88f
UI page demo
Jul 9, 2021
7819796
UI VersionSwitcher component; break out FilterSelect into its own dir…
Jul 9, 2021
2e5d696
next/image requires SSR - switching to <img>
jakeburden Jul 9, 2021
a782b7f
Fix elements.css
jakeburden Jul 9, 2021
52f8582
Amplify UI components rendering in docs pages. to add more, add to `…
Jul 10, 2021
82fd303
Fix extra whitespace on AmplifyAuthenticator
Jul 10, 2021
31f0027
Fix directory not updating when switching filter; nextprevious throwi…
Jul 12, 2021
2305774
One more directory bug: don't show group if there are no items
Jul 12, 2021
d27c921
/lib and /ui directory hand-rolled
Jul 13, 2021
99e5420
CLI hand-rolled directory (need to adapt code to handle empty filters…
Jul 13, 2021
d4750f1
Add sidebar menu toggle
jakeburden Jul 13, 2021
c580006
Remove Capi build step
jakeburden Jul 13, 2021
0a9f12b
Attempt to fix static build error if no page meta
jakeburden Jul 13, 2021
b61411c
Revert "Attempt to fix static build error if no page meta"
jakeburden Jul 13, 2021
078a6e0
Only call getChapterDirectory if page has meta
jakeburden Jul 13, 2021
b154622
Change output directory
jakeburden Jul 13, 2021
1c88139
Move next-build directory
jakeburden Jul 13, 2021
46151d6
Assign tracking vars from window
jakeburden Jul 13, 2021
f13bec0
Move scripts to <Head>
jakeburden Jul 13, 2021
5dc2522
Revert "Move scripts to <Head>"
jakeburden Jul 13, 2021
22ff464
Fix transform data import
jakeburden Jul 13, 2021
adc795d
Fix 404 pages by waiting for router to load
Jul 13, 2021
ad7b3f4
Revert "Move next-build directory"
jakeburden Jul 14, 2021
caa2580
Make next-build the base directory
jakeburden Jul 14, 2021
0cf5fd3
Implement Callout component
jakeburden Jul 15, 2021
ab34a50
Migration script (v1) and associated component changes
Jul 15, 2021
6c79898
Migration v2 - create directory to write to; fix product root pages' …
Jul 15, 2021
430958f
Migration script v3...
Jul 16, 2021
95b9329
... and all the new MDX files
Jul 16, 2021
b64b041
Update JS fragment replacement
jakeburden Jul 16, 2021
8defb8d
Fix duplicate indentifiers
jakeburden Jul 16, 2021
21a04b0
Add getting-started pages
jakeburden Jul 16, 2021
844ea47
Make <br> tag self closing
jakeburden Jul 16, 2021
c3a42e9
Internal links + injection, saving/loading filters
Jul 16, 2021
a77d95b
Fix gatherFilters adding empty blank (numerical) filters
Jul 16, 2021
1ff40fe
Replace unclosed br with backslash for new line
jakeburden Jul 16, 2021
5beb266
Fix unclosed line breaks
jakeburden Jul 16, 2021
3a4e1f7
Update pages with migration tweak
jakeburden Jul 16, 2021
772c565
Update content issue in various pages
jakeburden Jul 16, 2021
0da8ef6
Product root url fix, add InternalLink to product root and 2ndary nav
Jul 16, 2021
4180234
Reapply: Update content issue in various pages
jakeburden Jul 16, 2021
c51216f
more of Jake's fixes applied, merge conflicts corrected for real
Jul 17, 2021
69e5b17
Update default exports of Card and Container
jakeburden Jul 19, 2021
aa5a1ff
Generate staticPathMap
jakeburden Jul 19, 2021
151d602
Temporary fix for null-pointer page until rebase
jakeburden Jul 19, 2021
b165270
Skip any pages that we can’t find
jakeburden Jul 19, 2021
75e4b5d
Skip routes with no filters for now
jakeburden Jul 19, 2021
33b57aa
Create static routes for non-filtered pages
jakeburden Jul 19, 2021
726b0aa
Fix missing src
jakeburden Jul 19, 2021
dd1da0c
Update pathmap with no extensions at end of page field
jakeburden Jul 19, 2021
561f0c1
Fix page path field
jakeburden Jul 19, 2021
fa6c4fa
Remove query?
jakeburden Jul 19, 2021
d78f166
Fix broken links on /lib/auth/getting-started
jakeburden Jul 19, 2021
fdaf984
Fix android links
jakeburden Jul 19, 2021
978a2c7
Update JS fragment
jakeburden Jul 19, 2021
a60c2e9
Render 404 page
jakeburden Jul 19, 2021
a502730
Add product routes
jakeburden Jul 19, 2021
827e255
Add /lib
jakeburden Jul 19, 2021
dfe14d3
Add guides index
jakeburden Jul 19, 2021
9b3dae5
Add guides index
jakeburden Jul 19, 2021
5a33955
Meenu should show by default on desktop
Jul 19, 2021
a817f6c
Add fix for cli page
jakeburden Jul 19, 2021
a4c1ea3
Fix ui angular links
jakeburden Jul 19, 2021
309b885
Update 404 page
jakeburden Jul 19, 2021
d354ba1
Update footer
jakeburden Jul 19, 2021
67d8ddb
Update filter button
jakeburden Jul 19, 2021
f802873
Fix start pages
jakeburden Jul 19, 2021
b600f5a
Add trailing slashes
jakeburden Jul 19, 2021
25805b5
Update directory json
jakeburden Jul 20, 2021
c3ac84e
manually add integration links
jakeburden Jul 20, 2021
d5f1150
Add more manual entries
jakeburden Jul 20, 2021
f5045af
Maybe this fixes the start pages
jakeburden Jul 20, 2021
760883e
Remove unused objects in directory
jakeburden Jul 20, 2021
e9a4920
add start items to directory
jakeburden Jul 20, 2021
4336349
Add more menu items for start pages
jakeburden Jul 20, 2021
d878270
Temporarily comment out UI page content
jakeburden Jul 20, 2021
aa38857
Temporarily add extra /start to links
jakeburden Jul 20, 2021
3cea10a
Add some /console pages to directory.js
jakeburden Jul 20, 2021
0aedb9b
Add more console pages
jakeburden Jul 20, 2021
e5b2a77
Fix console links
jakeburden Jul 20, 2021
efd6f78
Add guides to directory
jakeburden Jul 20, 2021
c8c72b2
Fix format of directory.js
jakeburden Jul 20, 2021
4d6955e
Add guide links to directory.js
jakeburden Jul 20, 2021
325c47c
Guides doesn’t need filters
jakeburden Jul 20, 2021
75191d5
Add back filters
jakeburden Jul 20, 2021
afb9274
Add android and ios filters to directory
jakeburden Jul 20, 2021
6662d27
FIx links to guides
jakeburden Jul 20, 2021
7dcb205
Account for nested guides
jakeburden Jul 20, 2021
792c39c
Revert "Account for nested guides"
jakeburden Jul 20, 2021
720a831
Add Card detail styles to Card for migration
jakeburden Jul 21, 2021
d915309
Migration changes: better `hash`ing, fix src paths, fix <br>s, fix mu…
Jul 22, 2021
9ca13b0
Fix styling on secondary nav
Jul 22, 2021
b1ca0b5
Fix guides directory
jakeburden Jul 22, 2021
00937d6
Fix TOC numeric bug
jakeburden Jul 23, 2021
f1f18ca
Fix /start links
jakeburden Jul 23, 2021
3113263
Fix console and CLI
jakeburden Jul 23, 2021
0fbf90e
Fix guides
jakeburden Jul 23, 2021
ea9eb2d
Fix start links
jakeburden Jul 23, 2021
91f533c
Fix many links
jakeburden Jul 23, 2021
1d4e780
Add empty items to guides
jakeburden Jul 23, 2021
a0f8f5a
Remove q framework for adminui
jakeburden Jul 23, 2021
b7ee423
Fix console components
jakeburden Jul 23, 2021
5614e01
API link loads platform from localstorage
Jul 23, 2021
db77341
Typo fix
Jul 23, 2021
983e00a
Fix CodeBlock -> Block
Jul 23, 2021
268716c
Fix `gatherFilters` causing 404s
Jul 23, 2021
0953b37
Migration url and href included
Jul 23, 2021
3870fc2
Fix ~ in inline fragments
Jul 23, 2021
7cbaaea
Fix internal links with code fences inside
Jul 23, 2021
a0e9cd5
ToC fixes: use consistent, unique IDs; don't try to lowercase charact…
Jul 23, 2021
27a3ff7
Clean up ToC code formatting
Jul 23, 2021
ea52ee5
Fix directory capitalization
Jul 23, 2021
060dd0b
Move `start` to end of if/else chain to detect filterKind properly
Jul 23, 2021
3f0e418
Even more robust internal links (`ui` is in `guides`...)
Jul 24, 2021
ff6b0bc
Directory route fix
Jul 26, 2021
7bdddf0
ui-legacy directory and product root move
Jul 26, 2021
a0f283d
SDK directory and productRoot move
Jul 27, 2021
4d5d509
Add all possible filters when there is filter-agnostic content on the…
Jul 27, 2021
d0a6fbb
Add UiComponentProps
jakeburden Jul 28, 2021
bbcbb17
Fix build errors on `/ui` and `/sdk` product roots
Jul 29, 2021
e41fd6e
Remove old ui-component-props comment
jakeburden Jul 28, 2021
af54311
Refactor Layout to better support card select pages
Jul 29, 2021
005d4b3
If there aren't any filters on the page, deduce that the page is a fi…
Jul 29, 2021
2de4e0b
Minor tweaks: guard localStorage accesses, add FilterContent import (…
Jul 29, 2021
b63d908
Fix productRoot check
Jul 29, 2021
3385885
Fix heading generation on pages with ui-component-props
Jul 29, 2021
892973f
Fixes to <meta> tags
Jul 29, 2021
f755a83
Auto-expand /start tutorial menu
Jul 29, 2021
30945db
Fix <meta> change on /cli etc.
Jul 29, 2021
18dcc1c
Fix /cli directories being empty
Jul 29, 2021
0923398
A few changes all related to the path "/cli/start"
Jul 29, 2021
ffb63da
Page to choose filter -- matches non-"q/filter/[filter]" path, lets u…
Jul 29, 2021
8bf11c6
Add UI version switcher to ui/ui-legacy product root `ChooseFilterPage`s
Jul 29, 2021
498598a
Fix missed inline-fragment in auth/getting-started and root cause; de…
Jul 30, 2021
7f2c004
Fix card hrefs
jakeburden Jul 30, 2021
3524b0b
Fix links with .md#
jakeburden Jul 30, 2021
36e715c
Fix build error if chapterDirectory is undefined
jakeburden Jul 30, 2021
ac9aafc
Update migration script to match .md# changes
Jul 30, 2021
ec82f12
Fix directory.js
Jul 30, 2021
3c516fc
Fix more Next/Prev errors on pages without filters
Jul 30, 2021
9a2d04b
Run migration on recently-created file
Jul 30, 2021
aae0102
"type 2 404" where page filter isn't in the list of gathered filters …
Jul 30, 2021
66de84c
Move adminui pages to the correct spot (by running updated migration …
Jul 30, 2021
d4d0e28
Fix header links being broken (/q/platform/[platform]#id instead of /…
Aug 2, 2021
8cab2fe
Alternate fix to InternalLink routes; CSS better (also `a > a` is not…
Aug 2, 2021
37c96b6
Quick fix choosefilterpage in case 2 -- if we're on /q/platform/[unsu…
Aug 2, 2021
377d8f2
Add CLI to exportPathMap
jakeburden Aug 2, 2021
2150410
Quick fix to version switcher not working on product root /ui or /ui-…
Aug 2, 2021
23885c2
Add /start to exportPathMap
jakeburden Aug 3, 2021
10f8053
Quick fix for /start link
jakeburden Aug 3, 2021
7a87a32
hardcode lib platform routes
jakeburden Aug 3, 2021
88ea6de
Fix /lib page objects
jakeburden Aug 4, 2021
2363308
Run migration on lib/storage/copy
Aug 4, 2021
9c0b33c
Fix directory to fix /start/getting-started pages
Aug 4, 2021
abed082
Callout defaults to info if not specified
Aug 4, 2021
77c3560
Adjust Cards in console pages
jakeburden Aug 4, 2021
65f6529
Fix location service directory
Aug 4, 2021
52b7859
Migrate permissions boundary
Aug 4, 2021
0bf0bfa
Fix ui-legacy/interactions (on vue etc.)
Aug 4, 2021
054dd5e
Ionic not supported on getting-started/generate-model
Aug 4, 2021
f6c119d
Display unsupported dropdown filters in grey; take you to ChooseFilte…
Aug 4, 2021
5370cf9
Use state in CodeBlock to display copy confirmation
Aug 4, 2021
3d44e2d
Next/previous should include currently-selected filter
Aug 4, 2021
7a8e536
Use `startsWith` instead of `includes` for far more stable filterKind…
Aug 4, 2021
7b5ad1f
Expand directory on /start product root as well
Aug 4, 2021
89eac8c
Call authenticator component
jakeburden Aug 5, 2021
c6a6470
Call AmplifySignOut component
jakeburden Aug 5, 2021
a80b556
Fix /lib routes that should be /cli
jakeburden Aug 6, 2021
ca1598e
Fix href in card
jakeburden Aug 6, 2021
3b39126
Fix sandbox card
jakeburden Aug 6, 2021
c0c795f
Add lambda-layers-update.mdx
jakeburden Aug 6, 2021
386203a
Add new migrated files
jakeburden Aug 6, 2021
3fb415d
Update migration script
jakeburden Aug 6, 2021
f15c587
Small update to trigger deploy
jakeburden Aug 6, 2021
d0fa76a
Fix CLI geo titles
jakeburden Aug 6, 2021
9b07a02
Fix upgrading path
jakeburden Aug 6, 2021
3cf1d96
Temp remove broken content from list-nullability
jakeburden Aug 6, 2021
9d7be80
Completely remove filter dropdown on non-filter pages so that broken …
Aug 6, 2021
7941ec6
Fix blockswitcher breaking when having only one child (block), manife…
Aug 6, 2021
ca7386d
Fix console error due to `contains` not having a target if we don't r…
Aug 6, 2021
6e14dd1
Fix migration script for ../../images links (-> just /images)
Aug 6, 2021
e411c4b
Update Card with external graphic
jakeburden Aug 6, 2021
81fe75d
Remove margin-top from CodeBlock
jakeburden Aug 6, 2021
8390d2f
Use InternalLink in InternalLinkButton
jakeburden Aug 6, 2021
4b7eaf8
Fix InternalLink button styles
jakeburden Aug 6, 2021
229b1c6
Only show Legacy button if Legacy path exists
jakeburden Aug 7, 2021
c9a4724
Update behavior of ui/ui-legacy switcher
jakeburden Aug 7, 2021
94b1b64
Fix localStorage accesses breaking pages when localStorage not initia…
Aug 7, 2021
fad5ef3
Adjust console cards on mobile
jakeburden Aug 7, 2021
1e6c028
Fix SDK links
jakeburden Aug 9, 2021
214a377
Fix external links in Card
jakeburden Aug 9, 2021
5bc8ef3
Copy `capi` logic to replicate chosen filter across platform/integ/fr…
Aug 9, 2021
67f2334
Also host docsearch locally on this branch
Aug 10, 2021
aa1f86b
Remove global outline: none
jakeburden Aug 10, 2021
7b9d2a6
Fix "full stack" typo
Aug 10, 2021
43d0894
SecondaryNav style matches live; aligned horiz. and vert.
Aug 10, 2021
c604208
fix: Page not loading when hitting the back button after scrolling (w…
Aug 10, 2021
73dae76
package.json typo
Aug 10, 2021
6d90c17
Hand-roll scrolling to id, similar to how `capi` does it, because Nex…
Aug 10, 2021
bd262f1
Fix scrolling to correct hash by handrolling; didn't work on `build` …
Aug 11, 2021
6c099a4
Fix ul and li page styles
jakeburden Aug 12, 2021
aa8b08b
Make ExternalLinks work in markdown content
jakeburden Aug 12, 2021
000492a
Fix broken URLs in link plugin
jakeburden Aug 12, 2021
e331f4c
Fix InternalLinkButton and CTA alignment
jakeburden Aug 12, 2021
5e5ecc5
Quick fix to SecondaryNav active links not showing up -- /lib/ and ot…
Aug 16, 2021
3f4079f
Small content migration
jakeburden Aug 16, 2021
8d676b9
Add content for device features
jakeburden Aug 16, 2021
cf33f72
Expand chapter directory when on unsupported CFP
Aug 16, 2021
7dae4ac
Show FilterSelect on CFP
Aug 16, 2021
260ca48
Show title and chaptertitle with same style as main pages, some copy …
Aug 16, 2021
ece4878
Small fix to filter collection
Aug 16, 2021
b51932d
Special cases: /guides Flutter and /sdk Flutter+JS shouldn't show as …
Aug 16, 2021
05eb25d
Fix content scrunching on mobile with sidebar open
Aug 16, 2021
1267409
Add flutter to device_features
jakeburden Aug 16, 2021
4107194
Initialize new readme update
jakeburden Aug 16, 2021
df0fba9
Get rid of capi-related build steps
Aug 16, 2021
52c986b
Removing capi build steps part 2
Aug 16, 2021
128ca04
Replace build step test with Next.js build
jakeburden Aug 16, 2021
9cf51ef
Remove unused test.yml
jakeburden Aug 16, 2021
b0b117c
LGTM alert fixes
Aug 16, 2021
04f9ac6
Fix FilterSelect dropdown links
Aug 16, 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
Prev Previous commit
Next Next commit
Remove unused test.yml
  • Loading branch information
jakeburden committed Aug 16, 2021
commit 9cf51ef52e423281821c9ed823f43f45d6cbb91b
20 changes: 0 additions & 20 deletions .github/workflows/test.yml

This file was deleted.