Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9353b8e
change postinstall to pre-req (#13)
rohanharikr Jun 4, 2024
8164555
Publisher select fix (#14)
rohanharikr Jul 9, 2024
baede1d
use profile id (#15)
rohanharikr Jul 9, 2024
46dd1a7
fix: doc link
rohanharikr Nov 22, 2024
d0612bc
fix doc link (#16)
rohanharikr Nov 22, 2024
7db5cd3
fix broken link in readme (#17)
rohanharikr Dec 6, 2024
c9cfab3
Common files (#18)
rohanharikr Dec 27, 2024
cfb0c02
add common files (#19)
rohanharikr Dec 27, 2024
f7939b2
fixes (#20)
rohanharikr Dec 27, 2024
bbcabb9
fixes (#21)
rohanharikr Dec 27, 2024
53d4c40
fixes (#22)
rohanharikr Dec 27, 2024
d197145
remove 404 (#23)
rohanharikr Dec 27, 2024
e45273a
test workflow
rohanharikr Dec 31, 2024
878b86a
test commit (#24)
rohanharikr Dec 31, 2024
9e5667d
update workflow
rohanharikr Dec 31, 2024
3609008
cleanup
rohanharikr Dec 31, 2024
792cce7
update workflow
rohanharikr Dec 31, 2024
6b90142
lock ubuntu version
rohanharikr Jan 17, 2025
01b7bb6
Svelte5 (#25)
rohanharikr Jan 21, 2025
1d66d25
update workflows
rohanharikr Jan 23, 2025
cf943c1
remove files (#26)
rohanharikr Feb 7, 2025
2c90ed5
Hash script integrity (#27)
rohanharikr Jul 7, 2025
e8acda9
Hash script integrity (#28)
rohanharikr Jul 7, 2025
64cf721
Update index.html to include 'defer' attribute and specify data-domai…
rohanharikr Jul 7, 2025
149a20f
Fix token endpoint call (#31)
rohanharikr Jul 8, 2025
2ab4a9b
archive beta workflow
rohanharikr Jul 8, 2025
45f5b61
Merge branch 'main' of https://github.com/hellocoop/quickstart into b…
rohanharikr Jul 8, 2025
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
19 changes: 0 additions & 19 deletions .github/workflows/beta.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/beta.yml.ARCHIVE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Quickstart not available in beta

# name: Sync content with S3 Beta

# on:
# workflow_dispatch:
# pull_request_target:
# types: [closed]
# branches: [beta]

# jobs:
# sync:
# if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
# uses: hellocoop/tools/.github/workflows/code-deploy-client.yml@main
# with:
# AWS_ACCOUNT: ${{ vars.HELLO_BETA_AWS }} # set at org level
# STACK: QuickstartStack
# BUILD_CMD: npm run build
# TARGET_BRANCH: beta
# DOMAIN: quickstart.hello-beta.net # for version comparison
# BUILD_DIR: ./S3
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quickstart",
"version": "2025.7.1",
"version": "2025.7.2",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down Expand Up @@ -32,4 +32,4 @@
"tailwindcss": "^3.4.17",
"vite": "^6.0.10"
}
}
}
8 changes: 7 additions & 1 deletion src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,16 @@
if (code) {
try {
const access_token = await getAccessToken(code);
if (!access_token) {
throw new Error('Access token not found');
}
sessionStorage.setItem('access_token', access_token);
} catch (err) {
console.error(err);
return;
global.notification = {
text: 'Something went wrong. Please try again.',
type: 'error'
};
} finally {
cleanUrl();
sessionStorage.removeItem('code_verifier');
Expand Down
3 changes: 3 additions & 0 deletions src/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { ADMIN_SERVER, CONFIG, TOKEN_ENDPOINT } from './constants.js';

const getAccessToken = async (code) => {
const code_verifier = sessionStorage.getItem('code_verifier');
if (!code_verifier) {
throw new Error('Code verifier not found');
}
const params = {
code: code,
client_id: CONFIG.client_id,
Expand Down
4 changes: 3 additions & 1 deletion src/lib/Notification.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
</script>

<div
class="relative flex h-9 flex-shrink-0 items-center justify-center text-sm text-charcoal"
class="relative flex h-9 flex-shrink-0 items-center justify-center text-sm"
class:bg-green-500={global.notification.type === 'success'}
class:text-charcoal={global.notification.type === 'success'}
class:bg-red-500={global.notification.type === 'error'}
class:text-white={global.notification.type === 'error'}
transition:slide
>
{global.notification.text}
Expand Down