Commit 8dbb944
[comp] Production Deploy (#1428)
* refactor: enhance EmployeeCompletionChart with profile links
- Added external profile links for employees in the EmployeeCompletionChart, allowing users to view detailed profiles.
- Integrated organization ID retrieval using useParams for dynamic linking.
- Improved layout of employee details for better visual presentation.
* fix: Enforce role-based access control in app
* fix: Prisma seed command in `packages/db`
* fix: Move role checks on org level
* fix: Allow access to auditor role
* chore: Just restrict access to employee role
* chore(deps): bump @tiptap/extension-highlight from 2.22.3 to 3.3.0 (#1404)
Bumps [@tiptap/extension-highlight](https://github.com/ueberdosis/tiptap/tree/HEAD/packages/extension-highlight) from 2.22.3 to 3.3.0.
- [Release notes](https://github.com/ueberdosis/tiptap/releases)
- [Changelog](https://github.com/ueberdosis/tiptap/blob/develop/packages/extension-highlight/CHANGELOG.md)
- [Commits](https://github.com/ueberdosis/tiptap/commits/v3.3.0/packages/extension-highlight)
---
updated-dependencies:
- dependency-name: "@tiptap/extension-highlight"
dependency-version: 3.3.0
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* chore(deps): bump dub from 0.63.7 to 0.66.1 (#1399)
Bumps [dub](https://github.com/dubinc/dub-ts) from 0.63.7 to 0.66.1.
- [Release notes](https://github.com/dubinc/dub-ts/releases)
- [Changelog](https://github.com/dubinc/dub-ts/blob/main/RELEASES.md)
- [Commits](dubinc/dub-ts@v0.63.7...v0.66.1)
---
updated-dependencies:
- dependency-name: dub
dependency-version: 0.66.1
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mariano Fuentes <[email protected]>
* chore(deps): bump @dub/embed-react from 0.0.15 to 0.0.16 (#1337)
Bumps [@dub/embed-react](https://github.com/dubinc/dub) from 0.0.15 to 0.0.16.
- [Commits](https://github.com/dubinc/dub/commits)
---
updated-dependencies:
- dependency-name: "@dub/embed-react"
dependency-version: 0.0.16
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mariano Fuentes <[email protected]>
* chore: update Header component and enhance NoAccess page layout (#1425)
- Added Header component to NoAccess page for better organization context.
- Adjusted layout of NoAccess page to improve user experience and visual structure.
- Updated Header component to conditionally render AssistantButton based on hideChat prop.
Dependencies updated in bun.lock for @dub/embed-react, dub, and @tiptap/extension-highlight.
Co-authored-by: Mariano Fuentes <[email protected]>
* fix: remove duplicate dependsOn key (#1426)
Signed-off-by: Golamrabbi Azad <[email protected]>
* [dev] [Marfuen] mariano/videos (#1427)
* chore: update Header component and enhance NoAccess page layout
- Added Header component to NoAccess page for better organization context.
- Adjusted layout of NoAccess page to improve user experience and visual structure.
- Updated Header component to conditionally render AssistantButton based on hideChat prop.
Dependencies updated in bun.lock for @dub/embed-react, dub, and @tiptap/extension-highlight.
* feat: implement training video backfill functionality
- Added scripts and server actions to trigger training video completion backfill for all organizations or specific organizations.
- Created jobs to handle backfilling of training video records for existing members in organizations.
- Enhanced employee onboarding processes by ensuring new members have training video completion entries created upon invitation or organization creation.
- Updated README with usage instructions and details on the backfill jobs.
This implementation improves the tracking of training video completions for all members, ensuring accurate data representation in the system.
---------
Co-authored-by: Mariano Fuentes <[email protected]>
* [dev] [Marfuen] mariano/fix-bug (#1429)
* chore: update Header component and enhance NoAccess page layout
- Added Header component to NoAccess page for better organization context.
- Adjusted layout of NoAccess page to improve user experience and visual structure.
- Updated Header component to conditionally render AssistantButton based on hideChat prop.
Dependencies updated in bun.lock for @dub/embed-react, dub, and @tiptap/extension-highlight.
* feat: implement training video backfill functionality
- Added scripts and server actions to trigger training video completion backfill for all organizations or specific organizations.
- Created jobs to handle backfilling of training video records for existing members in organizations.
- Enhanced employee onboarding processes by ensuring new members have training video completion entries created upon invitation or organization creation.
- Updated README with usage instructions and details on the backfill jobs.
This implementation improves the tracking of training video completions for all members, ensuring accurate data representation in the system.
* fix: update database access in training video backfill action
- Replaced direct database access reference with a centralized db import for improved consistency and maintainability in the triggerTrainingVideoBackfill action.
* chore: remove backfill training videos script
- Deleted the backfill-training-videos.ts script as it is no longer needed for triggering training video completion backfill jobs. This change simplifies the codebase and removes redundant functionality.
* chore: remove training video backfill action and documentation
- Deleted the trigger-training-video-backfill action and its associated README documentation as they are no longer needed. This change streamlines the codebase and eliminates outdated references to backfill functionality.
---------
Co-authored-by: Mariano Fuentes <[email protected]>
* Mariano/updated employees (#1430)
* chore: update Header component and enhance NoAccess page layout
- Added Header component to NoAccess page for better organization context.
- Adjusted layout of NoAccess page to improve user experience and visual structure.
- Updated Header component to conditionally render AssistantButton based on hideChat prop.
Dependencies updated in bun.lock for @dub/embed-react, dub, and @tiptap/extension-highlight.
* feat: implement training video backfill functionality
- Added scripts and server actions to trigger training video completion backfill for all organizations or specific organizations.
- Created jobs to handle backfilling of training video records for existing members in organizations.
- Enhanced employee onboarding processes by ensuring new members have training video completion entries created upon invitation or organization creation.
- Updated README with usage instructions and details on the backfill jobs.
This implementation improves the tracking of training video completions for all members, ensuring accurate data representation in the system.
* fix: update database access in training video backfill action
- Replaced direct database access reference with a centralized db import for improved consistency and maintainability in the triggerTrainingVideoBackfill action.
* chore: remove backfill training videos script
- Deleted the backfill-training-videos.ts script as it is no longer needed for triggering training video completion backfill jobs. This change simplifies the codebase and removes redundant functionality.
* chore: remove training video backfill action and documentation
- Deleted the trigger-training-video-backfill action and its associated README documentation as they are no longer needed. This change streamlines the codebase and eliminates outdated references to backfill functionality.
* chore: remove training video backfill action and related documentation (#1431)
- Deleted the trigger-training-video-backfill action and its associated README documentation as they are no longer needed. This change streamlines the codebase and eliminates outdated references to backfill functionality.
Co-authored-by: Mariano Fuentes <[email protected]>
* [dev] [Marfuen] mariano/batch (#1432)
* chore: remove training video backfill action and related documentation
- Deleted the trigger-training-video-backfill action and its associated README documentation as they are no longer needed. This change streamlines the codebase and eliminates outdated references to backfill functionality.
* feat: enhance training video backfill process with batch processing
- Updated the backfillTrainingVideosForAllOrgs function to process organizations in batches of 500, improving efficiency and handling of large datasets.
- Added logging for batch processing to track the number of organizations processed and any errors encountered during triggering.
- Adjusted return values to reflect the total number of organizations processed and the number of batches created.
---------
Co-authored-by: Mariano Fuentes <[email protected]>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Golamrabbi Azad <[email protected]>
Co-authored-by: Mariano Fuentes <[email protected]>
Co-authored-by: Dhanus <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Golamrabbi Azad <[email protected]>1 parent cdb71c8 commit 8dbb944
File tree
10 files changed
+323
-14
lines changed- apps/app
- scripts
- src
- actions/organization
- app/(app)
- [orgId]/people
- all/actions
- dashboard/components
- setup/actions
- jobs/tasks/onboarding
- lib/db
10 files changed
+323
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
99 | | - | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
105 | 106 | | |
106 | 107 | | |
107 | 108 | | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
64 | 70 | | |
65 | 71 | | |
66 | 72 | | |
| |||
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
228 | 228 | | |
229 | 229 | | |
230 | 230 | | |
231 | | - | |
232 | | - | |
233 | | - | |
234 | | - | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
235 | 240 | | |
236 | 241 | | |
237 | 242 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
67 | 81 | | |
68 | 82 | | |
69 | 83 | | |
| |||
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
63 | 64 | | |
64 | 65 | | |
65 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
66 | 80 | | |
67 | 81 | | |
68 | 82 | | |
| |||
Lines changed: 95 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
Lines changed: 115 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
0 commit comments