Skip to content

Made startup almost instant.#578

Open
dadukhankevin wants to merge 24 commits intomainfrom
daniel/fix_startup
Open

Made startup almost instant.#578
dadukhankevin wants to merge 24 commits intomainfrom
daniel/fix_startup

Conversation

@dadukhankevin
Copy link
Contributor

Every startup item that could be put in the background was.

@dadukhankevin dadukhankevin linked an issue Feb 4, 2026 that may be closed by this pull request
@dadukhankevin dadukhankevin requested a review from TimRl February 4, 2026 04:17
Copy link
Collaborator

@BenjaminScholtens BenjaminScholtens left a comment

Choose a reason for hiding this comment

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

Image

It's a little two fast for the auth extension to be recognized. We need some sort of loading state that shows we are still waiting to confirm that the is there or not there.

dadukhankevin and others added 22 commits February 9, 2026 14:28
…e before execution. Implement logic to delete stale localProjectSwap.json when no active OLD swaps are present and no pending downloads exist. Update type definitions for A/B testing messages to ensure consistency and remove unused properties.
…jectSwap is erased. Update projectSwapManager to treat absent remote projectSwap as an authoritative signal for cleanup. Enhance end-to-end tests to verify local state is correctly managed in response to remote changes.
…to manage server connectivity issues. Update logic to preserve localProjectSwap state when the server is unreachable, preventing unintended cleanup. Implement tests to verify correct behavior in scenarios of server unavailability and swap cancellations, ensuring local metadata reflects remote changes accurately.
…eachable' status, improving clarity in project state management. Update logic to prevent marking projects as orphaned when the server is unreachable, ensuring accurate user feedback. Enhance UI components and tests to reflect this new status, ensuring proper handling in various scenarios, including server connectivity issues.
…ce 'effectiveSyncStatus' to accurately represent project state when offline, preventing destructive actions for orphaned projects. Update UI components to reflect new button labels and enhance tests for project swap scenarios, ensuring proper handling of server connectivity issues.
…teProjects

Introduce a suite of tests to validate the behavior of fetchRemoteMetadata and fetchRemoteProjects under various HTTP error conditions. Each test ensures that specific error responses (e.g., 500, 404, 401, 403, network errors) correctly result in a null return value, indicating server unreachability. This enhances error handling and clarifies the expected behavior when encountering server issues, contributing to more robust project state management.
…uring fixing and swapping processes. Implement message handling in the webview to reflect ongoing operations, ensuring users are informed of the current state. Update ProjectCard component to manage UI states for fixing and swapping, improving user experience during project operations.
…cts (remote or local) when an old project is local with an active swap. This prevents users from bypassing the swap flow and ensures they complete the necessary project transitions. Update filtering rules and comments for clarity on swap behavior.
…tifications. Added logic to check if the current user has already completed a project swap, updating local metadata accordingly. Improved user feedback with warning messages for already swapped projects and adjusted project filtering to prevent showing deprecated projects for users who have completed the swap.
…ers who have completed their swap. This change ensures that the dropdown is only disabled for active swap initiators who have not yet completed the swap, enhancing user experience during project transitions.
…improved user experience during connectivity restoration. Updated handling of API responses to ensure proper error management and state updates in the UI components.
…ons to ensure extensions meet required versions. Added error handling for version checks and integrated remote metadata fetching for enhanced validation. This improves user experience by preventing operations when extensions are outdated.
Co-authored-by: Matthew <matthewthomasx13@gmail.com>
* Squashed commit of the following:

commit 8d600f7
Author: Luke-Bilhorn <luke.bilhorn@my.wheaton.edu>
Date:   Wed Jan 21 15:53:16 2026 -0600

    Fixed project titles in project settings going out of bounds.

commit f462613
Author: Luke-Bilhorn <luke.bilhorn@my.wheaton.edu>
Date:   Wed Jan 21 15:28:24 2026 -0600

    Fixed syncing loading spinner

commit 6cba337
Author: Luke-Bilhorn <luke.bilhorn@my.wheaton.edu>
Date:   Tue Jan 20 00:09:41 2026 -0600

    Temporary changes

* Allow editing of automatic system message generation during project setup

- Create modular SystemMessageStep component for displaying and editing system messages
- Integrate system message generation into InputCriticalProjectInfo flow after language selection
- Add message handlers in StartupFlowProvider for generating and saving system messages
- Update type definitions for new system messages
- Auto-generate system message once both source and target languages are selected
- Allow users to review, edit, and save generated system messages before continuing

* Small changes

* Switch order of System Message Editing and Source Uploading, and fix arising bugs and formatting issues.

- Add message handlers for systemMessage.generate and systemMessage.save
- Fix CSP to allow codicon fonts (fixes icon display)
- Add CSS animation for loading spinners
- Resolves infinite loading and missing icons issues

* Text change

* Small aesthetic changes from Matt's review

* stepping stone

* feat: Auto-generate system message before the user sees the system message screen, and require submission of some message.

- Generate system message automatically when languages are selected
- Save generated message immediately to metadata.json
- Remove skip option - system message is now required
- Disable input while message is loading or generating
- Add overwrite warning when regenerating with existing text
- Load message from metadata when reaching system-message step
- Add metadata.check handler to NewSourceUploaderProvider

* Made the Copilot Settings regenerate button match the generate button.

* - Button name change.

---------

Co-authored-by: Luke Bilhorn <lukebilhorn@Lukes-MacBook-Air.local>
Co-authored-by: Matthew <matthewthomasx13@gmail.com>
* much better search

* removed automated testing, ab tests are better

* much better search

---------

Co-authored-by: LeviXIII <matthewthomasx13@gmail.com>
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.

FastStartup

5 participants