Skip to content

ASNT-34: Wire cloud-sync xlsx fetch (rows + notes) into the wizard #33

Closed

Description

@devnull03

Overview

Rewire the project-creation wizard's Google Sheet entry path off the legacy CSV fetch onto cloud_sync::fetch_sheet, which returns rows AND cell notes from a single .xlsx download.

Current State

Task Details

  1. Replace fetch_sheet_csv + load_csv_preview in:
    • crates/project-wizard/src/steps/files.rs::check_sheet_link
    • steps/columns.rs::load_config_from_sheet
  2. Map SheetData into existing SpreadsheetPreview (headers/rows)
  3. Decide where extracted notes land:
    • Temp sidecar or extend project manifest?
    • Coordinate with .qrate / column-config tasks
  4. Delete fetch_sheet_csv, cache_path_for, and LEGACY banner from cloud-sync

Definition of Done

  • cargo fmt --check, cargo clippy -D warnings, cargo build, cargo run clean
  • Real public sheet with cell note creates project and note is captured

Depends On

Notion Link

https://app.notion.com/p/39b21d32b13b81b99e78ee733ff1c2c1

Activity

  1. devnull03 commented on Aug 4, 2026

    @devnull03
    OwnerAuthor

    Done. The wizard now fetches through cloud_sync::fetch_sheet on both paths — steps/files.rs::check_sheet_link and steps/columns.rs::load_config_from_sheet — and fetch_sheet_csv/cache_path_for/the LEGACY banner are gone (last touched, and removed, in afc2549; the xlsx path came from 12f85fe and 322beb2, all on main). SheetData maps into SpreadsheetPreview in crates/project-wizard/src/data.rs, resolving note coordinates against the used-range origin and dropping notes outside the imported grid. The extracted notes land in the project manifest: steps/review.rs calls settings::project::write_notes into the .qrate __notes table, from where they surface in the Problems panel — that half is f3f908d on feat/diagnostics (PR #65), not yet merged to main.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions