@allbluecn/web-app 0.4.22 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -8
- package/src/components/layout/sidebar-03/app-sidebar.tsx +3 -4
- package/src/components/layout/sidebar-03/nav-notifications.tsx +135 -52
- package/src/components/layout/sidebar-03/user-menu.tsx +4 -2
- package/src/components/notifications/settings-notifications.tsx +198 -0
- package/src/components/notifications/team-notifications.tsx +343 -0
- package/src/components/settings/personal-team/team/team-client.tsx +51 -12
- package/src/components/settings/personal-team/team/team-invitations.tsx +181 -181
- package/src/components/shared/wave-physics-loader.tsx +155 -0
- package/src/components/story/__tests__/dependency-type-badge.test.ts +89 -0
- package/src/components/story/constants.ts +114 -51
- package/src/components/story/detail/story-detail-body.tsx +13 -3
- package/src/components/story/detail/story-detail-toolbar/children.tsx +49 -274
- package/src/components/story/detail/story-detail-toolbar/dependencies.tsx +13 -45
- package/src/components/story/detail/story-detail-toolbar/dependency-panel.tsx +465 -0
- package/src/components/story/detail/story-detail-toolbar.tsx +84 -3
- package/src/components/story/display/__tests__/use-paged-story-groups.test.ts +152 -1
- package/src/components/story/display/use-paged-story-groups.ts +370 -28
- package/src/components/story/inline-editors/story-select-dialog.tsx +88 -12
- package/src/components/story/peek-panel.tsx +8 -1
- package/src/components/story/relations/story-ref-row.tsx +319 -0
- package/src/components/story/story-list-view.tsx +3 -1
- package/src/components/story/story-panel-header.tsx +4 -1
- package/src/components/story/types.ts +17 -18
- package/src/components/story/views/story-list/batch-toolbar.tsx +12 -1
- package/src/components/story/views/story-list/index.tsx +16 -5
- package/src/components/story/views/story-list/row.tsx +5 -4
- package/src/components/ui/separator.tsx +1 -1
- package/src/hooks/use-notifications.ts +4 -1
- package/src/lib/__tests__/datetime.test.ts +16 -1
- package/src/lib/changelog/sdk-versions.ts +19 -19
- package/src/lib/datetime.ts +1 -0
- package/src/routeTree.gen.ts +23 -0
- package/src/routes/_nav/notifications/route.lazy.tsx +22 -0
- package/src/routes/_nav/notifications/route.tsx +30 -0
- package/src/routes/_nav/settings/notifications/route.lazy.tsx +6 -5
- package/src/routes/api/notifications/stream.ts +4 -0
- package/src/server/notifications/__tests__/notification-service.test.ts +189 -0
- package/src/server/notifications/notification-service.ts +137 -27
- package/src/server/serverFns/__tests__/team-invitation.test.ts +73 -7
- package/src/server/serverFns/__tests__/team-join-request.test.ts +5 -3
- package/src/server/serverFns/locale.ts +15 -3
- package/src/server/serverFns/notifications.ts +18 -4
- package/src/server/serverFns/story/__tests__/story-dependencies.test.ts +239 -0
- package/src/server/serverFns/story/__tests__/story-groups.test.ts +19 -1
- package/src/server/serverFns/story/index.ts +1 -2
- package/src/server/serverFns/story/story-dependencies.ts +107 -163
- package/src/server/serverFns/story/story-groups.ts +23 -3
- package/src/server/serverFns/story/story-transfer.ts +5 -3
- package/src/server/serverFns/team.ts +51 -2
- package/src/components/notifications/notification-list.tsx +0 -232
- package/src/components/notifications/notification-preferences.tsx +0 -156
- package/src/components/story/relation-badge.tsx +0 -57
- package/src/components/story/relations/dependency-panel.tsx +0 -190
- package/src/components/story/relations/hierarchy-panel.tsx +0 -180
- package/src/components/story/relations/tab.tsx +0 -212
- package/src/config/sidebar-notifications.ts +0 -50
- package/src/plugins/.gen-manifest.json +0 -13
- package/src/plugins/modules.gen.ts +0 -20
- package/src/plugins/plugins.gen.ts +0 -20
- package/src/plugins/ui.gen.ts +0 -8
- package/src/routes/_nav/inspiration/route.tsx +0 -8
- package/src/routes/_nav/prd/$id/route.tsx +0 -9
- package/src/routes/_nav/prd/index.tsx +0 -9
- package/src/routes/_nav/prd/route.tsx +0 -8
- package/src/routes/_nav/tags/$id/route.tsx +0 -8
- package/src/routes/_nav/tags/index.tsx +0 -8
- package/src/routes/_nav/tags/route.tsx +0 -8
- package/src/routes/_nav/tags/settings/route.tsx +0 -9
- package/src/routes/share/prd/$prdId/route.tsx +0 -10
package/src/plugins/ui.gen.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { NavTag } from '@allbluecn/plugins-core/tags/ui'
|
|
3
|
-
import { type ComponentType } from 'react'
|
|
4
|
-
import type { SettingsTabContribution } from '@allbluecn/kernel'
|
|
5
|
-
|
|
6
|
-
export const navItems: ComponentType[] = [NavTag]
|
|
7
|
-
export const settingsTabs: SettingsTabContribution[] = []
|
|
8
|
-
export const dashboardWidgets: ComponentType[] = []
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { inspiration_route_0 } from '@allbluecn/plugins-core/inspiration/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/inspiration')({
|
|
7
|
-
component: inspiration_route_0.Component as any,
|
|
8
|
-
})
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { prd_route_2 } from '@allbluecn/plugins-core/prd/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/prd/$id')({
|
|
7
|
-
beforeLoad: ((ctx: PluginRouteContext) => prd_route_2.beforeLoad(ctx)) as any,
|
|
8
|
-
component: prd_route_2.Component as any,
|
|
9
|
-
})
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { prd_route_1 } from '@allbluecn/plugins-core/prd/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/prd/')({
|
|
7
|
-
loader: ((ctx: PluginRouteContext) => prd_route_1.loader(ctx)) as any,
|
|
8
|
-
component: prd_route_1.Component as any,
|
|
9
|
-
})
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { prd_route_0 } from '@allbluecn/plugins-core/prd/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/prd')({
|
|
7
|
-
component: prd_route_0.Component as any,
|
|
8
|
-
})
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { tags_route_2 } from '@allbluecn/plugins-core/tags/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/tags/$id')({
|
|
7
|
-
component: tags_route_2.Component as any,
|
|
8
|
-
})
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { tags_route_1 } from '@allbluecn/plugins-core/tags/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/tags/')({
|
|
7
|
-
component: tags_route_1.Component as any,
|
|
8
|
-
})
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { tags_route_0 } from '@allbluecn/plugins-core/tags/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/tags')({
|
|
7
|
-
component: tags_route_0.Component as any,
|
|
8
|
-
})
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { tags_route_3 } from '@allbluecn/plugins-core/tags/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/_nav/tags/settings')({
|
|
7
|
-
loader: ((ctx: PluginRouteContext) => tags_route_3.loader(ctx)) as any,
|
|
8
|
-
component: tags_route_3.Component as any,
|
|
9
|
-
})
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// AUTO-GENERATED by @allbluecn/kernel — DO NOT EDIT
|
|
2
|
-
import { createFileRoute } from '@tanstack/react-router'
|
|
3
|
-
import type { PluginRouteContext } from '@allbluecn/kernel'
|
|
4
|
-
import { prd_route_3 } from '@allbluecn/plugins-core/prd/routes'
|
|
5
|
-
|
|
6
|
-
export const Route = createFileRoute('/share/prd/$prdId')({
|
|
7
|
-
beforeLoad: ((ctx: PluginRouteContext) => prd_route_3.beforeLoad(ctx)) as any,
|
|
8
|
-
validateSearch: prd_route_3.validateSearch as any,
|
|
9
|
-
component: prd_route_3.Component as any,
|
|
10
|
-
})
|