Skip to content

club import fix - #61

Closed
chipShot-exe wants to merge 1 commit into
ChainLynxRobotics:mainfrom
chipShot-exe:feat/club-import-fix
Closed

chipShot-exe wants to merge 1 commit into
ChainLynxRobotics:mainfrom
chipShot-exe:feat/club-import-fix

Conversation

@chipShot-exe

Copy link
Copy Markdown
Contributor

Fix club import so they don't overwrite by default. Replacement for #52 fix miscellaneous issues which is now closed.

@netlify

netlify Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

👷 Deploy request for lhsconnect pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 8cdcb8d

@chipShot-exe chipShot-exe changed the title Feat/club import fix club import fix Oct 23, 2026
@me-it-is
me-it-is force-pushed the feat/club-import-fix branch from c5cdd6f to 8cdcb8d Compare November 7, 2026 21:17

@me-it-is me-it-is left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

More coming when i understand how this works

</div>
</div>
<Checkbox bind:checked={overwriteCheckbox} id="overwrite">
<span class="text-amber-500 dark:text-amber-600">Overwrite existing clubs</span>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amber looks good on light mode but it looks bad on darkmode. maybe a lighter color would work better for darkmode.


let modalOpen = $state(false);

let overwriteCheckbox = $state(false);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overwriteCheckbox sounds like you are over writing a checkbox overwriteClubs would be better

@@ -84,7 +84,7 @@ https://lhs.cx/old-clubs
},
complete() {
notificationContext.show('Imported ' + records.length + ' clubs', 'success');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is no longer accurate to the amount of clubs that are actually imported

}

let { data }: Props = $props();
function handleImport(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function is never used

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants