-
Notifications
You must be signed in to change notification settings - Fork 44
Merge endpoints config on installer #2136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
pablomendezroyo
merged 2 commits into
pablo-mateu/refactor-notifications
from
mateu/merge-notifications-config-on-installer
Apr 7, 2025
Merged
Merge endpoints config on installer #2136
pablomendezroyo
merged 2 commits into
pablo-mateu/refactor-notifications
from
mateu/merge-notifications-config-on-installer
Apr 7, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 tasks
|
Dappnode bot has built and pinned the built packages to an IPFS node, for commit: 6bc4a4e This is a development version and should only be installed for testing purposes.
Hash: (by dappnodebot/build-action) |
pablomendezroyo
approved these changes
Apr 7, 2025
6ee17f0
into
pablo-mateu/refactor-notifications
7 checks passed
pablomendezroyo
added a commit
that referenced
this pull request
May 28, 2025
* Implement new release file notifications.yaml * Implement backend API calls * bump ajv and fix import issue * Implement notifications file and json schema * fix import * fix import * Root notifications tab (#2105) * fix `gatusConfig` urls (#2107) * remove uri * remove temperature daemon * add type for custom endpoints * add validation for custom endpoints * Implement notifications module (#2112) * implement notifications module * add notifications module * add missing dependencies * Add `notifications.yaml` to dappmanager (#2113) * Update custom endpoint types * add notifications yaml * remove unused exports * use dappmanager dnpname * Check is enabled before sending notification * fix tests * Implement notifications `inbox` subpath (#2106) * Implement `Inbox` subpath * inbox fix * Searchbar component in Inbox * inbox notifications filtering * remove unnecesary asyn-await * Check is core package before updating notifications settings (#2114) * Check is core * use is core in write too --------- Co-authored-by: Pablo Mendez <pablo@dappnode.io> * Return is core to in getEndpoints from notifications (#2115) Co-authored-by: Pablo Mendez <pablo@dappnode.io> * fix getEndpoints method (#2116) * improve code redability * Add `notifications/settings` subpath (#2117) * Implament `Settings` subpath * setting subtab fixes * refactor EndpointItem component to be reusable * Reuse `EndpointItem` component * Ensure notificationsEndpoints by package is initalized (#2118) * Initialize in single line (#2119) Co-authored-by: Pablo Mendez <pablo@dappnode.io> * Return avatarUrl in `/package-manifest` (#2120) * return avatar in package-manifest api * improve getIsCore * fix add missing return * add avatarurl setter --------- Co-authored-by: Pablo Mendez <pablo@dappnode.io> * Ensure directory exists (#2124) Co-authored-by: Pablo Mendez <pablo@dappnode.io> * Notifications step in installer (#2121) * Notifications step v1 * set Notifications config on installer * installer styles * review fixes * Prevent endpoints autoupdate (#2125) * Revert "Prevent endpoints autoupdate (#2125)" This reverts commit 22b05bf. * filter error notifications on `Inbox` (#2128) * Retrieve notification icon from the notification itself (#2129) * get notification icon from itself * icon in NotificationPayload interface * optional icon * ensure state update (#2132) * Persist user settings in notifications (#2134) * apply user settings in notifications * fix typo * fix merge conditions * Add unit testing to nofiications merge userr settings (#2135) * update not name * fix NotificationCategory enum * fix NotificationCategory ref * Merge endpoints config on installer (#2136) * Merge endpoints config on installer * add mock-backend response * Update "pkg updates" endpoint desc * Deprecate old push notifications (#2138) * Deprecate old push notifications * Track notifictions count * Request to mark notifications as seen (#2142) * Deprecate old push notifications * Track notifictions count * Request notifications to seen * Merge branch 'pablo-mateu/refactor-notifications' into mateu/set-notis-to-seen * fix format * Add priority field (#2149) * Add priority field * fix unit test * add priority * Relocating Legacy Notifications Tab (#2143) * Move Legacy notifications tab * Legacy deprecation banner * update deprecation legacy modal * fix notifications unnecessary re-renders * Add status field to notification (#2153) * Add status field * fix test * add comment * Notifications inbox UI fixes (#2156) * notifications inbox UI fixes * notifications inbox UI fixes * priority and category labels * prettified notification body * utils * category label improved * support MD in notifications card * fix resolved label * Notifications general switch (#2155) * Notifications general switch * remove logs * Welcome notifications modal (#2144) * Welcome notifications modal * welcome dark styles * modal copy updated * start stop notifications on welcome * typo fix * Add pagination to history (#2160) * Add pagination * fix comparison * remove priority * Display alerts component (#2164) * Implement getInternetConnection cron * implement reboot required script * remove initial calls for reboot required * rebase * Implement password is secure notification * fix password is secure mssg * implemented core update notif * remove wifi notif from notifications view * remove unused import * use get is password secure from backend * Implement wifi as notification high * implement repository health daemon * set maximum listener to 12 * remove log true from notification endpoints. logs are too heavy * update prios * Implement call to action button in notifications card (#2157) * call2action in notifications card * fixing mobile styles * is banner prop * prio label fix * getBannerNotifications call * WIP: Notifications Banner component * Alerts copies review (#2159) * package updates notification * disk usage notification * host reboot notification * internet connection notification * repository notifications * host password notification * staticIp notification * wifi password * notifications banner update * set notifications as seen by ID * Collapsable banners and improved filtering * set resolved-banner notifications as seen * timestamp fix * add correlationId * schemas and types update * update schemas with latest changes * remove unused fields --------- Co-authored-by: pablomendezroyo <mendez4a@gmail.com> Co-authored-by: pablomendezroyo <41727368+pablomendezroyo@users.noreply.github.com> Co-authored-by: Pablo Mendez <pablo@dappnode.io> * remove triggered filter in banner component * fix linter * update eth repository not copy * pagination fix * fix types & schemas * isBanner in custom shcemas * update avatar * Update set seen by correlationId endpoint (#2167) * start-stop notifications services fix * scrollable categories mobile view * update CTA urls * resolved banner notifications fix * validate notifications and setupwizard schemas too (#2168) Co-authored-by: Pablo Mendez <pablo@dappnode.io> * condition operator fix * be more flexible in url notifications schema pattern * Filter banner by correlationId * external cta urls * more flexibility on regex url notifications * fix lint * schemas url fix * add failure treeshold of 3 * Implement notifications settings allDnps (#2170) * Implement notifications settings allDnps * merge user settings in dnp request * apply user notifications settings on install * props fix * fix test --------- Co-authored-by: Pablo Mendez <pablo@dappnode.io> Co-authored-by: mateumiralles <mateumiralles714@gmail.com> * add correlationid prop * fix merging notifications settings * Allow MD in endpoint descr * fix schema test * Notifications settings tooltip (#2169) * notifications settings tooltip * Package tooltip in notification settings * using every * use correlation id in dappmanager * add /dnp to installer url * onboarding link opens new tab * internet notification fix (#2172) * Improve notifications onboarding (#2171) * onboarding installs notis pkg * keeping track of installation * fix notifications pkg calls * typo * notifications CTA button fix * toast feedback on settings update * fix notifications update toast * remove hardcoded ipfs * add missing patterns --------- Co-authored-by: Mateu Miralles <52827122+mateumiralles@users.noreply.github.com> Co-authored-by: Pablo Mendez <pablo@dappnode.io> Co-authored-by: mateumiralles <mateumiralles714@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Persist user's notifications settings on installer if "new manifest" endpoints' names match