Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Disable sync repos button when nothing selected #17

Merged
merged 25 commits into from
Dec 22, 2022

Conversation

ipauler
Copy link
Contributor

@ipauler ipauler commented Dec 13, 2022

No description provided.

@@ -105,6 +106,9 @@ const Step2 = ({ handleNext, handleBack }: Props) => {
...prevState,
[STEP_KEY]: repos.filter((r) => r.selected).map((r) => r.ref),
}));
setNextButtonDisabled(!repos.filter((r) => r.selected).length);
} else {
setNextButtonDisabled(false);
Copy link
Collaborator

Choose a reason for hiding this comment

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

shouldn't it be disabled when there are no repos?

Comment on lines 105 to 106
// console.log(!repos.length);
// console.log(userRepos);
Copy link
Collaborator

Choose a reason for hiding this comment

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

can be removed

anastasiya1155 and others added 23 commits December 22, 2022 13:50
Co-authored-by: Gabriel Gordon-Hall <ggordonhall@gmail.com>
* Update assets on README, logo and gif demo
* Add new `profiler` profile for better performance work

* Apply suggestions from code review

Co-authored-by: calyptobai <111788964+calyptobai@users.noreply.github.com>

Co-authored-by: calyptobai <111788964+calyptobai@users.noreply.github.com>
* add logo and links to readme

* add release link

* add dummy workflow to get around required checks

* update number of langs supported with precise code nav to account for JSX/TSX

Co-authored-by: Louis Knight-Webb <louis@bloop.ai>
Co-authored-by: Gabriel Gordon-Hall <ggordonhall@gmail.com>
* reveal a file in finder button

* open containing folder instead of a file for linux and windows

* add button to full result sidebar
* clicking on code in ref/def popup scroll this line into view

* remove initial highlight

* add hover effect for code in ref/def tooltip

* bugfix: first char was never highlighted

* fix tooltip tail position

* improve highlight styling

* fix typescript errors
* fix release workflow

* add ignore paths to dummy workflow

Co-authored-by: Gabriel Gordon-Hall <ggordonhall@gmail.com>
* More accurate reporting of searchability

* Better delete & rollback logic

Co-authored-by: Gabriel Gordon-Hall <ggordonhall@gmail.com>
* WIP

* Refactor app navigation, use custom hook with virtual navigation, refactor search page, add full view page

* Cleanup, fix merge conflicts

* Add lang filters on repo view page

* Fix naviagtion issues

* Fix repository page flash on navigation

* Fix gh navigation

* Fix ts errors

* Fix query building for navigation
* add Manage repos button to homescreen

* fix breadcrumbs too short

* show only Readme.md in repo overview

* default to letting use choose which GitHub repos to sync

* add remove repo button

* allow choosing folder every time local repos are added

* case-insensitive Readme.md search
@ipauler ipauler merged commit 0b74af1 into main Dec 22, 2022
@ipauler ipauler deleted the disable-sync-repos-when-nothing-selected branch December 22, 2022 12:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants