-
Notifications
You must be signed in to change notification settings - Fork 12
Conversation
Move notification code into globalHooks. Remove duplicate code. Update types.
Add transition to notifBanner.
Update project creation notifications. Clean up code.
WIP: Add missing notifications.
Move useEffects into hooks.
Use notifications for errors directly(when possible). Update some text.
Fix gql error handling. Fix where gql errors were overwritten by other notifications.
Add notifications for dataset import. Add better notif handling for archiving projects. Add notif for plugin installation. Add notif for adding assets.
✔️ Deploy Preview for reearth-web ready! 🔨 Explore the source changes: 8b527c7 🔍 Inspect the deploy log: https://app.netlify.com/sites/reearth-web/deploys/614a9d08209f010007291a59 😎 Browse the preview: https://deploy-preview-73--reearth-web.netlify.app/ |
Codecov Report
@@ Coverage Diff @@
## main #73 +/- ##
==========================================
+ Coverage 57.46% 57.67% +0.20%
==========================================
Files 44 46 +2
Lines 703 730 +27
Branches 104 114 +10
==========================================
+ Hits 404 421 +17
- Misses 257 261 +4
- Partials 42 48 +6
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try to write a component unit test!
Update all imports. Remove notifications README.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you like to write unit tests for Notification component?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Molecules should not be responsible for notifications; please run notifications in organisms. Otherwise, the dependencies between components will become too complex.
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/hooks.ts
Outdated
Show resolved
Hide resolved
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/hooks.ts
Outdated
Show resolved
Hide resolved
src/components/molecules/EarthEditor/DatasetPane/DatasetModal/hooks.ts
Outdated
Show resolved
Hide resolved
Add useError for apollo error special case
Co-authored-by: rot1024 <aayhrot@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I quickly reviewed and left a comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
* feat: cluster domain models (#69) * Co-authored-by: mimoham24 <mimoham24@users.noreply.github.com> * feat: domain models * add cluster extenstion type * add cluster extension type test case * fix cluster layers * resolve notes * update manifest * fix manifest.yml margin * refactor models * resolve notes * fix manifest file * resolve notes * resolve notes Co-authored-by: HideBa <baba.papa1120.ba@gmail.com> * feat: cluster datalayer (#73) * feat: cluster graphql/mongo (#74) * feat: cluster datalayer * feat: cluster CRUD * resolve notes * resolve notes * add test cases Co-authored-by: HideBa <baba.papa1120.ba@gmail.com>
Overview
This is an update to the notification system. We were creating notifications in a couple different ways and had duplicate code, so this cleans things up and is trying to make things simpler.
What I've done
What I haven't done
How I tested
Screenshot
Which point I want you to review particularly
test cases
Dashboard
Settings
Earth Editor