-
Notifications
You must be signed in to change notification settings - Fork 0
AP-7881 # remove webpack in place of vite #591
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
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
bdb0b79
AP-7881 # remove webpack in place of vite
divporter 00214a1
AP-7881 # move dev entry point to dev.tsx
divporter 1fe768d
AP-7881 # minor update to contributing and move html files from publi…
divporter f567e0b
AP-7881 # remove unused package
divporter f9bb196
AP-7881 # remove pointless chunking
divporter 1d8664a
AP-7881 # remove static directory prop
divporter File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta | ||
| name="viewport" | ||
| content="width=device-width, initial-scale=1, maximum-scale=5" | ||
| /> | ||
|
|
||
| <!-- Must include Material Icons which are used by Form --> | ||
| <link | ||
| rel="stylesheet" | ||
| href="https://fonts.googleapis.com/icon?family=Material+Icons" | ||
| /> | ||
|
|
||
| <script type="module" src="./src/dev.tsx"></script> | ||
| <script | ||
| charset="utf-8" | ||
| type="text/javascript" | ||
| src="./public/configuration.js" | ||
| ></script> | ||
| <script> | ||
| window.addEventListener('load', function (event) { | ||
| OneBlinkForms.renderCalendarBookingCancelForm({ | ||
| selector: '#oneblink-calendar-booking-cancel-form', | ||
| formsAppId: window.__DEVELOPMENT_FORMS_APP_ID__, | ||
| }) | ||
| }) | ||
| </script> | ||
|
|
||
| <style> | ||
| html, | ||
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| /* Styles to center form */ | ||
| #oneblink-calendar-booking-cancel-form { | ||
| padding: 30px; | ||
| } | ||
|
|
||
| nylas-scheduling { | ||
| margin: auto; | ||
| } | ||
|
|
||
| /* Styles to prove @oneblink/apps-react styles are contained */ | ||
| .button { | ||
| background: blue; | ||
| color: white; | ||
| } | ||
|
|
||
| .footer, | ||
| .hero { | ||
| background: lightblue; | ||
| height: 300px; | ||
| display: flex; | ||
| align-items: center; | ||
| padding: 50px; | ||
| } | ||
|
|
||
| .hero { | ||
| margin-bottom: 50px; | ||
| } | ||
|
|
||
| .footer { | ||
| margin-top: 50px; | ||
| } | ||
| </style> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="hero"> | ||
| <div> | ||
| <h1>Best Website Ever!!!</h1> | ||
| <h3>Well, it would be if more people thought it was good...</h3> | ||
| <button class="button">My .button Class</button> | ||
| </div> | ||
| </div> | ||
| <div id="oneblink-calendar-booking-cancel-form"></div> | ||
| <div class="footer"> | ||
| <div> | ||
| <h3>OK, I lied, it's not as good as I want it to be...</h3> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta | ||
| name="viewport" | ||
| content="width=device-width, initial-scale=1, maximum-scale=5" | ||
| /> | ||
|
|
||
| <!-- Must include Material Icons which are used by Form --> | ||
| <link | ||
| rel="stylesheet" | ||
| href="https://fonts.googleapis.com/icon?family=Material+Icons" | ||
| /> | ||
|
|
||
| <script type="module" src="./src/dev.tsx"></script> | ||
| <script | ||
| charset="utf-8" | ||
| type="text/javascript" | ||
| src="./public/configuration.js" | ||
| ></script> | ||
| <script> | ||
| window.addEventListener('load', function (event) { | ||
| OneBlinkForms.renderCalendarBookingForm({ | ||
| selector: '#oneblink-calendar-booking-form', | ||
| formsAppId: window.__DEVELOPMENT_FORMS_APP_ID__, | ||
| doneRedirectUrl: | ||
| window.__DEVELOPMENT_SUBMISSION_REDIRECT_URL__ || | ||
| 'https://google.com.au', | ||
| }) | ||
| }) | ||
| </script> | ||
|
|
||
| <style> | ||
| html, | ||
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| /* Styles to center form */ | ||
| #oneblink-calendar-booking-form { | ||
| padding: 30px; | ||
| } | ||
|
|
||
| nylas-scheduling { | ||
| margin: auto; | ||
| } | ||
|
|
||
| /* Styles to prove @oneblink/apps-react styles are contained */ | ||
| .button { | ||
| background: blue; | ||
| color: white; | ||
| } | ||
|
|
||
| .footer, | ||
| .hero { | ||
| background: lightblue; | ||
| height: 300px; | ||
| display: flex; | ||
| align-items: center; | ||
| padding: 50px; | ||
| } | ||
|
|
||
| .hero { | ||
| margin-bottom: 50px; | ||
| } | ||
|
|
||
| .footer { | ||
| margin-top: 50px; | ||
| } | ||
| </style> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="hero"> | ||
| <div> | ||
| <h1>Best Website Ever!!!</h1> | ||
| <h3>Well, it would be if more people thought it was good...</h3> | ||
| <button class="button">My .button Class</button> | ||
| </div> | ||
| </div> | ||
| <div id="oneblink-calendar-booking-form"></div> | ||
| <div class="footer"> | ||
| <div> | ||
| <h3>OK, I lied, it's not as good as I want it to be...</h3> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta | ||
| name="viewport" | ||
| content="width=device-width, initial-scale=1, maximum-scale=5" | ||
| /> | ||
|
|
||
| <!-- Must include Material Icons which are used by Form --> | ||
| <link | ||
| rel="stylesheet" | ||
| href="https://fonts.googleapis.com/icon?family=Material+Icons" | ||
| /> | ||
|
|
||
| <script type="module" src="./src/dev.tsx"></script> | ||
| <script | ||
| charset="utf-8" | ||
| type="text/javascript" | ||
| src="./public/configuration.js" | ||
| ></script> | ||
| <script> | ||
| window.addEventListener('load', function (event) { | ||
| OneBlinkForms.renderCalendarBookingRescheduleForm({ | ||
| selector: '#oneblink-calendar-booking-reschedule-form', | ||
| formsAppId: window.__DEVELOPMENT_FORMS_APP_ID__, | ||
| }) | ||
| }) | ||
| </script> | ||
|
|
||
| <style> | ||
| html, | ||
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| /* Styles to center form */ | ||
| #oneblink-calendar-booking-reschedule-form { | ||
| padding: 30px; | ||
| } | ||
|
|
||
| nylas-scheduling { | ||
| margin: auto; | ||
| } | ||
|
|
||
| /* Styles to prove @oneblink/apps-react styles are contained */ | ||
| .button { | ||
| background: blue; | ||
| color: white; | ||
| } | ||
|
|
||
| .footer, | ||
| .hero { | ||
| background: lightblue; | ||
| height: 300px; | ||
| display: flex; | ||
| align-items: center; | ||
| padding: 50px; | ||
| } | ||
|
|
||
| .hero { | ||
| margin-bottom: 50px; | ||
| } | ||
|
|
||
| .footer { | ||
| margin-top: 50px; | ||
| } | ||
| </style> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="hero"> | ||
| <div> | ||
| <h1>Best Website Ever!!!</h1> | ||
| <h3>Well, it would be if more people thought it was good...</h3> | ||
| <button class="button">My .button Class</button> | ||
| </div> | ||
| </div> | ||
| <div id="oneblink-calendar-booking-reschedule-form"></div> | ||
| <div class="footer"> | ||
| <div> | ||
| <h3>OK, I lied, it's not as good as I want it to be...</h3> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,112 @@ | ||
| <html> | ||
| <head> | ||
| <meta charset="utf-8" /> | ||
| <meta | ||
| name="viewport" | ||
| content="width=device-width, initial-scale=1, maximum-scale=5" | ||
| /> | ||
|
|
||
| <!-- Must include Material Icons which are used by Form --> | ||
| <link | ||
| rel="stylesheet" | ||
| href="https://fonts.googleapis.com/icon?family=Material+Icons" | ||
| /> | ||
|
|
||
| <script charset="utf-8" type="module" src="./src/dev.tsx"></script> | ||
| <script | ||
| charset="utf-8" | ||
| type="text/javascript" | ||
| src="./public/configuration.js" | ||
| ></script> | ||
| <script> | ||
| if (typeof window.__DEVELOPMENT_FORM_ID__ !== 'number') { | ||
| throw new Error( | ||
| '"window.__DEVELOPMENT_FORM_ID__" must be set to run locally. See CONTRIBUTING.md for more details', | ||
| ) | ||
| } | ||
| if (typeof window.__DEVELOPMENT_FORMS_APP_ID__ !== 'number') { | ||
| throw new Error( | ||
| '"window.__DEVELOPMENT_FORMS_APP_ID__" must be set to run locally. See CONTRIBUTING.md for more details', | ||
| ) | ||
| } | ||
| window.addEventListener('load', function (event) { | ||
| OneBlinkForms.render({ | ||
| formId: window.__DEVELOPMENT_FORM_ID__, | ||
| formsAppId: window.__DEVELOPMENT_FORMS_APP_ID__, | ||
| selector: '#form', | ||
| submissionRedirectUrl: | ||
| window.__DEVELOPMENT_SUBMISSION_REDIRECT_URL__ || | ||
| 'https://google.com.au', | ||
| cancelRedirectUrl: | ||
| window.__DEVELOPMENT_CANCEL_REDIRECT_URL__ || | ||
| 'https://google.com.au', | ||
| paymentReceiptUrl: | ||
| window.__DEVELOPMENT_PAYMENT_RECEIPT_URL__ || | ||
| `${window.location.origin}/payment-receipt.html`, | ||
| paymentFormUrl: | ||
| window.__DEVELOPMENT_PAYMENT_FORM_URL__ || | ||
| `${window.location.origin}/payment-form.html`, | ||
| calendarBookingFormUrl: `${window.location.origin}/calendar-booking-form.html`, | ||
| calendarBookingRescheduleFormUrl: `${window.location.origin}/calendar-booking-reschedule-form.html`, | ||
| calendarBookingCancelFormUrl: `${window.location.origin}/calendar-booking-cancel-form.html`, | ||
| externalId: window.__DEVELOPMENT_EXTERNAL_ID__, | ||
| token: window.__DEVELOPMENT_TOKEN__, | ||
| }) | ||
| }) | ||
| </script> | ||
|
|
||
| <style> | ||
| html, | ||
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
| } | ||
|
|
||
| /* Styles to center form */ | ||
| #form { | ||
| padding: 30px; | ||
| max-width: 800px; | ||
| margin: auto; | ||
| } | ||
|
|
||
| /* Styles to prove @oneblink/apps-react styles are contained */ | ||
| .button { | ||
| background: blue; | ||
| color: white; | ||
| } | ||
|
|
||
| .footer, | ||
| .hero { | ||
| background: lightblue; | ||
| height: 300px; | ||
| display: flex; | ||
| align-items: center; | ||
| padding: 50px; | ||
| } | ||
|
|
||
| .hero { | ||
| margin-bottom: 50px; | ||
| } | ||
|
|
||
| .footer { | ||
| margin-top: 50px; | ||
| } | ||
| </style> | ||
| </head> | ||
|
|
||
| <body> | ||
| <div class="hero"> | ||
| <div> | ||
| <h1>Best Website Ever!!!</h1> | ||
| <h3>Well, it would be if more people thought it was good...</h3> | ||
| <button class="button">My .button Class</button> | ||
| </div> | ||
| </div> | ||
| <div id="form"></div> | ||
| <div class="footer"> | ||
| <div> | ||
| <h3>OK, I lied, it's not as good as I want it to be...</h3> | ||
| </div> | ||
| </div> | ||
| </body> | ||
| </html> | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.