Skip to content

Replace the save button with the button component with a loading state viarant #7385

@jldec

Description

@jldec
Contributor

The initial Beta implementation (PR #7337) of Dotfiles support uses a simple text input for users to configure the URL of their dotfiles repository.

This issue defines a repo-selection UI to make this process more friendly by allowing users to search for and select their dotfiles repo without leaving the dashboard.

Proposed specifiication

  • Select any repo under your personal account (users must clone first if they want to use a 3rd-party dotfiles repo).
  • Choose from repos from any existing git provider integration.
  • Don't offer to add new git provider integrations inside the repo selection flow, instead link to the main integrations setttings page (leaving the flow).

Activity

self-assigned this
on Dec 29, 2021
moved this to In Design in 🍎 WebApp Teamon Dec 30, 2021
moved this from In Design to Scheduled in 🍎 WebApp Teamon Dec 30, 2021
moved this from Scheduled to In Design in 🍎 WebApp Teamon Dec 30, 2021
PatMyron

PatMyron commented on Jan 12, 2022

@PatMyron

Would love it to default if a repo is named dotfiles:
#7337 (comment)

moved this from Needs Design to No status in 🍎 WebApp Teamon Jan 17, 2022

6 remaining items

Repository owner moved this from Done to In Progress in 🍎 WebApp Teamon Sep 26, 2022
gtsiolis

gtsiolis commented on Oct 14, 2022

@gtsiolis
Contributor

The UX around setting and managing .dotfiles could definitely benefit from another iteration. ➿

Posting below some early designs from a past exploration:

Disabled .dotfiles Enabled .dotfiles
Disabled Enabled
Preferences (Unset) Preferences (Select)
Empty ModalDefaultAlternative-1
gtsiolis

gtsiolis commented on Jan 5, 2023

@gtsiolis
Contributor

This could probably now re-use the repository selection dropdown from #15287 (comment). We would only need an action to clear the selection. Cc @svenefftinge

BEFORE AFTER
dtofiles-before dtofiles-after
gtsiolis

gtsiolis commented on Mar 23, 2023

@gtsiolis
Contributor

Now that we have a button component with a loading variant (see relevant PR Cc @selfcontained) we could drop and replace that there as the next iteration.

changed the title [-]Repo Selection UI for dotfiles configuration[/-] [+]Replace the save button with the button component with a loading state viarant[/+] on Mar 23, 2023
gtsiolis

gtsiolis commented on Mar 23, 2023

@gtsiolis
Contributor

Re-purposed this issue to something simpler, like replacing the save button with the button with a loading state variant.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @gtsiolis@jldec@loujaybee@PatMyron@geropl

        Issue actions

          Replace the save button with the button component with a loading state viarant · Issue #7385 · gitpod-io/gitpod