-
Notifications
You must be signed in to change notification settings - Fork 38
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
side navigation changes for notifications #222
side navigation changes for notifications #222
Conversation
Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: Riya Saxena <[email protected]>
Signed-off-by: Riya Saxena <[email protected]>
public/plugin.ts
Outdated
if (core.chrome.navGroup.getNavGroupEnabled()) { | ||
|
||
// register applications with category and use case information | ||
core.chrome.navGroup.addNavLinksToGroup(DEFAULT_NAV_GROUPS.observability, [ |
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.
Notification features should be only put into settings and setup nav group.
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.
@amsiglan ^^
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.
addressed
Signed-off-by: Riya Saxena <[email protected]>
public/plugin.ts
Outdated
}, | ||
}); | ||
|
||
const navLinks = [ |
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.
Nit: Shorten this to
const navlinks = ['', '', ''].map(id => ({ id, parent: PLUGIN }))
id: `email_groups`, | ||
title: 'Email recepient groups', | ||
order: 9090, | ||
workspaceAvailability: WorkspaceAvailability.outsideWorkspace, |
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.
What is workspaceAvailability? and what are the other options used for? Could this be workspace/no-workspace
distinction?
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.
yes, so plugins under groups of:
settings and setup
Data administration
are supposed not to be accessible inside a workspace, in such case, we added this field to indicate our plugins are only accessible outside the workspace so that users won’t be able to visit the applications inside a workspace.
Signed-off-by: Riya Saxena <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #222 +/- ##
==========================================
- Coverage 86.70% 84.83% -1.87%
==========================================
Files 52 54 +2
Lines 1497 1583 +86
Branches 373 414 +41
==========================================
+ Hits 1298 1343 +45
- Misses 196 237 +41
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: SuZhou-Joe <[email protected]>
* side navigation changes for notifications Signed-off-by: Riya Saxena <[email protected]> * fix jest tests Signed-off-by: Riya Saxena <[email protected]> * navLinks changes Signed-off-by: Riya Saxena <[email protected]> * fixed the issues Signed-off-by: Riya Saxena <[email protected]> * fixed the issues Signed-off-by: Riya Saxena <[email protected]> * addressed the comments Signed-off-by: Riya Saxena <[email protected]> * addressed the comments Signed-off-by: Riya Saxena <[email protected]> * Update public/plugin.ts Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Riya Saxena <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: SuZhou-Joe <[email protected]> (cherry picked from commit 9e6066a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* side navigation changes for notifications * fix jest tests * navLinks changes * fixed the issues * fixed the issues * addressed the comments * addressed the comments * Update public/plugin.ts --------- (cherry picked from commit 9e6066a) Signed-off-by: Riya Saxena <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]>
* side navigation changes for notifications Signed-off-by: Riya Saxena <[email protected]> * fix jest tests Signed-off-by: Riya Saxena <[email protected]> * navLinks changes Signed-off-by: Riya Saxena <[email protected]> * fixed the issues Signed-off-by: Riya Saxena <[email protected]> * fixed the issues Signed-off-by: Riya Saxena <[email protected]> * addressed the comments Signed-off-by: Riya Saxena <[email protected]> * addressed the comments Signed-off-by: Riya Saxena <[email protected]> * Update public/plugin.ts Signed-off-by: SuZhou-Joe <[email protected]> --------- Signed-off-by: Riya Saxena <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Co-authored-by: SuZhou-Joe <[email protected]> (cherry picked from commit 9e6066a) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* side navigation changes for notifications * fix jest tests * navLinks changes * fixed the issues * fixed the issues * addressed the comments * addressed the comments * Update public/plugin.ts --------- (cherry picked from commit 9e6066a) Signed-off-by: Riya Saxena <[email protected]> Signed-off-by: SuZhou-Joe <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: SuZhou-Joe <[email protected]>
Description
Issues Resolved
After side nav changes, when feature is enabled
When feature is disabled:
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.