Repository navigation
Navigator: published filter in the cloud dataset browser; NDI Cloud login indicator - #373
Merged
Merged
Conversation
Follows NDI-matlab 3f56952 (cloudDatasetBrowser). The browser gains "Include published" and "Include unpublished" checkboxes (both ticked at first) and a Published (Yes/No) column read from each dataset's isPublished flag; an absent flag counts as unpublished. Published also appears in the details and as a Sort by choice, and the status line says "N of M dataset(s) shown." while a filter hides any. New: filter_entries, count_status_text, set_filter, to_flag, yes_no_text, all_entries. Bridge entry synced to 3f56952. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011v7R5uS1zLb3Jzu5Vu23sb
The "MATLAB/Python bridge completeness" check flagged readngrid as drifted: NDI-matlab e3744121e (VH-Lab/NDI-matlab#1229) made readngrid accept a did.file.fileobj as well as a path. Ported: - a did.file.Fileobj that is not open is opened 'rb' and closed after; - one already open, or any open binary file object (what database_openbinarydoc returns), is read from its current position and left open for its owner to close; - an object with only fullpathfilename (cloud CachedBinaryFile) is read by that path. From a file object only prod(data_size) elements are read, as MATLAB does. Bridge entry synced to e3744121e; five new tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011v7R5uS1zLb3Jzu5Vu23sb
test_definitions_validate_or_are_listed failed on CI: vision/speed_tuning_bootstrap: DID:Database:ValidationFieldInteger NDIcalc-vis-matlab 93a1fe7 (VH-Lab/NDIcalc-vis-matlab#109, merged 2026-11-13, after main's last green run) made the definition inherit ngrid, whose blank template fails with that identifier (data/ngrid and neuro/reverse_correlation are listed for the same reason). Record it in KNOWN_UNVALIDATABLE_FROM_DEPENDENCIES; the gate still fails if the identifier changes or upstream fixes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011v7R5uS1zLb3Jzu5Vu23sb
Follows NDI-matlab 579176c88. The NDI Cloud pane's header gains a small indicator button, left of the reload button: green (check) when NDI_CLOUD_TOKEN holds an unexpired token, yellow (circle) when the current or default profile has an email and stored password (or NDI_CLOUD_USERNAME/NDI_CLOUD_PASSWORD are set), red (cross) when nothing is configured. Hovering explains the state; clicking opens the profile editor. A QTimer parented to the indicator re-checks every 30 s; the state is also re-read when the editor closes, after logout and on refresh. New: describe_login, login_status, duration_text, update_login_indicator; cloud_colors gains alert_red/alertRed. Bridge entries cloudPane and cloudColors synced to 579176c88; CHANGELOG. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011v7R5uS1zLb3Jzu5Vu23sb
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Ports VH-Lab/NDI-matlab#1256.
1. Cloud dataset browser: filter by published state (NDI-matlab
3f56952)isPublishedflag; absent counts as unpublished. Also in the details text and the "Sort by" choices.set_filterkeepsall_entriesso sorting and re-filtering never lose rows.filter_entries,count_status_text,set_filter,to_flag,yes_no_text.2. NDI Cloud login indicator (NDI-matlab
579176c88)The NDI Cloud pane (
ndi.gui.nav.cloud_pane) gains a small indicator button: green ✓ when logged in (an unexpiredNDI_CLOUD_TOKEN), yellow ○ when the current/default profile has an email and stored password (orNDI_CLOUD_USERNAME/NDI_CLOUD_PASSWORDare set), red ✕ when nothing is configured. Hovering explains the state; clicking opens the profile editor. AQTimerparented to the indicator re-checks every 30 s; it also re-reads when the editor window closes, after logout and on refresh.New:
describe_login,login_status,duration_text,update_login_indicator;cloud_colorsgainsalert_red/alertRed.Bridge:
cloudDatasetBrowsersynced to3f56952;cloudPaneandcloudColorssynced to579176c88, with name mappings in theirdecision_logs. CHANGELOG updated.Also: two CI fixes for drift that
mainhas tooreadngrid(commit80c3655): NDI-matlabe3744121e(readngrid: read from did.file.fileobj objects and N-dimensional sizes VH-Lab/NDI-matlab#1229) made it accept adid.file.fileobjas well as a path. Ported: an unopeneddid.file.Fileobjis opened'rb'and closed after; an open one, or any open binary file object (whatdatabase_openbinarydocreturns), is read from its position and left open; an object with onlyfullpathfilenameis read by that path. Bridge entry synced toe3744121e.speed_tuning_bootstrap(commit6a5a334): NDIcalc-vis-matlab now makes this definition inheritngrid, whose blank template fails withValidationFieldInteger(asdata/ngridandneuro/reverse_correlationalready do). Listed inKNOWN_UNVALIDATABLE_FROM_DEPENDENCIES; the test still fails if the error changes or upstream fixes it.Testing
tests/test_gui_nav_cloud_dataset_browser.py: 18 passed locally (offscreen Qt), including 4 new tests.tests/test_gui_nav_cloud_pane.py: new tests for all three login states, the glyphs, duration text,login_statusreading a real/expired/garbage token and profiles (including an unreadable secret), logout updating the state, and the indicator in a real navigator (width, glyph, tooltip, timer running, click opens the editor). Rendered offscreen: green ✓, yellow ○ and red ✕ all draw correctly.tests/test_fun_data_ngrid.py: 5 new file-object tests pass.black --checkandruff checkclean.🤖 Generated with Claude Code
https://claude.ai/code/session_011v7R5uS1zLb3Jzu5Vu23sb