Skip to content

feat: add empty welcome view#500

Merged
cguedes merged 6 commits into
mainfrom
499-add-empty-welcome-screen-view
Sep 6, 2023
Merged

feat: add empty welcome view#500
cguedes merged 6 commits into
mainfrom
499-add-empty-welcome-screen-view

Conversation

@sehyod

@sehyod sehyod commented Sep 6, 2023

Copy link
Copy Markdown
Collaborator

This implements the empty view for the welcome screen (when the user has no project)
This loads the list of projects in an atom during app startup, so that the list is already available when displaying the welcome view

image

Closes #499

@sehyod sehyod requested a review from cguedes September 6, 2023 09:11
@codecov

codecov Bot commented Sep 6, 2023

Copy link
Copy Markdown

Codecov Report

Merging #500 (9414a5a) into main (9f510f9) will increase coverage by 0.08%.
The diff coverage is 50.40%.

@@            Coverage Diff             @@
##             main     #500      +/-   ##
==========================================
+ Coverage   80.70%   80.79%   +0.08%     
==========================================
  Files         201      202       +1     
  Lines       12077    12150      +73     
  Branches     1165     1173       +8     
==========================================
+ Hits         9747     9816      +69     
- Misses       2315     2319       +4     
  Partials       15       15              
Files Changed Coverage Δ
src/application/views/WelcomeView.tsx 0.00% <0.00%> (ø)
src/application/components/icons.tsx 32.35% <15.00%> (+13.60%) ⬆️
src/application/listeners/projectEventListeners.ts 40.38% <40.00%> (-0.02%) ⬇️
src/AppStartup.tsx 92.95% <100.00%> (+2.33%) ⬆️
src/application/components/ProjectsList.tsx 100.00% <100.00%> (ø)
src/atoms/projectState.ts 72.94% <100.00%> (+0.98%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sehyod sehyod changed the title feat: add empty welcome screen view feat: add empty welcome view Sep 6, 2023

@cguedes cguedes left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Added two notes about refresh of the projects atom and for the ProjectsList component

Comment thread src/application/views/WelcomeView.tsx
Comment thread src/application/components/ProjectsList.tsx Outdated
@cguedes cguedes merged commit 6b06f42 into main Sep 6, 2023
@cguedes cguedes deleted the 499-add-empty-welcome-screen-view branch September 6, 2023 10:43
cguedes pushed a commit that referenced this pull request Sep 6, 2023
This removes the left buttons in the empty welcome screen:
This also removes the Tips&Tricks collapsible in the default view:
Finally, this refreshes the allProjectsAtom after creating a sample project (this had been forgotten when implementing #500)


* feat: update the welcome view
* chore: remove unused export
* fix: refresh allProjectsAtom after creating sample project
* chore: improve type
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.

Add empty welcome screen view

2 participants