Skip to content

I12 async ncpartitioner - #13

Open
QSparks wants to merge 4 commits into
mainfrom
i12-async-ncpartitioner
Open

I12 async ncpartitioner#13
QSparks wants to merge 4 commits into
mainfrom
i12-async-ncpartitioner

Conversation

@QSparks

@QSparks QSparks commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@QSparks
QSparks requested a review from Nospamas June 19, 2026 20:46
@QSparks QSparks self-assigned this Jun 19, 2026
@QSparks
QSparks force-pushed the i12-async-ncpartitioner branch from d01e424 to 49a7e91 Compare June 22, 2026 16:54
@QSparks
QSparks force-pushed the i12-async-ncpartitioner branch 2 times, most recently from 00a3a2e to 5054a6e Compare June 30, 2026 20:53
@QSparks
QSparks force-pushed the i12-async-ncpartitioner branch 4 times, most recently from 2ed1c68 to 3849986 Compare July 9, 2026 16:50
@QSparks
QSparks force-pushed the i12-async-ncpartitioner branch from 3849986 to 6701efb Compare July 9, 2026 17:16
@QSparks
QSparks marked this pull request as ready for review July 27, 2026 21:39

@Nospamas Nospamas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Complex code, nothing stands out as bad though the download.js is getting (perhaps justifiably due to its complexity) large.

Added a note about the use of alert() but otherwise things look good. We've tested this through against the dev copy so I'm happy with this to move through.

}
if (subsetDownloadBtn.disabled) return;
if (!state.currentDataset) return alert('Please select a dataset first');
if (!state.variable) return alert('Could not infer variable for this file.');

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

tend to prefer not to use alert() (or confirm() or input()) in modern javascript, they're synchronous blocking events and somewhat user hostile. Won't fail the review for it, but i'd look at replacing these with inline validation flags, toasts or html modals if needs be.

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